Pull request #333 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 370e89f239da5b04f3592ec14a7e6ffbead9c5dc+244abab361647dcef607fbcbfbdaea3ae1f72309 (a053d084d1e4d8c2a8c618cad38944249f6e7683) 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-ssh5814463964092159173.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-ssh13880771877223386451.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-333/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-333/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17604432596286377217.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-333/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17414623231453204915.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-ssh6064480922596854279.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-333/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-333/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4143310667652725162.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 Running on prd-ubuntu20.04-docker-8c-8g-21934 in /w/workspace/xfoundry_device-modbus-go_PR-333 [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-333 # 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 Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit 370e89f239da5b04f3592ec14a7e6ffbead9c5dc Merge succeeded, producing 370e89f239da5b04f3592ec14a7e6ffbead9c5dc Checking out Revision 370e89f239da5b04f3592ec14a7e6ffbead9c5dc (PR-333) > 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/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 370e89f239da5b04f3592ec14a7e6ffbead9c5dc # 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 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 370e89f239da5b04f3592ec14a7e6ffbead9c5dc # 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-25T05:02:40.690Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T05:02:40.907Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T05:02:41.007Z] ========================================================= [2022-04-25T05:02:41.007Z] EdgeX Global Pipelines Version Info [2022-04-25T05:02:41.007Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:02:41.773Z] ------------------- [2022-04-25T05:02:41.773Z] stable info: [2022-04-25T05:02:41.773Z] ------------------- [2022-04-25T05:02:41.773Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T05:02:41.773Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T05:02:41.773Z] Message: update stable to v1.0.221 [2022-04-25T05:02:42.347Z] ------------------- [2022-04-25T05:02:42.347Z] experimental info: [2022-04-25T05:02:42.347Z] ------------------- [2022-04-25T05:02:42.347Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T05:02:42.347Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T05:02:42.347Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T05:02:42.598Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-25T05:02:42.636Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-25T05:02:42.672Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T05:02:42.707Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T05:02:42.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T05:02:42.781Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T05:02:42.821Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T05:02:42.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T05:02:42.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T05:02:42.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T05:02:42.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T05:02:43.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-25T05:02:43.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T05:02:43.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T05:02:43.154Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T05:02:43.198Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T05:02:43.238Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T05:02:43.277Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T05:02:43.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T05:02:43.359Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T05:02:43.400Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T05:02:43.445Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T05:02:43.513Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T05:02:43.548Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T05:02:43.602Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T05:02:43.644Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T05:02:43.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-333 [Pipeline] echo [2022-04-25T05:02:43.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-333 [Pipeline] echo [2022-04-25T05:02:43.766Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-333 [Pipeline] echo [2022-04-25T05:02:43.806Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [Pipeline] echo [2022-04-25T05:02:43.846Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 370e89f [Pipeline] echo [2022-04-25T05:02:43.888Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T05:02:44.014Z] provisioning config files... [2022-04-25T05:02:44.027Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/config7627578284605978514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:02:44.369Z] ---> docker-login.sh [2022-04-25T05:02:44.369Z] nexus3.edgexfoundry.org:10001 [2022-04-25T05:02:44.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:44.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:44.629Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:44.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:44.629Z] [2022-04-25T05:02:44.629Z] Login Succeeded [2022-04-25T05:02:44.629Z] nexus3.edgexfoundry.org:10002 [2022-04-25T05:02:44.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:44.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:44.893Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:44.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:44.893Z] [2022-04-25T05:02:44.893Z] Login Succeeded [2022-04-25T05:02:44.893Z] nexus3.edgexfoundry.org:10003 [2022-04-25T05:02:44.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:44.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:44.893Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:44.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:44.893Z] [2022-04-25T05:02:44.893Z] Login Succeeded [2022-04-25T05:02:44.893Z] nexus3.edgexfoundry.org:10004 [2022-04-25T05:02:45.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:45.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:45.153Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:45.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:45.153Z] [2022-04-25T05:02:45.153Z] Login Succeeded [2022-04-25T05:02:45.153Z] docker.io [2022-04-25T05:02:45.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:45.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:45.727Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:45.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:45.727Z] [2022-04-25T05:02:45.727Z] Login Succeeded [2022-04-25T05:02:45.727Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T05:02:45.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-25T05:02:46.388Z] + git rev-list -1 --merges 370e89f239da5b04f3592ec14a7e6ffbead9c5dc~1..370e89f239da5b04f3592ec14a7e6ffbead9c5dc [Pipeline] echo [2022-04-25T05:02:46.423Z] -----------> git rev-list -1 --merges 370e89f239da5b04f3592ec14a7e6ffbead9c5dc~1..370e89f239da5b04f3592ec14a7e6ffbead9c5dc 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [false] [Pipeline] sh [2022-04-25T05:02:46.736Z] + git log --format=format:%s -1 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [Pipeline] echo [2022-04-25T05:02:46.774Z] ========================================================= [2022-04-25T05:02:46.774Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T05:02:46.774Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T05:02:47.213Z] + git log --format=format:%s -1 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [Pipeline] echo [2022-04-25T05:02:47.245Z] [semverPrep] GIT_COMMIT: 370e89f239da5b04f3592ec14a7e6ffbead9c5dc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-25T05:02:47.274Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T05:02:47.724Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T05:02:47.724Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T05:02:47.724Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T05:02:47.724Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T05:02:47.724Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T05:02:47.724Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T05:02:47.724Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:02:48.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T05:02:48.177Z] [2022-04-25T05:02:48.177Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:02:48.514Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T05:02:48.514Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T05:02:48.514Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T05:02:48.514Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T05:02:48.515Z] 4c7163046ea9: Pulling fs layer [2022-04-25T05:02:48.515Z] 0c2d73faf560: Pulling fs layer [2022-04-25T05:02:48.515Z] 0c2d73faf560: Waiting [2022-04-25T05:02:48.515Z] 3e5f54012d9b: Download complete [2022-04-25T05:02:48.515Z] a0d0a0d46f8b: Verifying Checksum [2022-04-25T05:02:48.515Z] a0d0a0d46f8b: Download complete [2022-04-25T05:02:48.515Z] 0c2d73faf560: Verifying Checksum [2022-04-25T05:02:48.515Z] 0c2d73faf560: Download complete [2022-04-25T05:02:48.515Z] 4c7163046ea9: Verifying Checksum [2022-04-25T05:02:48.515Z] 4c7163046ea9: Download complete [2022-04-25T05:02:48.777Z] a0d0a0d46f8b: Pull complete [2022-04-25T05:02:48.777Z] 3e5f54012d9b: Pull complete [2022-04-25T05:02:49.037Z] 4c7163046ea9: Pull complete [2022-04-25T05:02:49.298Z] 0c2d73faf560: Pull complete [2022-04-25T05:02:49.298Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T05:02:49.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T05:02:49.298Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T05:02:49.393Z] prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container [2022-04-25T05:02:49.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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-25T05:02:50.048Z] $ docker top 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T05:02:50.214Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T05:02:50.215Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T05:02:50.338Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T05:02:50.351Z] $ docker exec 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc ssh-agent [2022-04-25T05:02:50.454Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXilIchg/agent.16 [2022-04-25T05:02:50.454Z] SSH_AGENT_PID=23 [2022-04-25T05:02:50.462Z] Running ssh-add (command line suppressed) [2022-04-25T05:02:50.586Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-333@tmp/private_key_8118197770548120229.key (/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/private_key_8118197770548120229.key) [2022-04-25T05:02:50.592Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T05:02:50.917Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T05:02:50.953Z] $ docker exec --env ******** --env ******** 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc ssh-agent -k [2022-04-25T05:02:51.062Z] unset SSH_AUTH_SOCK; [2022-04-25T05:02:51.062Z] unset SSH_AGENT_PID; [2022-04-25T05:02:51.062Z] echo Agent pid 23 killed; [2022-04-25T05:02:51.065Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T05:02:51.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T05:02:51.149Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T05:02:51.273Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T05:02:51.286Z] $ docker exec 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc ssh-agent [2022-04-25T05:02:51.403Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEOMoKN/agent.55 [2022-04-25T05:02:51.403Z] SSH_AGENT_PID=61 [2022-04-25T05:02:51.409Z] Running ssh-add (command line suppressed) [2022-04-25T05:02:51.538Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-333@tmp/private_key_5454573463671740059.key (/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/private_key_5454573463671740059.key) [2022-04-25T05:02:51.544Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T05:02:51.877Z] + git semver init [2022-04-25T05:02:51.877Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T05:02:51.877Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-333/.git [2022-04-25T05:02:51.877Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-333 [2022-04-25T05:02:51.877Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T05:02:51.877Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T05:02:51.877Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T05:02:51.877Z] # $SEMVER_BRANCH = PR-333 [2022-04-25T05:02:51.877Z] # $SEMVER_TEMP = /tmp/semver-124856271 [2022-04-25T05:02:51.877Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-25T05:02:52.822Z] # '/tmp/semver-124856271' -> '/w/workspace/xfoundry_device-modbus-go_PR-333/.semver' [2022-04-25T05:02:52.822Z] # -> Force: false [2022-04-25T05:02:52.822Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-333/.semver [Pipeline] } [2022-04-25T05:02:52.858Z] $ docker exec --env ******** --env ******** 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc ssh-agent -k [2022-04-25T05:02:52.977Z] unset SSH_AUTH_SOCK; [2022-04-25T05:02:52.977Z] unset SSH_AGENT_PID; [2022-04-25T05:02:52.977Z] echo Agent pid 61 killed; [2022-04-25T05:02:52.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T05:02:53.401Z] + git semver [Pipeline] } [2022-04-25T05:02:53.444Z] $ docker stop --time=1 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc [2022-04-25T05:02:54.782Z] $ docker rm -f 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T05:02:55.222Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T05:02:55.509Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T05:02:55.526Z] [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-25T05:02:56.097Z] provisioning config files... [2022-04-25T05:02:56.108Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/config409653277405873697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:02:56.458Z] ---> docker-login.sh [2022-04-25T05:02:56.458Z] nexus3.edgexfoundry.org:10001 [2022-04-25T05:02:56.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:56.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:56.458Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:56.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:56.458Z] [2022-04-25T05:02:56.458Z] Login Succeeded [2022-04-25T05:02:56.458Z] nexus3.edgexfoundry.org:10002 [2022-04-25T05:02:56.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:56.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:56.722Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:56.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:56.722Z] [2022-04-25T05:02:56.722Z] Login Succeeded [2022-04-25T05:02:56.722Z] nexus3.edgexfoundry.org:10003 [2022-04-25T05:02:56.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:56.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:56.722Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:56.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:56.722Z] [2022-04-25T05:02:56.722Z] Login Succeeded [2022-04-25T05:02:56.722Z] nexus3.edgexfoundry.org:10004 [2022-04-25T05:02:56.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:56.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:56.983Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:56.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:56.983Z] [2022-04-25T05:02:56.983Z] Login Succeeded [2022-04-25T05:02:56.983Z] docker.io [2022-04-25T05:02:56.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:02:57.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:02:57.247Z] Configure a credential helper to remove this warning. See [2022-04-25T05:02:57.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:02:57.247Z] [2022-04-25T05:02:57.247Z] Login Succeeded [2022-04-25T05:02:57.247Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T05:02:57.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T05:02:57.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T05:02:57.589Z] ========================================================= [2022-04-25T05:02:57.589Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T05:02:57.589Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:02:57.985Z] + 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-25T05:02:57.985Z] Sending build context to Docker daemon 5.851MB [2022-04-25T05:02:57.985Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T05:02:57.985Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-25T05:02:57.985Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T05:02:57.985Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T05:02:57.985Z] 666ba61612fd: Pulling fs layer [2022-04-25T05:02:57.985Z] 8ed8ca486205: Pulling fs layer [2022-04-25T05:02:57.985Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T05:02:57.985Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T05:02:57.985Z] ca2b28591e48: Pulling fs layer [2022-04-25T05:02:57.985Z] a51346096db8: Pulling fs layer [2022-04-25T05:02:57.985Z] daebc70d1ce1: Pulling fs layer [2022-04-25T05:02:57.985Z] 0e18a0eac166: Pulling fs layer [2022-04-25T05:02:57.985Z] daebc70d1ce1: Waiting [2022-04-25T05:02:57.985Z] 22a0e8bec74d: Waiting [2022-04-25T05:02:57.985Z] 0e18a0eac166: Waiting [2022-04-25T05:02:57.985Z] 4fe6c5a15a65: Waiting [2022-04-25T05:02:57.985Z] ca2b28591e48: Waiting [2022-04-25T05:02:57.985Z] a51346096db8: Waiting [2022-04-25T05:02:57.985Z] 8ed8ca486205: Verifying Checksum [2022-04-25T05:02:57.985Z] 8ed8ca486205: Download complete [2022-04-25T05:02:57.985Z] 666ba61612fd: Verifying Checksum [2022-04-25T05:02:57.985Z] 666ba61612fd: Download complete [2022-04-25T05:02:57.985Z] 22a0e8bec74d: Verifying Checksum [2022-04-25T05:02:57.985Z] 22a0e8bec74d: Download complete [2022-04-25T05:02:57.985Z] ca2b28591e48: Verifying Checksum [2022-04-25T05:02:57.985Z] ca2b28591e48: Download complete [2022-04-25T05:02:58.248Z] 59bf1c3509f3: Verifying Checksum [2022-04-25T05:02:58.248Z] 59bf1c3509f3: Download complete [2022-04-25T05:02:58.248Z] a51346096db8: Download complete [2022-04-25T05:02:58.248Z] daebc70d1ce1: Verifying Checksum [2022-04-25T05:02:58.248Z] daebc70d1ce1: Download complete [2022-04-25T05:02:58.248Z] 59bf1c3509f3: Pull complete [2022-04-25T05:02:58.510Z] 666ba61612fd: Pull complete [2022-04-25T05:02:58.510Z] 8ed8ca486205: Pull complete [2022-04-25T05:02:58.771Z] 0e18a0eac166: Verifying Checksum [2022-04-25T05:02:58.771Z] 0e18a0eac166: Download complete [2022-04-25T05:02:58.771Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T05:02:58.771Z] 4fe6c5a15a65: Download complete [2022-04-25T05:03:02.062Z] 4fe6c5a15a65: Pull complete [2022-04-25T05:03:02.321Z] 22a0e8bec74d: Pull complete [2022-04-25T05:03:02.321Z] ca2b28591e48: Pull complete [2022-04-25T05:03:02.321Z] a51346096db8: Pull complete [2022-04-25T05:03:02.582Z] daebc70d1ce1: Pull complete [2022-04-25T05:03:04.486Z] 0e18a0eac166: Pull complete [2022-04-25T05:03:04.486Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T05:03:04.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T05:03:04.486Z] ---> f018257e8ee9 [2022-04-25T05:03:04.486Z] Step 3/10 : ARG MAKE='make build' [2022-04-25T05:03:05.873Z] ---> Running in ab898f74c845 [2022-04-25T05:03:05.873Z] Removing intermediate container ab898f74c845 [2022-04-25T05:03:05.873Z] ---> ff5e677f0735 [2022-04-25T05:03:05.873Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T05:03:05.873Z] ---> Running in fe4ccab1485f [2022-04-25T05:03:06.444Z] Removing intermediate container fe4ccab1485f [2022-04-25T05:03:06.444Z] ---> c49411878a53 [2022-04-25T05:03:06.444Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-25T05:03:06.444Z] ---> Running in 8342692e68a5 [2022-04-25T05:03:06.705Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T05:03:07.648Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T05:03:07.910Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T05:03:07.910Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-25T05:03:08.170Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T05:03:08.170Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T05:03:08.170Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-25T05:03:08.434Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-25T05:03:08.434Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-25T05:03:08.434Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-25T05:03:08.694Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T05:03:08.694Z] OK: 226 MiB in 60 packages [2022-04-25T05:03:08.955Z] Removing intermediate container 8342692e68a5 [2022-04-25T05:03:08.955Z] ---> a61f28083042 [2022-04-25T05:03:08.955Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-25T05:03:08.955Z] ---> Running in aeb654a26638 [2022-04-25T05:03:09.214Z] Removing intermediate container aeb654a26638 [2022-04-25T05:03:09.214Z] ---> 0d318f2eb1b3 [2022-04-25T05:03:09.214Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-25T05:03:09.214Z] ---> ee4c2f0b6044 [2022-04-25T05:03:09.214Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T05:03:09.214Z] ---> Running in 3c58dcfaebfb [2022-04-25T05:03:10.918Z] Still waiting to schedule task [2022-04-25T05:03:10.919Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-25T05:03:27.329Z] Removing intermediate container 3c58dcfaebfb [2022-04-25T05:03:27.329Z] ---> a8fcf3aa8e3f [2022-04-25T05:03:27.329Z] Step 9/10 : COPY . . [2022-04-25T05:03:27.329Z] ---> fd1fd3f1089c [2022-04-25T05:03:27.329Z] Step 10/10 : RUN ${MAKE} [2022-04-25T05:03:27.329Z] ---> Running in d75a2eace03f [2022-04-25T05:03:27.329Z] noop [2022-04-25T05:03:27.329Z] Removing intermediate container d75a2eace03f [2022-04-25T05:03:27.329Z] ---> 975cba762e8e [2022-04-25T05:03:27.329Z] Successfully built 975cba762e8e [2022-04-25T05:03:27.329Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:03:27.661Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T05:03:27.661Z] . [Pipeline] withDockerContainer [2022-04-25T05:03:27.748Z] prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container [2022-04-25T05:03:27.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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-25T05:03:28.183Z] $ docker top bfd8e5eed1f715b5ea082c8405179dc4c084ba44df439679252131fcd2c6aad9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T05:03:28.576Z] + go version [2022-04-25T05:03:28.577Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T05:03:28.616Z] $ docker stop --time=1 bfd8e5eed1f715b5ea082c8405179dc4c084ba44df439679252131fcd2c6aad9 [2022-04-25T05:03:29.937Z] $ docker rm -f bfd8e5eed1f715b5ea082c8405179dc4c084ba44df439679252131fcd2c6aad9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:03:30.581Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T05:03:30.581Z] . [Pipeline] withDockerContainer [2022-04-25T05:03:30.672Z] prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container [2022-04-25T05:03:30.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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-25T05:03:31.086Z] $ docker top 92d80b096e28563661029bcd25eada4ff5afabe72509e2855ca2aa1f70519b20 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T05:03:31.532Z] + make test [2022-04-25T05:03:31.532Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-25T05:03:31.791Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-25T05:03:41.775Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-25T05:03:41.775Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 46.4% of statements [2022-04-25T05:03:48.359Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T05:03:51.652Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T05:03:51.652Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T05:03:51.652Z] ./bin/test-attribution-txt.sh [2022-04-25T05:03:52.222Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-25T05:03:52.222Z] make: *** [Makefile:47: test] Error 1 [Pipeline] } [2022-04-25T05:03:52.286Z] $ docker stop --time=1 92d80b096e28563661029bcd25eada4ff5afabe72509e2855ca2aa1f70519b20 [2022-04-25T05:03:54.080Z] $ docker rm -f 92d80b096e28563661029bcd25eada4ff5afabe72509e2855ca2aa1f70519b20 [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-25T05:03:55.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T05:03:55.259Z] [2022-04-25T05:03:55.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:03:55.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T05:03:55.602Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T05:03:55.602Z] 5eb5b503b376: Pulling fs layer [2022-04-25T05:03:55.602Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T05:03:55.602Z] ec43610c2a17: Pulling fs layer [2022-04-25T05:03:55.602Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T05:03:55.602Z] 33b1e0a273af: Pulling fs layer [2022-04-25T05:03:55.602Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T05:03:55.602Z] 2f39f015ded8: Pulling fs layer [2022-04-25T05:03:55.602Z] 3a2ae6a8a46f: Waiting [2022-04-25T05:03:55.602Z] 5d3b04190fa2: Waiting [2022-04-25T05:03:55.602Z] 33b1e0a273af: Waiting [2022-04-25T05:03:55.602Z] 2f39f015ded8: Waiting [2022-04-25T05:03:55.602Z] 5c69ac0246d0: Verifying Checksum [2022-04-25T05:03:55.602Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-25T05:03:55.602Z] 3a2ae6a8a46f: Download complete [2022-04-25T05:03:55.602Z] 33b1e0a273af: Verifying Checksum [2022-04-25T05:03:55.602Z] 33b1e0a273af: Download complete [2022-04-25T05:03:55.602Z] ec43610c2a17: Verifying Checksum [2022-04-25T05:03:55.602Z] ec43610c2a17: Download complete [2022-04-25T05:03:55.602Z] 5d3b04190fa2: Verifying Checksum [2022-04-25T05:03:55.602Z] 5d3b04190fa2: Download complete [2022-04-25T05:03:55.862Z] 5eb5b503b376: Verifying Checksum [2022-04-25T05:03:55.862Z] 5eb5b503b376: Download complete [2022-04-25T05:03:56.431Z] 2f39f015ded8: Verifying Checksum [2022-04-25T05:03:56.431Z] 2f39f015ded8: Download complete [2022-04-25T05:03:57.000Z] 5eb5b503b376: Pull complete [2022-04-25T05:03:57.258Z] 5c69ac0246d0: Pull complete [2022-04-25T05:03:57.517Z] ec43610c2a17: Pull complete [2022-04-25T05:03:57.778Z] 3a2ae6a8a46f: Pull complete [2022-04-25T05:03:58.037Z] 33b1e0a273af: Pull complete [2022-04-25T05:03:58.037Z] 5d3b04190fa2: Pull complete [2022-04-25T05:04:02.375Z] 2f39f015ded8: Pull complete [2022-04-25T05:04:02.375Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T05:04:02.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T05:04:02.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T05:04:02.466Z] prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container [2022-04-25T05:04:02.513Z] $ 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-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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-25T05:04:04.115Z] $ docker top 040ad758afb04762cbc6818d52a3e6ec22bfecfcbf807fb987c01ed054ab0341 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:04:04.617Z] ---> job-cost.sh [2022-04-25T05:04:04.617Z] lf-activate-venv: SKIPPING [2022-04-25T05:04:04.617Z] INFO: No Stack... [2022-04-25T05:04:05.187Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T05:04:05.448Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T05:04:05.764Z] + + cut -d,cat -f6 /w/workspace/xfoundry_device-modbus-go_PR-333/archives/cost.csv [2022-04-25T05:04:05.764Z] [Pipeline] lock [2022-04-25T05:04:05.810Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [2022-04-25T05:04:05.815Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] did not exist. Created. [2022-04-25T05:04:05.815Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T05:04:06.209Z] + echo total: 0.6600000262260437 [Pipeline] stash [2022-04-25T05:04:06.268Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T05:04:06.289Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T05:04:06.366Z] $ docker stop --time=1 040ad758afb04762cbc6818d52a3e6ec22bfecfcbf807fb987c01ed054ab0341 [2022-04-25T05:04:07.547Z] $ docker rm -f 040ad758afb04762cbc6818d52a3e6ec22bfecfcbf807fb987c01ed054ab0341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T05:04:07.910Z] Failed in branch amd64 [2022-04-25T05:04:48.869Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21942 in /w/workspace/xfoundry_device-modbus-go_PR-333 [Pipeline] { [Pipeline] ws [2022-04-25T05:04:48.916Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-04-25T05:04:49.231Z] Selected Git installation does not exist. Using Default [2022-04-25T05:04:49.231Z] The recommended git tool is: NONE [2022-04-25T05:04:55.487Z] using credential edgex-jenkins-ssh [2022-04-25T05:04:55.507Z] Cloning the remote Git repository [2022-04-25T05:04:55.581Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-25T05:04:55.657Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-04-25T05:04:55.786Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-25T05:04:55.787Z] > git --version # timeout=10 [2022-04-25T05:04:55.815Z] > git --version # 'git version 2.25.1' [2022-04-25T05:04:55.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T05:04:55.913Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T05:04:57.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-25T05:04:57.171Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T05:04:57.202Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-25T05:04:57.237Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-25T05:04:57.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T05:04:57.252Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-25T05:04:57.795Z] Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [2022-04-25T05:04:57.994Z] Merge succeeded, producing 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [2022-04-25T05:04:57.994Z] Checking out Revision 370e89f239da5b04f3592ec14a7e6ffbead9c5dc (PR-333) [2022-04-25T05:04:57.820Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T05:04:57.834Z] > git checkout -f 370e89f239da5b04f3592ec14a7e6ffbead9c5dc # timeout=10 [2022-04-25T05:04:57.913Z] > git remote # timeout=10 [2022-04-25T05:04:57.927Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T05:04:57.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T05:04:57.954Z] > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 [2022-04-25T05:04:57.985Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T05:04:58.008Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T05:04:58.019Z] > git checkout -f 370e89f239da5b04f3592ec14a7e6ffbead9c5dc # timeout=10 [2022-04-25T05:05:02.138Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-25T05:05:02.200Z] > git --version # timeout=10 [2022-04-25T05:05:02.211Z] > git --version # 'git version 2.25.1' [2022-04-25T05:05:02.226Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T05:05:03.488Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T05:05:03.488Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T05:05:03.488Z] Dload Upload Total Spent Left Speed [2022-04-25T05:05:03.488Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 74955 0 --:--:-- --:--:-- --:--:-- 75433 [Pipeline] sh [2022-04-25T05:05:04.089Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T05:05:04.445Z] + sudo tee /etc/docker/daemon.new [2022-04-25T05:05:04.446Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-25T05:05:04.446Z] { [2022-04-25T05:05:04.446Z] "registry-mirrors": [ [2022-04-25T05:05:04.446Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T05:05:04.446Z] ], [2022-04-25T05:05:04.446Z] "bip": "10.250.0.254/24", [2022-04-25T05:05:04.446Z] "hosts": [ [2022-04-25T05:05:04.446Z] "tcp://0.0.0.0:5555", [2022-04-25T05:05:04.446Z] "unix:///var/run/docker.sock" [2022-04-25T05:05:04.446Z] ], [2022-04-25T05:05:04.446Z] "mtu": 1458, [2022-04-25T05:05:04.446Z] "selinux-enabled": true, [2022-04-25T05:05:04.446Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T05:05:04.446Z] } [Pipeline] sh [2022-04-25T05:05:04.802Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T05:05:05.168Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T05:05:23.572Z] provisioning config files... [2022-04-25T05:05:23.601Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4002706201872011176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:05:24.005Z] ---> docker-login.sh [2022-04-25T05:05:24.005Z] nexus3.edgexfoundry.org:10001 [2022-04-25T05:05:24.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:05:24.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:05:24.877Z] Configure a credential helper to remove this warning. See [2022-04-25T05:05:24.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:05:24.877Z] [2022-04-25T05:05:24.877Z] Login Succeeded [2022-04-25T05:05:24.878Z] nexus3.edgexfoundry.org:10002 [2022-04-25T05:05:25.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:05:25.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:05:25.425Z] Configure a credential helper to remove this warning. See [2022-04-25T05:05:25.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:05:25.425Z] [2022-04-25T05:05:25.425Z] Login Succeeded [2022-04-25T05:05:25.425Z] nexus3.edgexfoundry.org:10003 [2022-04-25T05:05:25.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:05:25.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:05:25.707Z] Configure a credential helper to remove this warning. See [2022-04-25T05:05:25.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:05:25.707Z] [2022-04-25T05:05:25.707Z] Login Succeeded [2022-04-25T05:05:25.707Z] nexus3.edgexfoundry.org:10004 [2022-04-25T05:05:26.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:05:26.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:05:26.305Z] Configure a credential helper to remove this warning. See [2022-04-25T05:05:26.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:05:26.305Z] [2022-04-25T05:05:26.305Z] Login Succeeded [2022-04-25T05:05:26.306Z] docker.io [2022-04-25T05:05:26.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:05:27.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:05:27.174Z] Configure a credential helper to remove this warning. See [2022-04-25T05:05:27.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:05:27.174Z] [2022-04-25T05:05:27.174Z] Login Succeeded [2022-04-25T05:05:27.174Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T05:05:27.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T05:05:27.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T05:05:27.847Z] ========================================================= [2022-04-25T05:05:27.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T05:05:27.847Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:05:28.292Z] + 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-25T05:05:28.568Z] Sending build context to Docker daemon 3.077MB [2022-04-25T05:05:28.568Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T05:05:28.568Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-25T05:05:28.852Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T05:05:28.852Z] 9b3977197b4f: Pulling fs layer [2022-04-25T05:05:28.852Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T05:05:28.852Z] 94645a83ff95: Pulling fs layer [2022-04-25T05:05:28.852Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T05:05:28.852Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T05:05:28.852Z] 3096ccb668a1: Pulling fs layer [2022-04-25T05:05:28.852Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T05:05:28.852Z] a4caa8a26152: Pulling fs layer [2022-04-25T05:05:28.852Z] 3096ccb668a1: Waiting [2022-04-25T05:05:28.852Z] e8cf19c19ddd: Waiting [2022-04-25T05:05:28.852Z] 3f3a8bcf1eab: Waiting [2022-04-25T05:05:28.852Z] 0c92f367c5e7: Waiting [2022-04-25T05:05:28.852Z] a4caa8a26152: Waiting [2022-04-25T05:05:28.852Z] 94645a83ff95: Download complete [2022-04-25T05:05:28.852Z] 1a89e8eeedd5: Download complete [2022-04-25T05:05:28.852Z] 0c92f367c5e7: Download complete [2022-04-25T05:05:28.852Z] 3096ccb668a1: Verifying Checksum [2022-04-25T05:05:28.852Z] 3096ccb668a1: Download complete [2022-04-25T05:05:28.852Z] 9b3977197b4f: Download complete [2022-04-25T05:05:28.852Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T05:05:28.852Z] e8cf19c19ddd: Download complete [2022-04-25T05:05:29.842Z] 9b3977197b4f: Pull complete [2022-04-25T05:05:30.122Z] 1a89e8eeedd5: Pull complete [2022-04-25T05:05:30.729Z] 94645a83ff95: Pull complete [2022-04-25T05:05:31.003Z] a4caa8a26152: Verifying Checksum [2022-04-25T05:05:31.003Z] a4caa8a26152: Download complete [2022-04-25T05:05:31.602Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-25T05:05:31.602Z] 3f3a8bcf1eab: Download complete [2022-04-25T05:05:44.020Z] 3f3a8bcf1eab: Pull complete [2022-04-25T05:05:44.020Z] 0c92f367c5e7: Pull complete [2022-04-25T05:05:44.020Z] 3096ccb668a1: Pull complete [2022-04-25T05:05:44.294Z] e8cf19c19ddd: Pull complete [2022-04-25T05:05:51.021Z] a4caa8a26152: Pull complete [2022-04-25T05:05:51.021Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T05:05:51.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T05:05:51.021Z] ---> 725f1c02e7f9 [2022-04-25T05:05:51.021Z] Step 3/10 : ARG MAKE='make build' [2022-04-25T05:05:51.021Z] ---> Running in 796389b01e38 [2022-04-25T05:05:51.296Z] Removing intermediate container 796389b01e38 [2022-04-25T05:05:51.296Z] ---> debbf42e7947 [2022-04-25T05:05:51.296Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T05:05:51.574Z] ---> Running in 103d0b1e1309 [2022-04-25T05:05:53.566Z] Removing intermediate container 103d0b1e1309 [2022-04-25T05:05:53.566Z] ---> b6fe4666705b [2022-04-25T05:05:53.566Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-25T05:05:53.566Z] ---> Running in c78ba7c8be01 [2022-04-25T05:05:54.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T05:05:55.148Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T05:05:56.138Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T05:05:56.138Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-25T05:05:56.138Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T05:05:56.413Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T05:05:56.413Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-25T05:05:56.688Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-25T05:05:56.688Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-25T05:05:56.688Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-25T05:05:56.965Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T05:05:56.965Z] OK: 226 MiB in 60 packages [2022-04-25T05:05:57.967Z] Removing intermediate container c78ba7c8be01 [2022-04-25T05:05:57.967Z] ---> e34ed43f4500 [2022-04-25T05:05:57.967Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-25T05:05:57.967Z] ---> Running in 81e33273c28b [2022-04-25T05:05:58.241Z] Removing intermediate container 81e33273c28b [2022-04-25T05:05:58.241Z] ---> 10863ca1803f [2022-04-25T05:05:58.241Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-25T05:05:58.854Z] ---> f07315199776 [2022-04-25T05:05:58.854Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T05:05:58.854Z] ---> Running in 0728a628c5c8 [2022-04-25T05:06:45.857Z] Removing intermediate container 0728a628c5c8 [2022-04-25T05:06:45.857Z] ---> 59a322577247 [2022-04-25T05:06:45.857Z] Step 9/10 : COPY . . [2022-04-25T05:06:45.857Z] ---> c2da20334bbc [2022-04-25T05:06:45.857Z] Step 10/10 : RUN ${MAKE} [2022-04-25T05:06:45.857Z] ---> Running in 26a9841b0a7b [2022-04-25T05:06:45.857Z] noop [2022-04-25T05:06:45.857Z] Removing intermediate container 26a9841b0a7b [2022-04-25T05:06:45.857Z] ---> d848d0c58a46 [2022-04-25T05:06:45.857Z] Successfully built d848d0c58a46 [2022-04-25T05:06:45.857Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:06:46.234Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T05:06:46.234Z] . [Pipeline] withDockerContainer [2022-04-25T05:06:46.492Z] prd-ubuntu20.04-docker-arm64-4c-16g-21942 does not seem to be running inside a container [2022-04-25T05:06:46.576Z] $ 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-25T05:06:47.897Z] $ docker top 2e6cd5368fdba7ffaa3559b20f71b4126a66f2f2617e12bddd3e1b1c1b437d2a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T05:06:48.891Z] + go version [2022-04-25T05:06:48.891Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T05:06:48.931Z] $ docker stop --time=1 2e6cd5368fdba7ffaa3559b20f71b4126a66f2f2617e12bddd3e1b1c1b437d2a [2022-04-25T05:06:50.630Z] $ docker rm -f 2e6cd5368fdba7ffaa3559b20f71b4126a66f2f2617e12bddd3e1b1c1b437d2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:06:51.503Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T05:06:51.503Z] . [Pipeline] withDockerContainer [2022-04-25T05:06:51.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-21942 does not seem to be running inside a container [2022-04-25T05:06:51.842Z] $ 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-25T05:06:53.099Z] $ docker top 5db292f50579fe7dc85e5953d06d71cd4ad6a368a4bc7e0c94a96927b517c466 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T05:06:54.138Z] + make test [2022-04-25T05:06:54.138Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-25T05:06:55.580Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-25T05:08:17.394Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-25T05:08:17.394Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 46.4% of statements [2022-04-25T05:08:17.394Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-25T05:08:17.394Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T05:08:39.612Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T05:08:39.612Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T05:08:39.612Z] ./bin/test-attribution-txt.sh [2022-04-25T05:08:39.885Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-25T05:08:40.158Z] make: *** [Makefile:47: test] Error 1 [Pipeline] } [2022-04-25T05:08:40.208Z] $ docker stop --time=1 5db292f50579fe7dc85e5953d06d71cd4ad6a368a4bc7e0c94a96927b517c466 [2022-04-25T05:08:41.980Z] $ docker rm -f 5db292f50579fe7dc85e5953d06d71cd4ad6a368a4bc7e0c94a96927b517c466 [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-25T05:08:43.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T05:08:43.465Z] [2022-04-25T05:08:43.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:08:43.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T05:08:44.137Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T05:08:44.137Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T05:08:44.137Z] 04944245beec: Pulling fs layer [2022-04-25T05:08:44.137Z] 699f458cf7ca: Pulling fs layer [2022-04-25T05:08:44.137Z] 765212b225bb: Pulling fs layer [2022-04-25T05:08:44.137Z] f23df028b6ca: Pulling fs layer [2022-04-25T05:08:44.137Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T05:08:44.138Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T05:08:44.138Z] 765212b225bb: Waiting [2022-04-25T05:08:44.138Z] f23df028b6ca: Waiting [2022-04-25T05:08:44.138Z] d65c8cfc05b1: Waiting [2022-04-25T05:08:44.138Z] 2437ff75d9bd: Waiting [2022-04-25T05:08:44.138Z] 04944245beec: Verifying Checksum [2022-04-25T05:08:44.138Z] 04944245beec: Download complete [2022-04-25T05:08:44.138Z] 765212b225bb: Verifying Checksum [2022-04-25T05:08:44.138Z] 765212b225bb: Download complete [2022-04-25T05:08:44.138Z] f23df028b6ca: Download complete [2022-04-25T05:08:44.138Z] d65c8cfc05b1: Verifying Checksum [2022-04-25T05:08:44.138Z] d65c8cfc05b1: Download complete [2022-04-25T05:08:44.414Z] 699f458cf7ca: Verifying Checksum [2022-04-25T05:08:44.414Z] 699f458cf7ca: Download complete [2022-04-25T05:08:44.689Z] 8998bd30e6a1: Download complete [2022-04-25T05:08:46.667Z] 2437ff75d9bd: Verifying Checksum [2022-04-25T05:08:46.667Z] 2437ff75d9bd: Download complete [2022-04-25T05:08:48.790Z] 8998bd30e6a1: Pull complete [2022-04-25T05:08:49.488Z] 04944245beec: Pull complete [2022-04-25T05:08:50.941Z] 699f458cf7ca: Pull complete [2022-04-25T05:08:51.215Z] 765212b225bb: Pull complete [2022-04-25T05:08:52.194Z] f23df028b6ca: Pull complete [2022-04-25T05:08:52.194Z] d65c8cfc05b1: Pull complete [2022-04-25T05:09:07.288Z] 2437ff75d9bd: Pull complete [2022-04-25T05:09:07.288Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T05:09:07.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T05:09:07.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T05:09:07.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-21942 does not seem to be running inside a container [2022-04-25T05:09:07.622Z] $ 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-25T05:09:10.197Z] $ docker top 0f628773f6110baf9819f0116a1e2538bd08a5e245fe101e2ca669fe25f12d22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:09:11.209Z] ---> job-cost.sh [2022-04-25T05:09:11.209Z] lf-activate-venv: SKIPPING [2022-04-25T05:09:11.209Z] INFO: No Stack... [2022-04-25T05:09:11.484Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T05:09:12.457Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T05:09:13.140Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-04-25T05:09:13.140Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T05:09:13.232Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [2022-04-25T05:09:13.236Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] did not exist. Created. [2022-04-25T05:09:13.236Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T05:09:13.988Z] /w/workspace/device-modbus-go/1@tmp/durable-6fdf721c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T05:09:14.688Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T05:09:14.726Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T05:09:15.219Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T05:09:15.235Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T05:09:15.326Z] $ docker stop --time=1 0f628773f6110baf9819f0116a1e2538bd08a5e245fe101e2ca669fe25f12d22 [2022-04-25T05:09:16.875Z] $ docker rm -f 0f628773f6110baf9819f0116a1e2538bd08a5e245fe101e2ca669fe25f12d22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T05:09:17.660Z] 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-25T05:09:19.559Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-333/archives ] [2022-04-25T05:09:19.559Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-333/archives [2022-04-25T05:09:19.559Z] total 16 [2022-04-25T05:09:19.559Z] drwxr-xr-x 3 root root 4096 Apr 25 05:04 . [2022-04-25T05:09:19.559Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 05:04 .. [2022-04-25T05:09:19.559Z] drwxr-xr-x 2 root root 4096 Apr 25 05:04 cost [2022-04-25T05:09:19.559Z] -rw-r--r-- 1 root root 88 Apr 25 05:04 cost.csv [2022-04-25T05:09:19.559Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-333/archives [2022-04-25T05:09:19.559Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-333/archives [2022-04-25T05:09:19.559Z] total 16 [2022-04-25T05:09:19.559Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 05:04 . [2022-04-25T05:09:19.559Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 05:04 .. [2022-04-25T05:09:19.559Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 05:04 cost [2022-04-25T05:09:19.559Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 25 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:09:19.897Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:09:20.797Z] ---> package-listing.sh [2022-04-25T05:09:20.797Z] ++ facter osfamily [2022-04-25T05:09:20.797Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T05:09:21.057Z] + OS_FAMILY=debian [2022-04-25T05:09:21.057Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-333 [2022-04-25T05:09:21.057Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T05:09:21.057Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T05:09:21.057Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T05:09:21.057Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T05:09:21.057Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-333 ']' [2022-04-25T05:09:21.057Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T05:09:21.057Z] + case "${OS_FAMILY}" in [2022-04-25T05:09:21.057Z] + dpkg -l [2022-04-25T05:09:21.057Z] + grep '^ii' [2022-04-25T05:09:21.057Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T05:09:21.057Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T05:09:21.057Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T05:09:21.057Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-333 ']' [2022-04-25T05:09:21.057Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-333/archives/ [2022-04-25T05:09:21.057Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-333/archives/ [Pipeline] echo [2022-04-25T05:09:21.091Z] 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-333/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-25T05:09:21.389Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:09:21.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T05:09:21.980Z] . [Pipeline] withDockerContainer [2022-04-25T05:09:22.071Z] prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container [2022-04-25T05:09:22.118Z] $ 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-333/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-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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-25T05:09:22.372Z] $ docker top a6a0230fa74639a9dab32c299128f8c9b11a1716518d146926f6dc4f8b72fd99 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T05:09:22.765Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T05:09:23.080Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T05:09:23.394Z] + ls /var/log/sa-host [2022-04-25T05:09:23.394Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T05:09:23.682Z] provisioning config files... [2022-04-25T05:09:23.692Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/config5241448768235114935tmp [Pipeline] { [Pipeline] echo [2022-04-25T05:09:23.743Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:09:24.056Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T05:09:24.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:09:24.510Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T05:09:24.543Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:09:24.857Z] ---> sudo-logs.sh [2022-04-25T05:09:24.857Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T05:09:24.940Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:09:25.258Z] ---> job-cost.sh [2022-04-25T05:09:25.258Z] lf-activate-venv: SKIPPING [2022-04-25T05:09:25.258Z] DEBUG: total: 0.6600000262260437 [2022-04-25T05:09:25.258Z] INFO: Retrieving Stack Cost... [2022-04-25T05:09:25.520Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T05:09:26.092Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T05:09:26.129Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:09:26.445Z] ---> logs-deploy.sh [2022-04-25T05:09:26.445Z] lf-activate-venv: SKIPPING [2022-04-25T05:09:26.445Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-333/1 [2022-04-25T05:09:26.445Z] INFO: archiving workspace using pattern(s): [2022-04-25T05:09:27.389Z] Archives upload complete. [2022-04-25T05:09:27.389Z] INFO: archiving logs to Nexus