Pull request #446 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8+63f56b440389908500f57809a79af5893e194475 (b58aeed3fba713c7afdd2971eca93e7ed7a53274) 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-ssh10999474281027278016.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-ssh14142429771346369634.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-446/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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6874645815495821269.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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16734822189876320363.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-ssh11959726395794308525.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-446/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-446/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15006949253772015401.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 Running on prd-ubuntu20.04-docker-8c-8g-5889 in /w/workspace/xfoundry_device-modbus-go_PR-446 [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-446 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 > 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/446/head:refs/remotes/origin/PR-446 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 # timeout=10 > git remote # timeout=10 Merge succeeded, producing b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 Checking out Revision b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 (PR-446) 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 05:57:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:57:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:57:32 ========================================================= 05:57:32 EdgeX Global Pipelines Version Info 05:57:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 63f56b440389908500f57809a79af5893e194475 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 # timeout=10 05:57:33 ------------------- 05:57:33 stable info: 05:57:33 ------------------- 05:57:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:57:33 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:57:33 Message: update stable to v1.0.245 05:57:33 ------------------- 05:57:33 experimental info: 05:57:33 ------------------- 05:57:33 Commited By: **** collab-it+edgex@linuxfoundation.org 05:57:33 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 05:57:33 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:57:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:57:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:57:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:57:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:57:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:57:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-446 [Pipeline] echo 05:57:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-446 [Pipeline] echo 05:57:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-446 [Pipeline] echo 05:57:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 [Pipeline] echo 05:57:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b68c9a7 [Pipeline] echo 05:57:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:35 provisioning config files... 05:57:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-446@tmp/config18039608299013295759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:35 ---> docker-login.sh 05:57:35 nexus3.edgexfoundry.org:10001 05:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:36 Configure a credential helper to remove this warning. See 05:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:36 05:57:36 Login Succeeded 05:57:36 nexus3.edgexfoundry.org:10002 05:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:36 Configure a credential helper to remove this warning. See 05:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:36 05:57:36 Login Succeeded 05:57:36 nexus3.edgexfoundry.org:10003 05:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:36 Configure a credential helper to remove this warning. See 05:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:36 05:57:36 Login Succeeded 05:57:36 nexus3.edgexfoundry.org:10004 05:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:36 Configure a credential helper to remove this warning. See 05:57:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:36 05:57:36 Login Succeeded 05:57:36 docker.io 05:57:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:37 Configure a credential helper to remove this warning. See 05:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:37 05:57:37 Login Succeeded 05:57:37 ---> docker-login.sh ends [Pipeline] } 05:57:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:57:37 + git rev-list -1 --merges b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8~1..b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 [Pipeline] echo 05:57:37 -----------> git rev-list -1 --merges b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8~1..b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 [false] [Pipeline] sh 05:57:38 + git log --format=format:%s -1 b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 [Pipeline] echo 05:57:38 ========================================================= 05:57:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:57:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:38 + git log --format=format:%s -1 b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 [Pipeline] echo 05:57:38 [semverPrep] GIT_COMMIT: b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:57:38 [semverPrep] This is not a build commit. [Pipeline] sh 05:57:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:57:39 + grep -v github /etc/ssh/ssh_known_hosts 05:57:39 + [ -e /tmp/ssh_known_hosts ] 05:57:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:57:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:57:39 + sudo tee -a /etc/ssh/ssh_known_hosts 05:57:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:57:39 05:57:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:57:40 0.1.4: Pulling from edgex-devops/py-git-semver 05:57:40 b85a868b505f: Pulling fs layer 05:57:40 e2be974225ed: Pulling fs layer 05:57:40 339a4e72a1f5: Pulling fs layer 05:57:40 988bab9f4d93: Pulling fs layer 05:57:40 1469e6f7b9e6: Pulling fs layer 05:57:40 eaf3925da568: Pulling fs layer 05:57:40 bab4dde63d76: Pulling fs layer 05:57:40 bde34c3a00c8: Pulling fs layer 05:57:40 988bab9f4d93: Waiting 05:57:40 1469e6f7b9e6: Waiting 05:57:40 eaf3925da568: Waiting 05:57:40 bab4dde63d76: Waiting 05:57:40 b352a97aabf1: Pulling fs layer 05:57:40 bde34c3a00c8: Waiting 05:57:40 4872d77fe225: Pulling fs layer 05:57:40 5851b861e8e6: Pulling fs layer 05:57:40 4872d77fe225: Waiting 05:57:40 5851b861e8e6: Waiting 05:57:40 e2be974225ed: Download complete 05:57:40 988bab9f4d93: Verifying Checksum 05:57:40 988bab9f4d93: Download complete 05:57:40 1469e6f7b9e6: Download complete 05:57:40 339a4e72a1f5: Verifying Checksum 05:57:40 339a4e72a1f5: Download complete 05:57:40 eaf3925da568: Verifying Checksum 05:57:40 eaf3925da568: Download complete 05:57:40 bde34c3a00c8: Download complete 05:57:40 b352a97aabf1: Verifying Checksum 05:57:40 b352a97aabf1: Download complete 05:57:40 4872d77fe225: Verifying Checksum 05:57:40 4872d77fe225: Download complete 05:57:40 5851b861e8e6: Verifying Checksum 05:57:40 5851b861e8e6: Download complete 05:57:40 b85a868b505f: Verifying Checksum 05:57:40 b85a868b505f: Download complete 05:57:40 bab4dde63d76: Verifying Checksum 05:57:40 bab4dde63d76: Download complete 05:57:41 b85a868b505f: Pull complete 05:57:41 e2be974225ed: Pull complete 05:57:42 339a4e72a1f5: Pull complete 05:57:42 988bab9f4d93: Pull complete 05:57:42 1469e6f7b9e6: Pull complete 05:57:42 eaf3925da568: Pull complete 05:57:44 bab4dde63d76: Pull complete 05:57:44 bde34c3a00c8: Pull complete 05:57:44 b352a97aabf1: Pull complete 05:57:44 4872d77fe225: Pull complete 05:57:44 5851b861e8e6: Pull complete 05:57:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:57:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:57:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:44 prd-ubuntu20.04-docker-8c-8g-5889 does not seem to be running inside a container 05:57:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-446 -v /w/workspace/xfoundry_device-modbus-go_PR-446:/w/workspace/xfoundry_device-modbus-go_PR-446:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-446@tmp:/w/workspace/xfoundry_device-modbus-go_PR-446@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:57:46 $ docker top 400862b9b1f63ed47e11e83c4d0baf3da512b6e047d2dc9737338d97d9ad89a1 -eo pid,comm 05:57:46 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). 05:57:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:57:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:47 [ssh-agent] Looking for ssh-agent implementation... 05:57:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:47 $ docker exec 400862b9b1f63ed47e11e83c4d0baf3da512b6e047d2dc9737338d97d9ad89a1 ssh-agent 05:57:47 SSH_AUTH_SOCK=/tmp/ssh-A4FM3KppzxVp/agent.32 05:57:47 SSH_AGENT_PID=38 05:57:47 Running ssh-add (command line suppressed) 05:57:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-446@tmp/private_key_412299416704291621.key (/w/workspace/xfoundry_device-modbus-go_PR-446@tmp/private_key_412299416704291621.key) 05:57:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:47 + git tag --points-at HEAD [Pipeline] } 05:57:47 $ docker exec --env ******** --env ******** 400862b9b1f63ed47e11e83c4d0baf3da512b6e047d2dc9737338d97d9ad89a1 ssh-agent -k 05:57:47 unset SSH_AUTH_SOCK; 05:57:47 unset SSH_AGENT_PID; 05:57:47 echo Agent pid 38 killed; 05:57:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:57:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:48 [ssh-agent] Looking for ssh-agent implementation... 05:57:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:48 $ docker exec 400862b9b1f63ed47e11e83c4d0baf3da512b6e047d2dc9737338d97d9ad89a1 ssh-agent 05:57:48 SSH_AUTH_SOCK=/tmp/ssh-aNLUYk5m2srT/agent.70 05:57:48 SSH_AGENT_PID=76 05:57:48 Running ssh-add (command line suppressed) 05:57:48 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-446@tmp/private_key_7030324487519993938.key (/w/workspace/xfoundry_device-modbus-go_PR-446@tmp/private_key_7030324487519993938.key) 05:57:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:48 + git semver init 05:57:48 2023-03-27 05:57:48,865 [run_init] DEBUG init version:0.0.0 force:False 05:57:48 2023-03-27 05:57:48,866 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-446/.semver 05:57:48 2023-03-27 05:57:48,867 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-446/.semver 05:57:48 2023-03-27 05:57:48,867 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-446/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-446, universal_newlines=False, shell=None, istream=None) 05:57:49 2023-03-27 05:57:49,868 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-446/.git/info/exclude 05:57:49 2023-03-27 05:57:49,869 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-446/.semver/PR-446 with force:False 05:57:49 2023-03-27 05:57:49,869 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-446/.semver/PR-446 05:57:49 2023-03-27 05:57:49,873 [execute] INFO git cat-file --batch-check 05:57:49 2023-03-27 05:57:49,873 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-446/.semver, universal_newlines=False, shell=None, istream=) 05:57:49 2023-03-27 05:57:49,879 [execute] INFO git cat-file --batch 05:57:49 2023-03-27 05:57:49,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-446/.semver, universal_newlines=False, shell=None, istream=) 05:57:49 2023-03-27 05:57:49,884 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-446/.semver/PR-446 05:57:49 0.0.0 [Pipeline] } 05:57:50 $ docker exec --env ******** --env ******** 400862b9b1f63ed47e11e83c4d0baf3da512b6e047d2dc9737338d97d9ad89a1 ssh-agent -k 05:57:50 unset SSH_AUTH_SOCK; 05:57:50 unset SSH_AGENT_PID; 05:57:50 echo Agent pid 76 killed; 05:57:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:57:50 + git semver [Pipeline] } 05:57:50 $ docker stop --time=1 400862b9b1f63ed47e11e83c4d0baf3da512b6e047d2dc9737338d97d9ad89a1 05:57:52 $ docker rm -f --volumes 400862b9b1f63ed47e11e83c4d0baf3da512b6e047d2dc9737338d97d9ad89a1 [Pipeline] // withDockerContainer [Pipeline] sh 05:57:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:57:52 Stashed 1 file(s) [Pipeline] echo 05:57:52 [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 05:57:53 provisioning config files... 05:57:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-446@tmp/config15454863070754097184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:54 ---> docker-login.sh 05:57:54 nexus3.edgexfoundry.org:10001 05:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:54 Configure a credential helper to remove this warning. See 05:57:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:54 05:57:54 Login Succeeded 05:57:54 nexus3.edgexfoundry.org:10002 05:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:54 Configure a credential helper to remove this warning. See 05:57:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:54 05:57:54 Login Succeeded 05:57:54 nexus3.edgexfoundry.org:10003 05:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:54 Configure a credential helper to remove this warning. See 05:57:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:54 05:57:54 Login Succeeded 05:57:54 nexus3.edgexfoundry.org:10004 05:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:54 Configure a credential helper to remove this warning. See 05:57:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:54 05:57:54 Login Succeeded 05:57:54 docker.io 05:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:54 Configure a credential helper to remove this warning. See 05:57:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:54 05:57:54 Login Succeeded 05:57:54 ---> docker-login.sh ends [Pipeline] } 05:57:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:57:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:57:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:57:54 ========================================================= 05:57:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:57:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:55 + 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 . 05:57:55 Sending build context to Docker daemon 6.394MB 05:57:55 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:57:55 Step 2/10 : FROM ${BASE} AS builder 05:57:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:57:55 63b65145d645: Pulling fs layer 05:57:55 a2d21d5440eb: Pulling fs layer 05:57:55 935e6c44a52c: Pulling fs layer 05:57:55 94cc34f8dd06: Pulling fs layer 05:57:55 30dea6a524f1: Pulling fs layer 05:57:55 a2aff8979fd8: Pulling fs layer 05:57:55 94cc34f8dd06: Waiting 05:57:55 30dea6a524f1: Waiting 05:57:55 6808be2612f2: Pulling fs layer 05:57:55 f25807f1079a: Pulling fs layer 05:57:55 a2aff8979fd8: Waiting 05:57:55 a2d21d5440eb: Verifying Checksum 05:57:55 a2d21d5440eb: Download complete 05:57:55 94cc34f8dd06: Verifying Checksum 05:57:55 94cc34f8dd06: Download complete 05:57:55 30dea6a524f1: Verifying Checksum 05:57:55 30dea6a524f1: Download complete 05:57:55 63b65145d645: Verifying Checksum 05:57:55 63b65145d645: Download complete 05:57:55 a2aff8979fd8: Verifying Checksum 05:57:55 a2aff8979fd8: Download complete 05:57:55 63b65145d645: Pull complete 05:57:55 a2d21d5440eb: Pull complete 05:57:55 f25807f1079a: Verifying Checksum 05:57:55 f25807f1079a: Download complete 05:57:56 935e6c44a52c: Verifying Checksum 05:57:56 935e6c44a52c: Download complete 05:57:56 6808be2612f2: Verifying Checksum 05:57:56 6808be2612f2: Download complete 05:57:59 935e6c44a52c: Pull complete 05:57:59 94cc34f8dd06: Pull complete 05:57:59 30dea6a524f1: Pull complete 05:57:59 a2aff8979fd8: Pull complete 05:58:01 6808be2612f2: Pull complete 05:58:02 f25807f1079a: Pull complete 05:58:02 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:58:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:58:02 ---> 3b553350e43f 05:58:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:58:08 Still waiting to schedule task 05:58:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:58:09 ---> Running in 1f966cfcdab2 05:58:09 Removing intermediate container 1f966cfcdab2 05:58:09 ---> d196f5b0418c 05:58:09 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:09 ---> Running in d0a8e5aea9bb 05:58:09 Removing intermediate container d0a8e5aea9bb 05:58:09 ---> a283ea7c2472 05:58:09 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:58:09 ---> Running in 81e327a0532f 05:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:58:10 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:58:10 (2/8) Installing libedit (20221030.3.1-r0) 05:58:10 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:58:10 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:58:10 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:58:10 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:58:10 (7/8) Installing openssh-server (9.1_p1-r2) 05:58:10 (8/8) Installing openssh (9.1_p1-r2) 05:58:10 Executing busybox-1.35.0-r29.trigger 05:58:10 OK: 270 MiB in 61 packages 05:58:11 Removing intermediate container 81e327a0532f 05:58:11 ---> 541a7cb9053a 05:58:11 Step 6/10 : WORKDIR /device-modbus-go 05:58:11 ---> Running in 4ab60e1fa0ab 05:58:11 Removing intermediate container 4ab60e1fa0ab 05:58:11 ---> 07588ad37602 05:58:11 Step 7/10 : COPY go.mod vendor* ./ 05:58:11 ---> b6204e79938c 05:58:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:11 ---> Running in ce43a74eb228 05:58:58 Removing intermediate container ce43a74eb228 05:58:58 ---> ceb78120e9a2 05:58:58 Step 9/10 : COPY . . 05:58:58 ---> 02c593fd6a45 05:58:58 Step 10/10 : RUN ${MAKE} 05:58:58 ---> Running in c79c3bf877fb 05:58:58 noop 05:58:58 Removing intermediate container c79c3bf877fb 05:58:58 ---> a71e5ce8cf95 05:58:58 Successfully built a71e5ce8cf95 05:58:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:58 + docker inspect -f . ci-base-image-x86_64 05:58:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:58 prd-ubuntu20.04-docker-8c-8g-5889 does not seem to be running inside a container 05:58:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-446 -v /w/workspace/xfoundry_device-modbus-go_PR-446:/w/workspace/xfoundry_device-modbus-go_PR-446:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-446@tmp:/w/workspace/xfoundry_device-modbus-go_PR-446@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:58:59 $ docker top bdcb23107362d98df3eb74a48199f80cc9f5d56cb3604aa8986ec92698b8d452 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:59 + go version 05:58:59 go version go1.20.2 linux/amd64 [Pipeline] } 05:58:59 $ docker stop --time=1 bdcb23107362d98df3eb74a48199f80cc9f5d56cb3604aa8986ec92698b8d452 05:59:00 $ docker rm -f --volumes bdcb23107362d98df3eb74a48199f80cc9f5d56cb3604aa8986ec92698b8d452 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:01 + docker inspect -f . ci-base-image-x86_64 05:59:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:01 prd-ubuntu20.04-docker-8c-8g-5889 does not seem to be running inside a container 05:59:01 $ 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-446 -v /w/workspace/xfoundry_device-modbus-go_PR-446:/w/workspace/xfoundry_device-modbus-go_PR-446:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-446@tmp:/w/workspace/xfoundry_device-modbus-go_PR-446@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:02 $ docker top cc3869b8c1d3e1a91ebe30a239cd0705af6489242257cba4809f0b10d8b022b9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:02 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-446 [Pipeline] fileExists [Pipeline] sh 05:59:02 + make test 05:59:02 go test ./... -coverprofile=coverage.out 05:59:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:59:16 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:59:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements 05:59:23 go vet ./... 05:59:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:59:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:59:26 ./bin/test-attribution-txt.sh [Pipeline] echo 05:59:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:59:26 $ docker stop --time=1 cc3869b8c1d3e1a91ebe30a239cd0705af6489242257cba4809f0b10d8b022b9 05:59:30 $ docker rm -f --volumes cc3869b8c1d3e1a91ebe30a239cd0705af6489242257cba4809f0b10d8b022b9 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:59:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:31 + ls -al . 05:59:31 total 180 05:59:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 27 05:59 . 05:59:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 05:57 .. 05:59:31 -rw-rw-r-- 1 jenkins jenkins 140 Mar 27 05:57 .dockerignore 05:59:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 05:57 .git 05:59:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 05:57 .github 05:59:31 -rw-rw-r-- 1 jenkins jenkins 331 Mar 27 05:57 .gitignore 05:59:31 -rw-rw-r-- 1 jenkins jenkins 41 Mar 27 05:57 .golangci.yml 05:59:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 05:57 .semver 05:59:31 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 27 05:57 Attribution.txt 05:59:31 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 27 05:57 CHANGELOG.md 05:59:31 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 27 05:57 Dockerfile 05:59:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 27 05:57 GOVERNANCE.md 05:59:31 -rw-rw-r-- 1 jenkins jenkins 680 Mar 27 05:57 Jenkinsfile 05:59:31 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 27 05:57 LICENSE 05:59:31 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 27 05:57 Makefile 05:59:31 -rw-rw-r-- 1 jenkins jenkins 622 Mar 27 05:57 OWNERS.md 05:59:31 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 27 05:57 README.md 05:59:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 05:57 VERSION 05:59:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 05:57 bin 05:59:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 05:57 cmd 05:59:31 -rw-r--r-- 1 jenkins jenkins 23739 Mar 27 05:59 coverage.out 05:59:31 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 27 05:57 go.mod 05:59:31 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 27 05:57 go.sum 05:59:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 05:57 internal 05:59:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 05:57 simulator 05:59:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 05:57 snap 05:59:31 -rw-rw-r-- 1 jenkins jenkins 229 Mar 27 05:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:32 + 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=b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 --label arch=amd64 --label version=0.0.0 . 05:59:32 Sending build context to Docker daemon 6.418MB 05:59:32 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:59:32 Step 2/22 : FROM ${BASE} AS builder 05:59:32 ---> a71e5ce8cf95 05:59:32 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:59:32 ---> Running in 9d25807b0059 05:59:32 Removing intermediate container 9d25807b0059 05:59:32 ---> 4c2a905f7ca0 05:59:32 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:32 ---> Running in 80b92313db24 05:59:32 Removing intermediate container 80b92313db24 05:59:32 ---> 5283d5b79ce4 05:59:32 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:59:32 ---> Running in e272fee7487b 05:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:33 OK: 270 MiB in 61 packages 05:59:33 Removing intermediate container e272fee7487b 05:59:33 ---> b457565bd03c 05:59:33 Step 6/22 : WORKDIR /device-modbus-go 05:59:33 ---> Running in 920dae1ce86f 05:59:33 Removing intermediate container 920dae1ce86f 05:59:33 ---> bd3c4292ad31 05:59:33 Step 7/22 : COPY go.mod vendor* ./ 05:59:33 ---> 63eeb1cbe9a1 05:59:33 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:33 ---> Running in b47d503a0dac 05:59:34 Removing intermediate container b47d503a0dac 05:59:34 ---> 09c2ee7ac696 05:59:34 Step 9/22 : COPY . . 05:59:34 ---> 446755d19409 05:59:34 Step 10/22 : RUN ${MAKE} 05:59:34 ---> Running in 2a90cca93bc3 05:59:35 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 05:59:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5893 in /w/workspace/xfoundry_device-modbus-go_PR-446 [Pipeline] { [Pipeline] ws 05:59:38 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:59:39 Selected Git installation does not exist. Using Default 05:59:39 The recommended git tool is: NONE 05:59:45 using credential edgex-jenkins-ssh 05:59:45 Cloning the remote Git repository 05:59:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:59:45 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:59:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:59:45 > git --version # timeout=10 05:59:45 > git --version # 'git version 2.25.1' 05:59:45 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:46 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:59:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:48 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 05:59:48 Merge succeeded, producing b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 05:59:48 Checking out Revision b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 (PR-446) 05:59:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:59:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:59:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/446/head:refs/remotes/origin/PR-446 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:59:48 > git config core.sparsecheckout # timeout=10 05:59:48 > git checkout -f b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 # timeout=10 05:59:48 > git remote # timeout=10 05:59:48 > git config --get remote.origin.url # timeout=10 05:59:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:48 > git merge 63f56b440389908500f57809a79af5893e194475 # timeout=10 05:59:48 > git rev-parse HEAD^{commit} # timeout=10 05:59:48 > git config core.sparsecheckout # timeout=10 05:59:48 > git checkout -f b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 # timeout=10 05:59:49 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:59:49 > git --version # timeout=10 05:59:49 > git --version # 'git version 2.25.1' 05:59:49 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:59:50 % Total % Received % Xferd Average Speed Time Time Time Current 05:59:50 Dload Upload Total Spent Left Speed 05:59:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 05:59:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:59:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:59:51 + sudo tee /etc/docker/daemon.new 05:59:51 { 05:59:51 "registry-mirrors": [ 05:59:51 "https://nexus3.edgexfoundry.org:10001" 05:59:51 ], 05:59:51 "bip": "10.250.0.254/24", 05:59:51 "hosts": [ 05:59:51 "tcp://0.0.0.0:5555", 05:59:51 "unix:///var/run/docker.sock" 05:59:51 ], 05:59:51 "mtu": 1458, 05:59:51 "selinux-enabled": true, 05:59:51 "seccomp-profile": "/etc/docker/seccomp.json" 05:59:51 } [Pipeline] sh 05:59:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:59:52 + sudo service docker restart 05:59:53 Removing intermediate container 2a90cca93bc3 05:59:53 ---> 60b170858e36 05:59:53 Step 11/22 : FROM alpine:3.17 05:59:53 3.17: Pulling from library/alpine 05:59:53 63b65145d645: Already exists 05:59:53 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 05:59:53 Status: Downloaded newer image for alpine:3.17 05:59:53 ---> b2aa39c304c2 05:59:53 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:59:53 ---> Running in 3b85830fdbe6 05:59:53 Removing intermediate container 3b85830fdbe6 05:59:53 ---> f741da2bbcbe 05:59:53 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:59:53 ---> Running in caa6a0fe762a 05:59:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:53 (1/1) Installing dumb-init (1.2.5-r2) 05:59:53 Executing busybox-1.35.0-r29.trigger 05:59:53 OK: 7 MiB in 16 packages 05:59:53 Removing intermediate container caa6a0fe762a 05:59:53 ---> 25194d7a0693 05:59:53 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:59:54 ---> c6350bc480bf 05:59:54 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:59:54 ---> efa143adff2e 05:59:54 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:59:54 ---> 2bb0a9428965 05:59:54 Step 17/22 : EXPOSE 59901 05:59:54 ---> Running in 111b0927ba7c 05:59:54 Removing intermediate container 111b0927ba7c 05:59:54 ---> f13e7ffa62b3 05:59:54 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:59:54 ---> Running in 3913ce1bd2d9 05:59:54 Removing intermediate container 3913ce1bd2d9 05:59:54 ---> 86cfbc24c755 05:59:54 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:59:54 ---> Running in 46054543b4b0 05:59:54 Removing intermediate container 46054543b4b0 05:59:54 ---> 496ac056d783 05:59:54 Step 20/22 : LABEL arch=amd64 05:59:54 ---> Running in d47a59764606 05:59:54 Removing intermediate container d47a59764606 05:59:54 ---> d42a5a851f1c 05:59:54 Step 21/22 : LABEL git_sha=b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 05:59:54 ---> Running in 7058a769f463 05:59:55 Removing intermediate container 7058a769f463 05:59:55 ---> 50d7f2b2cc54 05:59:55 Step 22/22 : LABEL version=0.0.0 05:59:55 ---> Running in 78b917ab8933 05:59:55 Removing intermediate container 78b917ab8933 05:59:55 ---> ec518b124934 05:59:55 [Warning] One or more build-args [ARCH] were not consumed 05:59:55 Successfully built ec518b124934 05:59:55 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 05:59:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:59:56 05:59:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:59:56 latest: Pulling from edgex-lftools-log-publisher 05:59:56 5eb5b503b376: Pulling fs layer 05:59:56 5c69ac0246d0: Pulling fs layer 05:59:56 ec43610c2a17: Pulling fs layer 05:59:56 3a2ae6a8a46f: Pulling fs layer 05:59:56 33b1e0a273af: Pulling fs layer 05:59:56 5d3b04190fa2: Pulling fs layer 05:59:56 2f39f015ded8: Pulling fs layer 05:59:56 33b1e0a273af: Waiting 05:59:56 3a2ae6a8a46f: Waiting 05:59:56 2f39f015ded8: Waiting 05:59:56 5d3b04190fa2: Waiting 05:59:56 5c69ac0246d0: Download complete 05:59:56 3a2ae6a8a46f: Download complete 05:59:56 33b1e0a273af: Verifying Checksum 05:59:56 33b1e0a273af: Download complete 05:59:56 5d3b04190fa2: Verifying Checksum 05:59:56 5d3b04190fa2: Download complete 05:59:56 ec43610c2a17: Verifying Checksum 05:59:56 ec43610c2a17: Download complete 05:59:56 5eb5b503b376: Verifying Checksum 05:59:56 5eb5b503b376: Download complete 05:59:57 2f39f015ded8: Download complete 05:59:57 5eb5b503b376: Pull complete 05:59:57 5c69ac0246d0: Pull complete 05:59:58 ec43610c2a17: Pull complete 05:59:58 3a2ae6a8a46f: Pull complete 05:59:58 33b1e0a273af: Pull complete 05:59:58 5d3b04190fa2: Pull complete 06:00:02 2f39f015ded8: Pull complete 06:00:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:03 prd-ubuntu20.04-docker-8c-8g-5889 does not seem to be running inside a container 06:00:03 $ 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-446 -v /w/workspace/xfoundry_device-modbus-go_PR-446:/w/workspace/xfoundry_device-modbus-go_PR-446:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-446@tmp:/w/workspace/xfoundry_device-modbus-go_PR-446@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 06:00:06 $ docker top bb84192cde5961b3bc00ad7dd796694d5a0cf8f4e228545e7eab277ef569def1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:07 ---> job-cost.sh 06:00:07 lf-activate-venv: SKIPPING 06:00:07 INFO: No Stack... 06:00:07 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:07 INFO: Archiving Costs [Pipeline] sh 06:00:08 + cat /w/workspace/xfoundry_device-modbus-go_PR-446/archives/cost.csv 06:00:08 + cut -d, -f6 [Pipeline] lock 06:00:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-446-1-stack-cost] 06:00:08 Resource [jenkins-edgexfoundry-device-modbus-go-PR-446-1-stack-cost] did not exist. Created. 06:00:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-446-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:08 + echo total: 0.4399999976158142 [Pipeline] stash 06:00:08 Stashed 1 file(s) [Pipeline] } 06:00:08 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-446-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:08 $ docker stop --time=1 bb84192cde5961b3bc00ad7dd796694d5a0cf8f4e228545e7eab277ef569def1 06:00:09 $ docker rm -f --volumes bb84192cde5961b3bc00ad7dd796694d5a0cf8f4e228545e7eab277ef569def1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:10 provisioning config files... 06:00:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5492703006929579496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:10 ---> docker-login.sh 06:00:10 nexus3.edgexfoundry.org:10001 06:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:11 Configure a credential helper to remove this warning. See 06:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:11 06:00:11 Login Succeeded 06:00:11 nexus3.edgexfoundry.org:10002 06:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:11 Configure a credential helper to remove this warning. See 06:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:11 06:00:11 Login Succeeded 06:00:11 nexus3.edgexfoundry.org:10003 06:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:12 Configure a credential helper to remove this warning. See 06:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:12 06:00:12 Login Succeeded 06:00:12 nexus3.edgexfoundry.org:10004 06:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:12 Configure a credential helper to remove this warning. See 06:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:12 06:00:12 Login Succeeded 06:00:12 docker.io 06:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:13 Configure a credential helper to remove this warning. See 06:00:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:13 06:00:13 Login Succeeded 06:00:13 ---> docker-login.sh ends [Pipeline] } 06:00:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:13 ========================================================= 06:00:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:00:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:14 + 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 . 06:00:14 Sending build context to Docker daemon 3.336MB 06:00:14 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:00:14 Step 2/10 : FROM ${BASE} AS builder 06:00:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:00:14 af6eaf76a39c: Pulling fs layer 06:00:14 55522c791124: Pulling fs layer 06:00:14 ce5c4a1c91eb: Pulling fs layer 06:00:14 169dfbe0d373: Pulling fs layer 06:00:14 e1ff8fa3b103: Pulling fs layer 06:00:14 52ebb69f0ebf: Pulling fs layer 06:00:14 5abe8eddf0d5: Pulling fs layer 06:00:14 169dfbe0d373: Waiting 06:00:14 e1ff8fa3b103: Waiting 06:00:14 52ebb69f0ebf: Waiting 06:00:14 5abe8eddf0d5: Waiting 06:00:14 55522c791124: Verifying Checksum 06:00:14 55522c791124: Download complete 06:00:14 169dfbe0d373: Download complete 06:00:14 e1ff8fa3b103: Verifying Checksum 06:00:14 e1ff8fa3b103: Download complete 06:00:14 af6eaf76a39c: Verifying Checksum 06:00:14 af6eaf76a39c: Download complete 06:00:15 af6eaf76a39c: Pull complete 06:00:15 5abe8eddf0d5: Verifying Checksum 06:00:15 5abe8eddf0d5: Download complete 06:00:16 55522c791124: Pull complete 06:00:17 ce5c4a1c91eb: Verifying Checksum 06:00:17 ce5c4a1c91eb: Download complete 06:00:17 52ebb69f0ebf: Verifying Checksum 06:00:17 52ebb69f0ebf: Download complete 06:00:29 ce5c4a1c91eb: Pull complete 06:00:29 169dfbe0d373: Pull complete 06:00:29 e1ff8fa3b103: Pull complete 06:00:35 52ebb69f0ebf: Pull complete 06:00:37 5abe8eddf0d5: Pull complete 06:00:37 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:00:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:00:37 ---> 6cb57ee374ae 06:00:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:00:38 ---> Running in 7fe768325dc7 06:00:39 Removing intermediate container 7fe768325dc7 06:00:39 ---> 756a925b90fd 06:00:39 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:39 ---> Running in 99a61b850b89 06:00:39 Removing intermediate container 99a61b850b89 06:00:39 ---> 1bbf605333f3 06:00:39 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:00:39 ---> Running in ef8a323be2eb 06:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:00:42 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:00:42 (2/8) Installing libedit (20221030.3.1-r0) 06:00:42 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:00:42 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:00:42 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:00:42 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:00:42 (7/8) Installing openssh-server (9.1_p1-r2) 06:00:42 (8/8) Installing openssh (9.1_p1-r2) 06:00:42 Executing busybox-1.35.0-r29.trigger 06:00:42 OK: 270 MiB in 61 packages 06:00:43 Removing intermediate container ef8a323be2eb 06:00:43 ---> 026649a9c821 06:00:43 Step 6/10 : WORKDIR /device-modbus-go 06:00:43 ---> Running in 28344e29b4ef 06:00:44 Removing intermediate container 28344e29b4ef 06:00:44 ---> 44a3f5afae1a 06:00:44 Step 7/10 : COPY go.mod vendor* ./ 06:00:44 ---> 1983bfe65eb2 06:00:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:44 ---> Running in b09ac14e7743 06:01:52 Removing intermediate container b09ac14e7743 06:01:52 ---> dd9cec529848 06:01:52 Step 9/10 : COPY . . 06:01:52 ---> f8b48f435edb 06:01:52 Step 10/10 : RUN ${MAKE} 06:01:52 ---> Running in 3e0f0baa03dd 06:01:52 noop 06:01:52 Removing intermediate container 3e0f0baa03dd 06:01:52 ---> 15dd499d4745 06:01:52 Successfully built 15dd499d4745 06:01:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:53 + docker inspect -f . ci-base-image-arm64 06:01:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:53 prd-ubuntu20.04-docker-arm64-4c-16g-5893 does not seem to be running inside a container 06:01:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:01:54 $ docker top bc21c160270bb04a8999ecb85bdd0686000fd77251138deaa40944d6211292a5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:55 + go version 06:01:55 go version go1.20.2 linux/arm64 [Pipeline] } 06:01:55 $ docker stop --time=1 bc21c160270bb04a8999ecb85bdd0686000fd77251138deaa40944d6211292a5 06:01:57 $ docker rm -f --volumes bc21c160270bb04a8999ecb85bdd0686000fd77251138deaa40944d6211292a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:58 + docker inspect -f . ci-base-image-arm64 06:01:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:59 prd-ubuntu20.04-docker-arm64-4c-16g-5893 does not seem to be running inside a container 06:01:59 $ 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 ******** ci-base-image-arm64 cat 06:02:00 $ docker top dc16cc4cb828a3041e70a5e4db9bb7174e34fd5c92411294f25bc737f032c6c7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:01 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:02:01 + make test 06:02:01 go test ./... -coverprofile=coverage.out 06:02:33 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:04:25 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:04:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 48.0% of statements 06:04:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:04:26 go vet ./... 06:05:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:05 ./bin/test-attribution-txt.sh [Pipeline] echo 06:05:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:05:05 $ docker stop --time=1 dc16cc4cb828a3041e70a5e4db9bb7174e34fd5c92411294f25bc737f032c6c7 06:05:07 $ docker rm -f --volumes dc16cc4cb828a3041e70a5e4db9bb7174e34fd5c92411294f25bc737f032c6c7 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:08 Warning: overwriting stash ‘coverage-report’ 06:05:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:10 + ls -al . 06:05:10 total 176 06:05:10 drwxrwxr-x 9 jenkins jenkins 4096 Mar 27 06:02 . 06:05:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 05:59 .. 06:05:10 -rw-rw-r-- 1 jenkins jenkins 140 Mar 27 05:59 .dockerignore 06:05:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 05:59 .git 06:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 05:59 .github 06:05:10 -rw-rw-r-- 1 jenkins jenkins 331 Mar 27 05:59 .gitignore 06:05:10 -rw-rw-r-- 1 jenkins jenkins 41 Mar 27 05:59 .golangci.yml 06:05:10 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 27 05:59 Attribution.txt 06:05:10 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 27 05:59 CHANGELOG.md 06:05:10 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 27 05:59 Dockerfile 06:05:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 27 05:59 GOVERNANCE.md 06:05:10 -rw-rw-r-- 1 jenkins jenkins 680 Mar 27 05:59 Jenkinsfile 06:05:10 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 27 05:59 LICENSE 06:05:10 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 27 05:59 Makefile 06:05:10 -rw-rw-r-- 1 jenkins jenkins 622 Mar 27 05:59 OWNERS.md 06:05:10 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 27 05:59 README.md 06:05:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 05:57 VERSION 06:05:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 05:59 bin 06:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 05:59 cmd 06:05:10 -rw-r--r-- 1 jenkins jenkins 23739 Mar 27 06:04 coverage.out 06:05:10 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 27 05:59 go.mod 06:05:10 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 27 05:59 go.sum 06:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 05:59 internal 06:05:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 05:59 simulator 06:05:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 05:59 snap 06:05:10 -rw-rw-r-- 1 jenkins jenkins 229 Mar 27 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:10 + 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=b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 --label arch=arm64 --label version=0.0.0 . 06:05:11 Sending build context to Docker daemon 3.361MB 06:05:11 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:05:11 Step 2/22 : FROM ${BASE} AS builder 06:05:11 ---> 15dd499d4745 06:05:11 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:05:12 ---> Running in 1d8543ffc961 06:05:12 Removing intermediate container 1d8543ffc961 06:05:12 ---> 5e16ead67dea 06:05:12 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:12 ---> Running in 70f8d550490e 06:05:12 Removing intermediate container 70f8d550490e 06:05:12 ---> 4a6c92f1e790 06:05:12 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:05:12 ---> Running in 60db0283f491 06:05:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:05:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:05:15 OK: 270 MiB in 61 packages 06:05:17 Removing intermediate container 60db0283f491 06:05:17 ---> 34479e299bd9 06:05:17 Step 6/22 : WORKDIR /device-modbus-go 06:05:17 ---> Running in 97adaf0f561f 06:05:17 Removing intermediate container 97adaf0f561f 06:05:17 ---> dadd490b08eb 06:05:17 Step 7/22 : COPY go.mod vendor* ./ 06:05:17 ---> a31423b01600 06:05:17 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:18 ---> Running in a89743a1e29b 06:05:20 Removing intermediate container a89743a1e29b 06:05:20 ---> b291e837d8ee 06:05:20 Step 9/22 : COPY . . 06:05:21 ---> b02384b53a78 06:05:21 Step 10/22 : RUN ${MAKE} 06:05:21 ---> Running in 190f3918ba66 06:05:22 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 06:07:44 Removing intermediate container 190f3918ba66 06:07:44 ---> fa471a767852 06:07:44 Step 11/22 : FROM alpine:3.17 06:07:44 3.17: Pulling from library/alpine 06:07:44 af6eaf76a39c: Already exists 06:07:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:07:44 Status: Downloaded newer image for alpine:3.17 06:07:44 ---> d74e625d9115 06:07:44 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:07:44 ---> Running in 29c6bd0f166b 06:07:44 Removing intermediate container 29c6bd0f166b 06:07:44 ---> cc9c1e567771 06:07:44 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:07:44 ---> Running in 8091e8d9ba1b 06:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:07:44 (1/1) Installing dumb-init (1.2.5-r2) 06:07:44 Executing busybox-1.35.0-r29.trigger 06:07:44 OK: 8 MiB in 16 packages 06:07:44 Removing intermediate container 8091e8d9ba1b 06:07:44 ---> 4b0317ee4f42 06:07:44 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:07:44 ---> 50c061467905 06:07:44 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:07:44 ---> dc3e4cebd78a 06:07:44 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:07:44 ---> 506ad2e0219a 06:07:44 Step 17/22 : EXPOSE 59901 06:07:44 ---> Running in a5f7a9d8fc85 06:07:44 Removing intermediate container a5f7a9d8fc85 06:07:44 ---> 0121355f5464 06:07:44 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:07:44 ---> Running in 4caeb425c521 06:07:44 Removing intermediate container 4caeb425c521 06:07:44 ---> 28f85eba37a5 06:07:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:07:44 ---> Running in ea78e15cd52a 06:07:44 Removing intermediate container ea78e15cd52a 06:07:44 ---> e9b6a9cf6a9e 06:07:44 Step 20/22 : LABEL arch=arm64 06:07:44 ---> Running in fb8451b85f70 06:07:44 Removing intermediate container fb8451b85f70 06:07:44 ---> ca88a363864e 06:07:44 Step 21/22 : LABEL git_sha=b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 06:07:44 ---> Running in a113b666318a 06:07:44 Removing intermediate container a113b666318a 06:07:44 ---> 8707d4932da5 06:07:44 Step 22/22 : LABEL version=0.0.0 06:07:44 ---> Running in 00b37d1e0819 06:07:44 Removing intermediate container 00b37d1e0819 06:07:44 ---> d178b94d524d 06:07:44 [Warning] One or more build-args [ARCH] were not consumed 06:07:44 Successfully built d178b94d524d 06:07:44 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 06:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:07:45 06:07:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:07:45 arm64: Pulling from edgex-lftools-log-publisher 06:07:45 8998bd30e6a1: Pulling fs layer 06:07:45 04944245beec: Pulling fs layer 06:07:45 699f458cf7ca: Pulling fs layer 06:07:45 765212b225bb: Pulling fs layer 06:07:45 f23df028b6ca: Pulling fs layer 06:07:45 d65c8cfc05b1: Pulling fs layer 06:07:45 2437ff75d9bd: Pulling fs layer 06:07:45 765212b225bb: Waiting 06:07:45 f23df028b6ca: Waiting 06:07:45 d65c8cfc05b1: Waiting 06:07:45 2437ff75d9bd: Waiting 06:07:45 04944245beec: Verifying Checksum 06:07:45 04944245beec: Download complete 06:07:45 765212b225bb: Verifying Checksum 06:07:45 765212b225bb: Download complete 06:07:45 f23df028b6ca: Verifying Checksum 06:07:45 f23df028b6ca: Download complete 06:07:45 d65c8cfc05b1: Verifying Checksum 06:07:45 d65c8cfc05b1: Download complete 06:07:45 699f458cf7ca: Verifying Checksum 06:07:45 699f458cf7ca: Download complete 06:07:46 8998bd30e6a1: Verifying Checksum 06:07:46 8998bd30e6a1: Download complete 06:07:48 2437ff75d9bd: Verifying Checksum 06:07:48 2437ff75d9bd: Download complete 06:07:50 8998bd30e6a1: Pull complete 06:07:50 04944245beec: Pull complete 06:07:52 699f458cf7ca: Pull complete 06:07:52 765212b225bb: Pull complete 06:07:53 f23df028b6ca: Pull complete 06:07:53 d65c8cfc05b1: Pull complete 06:08:08 2437ff75d9bd: Pull complete 06:08:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:08 prd-ubuntu20.04-docker-arm64-4c-16g-5893 does not seem to be running inside a container 06:08:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:08:11 $ docker top 2c4548a676927a6b01395792a4a9aa597ec5eaccdbaf503adfa77647b6580fcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:12 ---> job-cost.sh 06:08:12 lf-activate-venv: SKIPPING 06:08:12 INFO: No Stack... 06:08:12 INFO: Retrieving Pricing Info for: v3-standard-4 06:08:13 INFO: Archiving Costs [Pipeline] sh 06:08:14 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:08:14 + cut -d, -f6 [Pipeline] lock 06:08:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-446-1-stack-cost] 06:08:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-446-1-stack-cost] did not exist. Created. 06:08:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-446-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:08:15 /w/workspace/device-modbus-go/1@tmp/durable-54b56d53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:08:15 + echo total: 0.10999999940395355 [Pipeline] stash 06:08:15 Warning: overwriting stash ‘stack-cost’ 06:08:15 Stashed 1 file(s) [Pipeline] } 06:08:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-446-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:08:15 $ docker stop --time=1 2c4548a676927a6b01395792a4a9aa597ec5eaccdbaf503adfa77647b6580fcf 06:08:17 $ docker rm -f --volumes 2c4548a676927a6b01395792a4a9aa597ec5eaccdbaf503adfa77647b6580fcf [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 06:08:19 provisioning config files... 06:08:19 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-446@tmp/config498609124145433467tmp [Pipeline] { [Pipeline] sh 06:08:19 + set +x 06:08:19 + curl -s https://codecov.io/bash 06:08:19 + bash -s -- 06:08:19 06:08:19 _____ _ 06:08:19 / ____| | | 06:08:19 | | ___ __| | ___ ___ _____ __ 06:08:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:08:19 | |___| (_) | (_| | __/ (_| (_) \ V / 06:08:19 \_____\___/ \__,_|\___|\___\___/ \_/ 06:08:19 Bash-1.0.6 06:08:19 06:08:19 06:08:19 ==> git version 2.25.1 found 06:08:19 ==> 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 06:08:19 Release-Date: 2020-01-08 06:08:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:08:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:08:19 ==> Jenkins CI detected. 06:08:19 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-446 06:08:19 project root: . 06:08:19 --> token set from env 06:08:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:08:19 ==> Running gcov in . (disable via -X gcov) 06:08:19 ==> Python coveragepy not found 06:08:19 ==> Searching for coverage reports in: 06:08:19 + . 06:08:19 -> Found 1 reports 06:08:19 ==> Detecting git/mercurial file structure 06:08:19 ==> Reading reports 06:08:19 + ./coverage.out bytes=23739 06:08:19 ==> Appending adjustments 06:08:19 https://docs.codecov.io/docs/fixing-reports 06:08:19 + Found adjustments 06:08:19 ==> Gzipping contents 06:08:19 4.0K /tmp/codecov.OUsNxp.gz 06:08:19 ==> Uploading reports 06:08:19 url: https://codecov.io 06:08:19 query: branch=PR-446&commit=b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=446&job=&cmd_args= 06:08:19 -> Pinging Codecov 06:08:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-446&commit=b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=446&job=&cmd_args= 06:08:19 -> Uploading to 06:08:19 https://storage.googleapis.com/codecov/v4/raw/2023-03-27/55DBCA73C666E3227836607328DD7E49/b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8/57b367f0-a7ee-4876-a9f1-302217f561a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230327%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230327T060819Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5d2b2f0dd8a96da6fb4cc50ecf2726814fd86a279e22a3bcb9f666ddf37210a 06:08:19 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:19 Dload Upload Total Spent Left Speed 06:08:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3902 0 0 100 3902 0 16258 --:--:-- --:--:-- --:--:-- 16258 06:08:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b68c9a73cbdf8d16de50bd2aaa1d39f68c5cbea8 [Pipeline] } 06:08:20 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 06:08:22 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-446/archives ] 06:08:22 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-446/archives 06:08:22 total 16 06:08:22 drwxr-xr-x 3 root root 4096 Mar 27 06:00 . 06:08:22 drwxrwxr-x 11 jenkins jenkins 4096 Mar 27 06:00 .. 06:08:22 drwxr-xr-x 2 root root 4096 Mar 27 06:00 cost 06:08:22 -rw-r--r-- 1 root root 89 Mar 27 06:00 cost.csv 06:08:22 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-446/archives 06:08:22 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-446/archives 06:08:22 total 16 06:08:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 06:00 . 06:08:22 drwxrwxr-x 11 jenkins jenkins 4096 Mar 27 06:00 .. 06:08:22 drwxr-xr-x 2 jenkins jenkins 4096 Mar 27 06:00 cost 06:08:22 -rw-r--r-- 1 jenkins jenkins 89 Mar 27 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:08:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:08:23 ---> package-listing.sh 06:08:23 ++ facter osfamily 06:08:23 ++ tr '[:upper:]' '[:lower:]' 06:08:23 + OS_FAMILY=debian 06:08:23 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-446 06:08:23 + START_PACKAGES=/tmp/packages_start.txt 06:08:23 + END_PACKAGES=/tmp/packages_end.txt 06:08:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:08:23 + PACKAGES=/tmp/packages_start.txt 06:08:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-446 ']' 06:08:23 + PACKAGES=/tmp/packages_end.txt 06:08:23 + case "${OS_FAMILY}" in 06:08:23 + dpkg -l 06:08:23 + grep '^ii' 06:08:23 + '[' -f /tmp/packages_start.txt ']' 06:08:23 + '[' -f /tmp/packages_end.txt ']' 06:08:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:08:23 + '[' /w/workspace/xfoundry_device-modbus-go_PR-446 ']' 06:08:23 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-446/archives/ 06:08:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-446/archives/ [Pipeline] echo 06:08:23 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-446/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:08:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:25 prd-ubuntu20.04-docker-8c-8g-5889 does not seem to be running inside a container 06:08:25 $ 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-446/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-446 -v /w/workspace/xfoundry_device-modbus-go_PR-446:/w/workspace/xfoundry_device-modbus-go_PR-446:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-446@tmp:/w/workspace/xfoundry_device-modbus-go_PR-446@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:08:25 $ docker top bba413235f5407bc870dd84162dc8d790ba9a23945a2abb057b308eca1e76221 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:25 + touch /tmp/pre-build-complete [Pipeline] sh 06:08:26 + mkdir -p /var/log/sysstat [Pipeline] sh 06:08:26 + ls /var/log/sa-host 06:08:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:26 provisioning config files... 06:08:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-446@tmp/config13854172680428204674tmp [Pipeline] { [Pipeline] echo 06:08:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:08:26 ---> create-netrc.sh [Pipeline] } 06:08:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:08:27 ---> python-tools-install.sh [Pipeline] echo 06:08:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:08:28 ---> sudo-logs.sh 06:08:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:08:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:08:28 ---> job-cost.sh 06:08:28 lf-activate-venv: SKIPPING 06:08:28 DEBUG: total: 0.4399999976158142 06:08:28 INFO: Retrieving Stack Cost... 06:08:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:08:29 INFO: Archiving Costs [Pipeline] echo 06:08:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:08:29 ---> logs-deploy.sh 06:08:29 lf-activate-venv: SKIPPING 06:08:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-446/1 06:08:29 INFO: archiving workspace using pattern(s): 06:08:30 Archives upload complete. 06:08:30 INFO: archiving logs to Nexus