Pull request #332 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from afc096859ea897e6a3ffd068badbcaefead38123+244abab361647dcef607fbcbfbdaea3ae1f72309 (44c2643ccc7377084b17b72b125aaab7f1e90408) 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-ssh11877646523122611777.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-ssh2366360327678623399.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-332/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-332/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16342876614976045027.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-332/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4072168245240750990.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-ssh1427990225560634453.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-332/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-332/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5401924175504408625.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 Running on prd-ubuntu20.04-docker-8c-8g-21203 in /w/workspace/xfoundry_device-modbus-go_PR-332 [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-332 # 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 afc096859ea897e6a3ffd068badbcaefead38123 > 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/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f afc096859ea897e6a3ffd068badbcaefead38123 # timeout=10 Merge succeeded, producing afc096859ea897e6a3ffd068badbcaefead38123 Checking out Revision afc096859ea897e6a3ffd068badbcaefead38123 (PR-332) > 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 afc096859ea897e6a3ffd068badbcaefead38123 # 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-18T05:04:51.057Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-18T05:04:51.258Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-18T05:04:51.360Z] ========================================================= [2022-04-18T05:04:51.361Z] EdgeX Global Pipelines Version Info [2022-04-18T05:04:51.361Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:04:52.168Z] ------------------- [2022-04-18T05:04:52.168Z] stable info: [2022-04-18T05:04:52.168Z] ------------------- [2022-04-18T05:04:52.168Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-18T05:04:52.168Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-18T05:04:52.168Z] Message: update stable to v1.0.221 [2022-04-18T05:04:52.743Z] ------------------- [2022-04-18T05:04:52.743Z] experimental info: [2022-04-18T05:04:52.743Z] ------------------- [2022-04-18T05:04:52.743Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-18T05:04:52.743Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-18T05:04:52.743Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-18T05:04:53.005Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-18T05:04:53.046Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-18T05:04:53.091Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-18T05:04:53.126Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-18T05:04:53.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-18T05:04:53.210Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-18T05:04:53.255Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-18T05:04:53.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-18T05:04:53.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-18T05:04:53.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-18T05:04:53.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-18T05:04:53.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-18T05:04:53.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-18T05:04:53.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-18T05:04:53.637Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-18T05:04:53.678Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-18T05:04:53.725Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-18T05:04:53.766Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-18T05:04:53.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-18T05:04:53.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-18T05:04:53.893Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-18T05:04:53.939Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-18T05:04:53.982Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-18T05:04:54.023Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-18T05:04:54.068Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-18T05:04:54.115Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-18T05:04:54.159Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-332 [Pipeline] echo [2022-04-18T05:04:54.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-332 [Pipeline] echo [2022-04-18T05:04:54.239Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-332 [Pipeline] echo [2022-04-18T05:04:54.280Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] echo [2022-04-18T05:04:54.319Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afc0968 [Pipeline] echo [2022-04-18T05:04:54.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T05:04:54.478Z] provisioning config files... [2022-04-18T05:04:54.492Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/config6060415213061812250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:04:54.840Z] ---> docker-login.sh [2022-04-18T05:04:54.840Z] nexus3.edgexfoundry.org:10001 [2022-04-18T05:04:55.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:04:55.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:04:55.374Z] Configure a credential helper to remove this warning. See [2022-04-18T05:04:55.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:04:55.374Z] [2022-04-18T05:04:55.374Z] Login Succeeded [2022-04-18T05:04:55.374Z] nexus3.edgexfoundry.org:10002 [2022-04-18T05:04:55.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:04:55.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:04:55.374Z] Configure a credential helper to remove this warning. See [2022-04-18T05:04:55.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:04:55.374Z] [2022-04-18T05:04:55.374Z] Login Succeeded [2022-04-18T05:04:55.374Z] nexus3.edgexfoundry.org:10003 [2022-04-18T05:04:55.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:04:55.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:04:55.635Z] Configure a credential helper to remove this warning. See [2022-04-18T05:04:55.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:04:55.635Z] [2022-04-18T05:04:55.635Z] Login Succeeded [2022-04-18T05:04:55.635Z] nexus3.edgexfoundry.org:10004 [2022-04-18T05:04:55.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:04:55.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:04:55.635Z] Configure a credential helper to remove this warning. See [2022-04-18T05:04:55.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:04:55.636Z] [2022-04-18T05:04:55.636Z] Login Succeeded [2022-04-18T05:04:55.636Z] docker.io [2022-04-18T05:04:55.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:04:56.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:04:56.160Z] Configure a credential helper to remove this warning. See [2022-04-18T05:04:56.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:04:56.160Z] [2022-04-18T05:04:56.160Z] Login Succeeded [2022-04-18T05:04:56.160Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T05:04:56.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-18T05:04:56.800Z] + git rev-list -1 --merges afc096859ea897e6a3ffd068badbcaefead38123~1..afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] echo [2022-04-18T05:04:56.862Z] -----------> git rev-list -1 --merges afc096859ea897e6a3ffd068badbcaefead38123~1..afc096859ea897e6a3ffd068badbcaefead38123 afc096859ea897e6a3ffd068badbcaefead38123 [false] [Pipeline] sh [2022-04-18T05:04:57.176Z] + git log --format=format:%s -1 afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] echo [2022-04-18T05:04:57.209Z] ========================================================= [2022-04-18T05:04:57.209Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-18T05:04:57.209Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-18T05:04:57.621Z] + git log --format=format:%s -1 afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] echo [2022-04-18T05:04:57.660Z] [semverPrep] GIT_COMMIT: afc096859ea897e6a3ffd068badbcaefead38123, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-18T05:04:57.692Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-18T05:04:58.128Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-18T05:04:58.128Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-18T05:04:58.128Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-18T05:04:58.128Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-18T05:04:58.128Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-18T05:04:58.128Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-18T05:04:58.128Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:04:58.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T05:04:58.502Z] [2022-04-18T05:04:58.502Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:04:58.861Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T05:04:58.861Z] latest: Pulling from edgex-devops/git-semver [2022-04-18T05:04:58.861Z] a0d0a0d46f8b: Pulling fs layer [2022-04-18T05:04:58.861Z] 3e5f54012d9b: Pulling fs layer [2022-04-18T05:04:58.861Z] 4c7163046ea9: Pulling fs layer [2022-04-18T05:04:58.861Z] 0c2d73faf560: Pulling fs layer [2022-04-18T05:04:58.861Z] 0c2d73faf560: Waiting [2022-04-18T05:04:58.861Z] 3e5f54012d9b: Verifying Checksum [2022-04-18T05:04:58.861Z] 3e5f54012d9b: Download complete [2022-04-18T05:04:58.861Z] a0d0a0d46f8b: Verifying Checksum [2022-04-18T05:04:58.861Z] a0d0a0d46f8b: Download complete [2022-04-18T05:04:58.861Z] 0c2d73faf560: Verifying Checksum [2022-04-18T05:04:58.861Z] 0c2d73faf560: Download complete [2022-04-18T05:04:58.861Z] 4c7163046ea9: Verifying Checksum [2022-04-18T05:04:58.861Z] 4c7163046ea9: Download complete [2022-04-18T05:04:59.122Z] a0d0a0d46f8b: Pull complete [2022-04-18T05:04:59.384Z] 3e5f54012d9b: Pull complete [2022-04-18T05:04:59.646Z] 4c7163046ea9: Pull complete [2022-04-18T05:04:59.910Z] 0c2d73faf560: Pull complete [2022-04-18T05:04:59.910Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-18T05:04:59.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T05:04:59.910Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-18T05:05:00.022Z] prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container [2022-04-18T05:05:00.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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-18T05:05:00.823Z] $ docker top 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-18T05:05:01.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-18T05:05:01.015Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-18T05:05:01.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-18T05:05:01.156Z] $ docker exec 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf ssh-agent [2022-04-18T05:05:01.278Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkKdJpi/agent.14 [2022-04-18T05:05:01.278Z] SSH_AGENT_PID=20 [2022-04-18T05:05:01.288Z] Running ssh-add (command line suppressed) [2022-04-18T05:05:01.411Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-332@tmp/private_key_7850106137574458980.key (/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/private_key_7850106137574458980.key) [2022-04-18T05:05:01.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-18T05:05:01.763Z] + git tag --points-at HEAD [Pipeline] } [2022-04-18T05:05:01.798Z] $ docker exec --env ******** --env ******** 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf ssh-agent -k [2022-04-18T05:05:01.918Z] unset SSH_AUTH_SOCK; [2022-04-18T05:05:01.918Z] unset SSH_AGENT_PID; [2022-04-18T05:05:01.918Z] echo Agent pid 20 killed; [2022-04-18T05:05:01.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-18T05:05:02.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-18T05:05:02.019Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-18T05:05:02.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-18T05:05:02.159Z] $ docker exec 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf ssh-agent [2022-04-18T05:05:02.264Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfjaAPJ/agent.54 [2022-04-18T05:05:02.264Z] SSH_AGENT_PID=60 [2022-04-18T05:05:02.269Z] Running ssh-add (command line suppressed) [2022-04-18T05:05:02.386Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-332@tmp/private_key_5477886922123774144.key (/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/private_key_5477886922123774144.key) [2022-04-18T05:05:02.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-18T05:05:02.732Z] + git semver init [2022-04-18T05:05:02.732Z] # -> Open(): unable to determine branch for HEAD [2022-04-18T05:05:02.732Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-332/.git [2022-04-18T05:05:02.732Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-332 [2022-04-18T05:05:02.732Z] # $SEMVER_REMOTE_NAME = origin [2022-04-18T05:05:02.732Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-18T05:05:02.732Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-18T05:05:02.732Z] # $SEMVER_BRANCH = PR-332 [2022-04-18T05:05:02.732Z] # $SEMVER_TEMP = /tmp/semver-843992135 [2022-04-18T05:05:02.732Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-18T05:05:03.675Z] # '/tmp/semver-843992135' -> '/w/workspace/xfoundry_device-modbus-go_PR-332/.semver' [2022-04-18T05:05:03.675Z] # -> Force: false [2022-04-18T05:05:03.675Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-332/.semver [Pipeline] } [2022-04-18T05:05:03.708Z] $ docker exec --env ******** --env ******** 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf ssh-agent -k [2022-04-18T05:05:03.812Z] unset SSH_AUTH_SOCK; [2022-04-18T05:05:03.812Z] unset SSH_AGENT_PID; [2022-04-18T05:05:03.812Z] echo Agent pid 60 killed; [2022-04-18T05:05:03.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-18T05:05:04.239Z] + git semver [Pipeline] } [2022-04-18T05:05:04.275Z] $ docker stop --time=1 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf [2022-04-18T05:05:05.670Z] $ docker rm -f 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T05:05:06.094Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-18T05:05:06.414Z] Stashed 1 file(s) [Pipeline] echo [2022-04-18T05:05:06.432Z] [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-18T05:05:07.015Z] provisioning config files... [2022-04-18T05:05:07.025Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/config1078946310397056514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:05:07.378Z] ---> docker-login.sh [2022-04-18T05:05:07.378Z] nexus3.edgexfoundry.org:10001 [2022-04-18T05:05:07.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:05:07.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:05:07.378Z] Configure a credential helper to remove this warning. See [2022-04-18T05:05:07.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:05:07.378Z] [2022-04-18T05:05:07.378Z] Login Succeeded [2022-04-18T05:05:07.378Z] nexus3.edgexfoundry.org:10002 [2022-04-18T05:05:07.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:05:07.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:05:07.643Z] Configure a credential helper to remove this warning. See [2022-04-18T05:05:07.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:05:07.643Z] [2022-04-18T05:05:07.643Z] Login Succeeded [2022-04-18T05:05:07.643Z] nexus3.edgexfoundry.org:10003 [2022-04-18T05:05:07.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:05:07.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:05:07.643Z] Configure a credential helper to remove this warning. See [2022-04-18T05:05:07.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:05:07.643Z] [2022-04-18T05:05:07.643Z] Login Succeeded [2022-04-18T05:05:07.643Z] nexus3.edgexfoundry.org:10004 [2022-04-18T05:05:07.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:05:07.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:05:07.905Z] Configure a credential helper to remove this warning. See [2022-04-18T05:05:07.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:05:07.905Z] [2022-04-18T05:05:07.905Z] Login Succeeded [2022-04-18T05:05:07.905Z] docker.io [2022-04-18T05:05:07.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:05:08.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:05:08.166Z] Configure a credential helper to remove this warning. See [2022-04-18T05:05:08.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:05:08.166Z] [2022-04-18T05:05:08.166Z] Login Succeeded [2022-04-18T05:05:08.166Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T05:05:08.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-18T05:05:08.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-18T05:05:08.427Z] ========================================================= [2022-04-18T05:05:08.427Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-18T05:05:08.427Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:05:08.845Z] + 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-18T05:05:08.845Z] Sending build context to Docker daemon 5.8MB [2022-04-18T05:05:08.845Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T05:05:08.845Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-18T05:05:08.845Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-18T05:05:08.845Z] 59bf1c3509f3: Pulling fs layer [2022-04-18T05:05:08.845Z] 666ba61612fd: Pulling fs layer [2022-04-18T05:05:08.845Z] 8ed8ca486205: Pulling fs layer [2022-04-18T05:05:08.845Z] 4fe6c5a15a65: Pulling fs layer [2022-04-18T05:05:08.845Z] 22a0e8bec74d: Pulling fs layer [2022-04-18T05:05:08.845Z] 640e595b4fbd: Pulling fs layer [2022-04-18T05:05:08.845Z] 763cafe07f6e: Pulling fs layer [2022-04-18T05:05:08.845Z] 0c0b528cf693: Pulling fs layer [2022-04-18T05:05:08.845Z] 10935f4eaf8b: Pulling fs layer [2022-04-18T05:05:08.845Z] 640e595b4fbd: Waiting [2022-04-18T05:05:08.845Z] 763cafe07f6e: Waiting [2022-04-18T05:05:08.845Z] 22a0e8bec74d: Waiting [2022-04-18T05:05:08.845Z] 0c0b528cf693: Waiting [2022-04-18T05:05:08.845Z] 10935f4eaf8b: Waiting [2022-04-18T05:05:08.845Z] 4fe6c5a15a65: Waiting [2022-04-18T05:05:09.107Z] 8ed8ca486205: Verifying Checksum [2022-04-18T05:05:09.107Z] 8ed8ca486205: Download complete [2022-04-18T05:05:09.107Z] 666ba61612fd: Download complete [2022-04-18T05:05:09.107Z] 22a0e8bec74d: Verifying Checksum [2022-04-18T05:05:09.107Z] 22a0e8bec74d: Download complete [2022-04-18T05:05:09.107Z] 59bf1c3509f3: Verifying Checksum [2022-04-18T05:05:09.107Z] 59bf1c3509f3: Download complete [2022-04-18T05:05:09.107Z] 640e595b4fbd: Verifying Checksum [2022-04-18T05:05:09.107Z] 640e595b4fbd: Download complete [2022-04-18T05:05:09.107Z] 763cafe07f6e: Verifying Checksum [2022-04-18T05:05:09.107Z] 763cafe07f6e: Download complete [2022-04-18T05:05:09.107Z] 0c0b528cf693: Verifying Checksum [2022-04-18T05:05:09.107Z] 0c0b528cf693: Download complete [2022-04-18T05:05:09.107Z] 59bf1c3509f3: Pull complete [2022-04-18T05:05:09.368Z] 666ba61612fd: Pull complete [2022-04-18T05:05:09.368Z] 8ed8ca486205: Pull complete [2022-04-18T05:05:09.627Z] 10935f4eaf8b: Verifying Checksum [2022-04-18T05:05:09.628Z] 10935f4eaf8b: Download complete [2022-04-18T05:05:09.886Z] 4fe6c5a15a65: Verifying Checksum [2022-04-18T05:05:09.886Z] 4fe6c5a15a65: Download complete [2022-04-18T05:05:14.092Z] 4fe6c5a15a65: Pull complete [2022-04-18T05:05:14.092Z] 22a0e8bec74d: Pull complete [2022-04-18T05:05:14.092Z] 640e595b4fbd: Pull complete [2022-04-18T05:05:14.092Z] 763cafe07f6e: Pull complete [2022-04-18T05:05:14.351Z] 0c0b528cf693: Pull complete [2022-04-18T05:05:16.879Z] 10935f4eaf8b: Pull complete [2022-04-18T05:05:16.879Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-18T05:05:16.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-18T05:05:16.879Z] ---> 99d49a6021b9 [2022-04-18T05:05:16.879Z] Step 3/10 : ARG MAKE='make build' [2022-04-18T05:05:18.797Z] ---> Running in 5bbeb2b10571 [2022-04-18T05:05:18.797Z] Removing intermediate container 5bbeb2b10571 [2022-04-18T05:05:18.797Z] ---> 9801344d7fe0 [2022-04-18T05:05:18.797Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T05:05:18.797Z] ---> Running in a7bb8c019350 [2022-04-18T05:05:19.371Z] Removing intermediate container a7bb8c019350 [2022-04-18T05:05:19.371Z] ---> 9fc3ec53cd86 [2022-04-18T05:05:19.371Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-18T05:05:19.371Z] ---> Running in 87ef9409c5ec [2022-04-18T05:05:19.633Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-18T05:05:20.575Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-18T05:05:20.575Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-18T05:05:20.838Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-18T05:05:20.838Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-18T05:05:21.100Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-18T05:05:21.100Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-18T05:05:21.100Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-18T05:05:21.364Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-18T05:05:21.364Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-18T05:05:21.364Z] Executing busybox-1.34.1-r3.trigger [2022-04-18T05:05:21.364Z] OK: 226 MiB in 60 packages [2022-04-18T05:05:21.818Z] Still waiting to schedule task [2022-04-18T05:05:21.819Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-21205’ is offline [2022-04-18T05:05:21.954Z] Removing intermediate container 87ef9409c5ec [2022-04-18T05:05:21.954Z] ---> f6853c4c4023 [2022-04-18T05:05:21.954Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-18T05:05:22.216Z] ---> Running in 24ce613b9a6c [2022-04-18T05:05:22.477Z] Removing intermediate container 24ce613b9a6c [2022-04-18T05:05:22.477Z] ---> 01a337d585ed [2022-04-18T05:05:22.477Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-18T05:05:22.477Z] ---> 566d6ea1ae2c [2022-04-18T05:05:22.477Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T05:05:22.740Z] ---> Running in ecde7011de91 [2022-04-18T05:05:40.866Z] Removing intermediate container ecde7011de91 [2022-04-18T05:05:40.866Z] ---> e41e30db3ee5 [2022-04-18T05:05:40.866Z] Step 9/10 : COPY . . [2022-04-18T05:05:40.866Z] ---> 25497a4a3a38 [2022-04-18T05:05:40.866Z] Step 10/10 : RUN ${MAKE} [2022-04-18T05:05:40.866Z] ---> Running in ce997d067a8f [2022-04-18T05:05:40.866Z] noop [2022-04-18T05:05:40.866Z] Removing intermediate container ce997d067a8f [2022-04-18T05:05:40.866Z] ---> 5927327e0ca7 [2022-04-18T05:05:40.866Z] Successfully built 5927327e0ca7 [2022-04-18T05:05:40.866Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:05:41.204Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-18T05:05:41.204Z] . [Pipeline] withDockerContainer [2022-04-18T05:05:41.297Z] prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container [2022-04-18T05:05:41.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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-18T05:05:41.709Z] $ docker top 87974a23b68411eea53e3597672d6820567b852e95101484b05d59a828e804a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-18T05:05:42.124Z] + go version [2022-04-18T05:05:42.125Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-18T05:05:42.167Z] $ docker stop --time=1 87974a23b68411eea53e3597672d6820567b852e95101484b05d59a828e804a9 [2022-04-18T05:05:43.621Z] $ docker rm -f 87974a23b68411eea53e3597672d6820567b852e95101484b05d59a828e804a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:05:44.287Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-18T05:05:44.287Z] . [Pipeline] withDockerContainer [2022-04-18T05:05:44.380Z] prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container [2022-04-18T05:05:44.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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-18T05:05:44.793Z] $ docker top 18ac201e20c030595a32cc774a5c75f36a974185832e9d1eb10e852a89ce9161 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-18T05:05:45.239Z] + make test [2022-04-18T05:05:45.239Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-18T05:05:45.499Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-18T05:05:55.526Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-18T05:05:55.526Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 46.4% of statements [2022-04-18T05:06:00.801Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-18T05:06:04.996Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-18T05:06:04.996Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-18T05:06:04.996Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-18T05:06:05.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-18T05:06:05.326Z] $ docker stop --time=1 18ac201e20c030595a32cc774a5c75f36a974185832e9d1eb10e852a89ce9161 [2022-04-18T05:06:07.168Z] $ docker rm -f 18ac201e20c030595a32cc774a5c75f36a974185832e9d1eb10e852a89ce9161 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T05:06:07.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-18T05:06:07.741Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-18T05:06:08.468Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-18T05:06:08.774Z] + ls -al . [2022-04-18T05:06:08.774Z] total 200 [2022-04-18T05:06:08.774Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:06 . [2022-04-18T05:06:08.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:04 .. [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:04 .dockerignore [2022-04-18T05:06:08.774Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:04 .git [2022-04-18T05:06:08.774Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:04 .github [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:04 .gitignore [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:04 .golangci.yml [2022-04-18T05:06:08.774Z] drwx------ 3 jenkins jenkins 4096 Apr 18 05:05 .semver [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 18 05:04 Attribution.txt [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 18 05:04 CHANGELOG.md [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 18 05:04 Dockerfile [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:04 GOVERNANCE.md [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:04 Jenkinsfile [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:04 LICENSE [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 18 05:04 Makefile [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:04 OWNERS.md [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 18 05:04 README.md [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:05 VERSION [2022-04-18T05:06:08.774Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:04 bin [2022-04-18T05:06:08.774Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:04 cmd [2022-04-18T05:06:08.774Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 18 05:05 coverage.out [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 3307 Apr 18 05:04 go.mod [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 54341 Apr 18 05:04 go.sum [2022-04-18T05:06:08.774Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:04 internal [2022-04-18T05:06:08.774Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:04 simulator [2022-04-18T05:06:08.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:04 snap [2022-04-18T05:06:08.774Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:06:09.106Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=afc096859ea897e6a3ffd068badbcaefead38123 --label arch=amd64 --label version=0.0.0 . [2022-04-18T05:06:09.106Z] Sending build context to Docker daemon 5.825MB [2022-04-18T05:06:09.106Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T05:06:09.106Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-18T05:06:09.106Z] ---> 5927327e0ca7 [2022-04-18T05:06:09.106Z] Step 3/23 : ARG MAKE='make build' [2022-04-18T05:06:09.106Z] ---> Running in 2cad2275215b [2022-04-18T05:06:09.368Z] Removing intermediate container 2cad2275215b [2022-04-18T05:06:09.368Z] ---> 8faf51ad4af3 [2022-04-18T05:06:09.368Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T05:06:09.368Z] ---> Running in ffeb42897816 [2022-04-18T05:06:09.937Z] Removing intermediate container ffeb42897816 [2022-04-18T05:06:09.937Z] ---> c88ffcc47328 [2022-04-18T05:06:09.937Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-18T05:06:09.937Z] ---> Running in 5e75af3556a2 [2022-04-18T05:06:10.196Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-18T05:06:11.136Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-18T05:06:11.396Z] OK: 226 MiB in 60 packages [2022-04-18T05:06:11.975Z] Removing intermediate container 5e75af3556a2 [2022-04-18T05:06:11.975Z] ---> 0933019318a5 [2022-04-18T05:06:11.975Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-18T05:06:11.975Z] ---> Running in 1413504c862e [2022-04-18T05:06:11.975Z] Removing intermediate container 1413504c862e [2022-04-18T05:06:11.975Z] ---> 1441db33eecc [2022-04-18T05:06:11.975Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-18T05:06:11.975Z] ---> af2799112ddf [2022-04-18T05:06:11.975Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T05:06:12.235Z] ---> Running in 418467f3e81b [2022-04-18T05:06:12.806Z] Removing intermediate container 418467f3e81b [2022-04-18T05:06:12.806Z] ---> aac92434fe6c [2022-04-18T05:06:12.806Z] Step 9/23 : COPY . . [2022-04-18T05:06:13.067Z] ---> 589387227373 [2022-04-18T05:06:13.067Z] Step 10/23 : RUN ${MAKE} [2022-04-18T05:06:13.067Z] ---> Running in 73df751cbd2d [2022-04-18T05:06:13.325Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-18T05:06:35.269Z] Removing intermediate container 73df751cbd2d [2022-04-18T05:06:35.269Z] ---> e6813b63d3be [2022-04-18T05:06:35.269Z] Step 11/23 : FROM alpine:3.14 [2022-04-18T05:06:35.269Z] 3.14: Pulling from library/alpine [2022-04-18T05:06:35.269Z] 8663204ce13b: Pulling fs layer [2022-04-18T05:06:35.269Z] 8663204ce13b: Verifying Checksum [2022-04-18T05:06:35.269Z] 8663204ce13b: Download complete [2022-04-18T05:06:35.269Z] 8663204ce13b: Pull complete [2022-04-18T05:06:35.269Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-18T05:06:35.269Z] Status: Downloaded newer image for alpine:3.14 [2022-04-18T05:06:35.269Z] ---> e04c818066af [2022-04-18T05:06:35.269Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-18T05:06:35.269Z] ---> Running in d8eb5e51b976 [2022-04-18T05:06:35.269Z] Removing intermediate container d8eb5e51b976 [2022-04-18T05:06:35.269Z] ---> 44c8cf3ad5d2 [2022-04-18T05:06:35.269Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T05:06:35.269Z] ---> Running in 45b052589fda [2022-04-18T05:06:37.185Z] Removing intermediate container 45b052589fda [2022-04-18T05:06:37.185Z] ---> 73f5c7489e9c [2022-04-18T05:06:37.185Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-18T05:06:37.185Z] ---> Running in e25a6c3d02b1 [2022-04-18T05:06:37.185Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-18T05:06:38.129Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-18T05:06:38.391Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-18T05:06:38.391Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-18T05:06:38.391Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-18T05:06:38.654Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-18T05:06:38.654Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-18T05:06:38.654Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-18T05:06:38.917Z] Executing busybox-1.33.1-r7.trigger [2022-04-18T05:06:38.917Z] OK: 8 MiB in 20 packages [2022-04-18T05:06:39.178Z] Removing intermediate container e25a6c3d02b1 [2022-04-18T05:06:39.178Z] ---> 57b587b65e4b [2022-04-18T05:06:39.178Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-18T05:06:40.125Z] ---> a932e689eb99 [2022-04-18T05:06:40.125Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-18T05:06:40.125Z] ---> c3d547470bdb [2022-04-18T05:06:40.125Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-18T05:06:40.125Z] ---> c8da20db285f [2022-04-18T05:06:40.125Z] Step 18/23 : EXPOSE 59901 [2022-04-18T05:06:40.385Z] ---> Running in 14fad6d1d757 [2022-04-18T05:06:40.386Z] Removing intermediate container 14fad6d1d757 [2022-04-18T05:06:40.386Z] ---> a13b3e1ec83a [2022-04-18T05:06:40.386Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-18T05:06:40.386Z] ---> Running in c1243437f7ff [2022-04-18T05:06:40.645Z] Removing intermediate container c1243437f7ff [2022-04-18T05:06:40.645Z] ---> 8fabc18afbb0 [2022-04-18T05:06:40.645Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-18T05:06:40.645Z] ---> Running in 9a15404fed53 [2022-04-18T05:06:40.645Z] Removing intermediate container 9a15404fed53 [2022-04-18T05:06:40.645Z] ---> 1dc37b64f961 [2022-04-18T05:06:40.645Z] Step 21/23 : LABEL arch=amd64 [2022-04-18T05:06:40.645Z] ---> Running in 0cf4b541ad3b [2022-04-18T05:06:40.906Z] Removing intermediate container 0cf4b541ad3b [2022-04-18T05:06:40.906Z] ---> ddfcc2634c05 [2022-04-18T05:06:40.906Z] Step 22/23 : LABEL git_sha=afc096859ea897e6a3ffd068badbcaefead38123 [2022-04-18T05:06:40.906Z] ---> Running in ae2ad74d2c27 [2022-04-18T05:06:40.906Z] Removing intermediate container ae2ad74d2c27 [2022-04-18T05:06:40.906Z] ---> c481701c757e [2022-04-18T05:06:40.906Z] Step 23/23 : LABEL version=0.0.0 [2022-04-18T05:06:40.906Z] ---> Running in dea926ae5eb1 [2022-04-18T05:06:41.167Z] Removing intermediate container dea926ae5eb1 [2022-04-18T05:06:41.167Z] ---> 8db31abe8813 [2022-04-18T05:06:41.167Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-18T05:06:41.167Z] Successfully built 8db31abe8813 [2022-04-18T05:06:41.167Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:06:41.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T05:06:41.905Z] [2022-04-18T05:06:41.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:06:42.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T05:06:42.257Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-18T05:06:42.257Z] 5eb5b503b376: Pulling fs layer [2022-04-18T05:06:42.257Z] 5c69ac0246d0: Pulling fs layer [2022-04-18T05:06:42.257Z] ec43610c2a17: Pulling fs layer [2022-04-18T05:06:42.257Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-18T05:06:42.257Z] 33b1e0a273af: Pulling fs layer [2022-04-18T05:06:42.257Z] 5d3b04190fa2: Pulling fs layer [2022-04-18T05:06:42.257Z] 2f39f015ded8: Pulling fs layer [2022-04-18T05:06:42.257Z] 33b1e0a273af: Waiting [2022-04-18T05:06:42.257Z] 5d3b04190fa2: Waiting [2022-04-18T05:06:42.257Z] 2f39f015ded8: Waiting [2022-04-18T05:06:42.258Z] 3a2ae6a8a46f: Waiting [2022-04-18T05:06:42.258Z] 5c69ac0246d0: Verifying Checksum [2022-04-18T05:06:42.258Z] 5c69ac0246d0: Download complete [2022-04-18T05:06:42.258Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-18T05:06:42.258Z] 3a2ae6a8a46f: Download complete [2022-04-18T05:06:42.258Z] 33b1e0a273af: Verifying Checksum [2022-04-18T05:06:42.258Z] 33b1e0a273af: Download complete [2022-04-18T05:06:42.258Z] 5d3b04190fa2: Verifying Checksum [2022-04-18T05:06:42.258Z] 5d3b04190fa2: Download complete [2022-04-18T05:06:42.516Z] ec43610c2a17: Verifying Checksum [2022-04-18T05:06:42.516Z] ec43610c2a17: Download complete [2022-04-18T05:06:42.516Z] 5eb5b503b376: Verifying Checksum [2022-04-18T05:06:42.516Z] 5eb5b503b376: Download complete [2022-04-18T05:06:43.085Z] 2f39f015ded8: Download complete [2022-04-18T05:06:43.654Z] 5eb5b503b376: Pull complete [2022-04-18T05:06:43.922Z] 5c69ac0246d0: Pull complete [2022-04-18T05:06:44.180Z] ec43610c2a17: Pull complete [2022-04-18T05:06:44.440Z] 3a2ae6a8a46f: Pull complete [2022-04-18T05:06:44.700Z] 33b1e0a273af: Pull complete [2022-04-18T05:06:44.961Z] 5d3b04190fa2: Pull complete [2022-04-18T05:06:50.237Z] 2f39f015ded8: Pull complete [2022-04-18T05:06:50.237Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-18T05:06:50.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T05:06:50.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-18T05:06:50.318Z] prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container [2022-04-18T05:06:50.356Z] $ 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-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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-18T05:06:52.694Z] $ docker top b997d4222f2cb91ae4668b23203711ba6ac9106e68f39d79dbacb7f9d45dcef4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:06:53.142Z] ---> job-cost.sh [2022-04-18T05:06:53.142Z] lf-activate-venv: SKIPPING [2022-04-18T05:06:53.142Z] INFO: No Stack... [2022-04-18T05:06:53.714Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-18T05:06:53.976Z] INFO: Archiving Costs [Pipeline] sh [2022-04-18T05:06:54.379Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-332/archives/cost.csv [2022-04-18T05:06:54.379Z] + cut -d, -f6 [Pipeline] lock [2022-04-18T05:06:54.416Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [2022-04-18T05:06:54.421Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] did not exist. Created. [2022-04-18T05:06:54.421Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-18T05:06:54.808Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-18T05:06:54.859Z] Stashed 1 file(s) [Pipeline] } [2022-04-18T05:06:54.891Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-18T05:06:54.969Z] $ docker stop --time=1 b997d4222f2cb91ae4668b23203711ba6ac9106e68f39d79dbacb7f9d45dcef4 [2022-04-18T05:06:56.202Z] $ docker rm -f b997d4222f2cb91ae4668b23203711ba6ac9106e68f39d79dbacb7f9d45dcef4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-18T05:09:33.185Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21207 in /w/workspace/xfoundry_device-modbus-go_PR-332 [Pipeline] { [Pipeline] ws [2022-04-18T05:09:33.229Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-04-18T05:09:33.481Z] Selected Git installation does not exist. Using Default [2022-04-18T05:09:33.481Z] The recommended git tool is: NONE [2022-04-18T05:09:39.163Z] using credential edgex-jenkins-ssh [2022-04-18T05:09:39.185Z] Cloning the remote Git repository [2022-04-18T05:09:39.313Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-18T05:09:39.562Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-04-18T05:09:39.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-18T05:09:39.682Z] > git --version # timeout=10 [2022-04-18T05:09:39.706Z] > git --version # 'git version 2.25.1' [2022-04-18T05:09:39.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-18T05:09:39.790Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-18T05:09:40.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-18T05:09:41.020Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-18T05:09:41.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-18T05:09:41.700Z] Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit afc096859ea897e6a3ffd068badbcaefead38123 [2022-04-18T05:09:41.952Z] Merge succeeded, producing afc096859ea897e6a3ffd068badbcaefead38123 [2022-04-18T05:09:41.953Z] Checking out Revision afc096859ea897e6a3ffd068badbcaefead38123 (PR-332) [2022-04-18T05:09:41.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-18T05:09:41.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-18T05:09:41.125Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-18T05:09:41.725Z] > git config core.sparsecheckout # timeout=10 [2022-04-18T05:09:41.748Z] > git checkout -f afc096859ea897e6a3ffd068badbcaefead38123 # timeout=10 [2022-04-18T05:09:41.846Z] > git remote # timeout=10 [2022-04-18T05:09:41.876Z] > git config --get remote.origin.url # timeout=10 [2022-04-18T05:09:41.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-18T05:09:41.910Z] > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 [2022-04-18T05:09:41.934Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-18T05:09:41.959Z] > git config core.sparsecheckout # timeout=10 [2022-04-18T05:09:41.971Z] > git checkout -f afc096859ea897e6a3ffd068badbcaefead38123 # timeout=10 [2022-04-18T05:09:46.370Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-18T05:09:46.440Z] > git --version # timeout=10 [2022-04-18T05:09:46.457Z] > git --version # 'git version 2.25.1' [2022-04-18T05:09:46.482Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-18T05:09:47.549Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-18T05:09:47.549Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-18T05:09:47.549Z] Dload Upload Total Spent Left Speed [2022-04-18T05:09:47.549Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2022-04-18T05:09:48.175Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-18T05:09:48.545Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-18T05:09:48.545Z] + sudo tee /etc/docker/daemon.new [2022-04-18T05:09:48.545Z] { [2022-04-18T05:09:48.545Z] "registry-mirrors": [ [2022-04-18T05:09:48.545Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-18T05:09:48.545Z] ], [2022-04-18T05:09:48.545Z] "bip": "10.250.0.254/24", [2022-04-18T05:09:48.545Z] "hosts": [ [2022-04-18T05:09:48.545Z] "tcp://0.0.0.0:5555", [2022-04-18T05:09:48.545Z] "unix:///var/run/docker.sock" [2022-04-18T05:09:48.545Z] ], [2022-04-18T05:09:48.545Z] "mtu": 1458, [2022-04-18T05:09:48.545Z] "selinux-enabled": true, [2022-04-18T05:09:48.545Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-18T05:09:48.545Z] } [Pipeline] sh [2022-04-18T05:09:48.904Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-18T05:09:49.281Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T05:10:07.788Z] provisioning config files... [2022-04-18T05:10:07.819Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8808140515032130965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:10:08.448Z] ---> docker-login.sh [2022-04-18T05:10:08.448Z] nexus3.edgexfoundry.org:10001 [2022-04-18T05:10:09.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:10:09.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:10:09.331Z] Configure a credential helper to remove this warning. See [2022-04-18T05:10:09.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:10:09.331Z] [2022-04-18T05:10:09.331Z] Login Succeeded [2022-04-18T05:10:09.331Z] nexus3.edgexfoundry.org:10002 [2022-04-18T05:10:09.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:10:09.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:10:09.935Z] Configure a credential helper to remove this warning. See [2022-04-18T05:10:09.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:10:09.935Z] [2022-04-18T05:10:09.935Z] Login Succeeded [2022-04-18T05:10:09.935Z] nexus3.edgexfoundry.org:10003 [2022-04-18T05:10:10.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:10:10.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:10:10.542Z] Configure a credential helper to remove this warning. See [2022-04-18T05:10:10.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:10:10.542Z] [2022-04-18T05:10:10.542Z] Login Succeeded [2022-04-18T05:10:10.542Z] nexus3.edgexfoundry.org:10004 [2022-04-18T05:10:10.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:10:11.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:10:11.104Z] Configure a credential helper to remove this warning. See [2022-04-18T05:10:11.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:10:11.104Z] [2022-04-18T05:10:11.104Z] Login Succeeded [2022-04-18T05:10:11.104Z] docker.io [2022-04-18T05:10:11.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T05:10:11.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T05:10:11.978Z] Configure a credential helper to remove this warning. See [2022-04-18T05:10:11.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T05:10:11.978Z] [2022-04-18T05:10:11.978Z] Login Succeeded [2022-04-18T05:10:11.978Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T05:10:12.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-18T05:10:12.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-18T05:10:12.530Z] ========================================================= [2022-04-18T05:10:12.530Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-18T05:10:12.530Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:10:12.999Z] + 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-18T05:10:13.272Z] Sending build context to Docker daemon 3.04MB [2022-04-18T05:10:13.550Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T05:10:13.550Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-18T05:10:13.550Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-18T05:10:13.550Z] 9b3977197b4f: Pulling fs layer [2022-04-18T05:10:13.550Z] 1a89e8eeedd5: Pulling fs layer [2022-04-18T05:10:13.550Z] 94645a83ff95: Pulling fs layer [2022-04-18T05:10:13.550Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-18T05:10:13.550Z] 0c92f367c5e7: Pulling fs layer [2022-04-18T05:10:13.550Z] f7c0051592d6: Pulling fs layer [2022-04-18T05:10:13.550Z] a227ed2f7395: Pulling fs layer [2022-04-18T05:10:13.550Z] 7b1c46037f91: Pulling fs layer [2022-04-18T05:10:13.550Z] 0c92f367c5e7: Waiting [2022-04-18T05:10:13.550Z] 3f3a8bcf1eab: Waiting [2022-04-18T05:10:13.550Z] f7c0051592d6: Waiting [2022-04-18T05:10:13.550Z] a227ed2f7395: Waiting [2022-04-18T05:10:13.550Z] 7b1c46037f91: Waiting [2022-04-18T05:10:13.550Z] 94645a83ff95: Verifying Checksum [2022-04-18T05:10:13.550Z] 94645a83ff95: Download complete [2022-04-18T05:10:13.550Z] 1a89e8eeedd5: Download complete [2022-04-18T05:10:13.550Z] 0c92f367c5e7: Verifying Checksum [2022-04-18T05:10:13.550Z] 0c92f367c5e7: Download complete [2022-04-18T05:10:13.830Z] f7c0051592d6: Verifying Checksum [2022-04-18T05:10:13.830Z] f7c0051592d6: Download complete [2022-04-18T05:10:13.830Z] 9b3977197b4f: Download complete [2022-04-18T05:10:13.830Z] a227ed2f7395: Verifying Checksum [2022-04-18T05:10:13.830Z] a227ed2f7395: Download complete [2022-04-18T05:10:14.439Z] 9b3977197b4f: Pull complete [2022-04-18T05:10:15.046Z] 1a89e8eeedd5: Pull complete [2022-04-18T05:10:15.322Z] 94645a83ff95: Pull complete [2022-04-18T05:10:15.929Z] 7b1c46037f91: Verifying Checksum [2022-04-18T05:10:15.929Z] 7b1c46037f91: Download complete [2022-04-18T05:10:16.530Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-18T05:10:16.530Z] 3f3a8bcf1eab: Download complete [2022-04-18T05:10:28.966Z] 3f3a8bcf1eab: Pull complete [2022-04-18T05:10:28.966Z] 0c92f367c5e7: Pull complete [2022-04-18T05:10:28.966Z] f7c0051592d6: Pull complete [2022-04-18T05:10:29.249Z] a227ed2f7395: Pull complete [2022-04-18T05:10:36.010Z] 7b1c46037f91: Pull complete [2022-04-18T05:10:36.010Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-18T05:10:36.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-18T05:10:36.010Z] ---> f79e39bc4007 [2022-04-18T05:10:36.010Z] Step 3/10 : ARG MAKE='make build' [2022-04-18T05:10:36.290Z] ---> Running in b54b9342115c [2022-04-18T05:10:36.584Z] Removing intermediate container b54b9342115c [2022-04-18T05:10:36.584Z] ---> 9a25973598f3 [2022-04-18T05:10:36.584Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T05:10:36.584Z] ---> Running in 39736c21e6a9 [2022-04-18T05:10:38.573Z] Removing intermediate container 39736c21e6a9 [2022-04-18T05:10:38.573Z] ---> 5322c816f249 [2022-04-18T05:10:38.573Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-18T05:10:38.573Z] ---> Running in e6c69a546214 [2022-04-18T05:10:40.015Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-18T05:10:40.614Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-18T05:10:41.589Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-18T05:10:41.589Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-18T05:10:41.860Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-18T05:10:41.860Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-18T05:10:42.131Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-18T05:10:42.131Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-18T05:10:42.131Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-18T05:10:42.405Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-18T05:10:42.405Z] Executing busybox-1.34.1-r3.trigger [2022-04-18T05:10:42.405Z] OK: 226 MiB in 60 packages [2022-04-18T05:10:43.386Z] Removing intermediate container e6c69a546214 [2022-04-18T05:10:43.386Z] ---> 460923c66c94 [2022-04-18T05:10:43.386Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-18T05:10:43.664Z] ---> Running in 4d07ba5d4b2f [2022-04-18T05:10:43.938Z] Removing intermediate container 4d07ba5d4b2f [2022-04-18T05:10:43.938Z] ---> e4da392936e4 [2022-04-18T05:10:43.938Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-18T05:10:44.536Z] ---> 3472e771472b [2022-04-18T05:10:44.536Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T05:10:44.536Z] ---> Running in f8bd90e1e6d7 [2022-04-18T05:11:31.521Z] Removing intermediate container f8bd90e1e6d7 [2022-04-18T05:11:31.521Z] ---> d738c268ff18 [2022-04-18T05:11:31.521Z] Step 9/10 : COPY . . [2022-04-18T05:11:31.521Z] ---> 4d4fa5b09e29 [2022-04-18T05:11:31.521Z] Step 10/10 : RUN ${MAKE} [2022-04-18T05:11:31.521Z] ---> Running in fb5d150b69d3 [2022-04-18T05:11:31.521Z] noop [2022-04-18T05:11:31.521Z] Removing intermediate container fb5d150b69d3 [2022-04-18T05:11:31.521Z] ---> 7ce68ecf199f [2022-04-18T05:11:31.521Z] Successfully built 7ce68ecf199f [2022-04-18T05:11:31.521Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:11:31.907Z] + docker inspect -f . ci-base-image-arm64 [2022-04-18T05:11:31.907Z] . [Pipeline] withDockerContainer [2022-04-18T05:11:32.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-21207 does not seem to be running inside a container [2022-04-18T05:11:32.244Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-18T05:11:33.562Z] $ docker top 72ba5e9db9f0ae33887e10f283630ce9b8c8aca5c17ae58034d9fd481df5867a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-18T05:11:34.552Z] + go version [2022-04-18T05:11:34.553Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-18T05:11:34.585Z] $ docker stop --time=1 72ba5e9db9f0ae33887e10f283630ce9b8c8aca5c17ae58034d9fd481df5867a [2022-04-18T05:11:36.214Z] $ docker rm -f 72ba5e9db9f0ae33887e10f283630ce9b8c8aca5c17ae58034d9fd481df5867a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:11:37.145Z] + docker inspect -f . ci-base-image-arm64 [2022-04-18T05:11:37.145Z] . [Pipeline] withDockerContainer [2022-04-18T05:11:37.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-21207 does not seem to be running inside a container [2022-04-18T05:11:37.474Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-18T05:11:38.764Z] $ docker top cc553becd846bceb653d5dc7d811e87bfd91e9231c535ab515c8a63e4ae8246c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-18T05:11:39.771Z] + make test [2022-04-18T05:11:39.771Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-18T05:11:41.208Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-18T05:13:18.092Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-18T05:13:18.092Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 46.4% of statements [2022-04-18T05:13:18.092Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-18T05:13:18.092Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-18T05:13:40.398Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-18T05:13:40.398Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-18T05:13:40.398Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-18T05:13:43.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-18T05:13:43.095Z] $ docker stop --time=1 cc553becd846bceb653d5dc7d811e87bfd91e9231c535ab515c8a63e4ae8246c [2022-04-18T05:13:44.927Z] $ docker rm -f cc553becd846bceb653d5dc7d811e87bfd91e9231c535ab515c8a63e4ae8246c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T05:13:46.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-18T05:13:46.097Z] Warning: overwriting stash ‘coverage-report’ [2022-04-18T05:13:46.901Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-18T05:13:47.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-18T05:13:47.978Z] + ls -al . [2022-04-18T05:13:47.978Z] total 196 [2022-04-18T05:13:47.978Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 05:13 . [2022-04-18T05:13:47.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:09 .. [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:09 .dockerignore [2022-04-18T05:13:47.978Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:09 .git [2022-04-18T05:13:47.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:09 .github [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:09 .gitignore [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:09 .golangci.yml [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 18 05:09 Attribution.txt [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 18 05:09 CHANGELOG.md [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 18 05:09 Dockerfile [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:09 GOVERNANCE.md [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:09 Jenkinsfile [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:09 LICENSE [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 18 05:09 Makefile [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:09 OWNERS.md [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 18 05:09 README.md [2022-04-18T05:13:47.978Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:05 VERSION [2022-04-18T05:13:47.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:09 bin [2022-04-18T05:13:47.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:09 cmd [2022-04-18T05:13:47.979Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 18 05:13 coverage.out [2022-04-18T05:13:47.979Z] -rw-rw-r-- 1 jenkins jenkins 3307 Apr 18 05:09 go.mod [2022-04-18T05:13:47.979Z] -rw-rw-r-- 1 jenkins jenkins 54341 Apr 18 05:09 go.sum [2022-04-18T05:13:47.979Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:09 internal [2022-04-18T05:13:47.979Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:09 simulator [2022-04-18T05:13:47.979Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:09 snap [2022-04-18T05:13:47.979Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:13:48.360Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=afc096859ea897e6a3ffd068badbcaefead38123 --label arch=arm64 --label version=0.0.0 . [2022-04-18T05:13:48.975Z] Sending build context to Docker daemon 3.065MB [2022-04-18T05:13:48.975Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T05:13:48.975Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-18T05:13:48.975Z] ---> 7ce68ecf199f [2022-04-18T05:13:48.975Z] Step 3/23 : ARG MAKE='make build' [2022-04-18T05:13:49.256Z] ---> Running in 48d78bb24b6c [2022-04-18T05:13:49.549Z] Removing intermediate container 48d78bb24b6c [2022-04-18T05:13:49.549Z] ---> 59b452a4fbcf [2022-04-18T05:13:49.549Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T05:13:49.549Z] ---> Running in 4c53969f34ba [2022-04-18T05:13:51.536Z] Removing intermediate container 4c53969f34ba [2022-04-18T05:13:51.536Z] ---> 51cbdd795920 [2022-04-18T05:13:51.536Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-18T05:13:51.536Z] ---> Running in 40ce02d921ff [2022-04-18T05:13:52.522Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-18T05:13:53.120Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-18T05:13:54.107Z] OK: 226 MiB in 60 packages [2022-04-18T05:13:55.107Z] Removing intermediate container 40ce02d921ff [2022-04-18T05:13:55.107Z] ---> 3cf55c2ed37b [2022-04-18T05:13:55.107Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-18T05:13:55.107Z] ---> Running in f855833ed4eb [2022-04-18T05:13:55.384Z] Removing intermediate container f855833ed4eb [2022-04-18T05:13:55.384Z] ---> 1e6564162ce9 [2022-04-18T05:13:55.384Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-18T05:13:55.982Z] ---> c31d77087b7d [2022-04-18T05:13:55.982Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T05:13:55.982Z] ---> Running in a1c370725640 [2022-04-18T05:13:57.975Z] Removing intermediate container a1c370725640 [2022-04-18T05:13:57.975Z] ---> d6139c44fed8 [2022-04-18T05:13:57.975Z] Step 9/23 : COPY . . [2022-04-18T05:13:58.965Z] ---> 048e3f3ff0ec [2022-04-18T05:13:58.965Z] Step 10/23 : RUN ${MAKE} [2022-04-18T05:13:58.965Z] ---> Running in 45f93a556d09 [2022-04-18T05:13:59.961Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-18T05:16:06.870Z] Removing intermediate container 45f93a556d09 [2022-04-18T05:16:06.870Z] ---> 7873f43e32f9 [2022-04-18T05:16:06.870Z] Step 11/23 : FROM alpine:3.14 [2022-04-18T05:16:06.870Z] 3.14: Pulling from library/alpine [2022-04-18T05:16:06.870Z] 455c02918c45: Pulling fs layer [2022-04-18T05:16:06.870Z] 455c02918c45: Verifying Checksum [2022-04-18T05:16:06.870Z] 455c02918c45: Download complete [2022-04-18T05:16:06.870Z] 455c02918c45: Pull complete [2022-04-18T05:16:06.870Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-18T05:16:06.870Z] Status: Downloaded newer image for alpine:3.14 [2022-04-18T05:16:06.870Z] ---> ac73e934f311 [2022-04-18T05:16:06.870Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-18T05:16:06.870Z] ---> Running in 9de28c27a52d [2022-04-18T05:16:06.870Z] Removing intermediate container 9de28c27a52d [2022-04-18T05:16:06.870Z] ---> 04d2903f1b29 [2022-04-18T05:16:06.870Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T05:16:06.870Z] ---> Running in b409f79c8ec6 [2022-04-18T05:16:07.151Z] Removing intermediate container b409f79c8ec6 [2022-04-18T05:16:07.151Z] ---> e90d8b7d9b98 [2022-04-18T05:16:07.151Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-18T05:16:07.431Z] ---> Running in e4c1cc4ea2aa [2022-04-18T05:16:08.413Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-18T05:16:09.392Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-18T05:16:09.989Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-18T05:16:10.262Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-18T05:16:10.262Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-18T05:16:10.262Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-18T05:16:10.539Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-18T05:16:10.539Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-18T05:16:10.539Z] Executing busybox-1.33.1-r7.trigger [2022-04-18T05:16:10.539Z] OK: 8 MiB in 20 packages [2022-04-18T05:16:11.517Z] Removing intermediate container e4c1cc4ea2aa [2022-04-18T05:16:11.517Z] ---> 8d943fdc80d8 [2022-04-18T05:16:11.517Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-18T05:16:13.505Z] ---> 31a5b322cb76 [2022-04-18T05:16:13.505Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-18T05:16:13.779Z] ---> 88ee5912f9fb [2022-04-18T05:16:13.779Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-18T05:16:14.376Z] ---> 8651d8705eca [2022-04-18T05:16:14.376Z] Step 18/23 : EXPOSE 59901 [2022-04-18T05:16:14.376Z] ---> Running in 068fcc083503 [2022-04-18T05:16:14.651Z] Removing intermediate container 068fcc083503 [2022-04-18T05:16:14.651Z] ---> 29d699943185 [2022-04-18T05:16:14.651Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-18T05:16:14.651Z] ---> Running in 960a39ed8d3c [2022-04-18T05:16:14.926Z] Removing intermediate container 960a39ed8d3c [2022-04-18T05:16:14.926Z] ---> ed4a633c0e86 [2022-04-18T05:16:14.926Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-18T05:16:15.202Z] ---> Running in 9a77738bb56e [2022-04-18T05:16:15.476Z] Removing intermediate container 9a77738bb56e [2022-04-18T05:16:15.476Z] ---> 227fa29e0f41 [2022-04-18T05:16:15.476Z] Step 21/23 : LABEL arch=arm64 [2022-04-18T05:16:15.476Z] ---> Running in ef62f559bc94 [2022-04-18T05:16:15.750Z] Removing intermediate container ef62f559bc94 [2022-04-18T05:16:15.750Z] ---> 2648fd5700e1 [2022-04-18T05:16:15.750Z] Step 22/23 : LABEL git_sha=afc096859ea897e6a3ffd068badbcaefead38123 [2022-04-18T05:16:15.750Z] ---> Running in b28852a5afd0 [2022-04-18T05:16:16.024Z] Removing intermediate container b28852a5afd0 [2022-04-18T05:16:16.024Z] ---> e2d5d555ea47 [2022-04-18T05:16:16.024Z] Step 23/23 : LABEL version=0.0.0 [2022-04-18T05:16:16.297Z] ---> Running in ad0160d6a4c5 [2022-04-18T05:16:16.571Z] Removing intermediate container ad0160d6a4c5 [2022-04-18T05:16:16.571Z] ---> 8bbd365fcbae [2022-04-18T05:16:16.571Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-18T05:16:16.571Z] Successfully built 8bbd365fcbae [2022-04-18T05:16:16.571Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:16:17.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-18T05:16:17.270Z] [2022-04-18T05:16:17.270Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:16:17.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-18T05:16:17.933Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-18T05:16:17.933Z] 8998bd30e6a1: Pulling fs layer [2022-04-18T05:16:17.933Z] 04944245beec: Pulling fs layer [2022-04-18T05:16:17.933Z] 699f458cf7ca: Pulling fs layer [2022-04-18T05:16:17.933Z] 765212b225bb: Pulling fs layer [2022-04-18T05:16:17.933Z] f23df028b6ca: Pulling fs layer [2022-04-18T05:16:17.933Z] d65c8cfc05b1: Pulling fs layer [2022-04-18T05:16:17.933Z] 2437ff75d9bd: Pulling fs layer [2022-04-18T05:16:17.933Z] 765212b225bb: Waiting [2022-04-18T05:16:17.933Z] f23df028b6ca: Waiting [2022-04-18T05:16:17.933Z] d65c8cfc05b1: Waiting [2022-04-18T05:16:17.933Z] 2437ff75d9bd: Waiting [2022-04-18T05:16:17.933Z] 04944245beec: Verifying Checksum [2022-04-18T05:16:17.933Z] 04944245beec: Download complete [2022-04-18T05:16:17.933Z] 765212b225bb: Verifying Checksum [2022-04-18T05:16:17.934Z] 765212b225bb: Download complete [2022-04-18T05:16:17.934Z] f23df028b6ca: Verifying Checksum [2022-04-18T05:16:17.934Z] f23df028b6ca: Download complete [2022-04-18T05:16:17.934Z] d65c8cfc05b1: Verifying Checksum [2022-04-18T05:16:17.934Z] d65c8cfc05b1: Download complete [2022-04-18T05:16:18.207Z] 699f458cf7ca: Verifying Checksum [2022-04-18T05:16:18.207Z] 699f458cf7ca: Download complete [2022-04-18T05:16:18.480Z] 8998bd30e6a1: Verifying Checksum [2022-04-18T05:16:18.480Z] 8998bd30e6a1: Download complete [2022-04-18T05:16:21.104Z] 2437ff75d9bd: Verifying Checksum [2022-04-18T05:16:21.104Z] 2437ff75d9bd: Download complete [2022-04-18T05:16:23.078Z] 8998bd30e6a1: Pull complete [2022-04-18T05:16:23.353Z] 04944245beec: Pull complete [2022-04-18T05:16:24.786Z] 699f458cf7ca: Pull complete [2022-04-18T05:16:25.059Z] 765212b225bb: Pull complete [2022-04-18T05:16:26.033Z] f23df028b6ca: Pull complete [2022-04-18T05:16:26.033Z] d65c8cfc05b1: Pull complete [2022-04-18T05:16:41.117Z] 2437ff75d9bd: Pull complete [2022-04-18T05:16:41.117Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-18T05:16:41.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-18T05:16:41.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-18T05:16:41.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-21207 does not seem to be running inside a container [2022-04-18T05:16:41.431Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-18T05:16:43.934Z] $ docker top baa19e32050fef1381aa108c7f05bf92964176a15eca1830c925fdc96f541824 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:16:44.904Z] ---> job-cost.sh [2022-04-18T05:16:44.904Z] lf-activate-venv: SKIPPING [2022-04-18T05:16:44.904Z] INFO: No Stack... [2022-04-18T05:16:45.498Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-18T05:16:46.474Z] INFO: Archiving Costs [Pipeline] sh [2022-04-18T05:16:47.155Z] + cut -d, -f6 [2022-04-18T05:16:47.155Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-04-18T05:16:47.275Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [2022-04-18T05:16:47.279Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] did not exist. Created. [2022-04-18T05:16:47.280Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-18T05:16:48.078Z] /w/workspace/device-modbus-go/1@tmp/durable-bf4c28bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-18T05:16:48.820Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-18T05:16:48.863Z] Warning: overwriting stash ‘stack-cost’ [2022-04-18T05:16:48.944Z] Stashed 1 file(s) [Pipeline] } [2022-04-18T05:16:48.959Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-18T05:16:49.038Z] $ docker stop --time=1 baa19e32050fef1381aa108c7f05bf92964176a15eca1830c925fdc96f541824 [2022-04-18T05:16:50.562Z] $ docker rm -f baa19e32050fef1381aa108c7f05bf92964176a15eca1830c925fdc96f541824 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-18T05:16:51.546Z] provisioning config files... [2022-04-18T05:16:51.556Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/config7397011524683274536tmp [Pipeline] { [Pipeline] sh [2022-04-18T05:16:51.893Z] + set +x [2022-04-18T05:16:51.893Z] + curl -s https://codecov.io/bash [2022-04-18T05:16:51.893Z] + bash -s -- [2022-04-18T05:16:51.893Z] [2022-04-18T05:16:51.893Z] _____ _ [2022-04-18T05:16:51.893Z] / ____| | | [2022-04-18T05:16:51.893Z] | | ___ __| | ___ ___ _____ __ [2022-04-18T05:16:51.893Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-18T05:16:51.893Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-18T05:16:51.893Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-18T05:16:51.893Z] Bash-1.0.6 [2022-04-18T05:16:51.893Z] [2022-04-18T05:16:51.893Z] [2022-04-18T05:16:51.893Z] ==> git version 2.25.1 found [2022-04-18T05:16:51.893Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-18T05:16:51.893Z] Release-Date: 2020-01-08 [2022-04-18T05:16:51.893Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-18T05:16:51.893Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-18T05:16:51.893Z] ==> Jenkins CI detected. [2022-04-18T05:16:51.893Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-332 [2022-04-18T05:16:51.893Z] project root: . [2022-04-18T05:16:51.893Z] --> token set from env [2022-04-18T05:16:51.893Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-18T05:16:51.893Z] ==> Running gcov in . (disable via -X gcov) [2022-04-18T05:16:51.893Z] ==> Python coveragepy not found [2022-04-18T05:16:51.893Z] ==> Searching for coverage reports in: [2022-04-18T05:16:51.893Z] + . [2022-04-18T05:16:51.893Z] -> Found 1 reports [2022-04-18T05:16:51.893Z] ==> Detecting git/mercurial file structure [2022-04-18T05:16:51.893Z] ==> Reading reports [2022-04-18T05:16:51.893Z] + ./coverage.out bytes=24065 [2022-04-18T05:16:51.893Z] ==> Appending adjustments [2022-04-18T05:16:51.893Z] https://docs.codecov.io/docs/fixing-reports [2022-04-18T05:16:52.156Z] + Found adjustments [2022-04-18T05:16:52.156Z] ==> Gzipping contents [2022-04-18T05:16:52.156Z] 4.0K /tmp/codecov.DCvIjB.gz [2022-04-18T05:16:52.156Z] ==> Uploading reports [2022-04-18T05:16:52.156Z] url: https://codecov.io [2022-04-18T05:16:52.156Z] query: branch=PR-332&commit=afc096859ea897e6a3ffd068badbcaefead38123&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2022-04-18T05:16:52.156Z] -> Pinging Codecov [2022-04-18T05:16:52.156Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-332&commit=afc096859ea897e6a3ffd068badbcaefead38123&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2022-04-18T05:16:52.419Z] -> Uploading to [2022-04-18T05:16:52.419Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-18/55DBCA73C666E3227836607328DD7E49/afc096859ea897e6a3ffd068badbcaefead38123/32247cfb-1004-489f-9dfe-a1aaeb023bd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T051652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1fceec1616d14dbe004dbe1c878f7b5e4e359faf5e9c4819214234ddd33a57f3 [2022-04-18T05:16:52.419Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-18T05:16:52.419Z] Dload Upload Total Spent Left Speed [2022-04-18T05:16:52.681Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4013 0 0 100 4013 0 18076 --:--:-- --:--:-- --:--:-- 18076 [2022-04-18T05:16:52.681Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] } [2022-04-18T05:16:52.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-18T05:16:54.398Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-332/archives ] [2022-04-18T05:16:54.398Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-332/archives [2022-04-18T05:16:54.398Z] total 16 [2022-04-18T05:16:54.398Z] drwxr-xr-x 3 root root 4096 Apr 18 05:06 . [2022-04-18T05:16:54.398Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:06 .. [2022-04-18T05:16:54.398Z] drwxr-xr-x 2 root root 4096 Apr 18 05:06 cost [2022-04-18T05:16:54.398Z] -rw-r--r-- 1 root root 87 Apr 18 05:06 cost.csv [2022-04-18T05:16:54.398Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-332/archives [2022-04-18T05:16:54.398Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-332/archives [2022-04-18T05:16:54.398Z] total 16 [2022-04-18T05:16:54.398Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:06 . [2022-04-18T05:16:54.398Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:06 .. [2022-04-18T05:16:54.398Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:06 cost [2022-04-18T05:16:54.398Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 18 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:16:54.732Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:16:55.641Z] ---> package-listing.sh [2022-04-18T05:16:55.641Z] ++ facter osfamily [2022-04-18T05:16:55.641Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-18T05:16:55.903Z] + OS_FAMILY=debian [2022-04-18T05:16:55.903Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-332 [2022-04-18T05:16:55.903Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-18T05:16:55.903Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-18T05:16:55.903Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-18T05:16:55.903Z] + PACKAGES=/tmp/packages_start.txt [2022-04-18T05:16:55.903Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-332 ']' [2022-04-18T05:16:55.903Z] + PACKAGES=/tmp/packages_end.txt [2022-04-18T05:16:55.903Z] + case "${OS_FAMILY}" in [2022-04-18T05:16:55.903Z] + dpkg -l [2022-04-18T05:16:55.903Z] + grep '^ii' [2022-04-18T05:16:55.903Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-18T05:16:55.903Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-18T05:16:55.903Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-18T05:16:55.903Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-332 ']' [2022-04-18T05:16:55.903Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-332/archives/ [2022-04-18T05:16:55.903Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-332/archives/ [Pipeline] echo [2022-04-18T05:16:55.938Z] 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-332/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-18T05:16:56.236Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-18T05:16:56.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T05:16:56.824Z] . [Pipeline] withDockerContainer [2022-04-18T05:16:56.931Z] prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container [2022-04-18T05:16:56.970Z] $ 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-332/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-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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-18T05:16:57.203Z] $ docker top c472fd376ca21fa34800dff3c4a8f07d4e0e6a1402c9bd137b53230184c63822 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-18T05:16:57.629Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-18T05:16:57.949Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-18T05:16:58.265Z] + ls /var/log/sa-host [2022-04-18T05:16:58.265Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T05:16:58.413Z] provisioning config files... [2022-04-18T05:16:58.425Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/config2972228352202614126tmp [Pipeline] { [Pipeline] echo [2022-04-18T05:16:58.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:16:58.800Z] ---> create-netrc.sh [Pipeline] } [2022-04-18T05:16:58.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:16:59.239Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-18T05:16:59.269Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:16:59.585Z] ---> sudo-logs.sh [2022-04-18T05:16:59.585Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-18T05:16:59.675Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:16:59.991Z] ---> job-cost.sh [2022-04-18T05:16:59.992Z] lf-activate-venv: SKIPPING [2022-04-18T05:16:59.992Z] DEBUG: total: 0.2199999988079071 [2022-04-18T05:16:59.992Z] INFO: Retrieving Stack Cost... [2022-04-18T05:17:00.256Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-18T05:17:00.828Z] INFO: Archiving Costs [Pipeline] echo [2022-04-18T05:17:00.875Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T05:17:01.195Z] ---> logs-deploy.sh [2022-04-18T05:17:01.196Z] lf-activate-venv: SKIPPING [2022-04-18T05:17:01.196Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-332/1 [2022-04-18T05:17:01.196Z] INFO: archiving workspace using pattern(s): [2022-04-18T05:17:02.140Z] Archives upload complete. [2022-04-18T05:17:02.140Z] INFO: archiving logs to Nexus