Pull request #337 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 87d68117d69b18fc86fa64f17e49433af2dc2bc1+e01a1226a5cf77919213724cb5799907c2b0adaa (671cfae4d373bbb2a595bf02f2188c87e226bedc) 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-ssh4881900154382963214.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-ssh10262006017537873990.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-modbus-go/branches/PR-337/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-modbus-go/branches/PR-337/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3711693798946109126.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-modbus-go/branches/PR-337/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12947413320383586069.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-ssh7222030794870761246.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-modbus-go/branches/PR-337/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-modbus-go/branches/PR-337/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8799154451066122387.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-modbus-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-modbus-go-settings PROJECT: device-modbus-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-modbus 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-25946 in /w/workspace/xfoundry_device-modbus-go_PR-337 [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-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-337 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e01a1226a5cf77919213724cb5799907c2b0adaa into PR head commit 87d68117d69b18fc86fa64f17e49433af2dc2bc1 Merge succeeded, producing 87d68117d69b18fc86fa64f17e49433af2dc2bc1 Checking out Revision 87d68117d69b18fc86fa64f17e49433af2dc2bc1 (PR-337) > git config core.sparsecheckout # timeout=10 > git checkout -f 87d68117d69b18fc86fa64f17e49433af2dc2bc1 # 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 e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87d68117d69b18fc86fa64f17e49433af2dc2bc1 # 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-26T16:03:55.755Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T16:03:55.934Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T16:03:56.029Z] ========================================================= [2022-04-26T16:03:56.029Z] EdgeX Global Pipelines Version Info [2022-04-26T16:03:56.029Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:03:56.913Z] ------------------- [2022-04-26T16:03:56.913Z] stable info: [2022-04-26T16:03:56.913Z] ------------------- [2022-04-26T16:03:56.913Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T16:03:56.913Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T16:03:56.913Z] Message: update stable to v1.0.221 [2022-04-26T16:03:57.486Z] ------------------- [2022-04-26T16:03:57.486Z] experimental info: [2022-04-26T16:03:57.486Z] ------------------- [2022-04-26T16:03:57.486Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T16:03:57.486Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T16:03:57.486Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T16:03:57.738Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-26T16:03:57.779Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-26T16:03:57.814Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T16:03:57.852Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T16:03:57.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T16:03:57.940Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T16:03:57.982Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T16:03:58.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T16:03:58.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T16:03:58.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T16:03:58.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T16:03:58.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-26T16:03:58.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T16:03:58.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T16:03:58.327Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T16:03:58.370Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T16:03:58.413Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T16:03:58.452Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T16:03:58.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T16:03:58.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T16:03:58.590Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T16:03:58.626Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T16:03:58.664Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T16:03:58.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T16:03:58.750Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T16:03:58.790Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T16:03:58.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-337 [Pipeline] echo [2022-04-26T16:03:58.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-337 [Pipeline] echo [2022-04-26T16:03:58.909Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-337 [Pipeline] echo [2022-04-26T16:03:58.951Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [Pipeline] echo [2022-04-26T16:03:58.987Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87d6811 [Pipeline] echo [2022-04-26T16:03:59.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:03:59.141Z] provisioning config files... [2022-04-26T16:03:59.158Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/config8071345688042245080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:03:59.513Z] ---> docker-login.sh [2022-04-26T16:03:59.513Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:03:59.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:00.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:00.038Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:00.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:00.038Z] [2022-04-26T16:04:00.038Z] Login Succeeded [2022-04-26T16:04:00.038Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:04:00.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:00.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:00.038Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:00.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:00.038Z] [2022-04-26T16:04:00.038Z] Login Succeeded [2022-04-26T16:04:00.038Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:04:00.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:00.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:00.301Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:00.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:00.301Z] [2022-04-26T16:04:00.301Z] Login Succeeded [2022-04-26T16:04:00.301Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:04:00.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:00.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:00.301Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:00.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:00.301Z] [2022-04-26T16:04:00.301Z] Login Succeeded [2022-04-26T16:04:00.301Z] docker.io [2022-04-26T16:04:00.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:00.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:00.823Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:00.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:00.823Z] [2022-04-26T16:04:00.823Z] Login Succeeded [2022-04-26T16:04:00.823Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:04:00.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T16:04:01.491Z] + git rev-list -1 --merges 87d68117d69b18fc86fa64f17e49433af2dc2bc1~1..87d68117d69b18fc86fa64f17e49433af2dc2bc1 [Pipeline] echo [2022-04-26T16:04:01.538Z] -----------> git rev-list -1 --merges 87d68117d69b18fc86fa64f17e49433af2dc2bc1~1..87d68117d69b18fc86fa64f17e49433af2dc2bc1 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [false] [Pipeline] sh [2022-04-26T16:04:01.855Z] + git log --format=format:%s -1 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [Pipeline] echo [2022-04-26T16:04:01.887Z] ========================================================= [2022-04-26T16:04:01.887Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T16:04:01.887Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:04:02.323Z] + git log --format=format:%s -1 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [Pipeline] echo [2022-04-26T16:04:02.358Z] [semverPrep] GIT_COMMIT: 87d68117d69b18fc86fa64f17e49433af2dc2bc1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-26T16:04:02.386Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T16:04:02.881Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:04:02.881Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T16:04:02.881Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T16:04:02.881Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T16:04:02.881Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T16:04:02.881Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T16:04:02.881Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:03.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:04:03.280Z] [2022-04-26T16:04:03.280Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:03.627Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:04:03.627Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T16:04:03.627Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T16:04:03.627Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T16:04:03.627Z] 4c7163046ea9: Pulling fs layer [2022-04-26T16:04:03.627Z] 0c2d73faf560: Pulling fs layer [2022-04-26T16:04:03.627Z] 0c2d73faf560: Waiting [2022-04-26T16:04:03.627Z] a0d0a0d46f8b: Verifying Checksum [2022-04-26T16:04:03.628Z] a0d0a0d46f8b: Download complete [2022-04-26T16:04:03.628Z] 4c7163046ea9: Verifying Checksum [2022-04-26T16:04:03.628Z] 4c7163046ea9: Download complete [2022-04-26T16:04:03.628Z] 0c2d73faf560: Verifying Checksum [2022-04-26T16:04:03.628Z] 0c2d73faf560: Download complete [2022-04-26T16:04:03.892Z] a0d0a0d46f8b: Pull complete [2022-04-26T16:04:03.892Z] 3e5f54012d9b: Pull complete [2022-04-26T16:04:04.156Z] 4c7163046ea9: Pull complete [2022-04-26T16:04:04.418Z] 0c2d73faf560: Pull complete [2022-04-26T16:04:04.418Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T16:04:04.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:04:04.418Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T16:04:04.517Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2022-04-26T16:04:04.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T16:04:05.209Z] $ docker top 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:04:05.396Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:04:05.396Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:04:05.525Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:04:05.534Z] $ docker exec 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb ssh-agent [2022-04-26T16:04:05.651Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiJkhiJ/agent.13 [2022-04-26T16:04:05.651Z] SSH_AGENT_PID=20 [2022-04-26T16:04:05.659Z] Running ssh-add (command line suppressed) [2022-04-26T16:04:05.782Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-337@tmp/private_key_1204297293142295696.key (/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/private_key_1204297293142295696.key) [2022-04-26T16:04:05.792Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:04:06.134Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T16:04:06.166Z] $ docker exec --env ******** --env ******** 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb ssh-agent -k [2022-04-26T16:04:06.285Z] unset SSH_AUTH_SOCK; [2022-04-26T16:04:06.285Z] unset SSH_AGENT_PID; [2022-04-26T16:04:06.286Z] echo Agent pid 20 killed; [2022-04-26T16:04:06.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T16:04:06.427Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:04:06.428Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:04:06.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:04:06.586Z] $ docker exec 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb ssh-agent [2022-04-26T16:04:06.711Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMbiJBa/agent.52 [2022-04-26T16:04:06.711Z] SSH_AGENT_PID=59 [2022-04-26T16:04:06.716Z] Running ssh-add (command line suppressed) [2022-04-26T16:04:06.860Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-337@tmp/private_key_1363658572408717768.key (/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/private_key_1363658572408717768.key) [2022-04-26T16:04:06.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:04:07.200Z] + git semver init [2022-04-26T16:04:07.200Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:04:07.200Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-337/.git [2022-04-26T16:04:07.200Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-337 [2022-04-26T16:04:07.200Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:04:07.200Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:04:07.200Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:04:07.200Z] # $SEMVER_BRANCH = PR-337 [2022-04-26T16:04:07.200Z] # $SEMVER_TEMP = /tmp/semver-894869345 [2022-04-26T16:04:07.200Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-26T16:04:08.143Z] # '/tmp/semver-894869345' -> '/w/workspace/xfoundry_device-modbus-go_PR-337/.semver' [2022-04-26T16:04:08.143Z] # -> Force: false [2022-04-26T16:04:08.143Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-337/.semver [Pipeline] } [2022-04-26T16:04:08.175Z] $ docker exec --env ******** --env ******** 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb ssh-agent -k [2022-04-26T16:04:08.299Z] unset SSH_AUTH_SOCK; [2022-04-26T16:04:08.299Z] unset SSH_AGENT_PID; [2022-04-26T16:04:08.300Z] echo Agent pid 59 killed; [2022-04-26T16:04:08.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:04:08.734Z] + git semver [Pipeline] } [2022-04-26T16:04:08.773Z] $ docker stop --time=1 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb [2022-04-26T16:04:10.169Z] $ docker rm -f 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:04:10.583Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T16:04:10.899Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T16:04:10.917Z] [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-26T16:04:11.505Z] provisioning config files... [2022-04-26T16:04:11.521Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/config1750434491042617861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:04:11.868Z] ---> docker-login.sh [2022-04-26T16:04:11.869Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:04:11.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:11.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:11.869Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:11.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:11.869Z] [2022-04-26T16:04:11.869Z] Login Succeeded [2022-04-26T16:04:11.869Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:04:11.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:12.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:12.129Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:12.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:12.130Z] [2022-04-26T16:04:12.130Z] Login Succeeded [2022-04-26T16:04:12.130Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:04:12.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:12.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:12.130Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:12.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:12.130Z] [2022-04-26T16:04:12.130Z] Login Succeeded [2022-04-26T16:04:12.130Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:04:12.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:12.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:12.391Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:12.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:12.391Z] [2022-04-26T16:04:12.391Z] Login Succeeded [2022-04-26T16:04:12.391Z] docker.io [2022-04-26T16:04:12.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:04:12.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:04:12.650Z] Configure a credential helper to remove this warning. See [2022-04-26T16:04:12.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:04:12.650Z] [2022-04-26T16:04:12.650Z] Login Succeeded [2022-04-26T16:04:12.650Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:04:12.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T16:04:12.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:04:12.908Z] ========================================================= [2022-04-26T16:04:12.908Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T16:04:12.908Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:13.338Z] + 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-26T16:04:13.338Z] Sending build context to Docker daemon 5.857MB [2022-04-26T16:04:13.338Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:04:13.338Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-26T16:04:13.338Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T16:04:13.338Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T16:04:13.338Z] 666ba61612fd: Pulling fs layer [2022-04-26T16:04:13.338Z] 8ed8ca486205: Pulling fs layer [2022-04-26T16:04:13.338Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T16:04:13.338Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T16:04:13.338Z] ca2b28591e48: Pulling fs layer [2022-04-26T16:04:13.338Z] a51346096db8: Pulling fs layer [2022-04-26T16:04:13.338Z] daebc70d1ce1: Pulling fs layer [2022-04-26T16:04:13.338Z] 0e18a0eac166: Pulling fs layer [2022-04-26T16:04:13.338Z] 4fe6c5a15a65: Waiting [2022-04-26T16:04:13.338Z] 22a0e8bec74d: Waiting [2022-04-26T16:04:13.338Z] ca2b28591e48: Waiting [2022-04-26T16:04:13.338Z] a51346096db8: Waiting [2022-04-26T16:04:13.338Z] daebc70d1ce1: Waiting [2022-04-26T16:04:13.338Z] 0e18a0eac166: Waiting [2022-04-26T16:04:13.338Z] 8ed8ca486205: Verifying Checksum [2022-04-26T16:04:13.338Z] 8ed8ca486205: Download complete [2022-04-26T16:04:13.604Z] 666ba61612fd: Download complete [2022-04-26T16:04:13.604Z] 22a0e8bec74d: Download complete [2022-04-26T16:04:13.604Z] ca2b28591e48: Verifying Checksum [2022-04-26T16:04:13.604Z] ca2b28591e48: Download complete [2022-04-26T16:04:13.604Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T16:04:13.604Z] 59bf1c3509f3: Download complete [2022-04-26T16:04:13.604Z] a51346096db8: Verifying Checksum [2022-04-26T16:04:13.604Z] a51346096db8: Download complete [2022-04-26T16:04:13.604Z] daebc70d1ce1: Verifying Checksum [2022-04-26T16:04:13.604Z] daebc70d1ce1: Download complete [2022-04-26T16:04:13.604Z] 59bf1c3509f3: Pull complete [2022-04-26T16:04:13.866Z] 666ba61612fd: Pull complete [2022-04-26T16:04:13.866Z] 8ed8ca486205: Pull complete [2022-04-26T16:04:14.436Z] 0e18a0eac166: Verifying Checksum [2022-04-26T16:04:14.436Z] 0e18a0eac166: Download complete [2022-04-26T16:04:14.436Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T16:04:14.436Z] 4fe6c5a15a65: Download complete [2022-04-26T16:04:17.741Z] 4fe6c5a15a65: Pull complete [2022-04-26T16:04:18.001Z] 22a0e8bec74d: Pull complete [2022-04-26T16:04:18.001Z] ca2b28591e48: Pull complete [2022-04-26T16:04:18.001Z] a51346096db8: Pull complete [2022-04-26T16:04:18.262Z] daebc70d1ce1: Pull complete [2022-04-26T16:04:20.815Z] 0e18a0eac166: Pull complete [2022-04-26T16:04:20.815Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T16:04:20.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T16:04:20.815Z] ---> f018257e8ee9 [2022-04-26T16:04:20.815Z] Step 3/10 : ARG MAKE='make build' [2022-04-26T16:04:22.206Z] ---> Running in dc52c5a46883 [2022-04-26T16:04:22.206Z] Removing intermediate container dc52c5a46883 [2022-04-26T16:04:22.206Z] ---> f8e144971e09 [2022-04-26T16:04:22.206Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:04:22.206Z] ---> Running in 45a035e2a355 [2022-04-26T16:04:22.777Z] Removing intermediate container 45a035e2a355 [2022-04-26T16:04:22.777Z] ---> 8d999ad3219b [2022-04-26T16:04:22.777Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T16:04:22.777Z] ---> Running in d96549f8b3ef [2022-04-26T16:04:23.038Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T16:04:23.980Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T16:04:24.240Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T16:04:24.240Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-26T16:04:24.240Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T16:04:24.501Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T16:04:24.501Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-26T16:04:24.501Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-26T16:04:24.762Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-26T16:04:24.762Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-26T16:04:24.762Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T16:04:24.762Z] OK: 226 MiB in 60 packages [2022-04-26T16:04:25.703Z] Removing intermediate container d96549f8b3ef [2022-04-26T16:04:25.703Z] ---> 1c7d3d0651e8 [2022-04-26T16:04:25.703Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-26T16:04:25.703Z] ---> Running in abb2f151f784 [2022-04-26T16:04:25.703Z] Removing intermediate container abb2f151f784 [2022-04-26T16:04:25.703Z] ---> 60453bf5656f [2022-04-26T16:04:25.703Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-26T16:04:25.703Z] ---> 415148f6d55d [2022-04-26T16:04:25.703Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:04:25.965Z] ---> Running in 7f103ebf316b [2022-04-26T16:04:26.324Z] Still waiting to schedule task [2022-04-26T16:04:26.324Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-26T16:04:40.871Z] Removing intermediate container 7f103ebf316b [2022-04-26T16:04:40.871Z] ---> 40e65b993161 [2022-04-26T16:04:40.871Z] Step 9/10 : COPY . . [2022-04-26T16:04:40.871Z] ---> 9444cccabea6 [2022-04-26T16:04:40.871Z] Step 10/10 : RUN ${MAKE} [2022-04-26T16:04:40.871Z] ---> Running in 6918ae124094 [2022-04-26T16:04:40.871Z] noop [2022-04-26T16:04:40.871Z] Removing intermediate container 6918ae124094 [2022-04-26T16:04:40.871Z] ---> 7791ac5812bc [2022-04-26T16:04:40.871Z] Successfully built 7791ac5812bc [2022-04-26T16:04:40.871Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:41.206Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T16:04:41.206Z] . [Pipeline] withDockerContainer [2022-04-26T16:04:41.302Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2022-04-26T16:04:41.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@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 ******** ci-base-image-x86_64 cat [2022-04-26T16:04:41.739Z] $ docker top 5bd4c100cbb9b769014017e83b111e4b72ed9b4c3b679ebacbd328512ae7d479 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:04:42.157Z] + go version [2022-04-26T16:04:42.158Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T16:04:42.196Z] $ docker stop --time=1 5bd4c100cbb9b769014017e83b111e4b72ed9b4c3b679ebacbd328512ae7d479 [2022-04-26T16:04:43.541Z] $ docker rm -f 5bd4c100cbb9b769014017e83b111e4b72ed9b4c3b679ebacbd328512ae7d479 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:04:44.223Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T16:04:44.223Z] . [Pipeline] withDockerContainer [2022-04-26T16:04:44.316Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2022-04-26T16:04:44.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@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 ******** ci-base-image-x86_64 cat [2022-04-26T16:04:44.796Z] $ docker top 2f0a883bde4bcebd463a602c164e660883b36ff85b430ff075e5c6409f8b16fb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T16:04:45.283Z] + make test [2022-04-26T16:04:45.283Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T16:04:45.542Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-26T16:04:55.527Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-26T16:04:55.527Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements [2022-04-26T16:05:02.138Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T16:05:06.339Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T16:05:06.339Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T16:05:06.339Z] ./bin/test-attribution-txt.sh [2022-04-26T16:05:06.600Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-26T16:05:06.600Z] make: *** [Makefile:47: test] Error 1 [Pipeline] } [2022-04-26T16:05:06.652Z] $ docker stop --time=1 2f0a883bde4bcebd463a602c164e660883b36ff85b430ff075e5c6409f8b16fb [2022-04-26T16:05:08.468Z] $ docker rm -f 2f0a883bde4bcebd463a602c164e660883b36ff85b430ff075e5c6409f8b16fb [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-26T16:05:09.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:05:09.685Z] [2022-04-26T16:05:09.685Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:05:10.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:05:10.028Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T16:05:10.028Z] 5eb5b503b376: Pulling fs layer [2022-04-26T16:05:10.028Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T16:05:10.028Z] ec43610c2a17: Pulling fs layer [2022-04-26T16:05:10.028Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T16:05:10.028Z] 33b1e0a273af: Pulling fs layer [2022-04-26T16:05:10.028Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T16:05:10.028Z] 2f39f015ded8: Pulling fs layer [2022-04-26T16:05:10.028Z] 3a2ae6a8a46f: Waiting [2022-04-26T16:05:10.028Z] 33b1e0a273af: Waiting [2022-04-26T16:05:10.028Z] 2f39f015ded8: Waiting [2022-04-26T16:05:10.028Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T16:05:10.028Z] 5c69ac0246d0: Download complete [2022-04-26T16:05:10.028Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T16:05:10.028Z] 3a2ae6a8a46f: Download complete [2022-04-26T16:05:10.028Z] 33b1e0a273af: Verifying Checksum [2022-04-26T16:05:10.028Z] 33b1e0a273af: Download complete [2022-04-26T16:05:10.289Z] ec43610c2a17: Verifying Checksum [2022-04-26T16:05:10.289Z] ec43610c2a17: Download complete [2022-04-26T16:05:10.289Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T16:05:10.289Z] 5d3b04190fa2: Download complete [2022-04-26T16:05:10.289Z] 5eb5b503b376: Download complete [2022-04-26T16:05:11.226Z] 2f39f015ded8: Download complete [2022-04-26T16:05:11.798Z] 5eb5b503b376: Pull complete [2022-04-26T16:05:11.798Z] 5c69ac0246d0: Pull complete [2022-04-26T16:05:12.368Z] ec43610c2a17: Pull complete [2022-04-26T16:05:12.368Z] 3a2ae6a8a46f: Pull complete [2022-04-26T16:05:12.628Z] 33b1e0a273af: Pull complete [2022-04-26T16:05:12.887Z] 5d3b04190fa2: Pull complete [2022-04-26T16:05:18.167Z] 2f39f015ded8: Pull complete [2022-04-26T16:05:18.167Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T16:05:18.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:05:18.167Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T16:05:18.258Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2022-04-26T16:05:18.303Z] $ 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/xfoundry_device-modbus-go_PR-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@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:05:20.039Z] $ docker top 18a6a7e4f53cc6a15d913eb6b89b0037d80004f8291600577d8eeab3e6b4c399 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:05:20.538Z] ---> job-cost.sh [2022-04-26T16:05:20.538Z] lf-activate-venv: SKIPPING [2022-04-26T16:05:20.538Z] INFO: No Stack... [2022-04-26T16:05:20.799Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T16:05:21.369Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T16:05:21.689Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-337/archives/cost.csv [2022-04-26T16:05:21.689Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T16:05:21.728Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [2022-04-26T16:05:21.733Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] did not exist. Created. [2022-04-26T16:05:21.733Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T16:05:22.112Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T16:05:22.196Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T16:05:22.214Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T16:05:22.294Z] $ docker stop --time=1 18a6a7e4f53cc6a15d913eb6b89b0037d80004f8291600577d8eeab3e6b4c399 [2022-04-26T16:05:23.468Z] $ docker rm -f 18a6a7e4f53cc6a15d913eb6b89b0037d80004f8291600577d8eeab3e6b4c399 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T16:05:23.829Z] Failed in branch amd64 [2022-04-26T17:24:56.945Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-32555 in /w/workspace/xfoundry_device-modbus-go_PR-337 [Pipeline] { [Pipeline] ws [2022-04-26T17:24:56.997Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-04-26T17:24:57.303Z] Selected Git installation does not exist. Using Default [2022-04-26T17:24:57.303Z] The recommended git tool is: NONE [2022-04-26T17:25:03.723Z] using credential edgex-jenkins-ssh [2022-04-26T17:25:03.739Z] Cloning the remote Git repository [2022-04-26T17:25:03.807Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-26T17:25:03.888Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-04-26T17:25:04.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-26T17:25:04.088Z] > git --version # timeout=10 [2022-04-26T17:25:04.130Z] > git --version # 'git version 2.25.1' [2022-04-26T17:25:04.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:25:04.288Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:25:06.103Z] Merging remotes/origin/main commit e01a1226a5cf77919213724cb5799907c2b0adaa into PR head commit 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [2022-04-26T17:25:05.443Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-26T17:25:05.467Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T17:25:05.493Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-26T17:25:05.528Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-26T17:25:05.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:25:05.544Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T17:25:06.125Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:25:06.140Z] > git checkout -f 87d68117d69b18fc86fa64f17e49433af2dc2bc1 # timeout=10 [2022-04-26T17:25:06.304Z] Merge succeeded, producing 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [2022-04-26T17:25:06.305Z] Checking out Revision 87d68117d69b18fc86fa64f17e49433af2dc2bc1 (PR-337) [2022-04-26T17:25:06.225Z] > git remote # timeout=10 [2022-04-26T17:25:06.243Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T17:25:06.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T17:25:06.270Z] > git merge e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 [2022-04-26T17:25:06.293Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T17:25:06.317Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T17:25:06.342Z] > git checkout -f 87d68117d69b18fc86fa64f17e49433af2dc2bc1 # timeout=10 [2022-04-26T17:25:10.584Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-26T17:25:10.652Z] > git --version # timeout=10 [2022-04-26T17:25:10.664Z] > git --version # 'git version 2.25.1' [2022-04-26T17:25:10.682Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T17:25:11.792Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T17:25:11.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T17:25:11.792Z] Dload Upload Total Spent Left Speed [2022-04-26T17:25:11.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-04-26T17:25:12.327Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T17:25:12.689Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T17:25:12.689Z] + sudo tee /etc/docker/daemon.new [2022-04-26T17:25:12.689Z] { [2022-04-26T17:25:12.689Z] "registry-mirrors": [ [2022-04-26T17:25:12.689Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T17:25:12.689Z] ], [2022-04-26T17:25:12.689Z] "bip": "10.250.0.254/24", [2022-04-26T17:25:12.689Z] "hosts": [ [2022-04-26T17:25:12.689Z] "tcp://0.0.0.0:5555", [2022-04-26T17:25:12.689Z] "unix:///var/run/docker.sock" [2022-04-26T17:25:12.689Z] ], [2022-04-26T17:25:12.689Z] "mtu": 1458, [2022-04-26T17:25:12.689Z] "selinux-enabled": true, [2022-04-26T17:25:12.689Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T17:25:12.689Z] } [Pipeline] sh [2022-04-26T17:25:13.131Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T17:25:13.493Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:25:31.900Z] provisioning config files... [2022-04-26T17:25:31.925Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8540383597482402024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:25:32.479Z] ---> docker-login.sh [2022-04-26T17:25:32.479Z] nexus3.edgexfoundry.org:10001 [2022-04-26T17:25:33.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:25:33.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:25:33.345Z] Configure a credential helper to remove this warning. See [2022-04-26T17:25:33.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:25:33.345Z] [2022-04-26T17:25:33.345Z] Login Succeeded [2022-04-26T17:25:33.345Z] nexus3.edgexfoundry.org:10002 [2022-04-26T17:25:33.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:25:33.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:25:33.888Z] Configure a credential helper to remove this warning. See [2022-04-26T17:25:33.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:25:33.888Z] [2022-04-26T17:25:33.888Z] Login Succeeded [2022-04-26T17:25:33.888Z] nexus3.edgexfoundry.org:10003 [2022-04-26T17:25:34.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:25:34.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:25:34.162Z] Configure a credential helper to remove this warning. See [2022-04-26T17:25:34.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:25:34.162Z] [2022-04-26T17:25:34.162Z] Login Succeeded [2022-04-26T17:25:34.162Z] nexus3.edgexfoundry.org:10004 [2022-04-26T17:25:34.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:25:34.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:25:34.708Z] Configure a credential helper to remove this warning. See [2022-04-26T17:25:34.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:25:34.708Z] [2022-04-26T17:25:34.708Z] Login Succeeded [2022-04-26T17:25:34.708Z] docker.io [2022-04-26T17:25:34.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T17:25:35.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T17:25:35.253Z] Configure a credential helper to remove this warning. See [2022-04-26T17:25:35.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T17:25:35.253Z] [2022-04-26T17:25:35.253Z] Login Succeeded [2022-04-26T17:25:35.253Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T17:25:35.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T17:25:35.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T17:25:35.717Z] ========================================================= [2022-04-26T17:25:35.717Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T17:25:35.717Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:25:36.220Z] + 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-26T17:25:36.494Z] Sending build context to Docker daemon 3.084MB [2022-04-26T17:25:36.495Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T17:25:36.495Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-26T17:25:36.776Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T17:25:36.776Z] 9b3977197b4f: Pulling fs layer [2022-04-26T17:25:36.776Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T17:25:36.776Z] 94645a83ff95: Pulling fs layer [2022-04-26T17:25:36.776Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T17:25:36.776Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T17:25:36.776Z] 3096ccb668a1: Pulling fs layer [2022-04-26T17:25:36.776Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T17:25:36.776Z] a4caa8a26152: Pulling fs layer [2022-04-26T17:25:36.776Z] 3096ccb668a1: Waiting [2022-04-26T17:25:36.776Z] e8cf19c19ddd: Waiting [2022-04-26T17:25:36.776Z] 3f3a8bcf1eab: Waiting [2022-04-26T17:25:36.776Z] 0c92f367c5e7: Waiting [2022-04-26T17:25:36.776Z] a4caa8a26152: Waiting [2022-04-26T17:25:36.776Z] 94645a83ff95: Download complete [2022-04-26T17:25:36.776Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T17:25:36.776Z] 1a89e8eeedd5: Download complete [2022-04-26T17:25:36.776Z] 0c92f367c5e7: Download complete [2022-04-26T17:25:36.776Z] 3096ccb668a1: Verifying Checksum [2022-04-26T17:25:36.776Z] 3096ccb668a1: Download complete [2022-04-26T17:25:36.776Z] 9b3977197b4f: Verifying Checksum [2022-04-26T17:25:36.776Z] 9b3977197b4f: Download complete [2022-04-26T17:25:36.776Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T17:25:36.776Z] e8cf19c19ddd: Download complete [2022-04-26T17:25:37.380Z] 9b3977197b4f: Pull complete [2022-04-26T17:25:37.976Z] 1a89e8eeedd5: Pull complete [2022-04-26T17:25:38.250Z] 94645a83ff95: Pull complete [2022-04-26T17:25:38.857Z] a4caa8a26152: Verifying Checksum [2022-04-26T17:25:38.857Z] a4caa8a26152: Download complete [2022-04-26T17:25:39.450Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T17:25:39.450Z] 3f3a8bcf1eab: Download complete [2022-04-26T17:25:51.840Z] 3f3a8bcf1eab: Pull complete [2022-04-26T17:25:51.840Z] 0c92f367c5e7: Pull complete [2022-04-26T17:25:51.840Z] 3096ccb668a1: Pull complete [2022-04-26T17:25:51.840Z] e8cf19c19ddd: Pull complete [2022-04-26T17:25:56.141Z] a4caa8a26152: Pull complete [2022-04-26T17:25:56.141Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T17:25:56.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T17:25:56.141Z] ---> 725f1c02e7f9 [2022-04-26T17:25:56.141Z] Step 3/10 : ARG MAKE='make build' [2022-04-26T17:25:57.120Z] ---> Running in d32ea24f3f31 [2022-04-26T17:25:57.724Z] Removing intermediate container d32ea24f3f31 [2022-04-26T17:25:57.724Z] ---> b32717df75d4 [2022-04-26T17:25:57.724Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T17:25:57.724Z] ---> Running in 15ccebb33a49 [2022-04-26T17:25:59.697Z] Removing intermediate container 15ccebb33a49 [2022-04-26T17:25:59.697Z] ---> 73d9ed2643e3 [2022-04-26T17:25:59.697Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-26T17:25:59.697Z] ---> Running in d73c5e27f692 [2022-04-26T17:26:00.301Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T17:26:01.278Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T17:26:02.260Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T17:26:02.532Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-26T17:26:02.532Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T17:26:02.809Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T17:26:02.809Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-26T17:26:03.079Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-26T17:26:03.079Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-26T17:26:03.079Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-26T17:26:03.350Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T17:26:03.350Z] OK: 226 MiB in 60 packages [2022-04-26T17:26:04.333Z] Removing intermediate container d73c5e27f692 [2022-04-26T17:26:04.333Z] ---> 8c2d75313020 [2022-04-26T17:26:04.333Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-26T17:26:04.333Z] ---> Running in 62bba8957817 [2022-04-26T17:26:04.606Z] Removing intermediate container 62bba8957817 [2022-04-26T17:26:04.606Z] ---> dd4b36dca318 [2022-04-26T17:26:04.606Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-26T17:26:05.201Z] ---> 92e3d6bb7891 [2022-04-26T17:26:05.201Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T17:26:05.201Z] ---> Running in dcbbe3256993 [2022-04-26T17:26:52.203Z] Removing intermediate container dcbbe3256993 [2022-04-26T17:26:52.203Z] ---> 7b089e54f4fd [2022-04-26T17:26:52.203Z] Step 9/10 : COPY . . [2022-04-26T17:26:52.203Z] ---> a404622a59dc [2022-04-26T17:26:52.203Z] Step 10/10 : RUN ${MAKE} [2022-04-26T17:26:52.203Z] ---> Running in 9677a566bf7c [2022-04-26T17:26:52.203Z] noop [2022-04-26T17:26:52.203Z] Removing intermediate container 9677a566bf7c [2022-04-26T17:26:52.203Z] ---> ba2f82860c5d [2022-04-26T17:26:52.203Z] Successfully built ba2f82860c5d [2022-04-26T17:26:52.203Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:26:52.586Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:26:52.586Z] . [Pipeline] withDockerContainer [2022-04-26T17:26:52.847Z] prd-ubuntu20.04-docker-arm64-4c-16g-32555 does not seem to be running inside a container [2022-04-26T17:26:52.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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-26T17:26:54.300Z] $ docker top ae70918f83a6301e9612b85bf4b689ae53eaa959d75b7fe32f0953a9645154c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:26:55.281Z] + go version [2022-04-26T17:26:55.281Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T17:26:55.323Z] $ docker stop --time=1 ae70918f83a6301e9612b85bf4b689ae53eaa959d75b7fe32f0953a9645154c7 [2022-04-26T17:26:56.976Z] $ docker rm -f ae70918f83a6301e9612b85bf4b689ae53eaa959d75b7fe32f0953a9645154c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:26:57.845Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T17:26:57.845Z] . [Pipeline] withDockerContainer [2022-04-26T17:26:58.107Z] prd-ubuntu20.04-docker-arm64-4c-16g-32555 does not seem to be running inside a container [2022-04-26T17:26:58.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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-26T17:26:59.530Z] $ docker top 728e391c6de3b00a2b6112d453e98a72a6e6b9f117d35ba9b26f04cb7a1d0047 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T17:27:00.541Z] + make test [2022-04-26T17:27:00.541Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T17:27:02.524Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-26T17:28:24.384Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-26T17:28:24.384Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 46.4% of statements [2022-04-26T17:28:24.384Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T17:28:24.384Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T17:28:51.208Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T17:28:51.208Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T17:28:51.208Z] ./bin/test-attribution-txt.sh [2022-04-26T17:28:52.186Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-26T17:28:52.459Z] make: *** [Makefile:47: test] Error 1 [Pipeline] } [2022-04-26T17:28:52.508Z] $ docker stop --time=1 728e391c6de3b00a2b6112d453e98a72a6e6b9f117d35ba9b26f04cb7a1d0047 [2022-04-26T17:28:54.278Z] $ docker rm -f 728e391c6de3b00a2b6112d453e98a72a6e6b9f117d35ba9b26f04cb7a1d0047 [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-26T17:28:55.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:28:55.751Z] [2022-04-26T17:28:55.751Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:28:56.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:28:56.411Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T17:28:56.411Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T17:28:56.411Z] 04944245beec: Pulling fs layer [2022-04-26T17:28:56.411Z] 699f458cf7ca: Pulling fs layer [2022-04-26T17:28:56.411Z] 765212b225bb: Pulling fs layer [2022-04-26T17:28:56.411Z] f23df028b6ca: Pulling fs layer [2022-04-26T17:28:56.411Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T17:28:56.411Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T17:28:56.411Z] 765212b225bb: Waiting [2022-04-26T17:28:56.411Z] f23df028b6ca: Waiting [2022-04-26T17:28:56.411Z] d65c8cfc05b1: Waiting [2022-04-26T17:28:56.411Z] 2437ff75d9bd: Waiting [2022-04-26T17:28:56.411Z] 04944245beec: Verifying Checksum [2022-04-26T17:28:56.411Z] 04944245beec: Download complete [2022-04-26T17:28:56.411Z] 765212b225bb: Verifying Checksum [2022-04-26T17:28:56.411Z] 765212b225bb: Download complete [2022-04-26T17:28:56.411Z] f23df028b6ca: Download complete [2022-04-26T17:28:56.411Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T17:28:56.411Z] d65c8cfc05b1: Download complete [2022-04-26T17:28:56.687Z] 699f458cf7ca: Verifying Checksum [2022-04-26T17:28:56.687Z] 699f458cf7ca: Download complete [2022-04-26T17:28:56.962Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T17:28:56.962Z] 8998bd30e6a1: Download complete [2022-04-26T17:28:59.591Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T17:28:59.591Z] 2437ff75d9bd: Download complete [2022-04-26T17:29:01.027Z] 8998bd30e6a1: Pull complete [2022-04-26T17:29:01.626Z] 04944245beec: Pull complete [2022-04-26T17:29:03.072Z] 699f458cf7ca: Pull complete [2022-04-26T17:29:03.344Z] 765212b225bb: Pull complete [2022-04-26T17:29:03.946Z] f23df028b6ca: Pull complete [2022-04-26T17:29:04.222Z] d65c8cfc05b1: Pull complete [2022-04-26T17:29:19.383Z] 2437ff75d9bd: Pull complete [2022-04-26T17:29:19.383Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T17:29:19.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T17:29:19.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T17:29:19.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-32555 does not seem to be running inside a container [2022-04-26T17:29:19.757Z] $ 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-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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-26T17:29:22.251Z] $ docker top b9e1c6892321e3126e5ace557f3a4885dcda20ac959013a6d852af9ac18e8e1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:29:23.253Z] ---> job-cost.sh [2022-04-26T17:29:23.254Z] lf-activate-venv: SKIPPING [2022-04-26T17:29:23.254Z] INFO: No Stack... [2022-04-26T17:29:23.849Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T17:29:24.828Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T17:29:25.511Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-04-26T17:29:25.512Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T17:29:25.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [2022-04-26T17:29:25.607Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] did not exist. Created. [2022-04-26T17:29:25.607Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T17:29:26.356Z] /w/workspace/device-modbus-go/1@tmp/durable-4c89c77f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T17:29:27.060Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T17:29:27.098Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T17:29:27.549Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T17:29:27.563Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T17:29:27.643Z] $ docker stop --time=1 b9e1c6892321e3126e5ace557f3a4885dcda20ac959013a6d852af9ac18e8e1e [2022-04-26T17:29:29.173Z] $ docker rm -f b9e1c6892321e3126e5ace557f3a4885dcda20ac959013a6d852af9ac18e8e1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T17:29:29.950Z] 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-26T17:29:32.026Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-337/archives ] [2022-04-26T17:29:32.026Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-337/archives [2022-04-26T17:29:32.026Z] total 16 [2022-04-26T17:29:32.026Z] drwxr-xr-x 3 root root 4096 Apr 26 16:05 . [2022-04-26T17:29:32.026Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:05 .. [2022-04-26T17:29:32.026Z] drwxr-xr-x 2 root root 4096 Apr 26 16:05 cost [2022-04-26T17:29:32.026Z] -rw-r--r-- 1 root root 87 Apr 26 16:05 cost.csv [2022-04-26T17:29:32.026Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-337/archives [2022-04-26T17:29:32.026Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-337/archives [2022-04-26T17:29:32.026Z] total 16 [2022-04-26T17:29:32.026Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 16:05 . [2022-04-26T17:29:32.026Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:05 .. [2022-04-26T17:29:32.026Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 16:05 cost [2022-04-26T17:29:32.026Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 26 16:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:29:32.350Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:29:33.248Z] ---> package-listing.sh [2022-04-26T17:29:33.248Z] ++ facter osfamily [2022-04-26T17:29:33.248Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T17:29:33.508Z] + OS_FAMILY=debian [2022-04-26T17:29:33.508Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-337 [2022-04-26T17:29:33.508Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T17:29:33.508Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T17:29:33.508Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T17:29:33.508Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T17:29:33.508Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-337 ']' [2022-04-26T17:29:33.508Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T17:29:33.508Z] + case "${OS_FAMILY}" in [2022-04-26T17:29:33.508Z] + dpkg -l [2022-04-26T17:29:33.509Z] + grep '^ii' [2022-04-26T17:29:33.509Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T17:29:33.509Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T17:29:33.509Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T17:29:33.509Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-337 ']' [2022-04-26T17:29:33.509Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-337/archives/ [2022-04-26T17:29:33.509Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-337/archives/ [Pipeline] echo [2022-04-26T17:29:33.553Z] 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/xfoundry_device-modbus-go_PR-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T17:29:33.848Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T17:29:34.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T17:29:34.434Z] . [Pipeline] withDockerContainer [2022-04-26T17:29:34.522Z] prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container [2022-04-26T17:29:34.563Z] $ 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/xfoundry_device-modbus-go_PR-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T17:29:34.806Z] $ docker top 80b43b284334607f4c073e8f278fbb59210e3db31905db37e07a6ad28f733378 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T17:29:35.216Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T17:29:35.528Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T17:29:35.852Z] + ls /var/log/sa-host [2022-04-26T17:29:35.852Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T17:29:36.236Z] provisioning config files... [2022-04-26T17:29:36.246Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/config1424437016362280887tmp [Pipeline] { [Pipeline] echo [2022-04-26T17:29:36.295Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:29:36.613Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T17:29:36.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:29:37.074Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T17:29:37.108Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:29:37.426Z] ---> sudo-logs.sh [2022-04-26T17:29:37.426Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T17:29:37.515Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:29:37.829Z] ---> job-cost.sh [2022-04-26T17:29:37.829Z] lf-activate-venv: SKIPPING [2022-04-26T17:29:37.829Z] DEBUG: total: 0.2199999988079071 [2022-04-26T17:29:37.829Z] INFO: Retrieving Stack Cost... [2022-04-26T17:29:38.090Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T17:29:38.663Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T17:29:38.703Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T17:29:39.016Z] ---> logs-deploy.sh [2022-04-26T17:29:39.016Z] lf-activate-venv: SKIPPING [2022-04-26T17:29:39.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-337/1 [2022-04-26T17:29:39.016Z] INFO: archiving workspace using pattern(s): [2022-04-26T17:29:39.958Z] Archives upload complete. [2022-04-26T17:29:39.958Z] INFO: archiving logs to Nexus