Pull request #428 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6207df5147001658bfbc7b814c92d1f4a2cc74b0+7c5acbbe38a78294b2f031b3aca8867e5f1e249e (55a524403ed7b2c435f3f7ebd9129bc57e221adc) 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-ssh16969821604148313884.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh153292664114808228.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh926547240720068401.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-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13429128007506001545.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh13743242192734331112.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-428/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-428/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7844655773206811774.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu18.04-docker-8c-8g-160’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-257’ is offline Running on prd-ubuntu20.04-docker-8c-8g-259 in /w/workspace/xfoundry_device-modbus-go_PR-428 [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-428 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/428/head:refs/remotes/origin/PR-428 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7c5acbbe38a78294b2f031b3aca8867e5f1e249e into PR head commit 6207df5147001658bfbc7b814c92d1f4a2cc74b0 Merge succeeded, producing 6207df5147001658bfbc7b814c92d1f4a2cc74b0 Checking out Revision 6207df5147001658bfbc7b814c92d1f4a2cc74b0 (PR-428) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:57:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:57:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:57:19 ========================================================= 20:57:19 EdgeX Global Pipelines Version Info 20:57:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 6207df5147001658bfbc7b814c92d1f4a2cc74b0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7c5acbbe38a78294b2f031b3aca8867e5f1e249e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6207df5147001658bfbc7b814c92d1f4a2cc74b0 # timeout=10 20:57:20 ------------------- 20:57:20 stable info: 20:57:20 ------------------- 20:57:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:57:20 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:57:20 Message: update stable to v1.0.245 20:57:21 ------------------- 20:57:21 experimental info: 20:57:21 ------------------- 20:57:21 Commited By: **** collab-it+edgex@linuxfoundation.org 20:57:21 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 20:57:21 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:57:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-428 [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-428 [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-428 [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6207df5147001658bfbc7b814c92d1f4a2cc74b0 [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6207df5 [Pipeline] echo 20:57:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:22 provisioning config files... 20:57:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-428@tmp/config13874989539698466420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:23 ---> docker-login.sh 20:57:23 nexus3.edgexfoundry.org:10001 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 nexus3.edgexfoundry.org:10002 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 nexus3.edgexfoundry.org:10003 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 nexus3.edgexfoundry.org:10004 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 docker.io 20:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:23 Configure a credential helper to remove this warning. See 20:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:23 20:57:23 Login Succeeded 20:57:23 ---> docker-login.sh ends [Pipeline] } 20:57:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:57:24 + git rev-list -1 --merges 6207df5147001658bfbc7b814c92d1f4a2cc74b0~1..6207df5147001658bfbc7b814c92d1f4a2cc74b0 [Pipeline] echo 20:57:24 -----------> git rev-list -1 --merges 6207df5147001658bfbc7b814c92d1f4a2cc74b0~1..6207df5147001658bfbc7b814c92d1f4a2cc74b0 6207df5147001658bfbc7b814c92d1f4a2cc74b0 [false] [Pipeline] sh 20:57:24 + git log --format=format:%s -1 6207df5147001658bfbc7b814c92d1f4a2cc74b0 [Pipeline] echo 20:57:25 ========================================================= 20:57:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:57:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:25 + git log --format=format:%s -1 6207df5147001658bfbc7b814c92d1f4a2cc74b0 [Pipeline] echo 20:57:25 [semverPrep] GIT_COMMIT: 6207df5147001658bfbc7b814c92d1f4a2cc74b0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:57:25 [semverPrep] This is not a build commit. [Pipeline] sh 20:57:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:57:25 + grep -v github /etc/ssh/ssh_known_hosts 20:57:25 + [ -e /tmp/ssh_known_hosts ] 20:57:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:57:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:57:25 + sudo tee -a /etc/ssh/ssh_known_hosts 20:57:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:26 20:57:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:26 0.1.4: Pulling from edgex-devops/py-git-semver 20:57:26 b85a868b505f: Pulling fs layer 20:57:26 e2be974225ed: Pulling fs layer 20:57:26 339a4e72a1f5: Pulling fs layer 20:57:26 988bab9f4d93: Pulling fs layer 20:57:26 1469e6f7b9e6: Pulling fs layer 20:57:26 eaf3925da568: Pulling fs layer 20:57:26 bab4dde63d76: Pulling fs layer 20:57:26 bde34c3a00c8: Pulling fs layer 20:57:26 b352a97aabf1: Pulling fs layer 20:57:26 4872d77fe225: Pulling fs layer 20:57:26 5851b861e8e6: Pulling fs layer 20:57:26 b352a97aabf1: Waiting 20:57:26 bab4dde63d76: Waiting 20:57:26 4872d77fe225: Waiting 20:57:26 5851b861e8e6: Waiting 20:57:26 bde34c3a00c8: Waiting 20:57:26 988bab9f4d93: Waiting 20:57:26 eaf3925da568: Waiting 20:57:26 1469e6f7b9e6: Waiting 20:57:26 e2be974225ed: Download complete 20:57:26 988bab9f4d93: Verifying Checksum 20:57:26 988bab9f4d93: Download complete 20:57:26 1469e6f7b9e6: Verifying Checksum 20:57:26 1469e6f7b9e6: Download complete 20:57:26 339a4e72a1f5: Verifying Checksum 20:57:26 339a4e72a1f5: Download complete 20:57:26 eaf3925da568: Download complete 20:57:26 bde34c3a00c8: Verifying Checksum 20:57:26 bde34c3a00c8: Download complete 20:57:26 b352a97aabf1: Verifying Checksum 20:57:26 b352a97aabf1: Download complete 20:57:26 4872d77fe225: Verifying Checksum 20:57:26 4872d77fe225: Download complete 20:57:26 5851b861e8e6: Verifying Checksum 20:57:26 5851b861e8e6: Download complete 20:57:26 b85a868b505f: Verifying Checksum 20:57:26 b85a868b505f: Download complete 20:57:27 bab4dde63d76: Verifying Checksum 20:57:27 bab4dde63d76: Download complete 20:57:28 b85a868b505f: Pull complete 20:57:28 e2be974225ed: Pull complete 20:57:29 339a4e72a1f5: Pull complete 20:57:29 988bab9f4d93: Pull complete 20:57:29 1469e6f7b9e6: Pull complete 20:57:29 eaf3925da568: Pull complete 20:57:31 bab4dde63d76: Pull complete 20:57:31 bde34c3a00c8: Pull complete 20:57:31 b352a97aabf1: Pull complete 20:57:31 4872d77fe225: Pull complete 20:57:31 5851b861e8e6: Pull complete 20:57:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:31 prd-ubuntu20.04-docker-8c-8g-259 does not seem to be running inside a container 20:57:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-428 -v /w/workspace/xfoundry_device-modbus-go_PR-428:/w/workspace/xfoundry_device-modbus-go_PR-428:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-428@tmp:/w/workspace/xfoundry_device-modbus-go_PR-428@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-devops/py-git-semver:0.1.4 cat 20:57:33 $ docker top ff6c491ab60e0d8bb7c66e9d54e3337b7aaaa4d3e24ee5e3347137a57a3bdb7d -eo pid,comm 20:57:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:57:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:57:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:34 [ssh-agent] Looking for ssh-agent implementation... 20:57:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:34 $ docker exec ff6c491ab60e0d8bb7c66e9d54e3337b7aaaa4d3e24ee5e3347137a57a3bdb7d ssh-agent 20:57:34 SSH_AUTH_SOCK=/tmp/ssh-XZYL4cUZlONq/agent.33 20:57:34 SSH_AGENT_PID=39 20:57:34 Running ssh-add (command line suppressed) 20:57:34 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-428@tmp/private_key_5537579563535052110.key (/w/workspace/xfoundry_device-modbus-go_PR-428@tmp/private_key_5537579563535052110.key) 20:57:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:34 + git tag --points-at HEAD [Pipeline] } 20:57:34 $ docker exec --env ******** --env ******** ff6c491ab60e0d8bb7c66e9d54e3337b7aaaa4d3e24ee5e3347137a57a3bdb7d ssh-agent -k 20:57:34 unset SSH_AUTH_SOCK; 20:57:34 unset SSH_AGENT_PID; 20:57:34 echo Agent pid 39 killed; 20:57:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:57:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:34 [ssh-agent] Looking for ssh-agent implementation... 20:57:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:35 $ docker exec ff6c491ab60e0d8bb7c66e9d54e3337b7aaaa4d3e24ee5e3347137a57a3bdb7d ssh-agent 20:57:35 SSH_AUTH_SOCK=/tmp/ssh-7DJMp9wtgRwi/agent.71 20:57:35 SSH_AGENT_PID=77 20:57:35 Running ssh-add (command line suppressed) 20:57:35 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-428@tmp/private_key_7967279314869647524.key (/w/workspace/xfoundry_device-modbus-go_PR-428@tmp/private_key_7967279314869647524.key) 20:57:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:35 + git semver init 20:57:35 2023-03-14 20:57:35,876 [run_init] DEBUG init version:0.0.0 force:False 20:57:35 2023-03-14 20:57:35,877 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-428/.semver 20:57:35 2023-03-14 20:57:35,878 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-428/.semver 20:57:35 2023-03-14 20:57:35,878 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-428/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-428, universal_newlines=False, shell=None, istream=None) 20:57:36 2023-03-14 20:57:36,691 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-428/.git/info/exclude 20:57:36 2023-03-14 20:57:36,692 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-428/.semver/PR-428 with force:False 20:57:36 2023-03-14 20:57:36,692 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-428/.semver/PR-428 20:57:36 2023-03-14 20:57:36,697 [execute] INFO git cat-file --batch-check 20:57:36 2023-03-14 20:57:36,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-428/.semver, universal_newlines=False, shell=None, istream=) 20:57:36 2023-03-14 20:57:36,704 [execute] INFO git cat-file --batch 20:57:36 2023-03-14 20:57:36,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-428/.semver, universal_newlines=False, shell=None, istream=) 20:57:36 2023-03-14 20:57:36,710 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-428/.semver/PR-428 20:57:36 0.0.0 [Pipeline] } 20:57:36 $ docker exec --env ******** --env ******** ff6c491ab60e0d8bb7c66e9d54e3337b7aaaa4d3e24ee5e3347137a57a3bdb7d ssh-agent -k 20:57:37 unset SSH_AUTH_SOCK; 20:57:37 unset SSH_AGENT_PID; 20:57:37 echo Agent pid 77 killed; 20:57:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:57:37 + git semver [Pipeline] } 20:57:37 $ docker stop --time=1 ff6c491ab60e0d8bb7c66e9d54e3337b7aaaa4d3e24ee5e3347137a57a3bdb7d 20:57:39 $ docker rm -f --volumes ff6c491ab60e0d8bb7c66e9d54e3337b7aaaa4d3e24ee5e3347137a57a3bdb7d [Pipeline] // withDockerContainer [Pipeline] sh 20:57:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:57:39 Stashed 1 file(s) [Pipeline] echo 20:57:39 [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 20:57:40 provisioning config files... 20:57:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-428@tmp/config12665614249620165294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:40 ---> docker-login.sh 20:57:40 nexus3.edgexfoundry.org:10001 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:40 Configure a credential helper to remove this warning. See 20:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:40 20:57:40 Login Succeeded 20:57:40 nexus3.edgexfoundry.org:10002 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:40 Configure a credential helper to remove this warning. See 20:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:40 20:57:40 Login Succeeded 20:57:40 nexus3.edgexfoundry.org:10003 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:40 Configure a credential helper to remove this warning. See 20:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:40 20:57:40 Login Succeeded 20:57:40 nexus3.edgexfoundry.org:10004 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:40 Configure a credential helper to remove this warning. See 20:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:40 20:57:40 Login Succeeded 20:57:40 docker.io 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 ---> docker-login.sh ends [Pipeline] } 20:57:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:41 ========================================================= 20:57:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:57:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:57:41 Sending build context to Docker daemon 6.326MB 20:57:41 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:57:41 Step 2/10 : FROM ${BASE} AS builder 20:57:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:57:41 63b65145d645: Pulling fs layer 20:57:41 a2d21d5440eb: Pulling fs layer 20:57:41 935e6c44a52c: Pulling fs layer 20:57:41 94cc34f8dd06: Pulling fs layer 20:57:41 30dea6a524f1: Pulling fs layer 20:57:41 a2aff8979fd8: Pulling fs layer 20:57:41 6808be2612f2: Pulling fs layer 20:57:41 f25807f1079a: Pulling fs layer 20:57:41 94cc34f8dd06: Waiting 20:57:41 30dea6a524f1: Waiting 20:57:41 a2aff8979fd8: Waiting 20:57:41 6808be2612f2: Waiting 20:57:41 f25807f1079a: Waiting 20:57:41 a2d21d5440eb: Verifying Checksum 20:57:41 a2d21d5440eb: Download complete 20:57:41 94cc34f8dd06: Verifying Checksum 20:57:41 94cc34f8dd06: Download complete 20:57:42 30dea6a524f1: Download complete 20:57:42 a2aff8979fd8: Verifying Checksum 20:57:42 a2aff8979fd8: Download complete 20:57:42 63b65145d645: Verifying Checksum 20:57:42 63b65145d645: Download complete 20:57:42 63b65145d645: Pull complete 20:57:42 935e6c44a52c: Verifying Checksum 20:57:42 935e6c44a52c: Download complete 20:57:42 a2d21d5440eb: Pull complete 20:57:42 f25807f1079a: Verifying Checksum 20:57:42 f25807f1079a: Download complete 20:57:42 6808be2612f2: Verifying Checksum 20:57:42 6808be2612f2: Download complete 20:57:46 935e6c44a52c: Pull complete 20:57:46 94cc34f8dd06: Pull complete 20:57:46 30dea6a524f1: Pull complete 20:57:46 a2aff8979fd8: Pull complete 20:57:48 6808be2612f2: Pull complete 20:57:49 f25807f1079a: Pull complete 20:57:49 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:57:49 ---> 3b553350e43f 20:57:49 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:57:52 ---> Running in 2be43a9b674f 20:57:52 Removing intermediate container 2be43a9b674f 20:57:52 ---> 4e09f58596aa 20:57:52 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:52 ---> Running in 977c15b58561 20:57:52 Removing intermediate container 977c15b58561 20:57:52 ---> aa9e8efe778a 20:57:52 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:57:52 ---> Running in f2752325430a 20:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:57:53 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:57:53 (2/8) Installing libedit (20221030.3.1-r0) 20:57:53 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:57:53 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:57:53 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:57:53 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:57:53 (7/8) Installing openssh-server (9.1_p1-r2) 20:57:53 (8/8) Installing openssh (9.1_p1-r2) 20:57:53 Executing busybox-1.35.0-r29.trigger 20:57:53 OK: 270 MiB in 61 packages 20:57:54 Removing intermediate container f2752325430a 20:57:54 ---> c6422b99c0eb 20:57:54 Step 6/10 : WORKDIR /device-modbus-go 20:57:54 ---> Running in 17c07a74a40b 20:57:54 Removing intermediate container 17c07a74a40b 20:57:54 ---> 61ad4f214f7f 20:57:54 Step 7/10 : COPY go.mod vendor* ./ 20:57:54 ---> 5facd651356e 20:57:54 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:54 ---> Running in dcacdfb02f1d 20:57:55 Still waiting to schedule task 20:57:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-254’ 20:58:20 Removing intermediate container dcacdfb02f1d 20:58:20 ---> af2f67d6bd9e 20:58:20 Step 9/10 : COPY . . 20:58:20 ---> 1c73736a5651 20:58:20 Step 10/10 : RUN ${MAKE} 20:58:20 ---> Running in 5e62e64a5220 20:58:20 noop 20:58:20 Removing intermediate container 5e62e64a5220 20:58:20 ---> 8caad1afad5e 20:58:20 Successfully built 8caad1afad5e 20:58:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:21 + docker inspect -f . ci-base-image-x86_64 20:58:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:21 prd-ubuntu20.04-docker-8c-8g-259 does not seem to be running inside a container 20:58:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-428 -v /w/workspace/xfoundry_device-modbus-go_PR-428:/w/workspace/xfoundry_device-modbus-go_PR-428:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-428@tmp:/w/workspace/xfoundry_device-modbus-go_PR-428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:21 $ docker top 6aee746edd14d0c9f3bc26dedd3d57a5f0c4f1aa1debef5a5afd77693aab546f -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:22 + go version 20:58:22 go version go1.20.2 linux/amd64 [Pipeline] } 20:58:22 $ docker stop --time=1 6aee746edd14d0c9f3bc26dedd3d57a5f0c4f1aa1debef5a5afd77693aab546f 20:58:23 $ docker rm -f --volumes 6aee746edd14d0c9f3bc26dedd3d57a5f0c4f1aa1debef5a5afd77693aab546f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:24 + docker inspect -f . ci-base-image-x86_64 20:58:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:24 prd-ubuntu20.04-docker-8c-8g-259 does not seem to be running inside a container 20:58:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-428 -v /w/workspace/xfoundry_device-modbus-go_PR-428:/w/workspace/xfoundry_device-modbus-go_PR-428:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-428@tmp:/w/workspace/xfoundry_device-modbus-go_PR-428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:24 $ docker top f852fd39fa1007030550295c29023d8f6b4f1b83005c1d2c887d2b61a5f52c96 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:25 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-428 [Pipeline] fileExists [Pipeline] sh 20:58:25 + make test 20:58:25 go test ./... -coverprofile=coverage.out 20:58:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:58:40 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:58:40 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 48.0% of statements 20:58:48 go vet ./... 20:58:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:58:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:58:51 ./bin/test-attribution-txt.sh [Pipeline] echo 20:58:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:58:51 $ docker stop --time=1 f852fd39fa1007030550295c29023d8f6b4f1b83005c1d2c887d2b61a5f52c96 20:58:54 $ docker rm -f --volumes f852fd39fa1007030550295c29023d8f6b4f1b83005c1d2c887d2b61a5f52c96 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:58:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:55 + ls -al . 20:58:55 total 180 20:58:55 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:58 . 20:58:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:57 .. 20:58:55 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 20:57 .dockerignore 20:58:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:57 .git 20:58:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:57 .github 20:58:55 -rw-rw-r-- 1 jenkins jenkins 331 Mar 14 20:57 .gitignore 20:58:55 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 20:57 .golangci.yml 20:58:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:57 .semver 20:58:55 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 14 20:57 Attribution.txt 20:58:55 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 14 20:57 CHANGELOG.md 20:58:55 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 14 20:57 Dockerfile 20:58:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 20:57 GOVERNANCE.md 20:58:55 -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 20:57 Jenkinsfile 20:58:55 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 20:57 LICENSE 20:58:55 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 14 20:57 Makefile 20:58:55 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 20:57 OWNERS.md 20:58:55 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 14 20:57 README.md 20:58:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:57 VERSION 20:58:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:57 bin 20:58:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:57 cmd 20:58:55 -rw-r--r-- 1 jenkins jenkins 23736 Mar 14 20:58 coverage.out 20:58:55 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 14 20:57 go.mod 20:58:55 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 14 20:57 go.sum 20:58:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:57 internal 20:58:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:57 simulator 20:58:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:57 snap 20:58:55 -rw-rw-r-- 1 jenkins jenkins 229 Mar 14 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:56 + 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=6207df5147001658bfbc7b814c92d1f4a2cc74b0 --label arch=amd64 --label version=0.0.0 . 20:58:56 Sending build context to Docker daemon 6.351MB 20:58:56 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:58:56 Step 2/22 : FROM ${BASE} AS builder 20:58:56 ---> 8caad1afad5e 20:58:56 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:58:56 ---> Running in b5b6cbc56e2a 20:58:56 Removing intermediate container b5b6cbc56e2a 20:58:56 ---> d748937983cd 20:58:56 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:56 ---> Running in a776b06a7460 20:58:56 Removing intermediate container a776b06a7460 20:58:56 ---> e13b6863116b 20:58:56 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:58:56 ---> Running in 1b1a7ce0f7a1 20:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:58:57 OK: 270 MiB in 61 packages 20:58:57 Removing intermediate container 1b1a7ce0f7a1 20:58:57 ---> f242a0296f98 20:58:57 Step 6/22 : WORKDIR /device-modbus-go 20:58:57 ---> Running in 061790556ffc 20:58:57 Removing intermediate container 061790556ffc 20:58:57 ---> c7cff18eca67 20:58:57 Step 7/22 : COPY go.mod vendor* ./ 20:58:57 ---> 7c2032b2b1cf 20:58:57 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:57 ---> Running in c077cbaca2ff 20:58:58 Removing intermediate container c077cbaca2ff 20:58:58 ---> f142370db2ec 20:58:58 Step 9/22 : COPY . . 20:58:58 ---> 58d635f84abc 20:58:58 Step 10/22 : RUN ${MAKE} 20:58:58 ---> Running in c27129e8d685 20:58:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:59:17 Removing intermediate container c27129e8d685 20:59:17 ---> 0c795d1d145a 20:59:17 Step 11/22 : FROM alpine:3.17 20:59:17 3.17: Pulling from library/alpine 20:59:17 63b65145d645: Already exists 20:59:17 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:59:17 Status: Downloaded newer image for alpine:3.17 20:59:17 ---> b2aa39c304c2 20:59:17 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:59:17 ---> Running in e782e2b31496 20:59:17 Removing intermediate container e782e2b31496 20:59:17 ---> 61b637963aff 20:59:17 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:59:17 ---> Running in 444086f5f069 20:59:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:59:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:59:17 (1/1) Installing dumb-init (1.2.5-r2) 20:59:17 Executing busybox-1.35.0-r29.trigger 20:59:17 OK: 7 MiB in 16 packages 20:59:18 Removing intermediate container 444086f5f069 20:59:18 ---> b385a4cd306a 20:59:18 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:59:18 ---> 1f72fbb11173 20:59:18 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:59:18 ---> 6991ac195ff7 20:59:18 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:59:18 ---> eb70854f7e02 20:59:18 Step 17/22 : EXPOSE 59901 20:59:18 ---> Running in 33e9813c4293 20:59:19 Removing intermediate container 33e9813c4293 20:59:19 ---> a83da42df625 20:59:19 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:59:19 ---> Running in 3526ce3af54e 20:59:19 Removing intermediate container 3526ce3af54e 20:59:19 ---> 1ffdc0dc8f9f 20:59:19 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:59:19 ---> Running in bce6ca7ffaa7 20:59:19 Removing intermediate container bce6ca7ffaa7 20:59:19 ---> 7efdd2face75 20:59:19 Step 20/22 : LABEL arch=amd64 20:59:19 ---> Running in 6b5154c6f6c6 20:59:19 Removing intermediate container 6b5154c6f6c6 20:59:19 ---> fd20da485985 20:59:19 Step 21/22 : LABEL git_sha=6207df5147001658bfbc7b814c92d1f4a2cc74b0 20:59:19 ---> Running in c1ed5270af76 20:59:19 Removing intermediate container c1ed5270af76 20:59:19 ---> 77961d984c16 20:59:19 Step 22/22 : LABEL version=0.0.0 20:59:19 ---> Running in 3af3abef1a36 20:59:19 Removing intermediate container 3af3abef1a36 20:59:19 ---> 423b9b429ac9 20:59:19 [Warning] One or more build-args [ARCH] were not consumed 20:59:19 Successfully built 423b9b429ac9 20:59:19 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 20:59:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:20 20:59:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:20 latest: Pulling from edgex-lftools-log-publisher 20:59:20 5eb5b503b376: Pulling fs layer 20:59:20 5c69ac0246d0: Pulling fs layer 20:59:20 ec43610c2a17: Pulling fs layer 20:59:20 3a2ae6a8a46f: Pulling fs layer 20:59:20 33b1e0a273af: Pulling fs layer 20:59:20 5d3b04190fa2: Pulling fs layer 20:59:20 2f39f015ded8: Pulling fs layer 20:59:20 33b1e0a273af: Waiting 20:59:20 5d3b04190fa2: Waiting 20:59:20 2f39f015ded8: Waiting 20:59:20 3a2ae6a8a46f: Waiting 20:59:20 5c69ac0246d0: Download complete 20:59:20 3a2ae6a8a46f: Verifying Checksum 20:59:20 3a2ae6a8a46f: Download complete 20:59:20 33b1e0a273af: Verifying Checksum 20:59:20 33b1e0a273af: Download complete 20:59:20 5d3b04190fa2: Download complete 20:59:20 ec43610c2a17: Verifying Checksum 20:59:20 5eb5b503b376: Download complete 20:59:21 2f39f015ded8: Download complete 20:59:22 5eb5b503b376: Pull complete 20:59:22 5c69ac0246d0: Pull complete 20:59:22 ec43610c2a17: Pull complete 20:59:22 3a2ae6a8a46f: Pull complete 20:59:22 33b1e0a273af: Pull complete 20:59:22 5d3b04190fa2: Pull complete 20:59:27 2f39f015ded8: Pull complete 20:59:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:59:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:27 prd-ubuntu20.04-docker-8c-8g-259 does not seem to be running inside a container 20:59:27 $ 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-428 -v /w/workspace/xfoundry_device-modbus-go_PR-428:/w/workspace/xfoundry_device-modbus-go_PR-428:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-428@tmp:/w/workspace/xfoundry_device-modbus-go_PR-428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:59:29 $ docker top fe3ddd562e11c00b9cde5e1c019c7c0291f69e99c96362a474b826445e0c4177 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:30 ---> job-cost.sh 20:59:30 lf-activate-venv: SKIPPING 20:59:30 INFO: No Stack... 20:59:30 INFO: Retrieving Pricing Info for: v3-standard-8 20:59:31 INFO: Archiving Costs [Pipeline] sh 20:59:31 + cat /w/workspace/xfoundry_device-modbus-go_PR-428/archives/cost.csv 20:59:31 + cut -d, -f6 [Pipeline] lock 20:59:31 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-428-1-stack-cost] 20:59:31 Resource [jenkins-edgexfoundry-device-modbus-go-PR-428-1-stack-cost] did not exist. Created. 20:59:31 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:31 + echo total: 0.2199999988079071 [Pipeline] stash 20:59:31 Stashed 1 file(s) [Pipeline] } 20:59:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-428-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:59:31 $ docker stop --time=1 fe3ddd562e11c00b9cde5e1c019c7c0291f69e99c96362a474b826445e0c4177 20:59:33 $ docker rm -f --volumes fe3ddd562e11c00b9cde5e1c019c7c0291f69e99c96362a474b826445e0c4177 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-264 in /w/workspace/xfoundry_device-modbus-go_PR-428 [Pipeline] { [Pipeline] ws 21:00:29 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 21:00:29 Selected Git installation does not exist. Using Default 21:00:29 The recommended git tool is: NONE 21:00:38 using credential edgex-jenkins-ssh 21:00:38 Cloning the remote Git repository 21:00:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:00:38 > git init /w/workspace/device-modbus-go/1 # timeout=10 21:00:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:00:39 > git --version # timeout=10 21:00:39 > git --version # 'git version 2.25.1' 21:00:39 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:00:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:44 Merging remotes/origin/main commit 7c5acbbe38a78294b2f031b3aca8867e5f1e249e into PR head commit 6207df5147001658bfbc7b814c92d1f4a2cc74b0 21:00:43 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:00:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:00:43 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/428/head:refs/remotes/origin/PR-428 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:00:45 Merge succeeded, producing 6207df5147001658bfbc7b814c92d1f4a2cc74b0 21:00:45 Checking out Revision 6207df5147001658bfbc7b814c92d1f4a2cc74b0 (PR-428) 21:00:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:00:45 > git --version # timeout=10 21:00:45 > git --version # 'git version 2.25.1' 21:00:45 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 21:00:44 > git config core.sparsecheckout # timeout=10 21:00:44 > git checkout -f 6207df5147001658bfbc7b814c92d1f4a2cc74b0 # timeout=10 21:00:44 > git remote # timeout=10 21:00:44 > git config --get remote.origin.url # timeout=10 21:00:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:44 > git merge 7c5acbbe38a78294b2f031b3aca8867e5f1e249e # timeout=10 21:00:45 > git rev-parse HEAD^{commit} # timeout=10 21:00:45 > git config core.sparsecheckout # timeout=10 21:00:45 > git checkout -f 6207df5147001658bfbc7b814c92d1f4a2cc74b0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:00:47 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:47 Dload Upload Total Spent Left Speed 21:00:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 21:00:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:00:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:00:48 + sudo tee /etc/docker/daemon.new 21:00:48 { 21:00:48 "registry-mirrors": [ 21:00:48 "https://nexus3.edgexfoundry.org:10001" 21:00:48 ], 21:00:48 "bip": "10.250.0.254/24", 21:00:48 "hosts": [ 21:00:48 "tcp://0.0.0.0:5555", 21:00:48 "unix:///var/run/docker.sock" 21:00:48 ], 21:00:48 "mtu": 1458, 21:00:48 "selinux-enabled": true, 21:00:48 "seccomp-profile": "/etc/docker/seccomp.json" 21:00:48 } [Pipeline] sh 21:00:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:00:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:07 provisioning config files... 21:01:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config9126741278227814207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:08 ---> docker-login.sh 21:01:08 nexus3.edgexfoundry.org:10001 21:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:08 Configure a credential helper to remove this warning. See 21:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:08 21:01:08 Login Succeeded 21:01:08 nexus3.edgexfoundry.org:10002 21:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:09 Configure a credential helper to remove this warning. See 21:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:09 21:01:09 Login Succeeded 21:01:09 nexus3.edgexfoundry.org:10003 21:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:09 Configure a credential helper to remove this warning. See 21:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:09 21:01:09 Login Succeeded 21:01:09 nexus3.edgexfoundry.org:10004 21:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:10 Configure a credential helper to remove this warning. See 21:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:10 21:01:10 Login Succeeded 21:01:10 docker.io 21:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:10 Configure a credential helper to remove this warning. See 21:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:10 21:01:10 Login Succeeded 21:01:10 ---> docker-login.sh ends [Pipeline] } 21:01:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:11 ========================================================= 21:01:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:01:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:01:12 Sending build context to Docker daemon 3.298MB 21:01:12 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:01:12 Step 2/10 : FROM ${BASE} AS builder 21:01:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:13 af6eaf76a39c: Pulling fs layer 21:01:13 55522c791124: Pulling fs layer 21:01:13 ce5c4a1c91eb: Pulling fs layer 21:01:13 169dfbe0d373: Pulling fs layer 21:01:13 e1ff8fa3b103: Pulling fs layer 21:01:13 52ebb69f0ebf: Pulling fs layer 21:01:13 5abe8eddf0d5: Pulling fs layer 21:01:13 169dfbe0d373: Waiting 21:01:13 52ebb69f0ebf: Waiting 21:01:13 e1ff8fa3b103: Waiting 21:01:13 5abe8eddf0d5: Waiting 21:01:13 55522c791124: Verifying Checksum 21:01:13 55522c791124: Download complete 21:01:13 169dfbe0d373: Verifying Checksum 21:01:13 169dfbe0d373: Download complete 21:01:13 e1ff8fa3b103: Download complete 21:01:13 af6eaf76a39c: Verifying Checksum 21:01:13 af6eaf76a39c: Download complete 21:01:14 af6eaf76a39c: Pull complete 21:01:14 5abe8eddf0d5: Verifying Checksum 21:01:14 5abe8eddf0d5: Download complete 21:01:14 55522c791124: Pull complete 21:01:15 52ebb69f0ebf: Verifying Checksum 21:01:15 52ebb69f0ebf: Download complete 21:01:15 ce5c4a1c91eb: Download complete 21:01:28 ce5c4a1c91eb: Pull complete 21:01:28 169dfbe0d373: Pull complete 21:01:28 e1ff8fa3b103: Pull complete 21:01:33 52ebb69f0ebf: Pull complete 21:01:35 5abe8eddf0d5: Pull complete 21:01:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:01:35 ---> 6cb57ee374ae 21:01:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:01:37 ---> Running in 73c291a8a510 21:01:37 Removing intermediate container 73c291a8a510 21:01:37 ---> 5515931d2732 21:01:37 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:37 ---> Running in cd44c9109273 21:01:38 Removing intermediate container cd44c9109273 21:01:38 ---> 5b26c988153b 21:01:38 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:01:38 ---> Running in faadaf030cf1 21:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:01:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:01:40 (1/8) Installing openssh-keygen (9.1_p1-r2) 21:01:40 (2/8) Installing libedit (20221030.3.1-r0) 21:01:40 (3/8) Installing openssh-client-common (9.1_p1-r2) 21:01:41 (4/8) Installing openssh-client-default (9.1_p1-r2) 21:01:41 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 21:01:41 (6/8) Installing openssh-server-common (9.1_p1-r2) 21:01:41 (7/8) Installing openssh-server (9.1_p1-r2) 21:01:41 (8/8) Installing openssh (9.1_p1-r2) 21:01:41 Executing busybox-1.35.0-r29.trigger 21:01:41 OK: 270 MiB in 61 packages 21:01:42 Removing intermediate container faadaf030cf1 21:01:42 ---> a0015c18560f 21:01:42 Step 6/10 : WORKDIR /device-modbus-go 21:01:42 ---> Running in 7f2810e4c5c6 21:01:42 Removing intermediate container 7f2810e4c5c6 21:01:42 ---> 98c32da44205 21:01:42 Step 7/10 : COPY go.mod vendor* ./ 21:01:43 ---> 2b71538032c7 21:01:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:43 ---> Running in 198a2c1c9730 21:03:05 Removing intermediate container 198a2c1c9730 21:03:05 ---> 4c151f35c1c9 21:03:05 Step 9/10 : COPY . . 21:03:05 ---> 762b475de05c 21:03:05 Step 10/10 : RUN ${MAKE} 21:03:05 ---> Running in 8d49bab50752 21:03:05 noop 21:03:05 Removing intermediate container 8d49bab50752 21:03:05 ---> dd6dbd22e36d 21:03:05 Successfully built dd6dbd22e36d 21:03:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:05 + docker inspect -f . ci-base-image-arm64 21:03:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:06 prd-ubuntu20.04-docker-arm64-4c-16g-264 does not seem to be running inside a container 21:03:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:07 $ docker top 677ad2e17df90b03d17a948cc477a71666e1f9e6dc861e8d4ddf7c000c247672 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:08 + go version 21:03:08 go version go1.20.2 linux/arm64 [Pipeline] } 21:03:08 $ docker stop --time=1 677ad2e17df90b03d17a948cc477a71666e1f9e6dc861e8d4ddf7c000c247672 21:03:09 $ docker rm -f --volumes 677ad2e17df90b03d17a948cc477a71666e1f9e6dc861e8d4ddf7c000c247672 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:10 + docker inspect -f . ci-base-image-arm64 21:03:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:11 prd-ubuntu20.04-docker-arm64-4c-16g-264 does not seem to be running inside a container 21:03:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:13 $ docker top 161fe0ec766cfe1b2c0ab8e7a9bc95948bfa7c95fad21e67a6d14ad4e21a2ec6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:14 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 21:03:15 + make test 21:03:15 go test ./... -coverprofile=coverage.out 21:03:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:06:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:06:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.094s coverage: 48.0% of statements 21:06:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:06:05 go vet ./... 21:06:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:37 ./bin/test-attribution-txt.sh [Pipeline] echo 21:06:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:37 $ docker stop --time=1 161fe0ec766cfe1b2c0ab8e7a9bc95948bfa7c95fad21e67a6d14ad4e21a2ec6 21:06:39 $ docker rm -f --volumes 161fe0ec766cfe1b2c0ab8e7a9bc95948bfa7c95fad21e67a6d14ad4e21a2ec6 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:41 Warning: overwriting stash ‘coverage-report’ 21:06:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:42 + ls -al . 21:06:42 total 176 21:06:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 21:03 . 21:06:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:00 .. 21:06:42 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 21:00 .dockerignore 21:06:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 21:00 .git 21:06:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:00 .github 21:06:42 -rw-rw-r-- 1 jenkins jenkins 331 Mar 14 21:00 .gitignore 21:06:42 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 21:00 .golangci.yml 21:06:42 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 14 21:00 Attribution.txt 21:06:42 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 14 21:00 CHANGELOG.md 21:06:42 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 14 21:00 Dockerfile 21:06:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 21:00 GOVERNANCE.md 21:06:42 -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 21:00 Jenkinsfile 21:06:42 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 21:00 LICENSE 21:06:42 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 14 21:00 Makefile 21:06:42 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 21:00 OWNERS.md 21:06:42 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 14 21:00 README.md 21:06:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:57 VERSION 21:06:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:00 bin 21:06:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:00 cmd 21:06:42 -rw-r--r-- 1 jenkins jenkins 23736 Mar 14 21:06 coverage.out 21:06:42 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 14 21:00 go.mod 21:06:42 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 14 21:00 go.sum 21:06:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 21:00 internal 21:06:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 21:00 simulator 21:06:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 21:00 snap 21:06:42 -rw-rw-r-- 1 jenkins jenkins 229 Mar 14 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:43 + 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=6207df5147001658bfbc7b814c92d1f4a2cc74b0 --label arch=arm64 --label version=0.0.0 . 21:06:43 Sending build context to Docker daemon 3.322MB 21:06:43 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:06:43 Step 2/22 : FROM ${BASE} AS builder 21:06:43 ---> dd6dbd22e36d 21:06:43 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:06:43 ---> Running in 0a7259bb8bf9 21:06:44 Removing intermediate container 0a7259bb8bf9 21:06:44 ---> ea796ad90f69 21:06:44 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:44 ---> Running in 7240b6ff2c42 21:06:44 Removing intermediate container 7240b6ff2c42 21:06:44 ---> db9aa6ccbcf1 21:06:44 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:06:44 ---> Running in e0d790341ecd 21:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:48 OK: 270 MiB in 61 packages 21:06:49 Removing intermediate container e0d790341ecd 21:06:49 ---> a5cb0b21aed3 21:06:49 Step 6/22 : WORKDIR /device-modbus-go 21:06:49 ---> Running in ddf900621248 21:06:49 Removing intermediate container ddf900621248 21:06:49 ---> 261f0de6e6d2 21:06:49 Step 7/22 : COPY go.mod vendor* ./ 21:06:49 ---> 7920e9e8d2c7 21:06:49 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:50 ---> Running in bec8d5e321d8 21:06:53 Removing intermediate container bec8d5e321d8 21:06:53 ---> 7ba1e24519fb 21:06:53 Step 9/22 : COPY . . 21:06:54 ---> d6a8429ca9fb 21:06:54 Step 10/22 : RUN ${MAKE} 21:06:54 ---> Running in 338a1c4f4361 21:06:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:09:32 Removing intermediate container 338a1c4f4361 21:09:32 ---> 081ca64357e0 21:09:32 Step 11/22 : FROM alpine:3.17 21:09:32 3.17: Pulling from library/alpine 21:09:32 af6eaf76a39c: Already exists 21:09:32 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:09:32 Status: Downloaded newer image for alpine:3.17 21:09:32 ---> d74e625d9115 21:09:32 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:09:32 ---> Running in 51beb2226a0c 21:09:32 Removing intermediate container 51beb2226a0c 21:09:32 ---> 83e4cfd7ad7f 21:09:32 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:09:32 ---> Running in af5307c0229e 21:09:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:09:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:09:32 (1/1) Installing dumb-init (1.2.5-r2) 21:09:32 Executing busybox-1.35.0-r29.trigger 21:09:32 OK: 8 MiB in 16 packages 21:09:32 Removing intermediate container af5307c0229e 21:09:32 ---> d92bef2fe0f0 21:09:32 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:09:32 ---> 16e7bd70f96f 21:09:32 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:09:32 ---> c5f105ff2dab 21:09:32 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:09:32 ---> 4d59e12d6c2c 21:09:32 Step 17/22 : EXPOSE 59901 21:09:32 ---> Running in 89f7242045e5 21:09:32 Removing intermediate container 89f7242045e5 21:09:32 ---> 0e747d82ea61 21:09:32 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:09:32 ---> Running in cc2e5da48be8 21:09:32 Removing intermediate container cc2e5da48be8 21:09:32 ---> 3a58d76ed82d 21:09:32 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:09:32 ---> Running in f291123f9c5c 21:09:33 Removing intermediate container f291123f9c5c 21:09:33 ---> 644363ccd8df 21:09:33 Step 20/22 : LABEL arch=arm64 21:09:33 ---> Running in b62e0e89d4e5 21:09:33 Removing intermediate container b62e0e89d4e5 21:09:33 ---> 43b76099b9c0 21:09:33 Step 21/22 : LABEL git_sha=6207df5147001658bfbc7b814c92d1f4a2cc74b0 21:09:33 ---> Running in a1f0cac0b28a 21:09:33 Removing intermediate container a1f0cac0b28a 21:09:33 ---> 3276cbf4dbae 21:09:33 Step 22/22 : LABEL version=0.0.0 21:09:33 ---> Running in 5c3b7dbabc23 21:09:34 Removing intermediate container 5c3b7dbabc23 21:09:34 ---> d997ba7f82af 21:09:34 [Warning] One or more build-args [ARCH] were not consumed 21:09:34 Successfully built d997ba7f82af 21:09:34 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 21:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:35 21:09:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:35 arm64: Pulling from edgex-lftools-log-publisher 21:09:35 8998bd30e6a1: Pulling fs layer 21:09:35 04944245beec: Pulling fs layer 21:09:35 699f458cf7ca: Pulling fs layer 21:09:35 765212b225bb: Pulling fs layer 21:09:35 f23df028b6ca: Pulling fs layer 21:09:35 d65c8cfc05b1: Pulling fs layer 21:09:35 2437ff75d9bd: Pulling fs layer 21:09:35 f23df028b6ca: Waiting 21:09:35 d65c8cfc05b1: Waiting 21:09:35 2437ff75d9bd: Waiting 21:09:35 765212b225bb: Waiting 21:09:35 04944245beec: Verifying Checksum 21:09:35 04944245beec: Download complete 21:09:35 765212b225bb: Verifying Checksum 21:09:35 765212b225bb: Download complete 21:09:35 f23df028b6ca: Verifying Checksum 21:09:35 f23df028b6ca: Download complete 21:09:35 d65c8cfc05b1: Verifying Checksum 21:09:35 d65c8cfc05b1: Download complete 21:09:36 699f458cf7ca: Verifying Checksum 21:09:36 699f458cf7ca: Download complete 21:09:36 8998bd30e6a1: Download complete 21:09:38 2437ff75d9bd: Verifying Checksum 21:09:38 2437ff75d9bd: Download complete 21:09:40 8998bd30e6a1: Pull complete 21:09:40 04944245beec: Pull complete 21:09:41 699f458cf7ca: Pull complete 21:09:41 765212b225bb: Pull complete 21:09:44 f23df028b6ca: Pull complete 21:09:44 d65c8cfc05b1: Pull complete 21:09:59 2437ff75d9bd: Pull complete 21:09:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:09:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:00 prd-ubuntu20.04-docker-arm64-4c-16g-264 does not seem to be running inside a container 21:10:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:10:02 $ docker top 1fe859ee1ae8386a2dae861ab29dc13005ae3e707f5c8946cd32f35e23886486 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:03 ---> job-cost.sh 21:10:03 lf-activate-venv: SKIPPING 21:10:03 INFO: No Stack... 21:10:04 INFO: Retrieving Pricing Info for: v3-standard-4 21:10:05 INFO: Archiving Costs [Pipeline] sh 21:10:05 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 21:10:05 + cut -d, -f6 [Pipeline] lock 21:10:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-428-1-stack-cost] 21:10:05 Resource [jenkins-edgexfoundry-device-modbus-go-PR-428-1-stack-cost] did not exist. Created. 21:10:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:10:06 /w/workspace/device-modbus-go/1@tmp/durable-b6857d4f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:10:06 + echo total: 0.10999999940395355 [Pipeline] stash 21:10:06 Warning: overwriting stash ‘stack-cost’ 21:10:06 Stashed 1 file(s) [Pipeline] } 21:10:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-428-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:10:07 $ docker stop --time=1 1fe859ee1ae8386a2dae861ab29dc13005ae3e707f5c8946cd32f35e23886486 21:10:08 $ docker rm -f --volumes 1fe859ee1ae8386a2dae861ab29dc13005ae3e707f5c8946cd32f35e23886486 [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 21:10:09 provisioning config files... 21:10:09 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-428@tmp/config11427521750170407450tmp [Pipeline] { [Pipeline] sh 21:10:09 + set +x 21:10:09 + + curl -s https://codecov.io/bashbash 21:10:09 -s -- 21:10:09 21:10:09 _____ _ 21:10:09 / ____| | | 21:10:09 | | ___ __| | ___ ___ _____ __ 21:10:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:10:09 | |___| (_) | (_| | __/ (_| (_) \ V / 21:10:09 \_____\___/ \__,_|\___|\___\___/ \_/ 21:10:09 Bash-1.0.6 21:10:09 21:10:09 21:10:09 ==> git version 2.25.1 found 21:10:09 ==> 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 21:10:09 Release-Date: 2020-01-08 21:10:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:10:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:10:09 ==> Jenkins CI detected. 21:10:09 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-428 21:10:09 project root: . 21:10:09 --> token set from env 21:10:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:10:09 ==> Running gcov in . (disable via -X gcov) 21:10:09 ==> Python coveragepy not found 21:10:09 ==> Searching for coverage reports in: 21:10:09 + . 21:10:09 -> Found 1 reports 21:10:09 ==> Detecting git/mercurial file structure 21:10:09 ==> Reading reports 21:10:09 + ./coverage.out bytes=23736 21:10:09 ==> Appending adjustments 21:10:09 https://docs.codecov.io/docs/fixing-reports 21:10:10 + Found adjustments 21:10:10 ==> Gzipping contents 21:10:10 4.0K /tmp/codecov.bJrL5U.gz 21:10:10 ==> Uploading reports 21:10:10 url: https://codecov.io 21:10:10 query: branch=PR-428&commit=6207df5147001658bfbc7b814c92d1f4a2cc74b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-428%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=428&job=&cmd_args= 21:10:10 -> Pinging Codecov 21:10:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-428&commit=6207df5147001658bfbc7b814c92d1f4a2cc74b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-428%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=428&job=&cmd_args= 21:10:10 -> Uploading to 21:10:10 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/55DBCA73C666E3227836607328DD7E49/6207df5147001658bfbc7b814c92d1f4a2cc74b0/97a00a40-b2af-41cb-9dba-1a7012606fef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T211010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f00f5f2b06857622fdcfe423a7fb854e687d23050e7591143c666c9c42d722e 21:10:10 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:10 Dload Upload Total Spent Left Speed 21:10:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 13341 --:--:-- --:--:-- --:--:-- 13341 21:10:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6207df5147001658bfbc7b814c92d1f4a2cc74b0 [Pipeline] } 21:10:10 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 21:10:12 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-428/archives ] 21:10:12 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-428/archives 21:10:12 total 16 21:10:12 drwxr-xr-x 3 root root 4096 Mar 14 20:59 . 21:10:12 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 20:59 .. 21:10:12 drwxr-xr-x 2 root root 4096 Mar 14 20:59 cost 21:10:12 -rw-r--r-- 1 root root 88 Mar 14 20:59 cost.csv 21:10:12 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-428/archives 21:10:12 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-428/archives 21:10:12 total 16 21:10:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:59 . 21:10:12 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 20:59 .. 21:10:12 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:59 cost 21:10:12 -rw-r--r-- 1 jenkins jenkins 88 Mar 14 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:10:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:10:13 ---> package-listing.sh 21:10:13 ++ facter osfamily 21:10:13 ++ tr '[:upper:]' '[:lower:]' 21:10:13 + OS_FAMILY=debian 21:10:13 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-428 21:10:13 + START_PACKAGES=/tmp/packages_start.txt 21:10:13 + END_PACKAGES=/tmp/packages_end.txt 21:10:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:10:13 + PACKAGES=/tmp/packages_start.txt 21:10:13 + '[' /w/workspace/xfoundry_device-modbus-go_PR-428 ']' 21:10:13 + PACKAGES=/tmp/packages_end.txt 21:10:13 + case "${OS_FAMILY}" in 21:10:13 + dpkg -l 21:10:13 + grep '^ii' 21:10:13 + '[' -f /tmp/packages_start.txt ']' 21:10:13 + '[' -f /tmp/packages_end.txt ']' 21:10:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:10:13 + '[' /w/workspace/xfoundry_device-modbus-go_PR-428 ']' 21:10:13 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-428/archives/ 21:10:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-428/archives/ [Pipeline] echo 21:10:13 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-428/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:10:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:14 prd-ubuntu20.04-docker-8c-8g-259 does not seem to be running inside a container 21:10:14 $ 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-428/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-428 -v /w/workspace/xfoundry_device-modbus-go_PR-428:/w/workspace/xfoundry_device-modbus-go_PR-428:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-428@tmp:/w/workspace/xfoundry_device-modbus-go_PR-428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:10:14 $ docker top d33baf3154317af5ee914379ad58007c6063443789d2054832b94cae0f51fe18 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:15 + touch /tmp/pre-build-complete [Pipeline] sh 21:10:15 + mkdir -p /var/log/sysstat [Pipeline] sh 21:10:15 + ls /var/log/sa-host 21:10:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:16 provisioning config files... 21:10:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-428@tmp/config17316487676808458607tmp [Pipeline] { [Pipeline] echo 21:10:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:10:16 ---> create-netrc.sh [Pipeline] } 21:10:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:10:16 ---> python-tools-install.sh [Pipeline] echo 21:10:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:10:17 ---> sudo-logs.sh 21:10:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:10:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:10:17 ---> job-cost.sh 21:10:17 lf-activate-venv: SKIPPING 21:10:17 DEBUG: total: 0.2199999988079071 21:10:17 INFO: Retrieving Stack Cost... 21:10:17 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:18 INFO: Archiving Costs [Pipeline] echo 21:10:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:10:18 ---> logs-deploy.sh 21:10:18 lf-activate-venv: SKIPPING 21:10:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-428/1 21:10:18 INFO: archiving workspace using pattern(s): 21:10:19 Archives upload complete. 21:10:19 INFO: archiving logs to Nexus