Pull request #433 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32d5719929c84471dcc533a38befc2130b2951d8+d976059f8bfb405a00b06a9502768812e8b859e1 (d83fcdbe46c24228c0a8773f64f1da553c0f31dd) 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-ssh3537398309126151597.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-ssh5699599839148003710.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-433/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-433/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3716073696260586150.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-433/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15616270451054930306.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-ssh13835865084299629625.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-433/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-433/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15126450034921785368.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4344 in /w/workspace/xfoundry_device-modbus-go_PR-433 [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-433 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/433/head:refs/remotes/origin/PR-433 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d976059f8bfb405a00b06a9502768812e8b859e1 into PR head commit 32d5719929c84471dcc533a38befc2130b2951d8 Merge succeeded, producing 32d5719929c84471dcc533a38befc2130b2951d8 Checking out Revision 32d5719929c84471dcc533a38befc2130b2951d8 (PR-433) 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 06:00:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:09 ========================================================= 06:00:09 EdgeX Global Pipelines Version Info 06:00:09 ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f 32d5719929c84471dcc533a38befc2130b2951d8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d976059f8bfb405a00b06a9502768812e8b859e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32d5719929c84471dcc533a38befc2130b2951d8 # timeout=10 [Pipeline] sh 06:00:10 ------------------- 06:00:10 stable info: 06:00:10 ------------------- 06:00:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:00:10 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 06:00:10 Message: update stable to v1.0.245 06:00:11 ------------------- 06:00:11 experimental info: 06:00:11 ------------------- 06:00:11 Commited By: **** collab-it+edgex@linuxfoundation.org 06:00:11 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 06:00:11 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-433 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-433 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-433 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32d5719929c84471dcc533a38befc2130b2951d8 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32d5719 [Pipeline] echo 06:00:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:12 provisioning config files... 06:00:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-433@tmp/config9429893580204120921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:13 ---> docker-login.sh 06:00:13 nexus3.edgexfoundry.org:10001 06:00:13 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 nexus3.edgexfoundry.org:10002 06:00:13 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 nexus3.edgexfoundry.org:10003 06:00:13 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 nexus3.edgexfoundry.org:10004 06:00:13 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.io 06:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 ---> docker-login.sh ends [Pipeline] } 06:00:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:15 + git rev-list -1 --merges 32d5719929c84471dcc533a38befc2130b2951d8~1..32d5719929c84471dcc533a38befc2130b2951d8 [Pipeline] echo 06:00:15 -----------> git rev-list -1 --merges 32d5719929c84471dcc533a38befc2130b2951d8~1..32d5719929c84471dcc533a38befc2130b2951d8 32d5719929c84471dcc533a38befc2130b2951d8 [false] [Pipeline] sh 06:00:15 + git log --format=format:%s -1 32d5719929c84471dcc533a38befc2130b2951d8 [Pipeline] echo 06:00:15 ========================================================= 06:00:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:16 + git log --format=format:%s -1 32d5719929c84471dcc533a38befc2130b2951d8 [Pipeline] echo 06:00:16 [semverPrep] GIT_COMMIT: 32d5719929c84471dcc533a38befc2130b2951d8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:00:16 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:16 + grep -v github /etc/ssh/ssh_known_hosts 06:00:16 + [ -e /tmp/ssh_known_hosts ] 06:00:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:16 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:17 06:00:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:17 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:17 b85a868b505f: Pulling fs layer 06:00:17 e2be974225ed: Pulling fs layer 06:00:17 339a4e72a1f5: Pulling fs layer 06:00:17 988bab9f4d93: Pulling fs layer 06:00:17 1469e6f7b9e6: Pulling fs layer 06:00:17 eaf3925da568: Pulling fs layer 06:00:17 bab4dde63d76: Pulling fs layer 06:00:17 bde34c3a00c8: Pulling fs layer 06:00:17 b352a97aabf1: Pulling fs layer 06:00:17 4872d77fe225: Pulling fs layer 06:00:17 5851b861e8e6: Pulling fs layer 06:00:17 eaf3925da568: Waiting 06:00:17 bab4dde63d76: Waiting 06:00:17 5851b861e8e6: Waiting 06:00:17 988bab9f4d93: Waiting 06:00:17 bde34c3a00c8: Waiting 06:00:17 1469e6f7b9e6: Waiting 06:00:17 4872d77fe225: Waiting 06:00:17 b352a97aabf1: Waiting 06:00:17 e2be974225ed: Verifying Checksum 06:00:17 e2be974225ed: Download complete 06:00:17 988bab9f4d93: Verifying Checksum 06:00:17 988bab9f4d93: Download complete 06:00:17 1469e6f7b9e6: Verifying Checksum 06:00:17 1469e6f7b9e6: Download complete 06:00:17 eaf3925da568: Verifying Checksum 06:00:17 eaf3925da568: Download complete 06:00:17 339a4e72a1f5: Verifying Checksum 06:00:17 339a4e72a1f5: Download complete 06:00:17 bde34c3a00c8: Verifying Checksum 06:00:17 bde34c3a00c8: Download complete 06:00:17 b352a97aabf1: Download complete 06:00:17 4872d77fe225: Verifying Checksum 06:00:17 4872d77fe225: Download complete 06:00:17 5851b861e8e6: Verifying Checksum 06:00:17 5851b861e8e6: Download complete 06:00:17 b85a868b505f: Verifying Checksum 06:00:17 b85a868b505f: Download complete 06:00:17 bab4dde63d76: Verifying Checksum 06:00:17 bab4dde63d76: Download complete 06:00:18 b85a868b505f: Pull complete 06:00:19 e2be974225ed: Pull complete 06:00:19 339a4e72a1f5: Pull complete 06:00:19 988bab9f4d93: Pull complete 06:00:19 1469e6f7b9e6: Pull complete 06:00:19 eaf3925da568: Pull complete 06:00:21 bab4dde63d76: Pull complete 06:00:21 bde34c3a00c8: Pull complete 06:00:21 b352a97aabf1: Pull complete 06:00:21 4872d77fe225: Pull complete 06:00:21 5851b861e8e6: Pull complete 06:00:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:22 prd-ubuntu20.04-docker-8c-8g-4344 does not seem to be running inside a container 06:00:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-433 -v /w/workspace/xfoundry_device-modbus-go_PR-433:/w/workspace/xfoundry_device-modbus-go_PR-433:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-433@tmp:/w/workspace/xfoundry_device-modbus-go_PR-433@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 06:00:23 $ docker top 08515ca5b191181e4bfd7b033091c7229c7103d98c7f2c67ee67059cbeb8bdee -eo pid,comm 06:00:23 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). 06:00:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:23 [ssh-agent] Looking for ssh-agent implementation... 06:00:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:23 $ docker exec 08515ca5b191181e4bfd7b033091c7229c7103d98c7f2c67ee67059cbeb8bdee ssh-agent 06:00:23 SSH_AUTH_SOCK=/tmp/ssh-cqBy634tnxYe/agent.32 06:00:23 SSH_AGENT_PID=38 06:00:23 Running ssh-add (command line suppressed) 06:00:23 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-433@tmp/private_key_16101180130876032871.key (/w/workspace/xfoundry_device-modbus-go_PR-433@tmp/private_key_16101180130876032871.key) 06:00:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:24 + git tag --points-at HEAD [Pipeline] } 06:00:24 $ docker exec --env ******** --env ******** 08515ca5b191181e4bfd7b033091c7229c7103d98c7f2c67ee67059cbeb8bdee ssh-agent -k 06:00:24 unset SSH_AUTH_SOCK; 06:00:24 unset SSH_AGENT_PID; 06:00:24 echo Agent pid 38 killed; 06:00:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:24 [ssh-agent] Looking for ssh-agent implementation... 06:00:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:24 $ docker exec 08515ca5b191181e4bfd7b033091c7229c7103d98c7f2c67ee67059cbeb8bdee ssh-agent 06:00:24 SSH_AUTH_SOCK=/tmp/ssh-3Z2MvtBAe7zJ/agent.70 06:00:24 SSH_AGENT_PID=76 06:00:24 Running ssh-add (command line suppressed) 06:00:24 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-433@tmp/private_key_13154131559784626612.key (/w/workspace/xfoundry_device-modbus-go_PR-433@tmp/private_key_13154131559784626612.key) 06:00:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:25 + git semver init 06:00:25 2023-03-17 06:00:25,350 [run_init] DEBUG init version:0.0.0 force:False 06:00:25 2023-03-17 06:00:25,350 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-433/.semver 06:00:25 2023-03-17 06:00:25,351 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-433/.semver 06:00:25 2023-03-17 06:00:25,351 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-433/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-433, universal_newlines=False, shell=None, istream=None) 06:00:26 2023-03-17 06:00:26,114 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-433/.git/info/exclude 06:00:26 2023-03-17 06:00:26,115 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-433/.semver/PR-433 with force:False 06:00:26 2023-03-17 06:00:26,115 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-433/.semver/PR-433 06:00:26 2023-03-17 06:00:26,119 [execute] INFO git cat-file --batch-check 06:00:26 2023-03-17 06:00:26,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-433/.semver, universal_newlines=False, shell=None, istream=) 06:00:26 2023-03-17 06:00:26,126 [execute] INFO git cat-file --batch 06:00:26 2023-03-17 06:00:26,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-433/.semver, universal_newlines=False, shell=None, istream=) 06:00:26 2023-03-17 06:00:26,133 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-433/.semver/PR-433 06:00:26 0.0.0 [Pipeline] } 06:00:26 $ docker exec --env ******** --env ******** 08515ca5b191181e4bfd7b033091c7229c7103d98c7f2c67ee67059cbeb8bdee ssh-agent -k 06:00:26 unset SSH_AUTH_SOCK; 06:00:26 unset SSH_AGENT_PID; 06:00:26 echo Agent pid 76 killed; 06:00:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:26 + git semver [Pipeline] } 06:00:27 $ docker stop --time=1 08515ca5b191181e4bfd7b033091c7229c7103d98c7f2c67ee67059cbeb8bdee 06:00:28 $ docker rm -f --volumes 08515ca5b191181e4bfd7b033091c7229c7103d98c7f2c67ee67059cbeb8bdee [Pipeline] // withDockerContainer [Pipeline] sh 06:00:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:29 Stashed 1 file(s) [Pipeline] echo 06:00:29 [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 06:00:29 provisioning config files... 06:00:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-433@tmp/config16202134931140509314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:30 ---> docker-login.sh 06:00:30 nexus3.edgexfoundry.org:10001 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 nexus3.edgexfoundry.org:10002 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 nexus3.edgexfoundry.org:10003 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 nexus3.edgexfoundry.org:10004 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 docker.io 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 ---> docker-login.sh ends [Pipeline] } 06:00:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:31 ========================================================= 06:00:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:00:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:31 + 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 . 06:00:31 Sending build context to Docker daemon 6.37MB 06:00:31 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:00:31 Step 2/10 : FROM ${BASE} AS builder 06:00:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:31 63b65145d645: Pulling fs layer 06:00:31 a2d21d5440eb: Pulling fs layer 06:00:31 935e6c44a52c: Pulling fs layer 06:00:31 94cc34f8dd06: Pulling fs layer 06:00:31 30dea6a524f1: Pulling fs layer 06:00:31 a2aff8979fd8: Pulling fs layer 06:00:31 6808be2612f2: Pulling fs layer 06:00:31 f25807f1079a: Pulling fs layer 06:00:31 a2aff8979fd8: Waiting 06:00:31 6808be2612f2: Waiting 06:00:31 f25807f1079a: Waiting 06:00:31 94cc34f8dd06: Waiting 06:00:31 30dea6a524f1: Waiting 06:00:31 a2d21d5440eb: Verifying Checksum 06:00:31 a2d21d5440eb: Download complete 06:00:31 94cc34f8dd06: Download complete 06:00:31 30dea6a524f1: Download complete 06:00:31 63b65145d645: Verifying Checksum 06:00:31 63b65145d645: Download complete 06:00:31 a2aff8979fd8: Verifying Checksum 06:00:31 a2aff8979fd8: Download complete 06:00:31 63b65145d645: Pull complete 06:00:32 a2d21d5440eb: Pull complete 06:00:32 f25807f1079a: Verifying Checksum 06:00:32 f25807f1079a: Download complete 06:00:32 935e6c44a52c: Verifying Checksum 06:00:32 935e6c44a52c: Download complete 06:00:32 6808be2612f2: Download complete 06:00:35 935e6c44a52c: Pull complete 06:00:35 94cc34f8dd06: Pull complete 06:00:35 30dea6a524f1: Pull complete 06:00:36 a2aff8979fd8: Pull complete 06:00:38 6808be2612f2: Pull complete 06:00:38 f25807f1079a: Pull complete 06:00:39 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:00:39 ---> 3b553350e43f 06:00:39 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:00:40 ---> Running in 8649cec74a58 06:00:40 Removing intermediate container 8649cec74a58 06:00:40 ---> 290cb8e6c5c7 06:00:40 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:40 ---> Running in 4c66441de99c 06:00:40 Removing intermediate container 4c66441de99c 06:00:40 ---> 0045adc3b37c 06:00:40 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:00:40 ---> Running in 625dfa5c9f77 06:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:41 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:00:41 (2/8) Installing libedit (20221030.3.1-r0) 06:00:41 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:00:41 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:00:41 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:00:41 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:00:41 (7/8) Installing openssh-server (9.1_p1-r2) 06:00:41 (8/8) Installing openssh (9.1_p1-r2) 06:00:41 Executing busybox-1.35.0-r29.trigger 06:00:41 OK: 270 MiB in 61 packages 06:00:42 Removing intermediate container 625dfa5c9f77 06:00:42 ---> 31f7890d1e21 06:00:42 Step 6/10 : WORKDIR /device-modbus-go 06:00:42 ---> Running in fd73c615f22d 06:00:42 Removing intermediate container fd73c615f22d 06:00:42 ---> 35a8c3e47d86 06:00:42 Step 7/10 : COPY go.mod vendor* ./ 06:00:42 ---> a108fc2de9ae 06:00:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:42 ---> Running in da64cce27623 06:00:44 Still waiting to schedule task 06:00:44 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4345’ 06:01:00 Removing intermediate container da64cce27623 06:01:00 ---> 4f0403a85c8f 06:01:00 Step 9/10 : COPY . . 06:01:00 ---> e2ffb466d012 06:01:00 Step 10/10 : RUN ${MAKE} 06:01:00 ---> Running in 0ac97aedc535 06:01:00 noop 06:01:01 Removing intermediate container 0ac97aedc535 06:01:01 ---> 73fc4a9f7250 06:01:01 Successfully built 73fc4a9f7250 06:01:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:01 + docker inspect -f . ci-base-image-x86_64 06:01:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:01 prd-ubuntu20.04-docker-8c-8g-4344 does not seem to be running inside a container 06:01:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-433 -v /w/workspace/xfoundry_device-modbus-go_PR-433:/w/workspace/xfoundry_device-modbus-go_PR-433:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-433@tmp:/w/workspace/xfoundry_device-modbus-go_PR-433@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 06:01:02 $ docker top 874c641e2b3a2d8f7d8e763edbb8f5ed79e1a62f655990c3bc5d2a91d0875b4b -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:02 + go version 06:01:02 go version go1.20.2 linux/amd64 [Pipeline] } 06:01:02 $ docker stop --time=1 874c641e2b3a2d8f7d8e763edbb8f5ed79e1a62f655990c3bc5d2a91d0875b4b 06:01:03 $ docker rm -f --volumes 874c641e2b3a2d8f7d8e763edbb8f5ed79e1a62f655990c3bc5d2a91d0875b4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:04 + docker inspect -f . ci-base-image-x86_64 06:01:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:04 prd-ubuntu20.04-docker-8c-8g-4344 does not seem to be running inside a container 06:01:04 $ 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-433 -v /w/workspace/xfoundry_device-modbus-go_PR-433:/w/workspace/xfoundry_device-modbus-go_PR-433:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-433@tmp:/w/workspace/xfoundry_device-modbus-go_PR-433@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 06:01:05 $ docker top 9a480e1e1d166cb6d06ac66f363f01e854e42bc76642e4bb83f4ec0f072b953c -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:05 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-433 [Pipeline] fileExists [Pipeline] sh 06:01:05 + make test 06:01:05 go test ./... -coverprofile=coverage.out 06:01:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:01:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:01:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 48.0% of statements 06:01:25 go vet ./... 06:01:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:27 ./bin/test-attribution-txt.sh [Pipeline] echo 06:01:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:28 $ docker stop --time=1 9a480e1e1d166cb6d06ac66f363f01e854e42bc76642e4bb83f4ec0f072b953c 06:01:30 $ docker rm -f --volumes 9a480e1e1d166cb6d06ac66f363f01e854e42bc76642e4bb83f4ec0f072b953c [Pipeline] // withDockerContainer [Pipeline] sh 06:01:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:32 + ls -al . 06:01:32 total 180 06:01:32 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 06:01 . 06:01:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 06:00 .. 06:01:32 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 06:00 .dockerignore 06:01:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 06:00 .git 06:01:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 06:00 .github 06:01:32 -rw-rw-r-- 1 jenkins jenkins 331 Mar 17 06:00 .gitignore 06:01:32 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 06:00 .golangci.yml 06:01:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 06:00 .semver 06:01:32 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 17 06:00 Attribution.txt 06:01:32 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 17 06:00 CHANGELOG.md 06:01:32 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 17 06:00 Dockerfile 06:01:32 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 06:00 GOVERNANCE.md 06:01:32 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 06:00 Jenkinsfile 06:01:32 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 06:00 LICENSE 06:01:32 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 17 06:00 Makefile 06:01:32 -rw-rw-r-- 1 jenkins jenkins 622 Mar 17 06:00 OWNERS.md 06:01:32 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 17 06:00 README.md 06:01:32 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 06:00 VERSION 06:01:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 06:00 bin 06:01:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 06:00 cmd 06:01:32 -rw-r--r-- 1 jenkins jenkins 23736 Mar 17 06:01 coverage.out 06:01:32 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 17 06:00 go.mod 06:01:32 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 17 06:00 go.sum 06:01:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 06:00 internal 06:01:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 06:00 simulator 06:01:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 06:00 snap 06:01:32 -rw-rw-r-- 1 jenkins jenkins 229 Mar 17 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01: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=32d5719929c84471dcc533a38befc2130b2951d8 --label arch=amd64 --label version=0.0.0 . 06:01:32 Sending build context to Docker daemon 6.395MB 06:01:32 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:01:32 Step 2/22 : FROM ${BASE} AS builder 06:01:32 ---> 73fc4a9f7250 06:01:32 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:01:32 ---> Running in 96f16ab1b148 06:01:32 Removing intermediate container 96f16ab1b148 06:01:32 ---> 9f44d141d7de 06:01:32 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:32 ---> Running in 4a15c9774782 06:01:32 Removing intermediate container 4a15c9774782 06:01:32 ---> bc7ac85edd6c 06:01:32 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:01:32 ---> Running in 8a9e8f965cee 06:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:33 OK: 270 MiB in 61 packages 06:01:33 Removing intermediate container 8a9e8f965cee 06:01:33 ---> 3e6f5120aec6 06:01:33 Step 6/22 : WORKDIR /device-modbus-go 06:01:33 ---> Running in ad4fbdbd8359 06:01:34 Removing intermediate container ad4fbdbd8359 06:01:34 ---> 5684632d26ad 06:01:34 Step 7/22 : COPY go.mod vendor* ./ 06:01:34 ---> 61d1c54e28c7 06:01:34 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:34 ---> Running in 1fe9a2c4a056 06:01:34 Removing intermediate container 1fe9a2c4a056 06:01:34 ---> ae1a3781114d 06:01:34 Step 9/22 : COPY . . 06:01:35 ---> 0fbd7b3f60b9 06:01:35 Step 10/22 : RUN ${MAKE} 06:01:35 ---> Running in e5e16480b49e 06:01: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 06:01:53 Removing intermediate container e5e16480b49e 06:01:53 ---> 84289d7e1246 06:01:53 Step 11/22 : FROM alpine:3.17 06:01:53 3.17: Pulling from library/alpine 06:01:53 63b65145d645: Already exists 06:01:53 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:01:53 Status: Downloaded newer image for alpine:3.17 06:01:53 ---> b2aa39c304c2 06:01:53 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:01:53 ---> Running in ad0cfcbadcf9 06:01:53 Removing intermediate container ad0cfcbadcf9 06:01:53 ---> 28936bd8c96a 06:01:53 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:01:53 ---> Running in 28564773ace6 06:01:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:53 (1/1) Installing dumb-init (1.2.5-r2) 06:01:53 Executing busybox-1.35.0-r29.trigger 06:01:53 OK: 7 MiB in 16 packages 06:01:53 Removing intermediate container 28564773ace6 06:01:53 ---> b5dc92b30bed 06:01:53 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:01:53 ---> 3ca0e1221a73 06:01:53 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:01:54 ---> ef009df0f529 06:01:54 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:01:54 ---> 30daed41c64a 06:01:54 Step 17/22 : EXPOSE 59901 06:01:54 ---> Running in f6c69b5e16dd 06:01:54 Removing intermediate container f6c69b5e16dd 06:01:54 ---> 0ddd4fb54c7a 06:01:54 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:01:54 ---> Running in da65ae451366 06:01:54 Removing intermediate container da65ae451366 06:01:54 ---> ea41e126d2cb 06:01:54 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:01:54 ---> Running in a19f09a90cb2 06:01:54 Removing intermediate container a19f09a90cb2 06:01:54 ---> e9febe61d79b 06:01:54 Step 20/22 : LABEL arch=amd64 06:01:54 ---> Running in a4aea7096300 06:01:54 Removing intermediate container a4aea7096300 06:01:54 ---> 961170882e03 06:01:54 Step 21/22 : LABEL git_sha=32d5719929c84471dcc533a38befc2130b2951d8 06:01:54 ---> Running in 5df64d3eb390 06:01:54 Removing intermediate container 5df64d3eb390 06:01:54 ---> 6d9033ce292e 06:01:54 Step 22/22 : LABEL version=0.0.0 06:01:54 ---> Running in 98f1ab890064 06:01:55 Removing intermediate container 98f1ab890064 06:01:55 ---> bafa016b8109 06:01:55 [Warning] One or more build-args [ARCH] were not consumed 06:01:55 Successfully built bafa016b8109 06:01: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 06:01:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:56 06:01:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:56 latest: Pulling from edgex-lftools-log-publisher 06:01:56 5eb5b503b376: Pulling fs layer 06:01:56 5c69ac0246d0: Pulling fs layer 06:01:56 ec43610c2a17: Pulling fs layer 06:01:56 3a2ae6a8a46f: Pulling fs layer 06:01:56 33b1e0a273af: Pulling fs layer 06:01:56 5d3b04190fa2: Pulling fs layer 06:01:56 2f39f015ded8: Pulling fs layer 06:01:56 33b1e0a273af: Waiting 06:01:56 5d3b04190fa2: Waiting 06:01:56 2f39f015ded8: Waiting 06:01:56 3a2ae6a8a46f: Waiting 06:01:56 5c69ac0246d0: Verifying Checksum 06:01:56 5c69ac0246d0: Download complete 06:01:56 3a2ae6a8a46f: Download complete 06:01:56 33b1e0a273af: Verifying Checksum 06:01:56 33b1e0a273af: Download complete 06:01:56 5d3b04190fa2: Verifying Checksum 06:01:56 5d3b04190fa2: Download complete 06:01:56 ec43610c2a17: Verifying Checksum 06:01:56 5eb5b503b376: Verifying Checksum 06:01:56 5eb5b503b376: Download complete 06:01:57 2f39f015ded8: Download complete 06:01:57 5eb5b503b376: Pull complete 06:01:57 5c69ac0246d0: Pull complete 06:01:58 ec43610c2a17: Pull complete 06:01:58 3a2ae6a8a46f: Pull complete 06:01:58 33b1e0a273af: Pull complete 06:01:58 5d3b04190fa2: Pull complete 06:02:02 2f39f015ded8: Pull complete 06:02:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:02:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:03 prd-ubuntu20.04-docker-8c-8g-4344 does not seem to be running inside a container 06:02: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-433 -v /w/workspace/xfoundry_device-modbus-go_PR-433:/w/workspace/xfoundry_device-modbus-go_PR-433:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-433@tmp:/w/workspace/xfoundry_device-modbus-go_PR-433@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:02:04 $ docker top 173217425a115dc076d578e2e5b26f1e151c5f057a6ecff0a5cdf614857dc818 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:05 ---> job-cost.sh 06:02:05 lf-activate-venv: SKIPPING 06:02:05 INFO: No Stack... 06:02:05 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:05 INFO: Archiving Costs [Pipeline] sh 06:02:06 + cat /w/workspace/xfoundry_device-modbus-go_PR-433/archives/cost.csv 06:02:06 + cut -d, -f6 [Pipeline] lock 06:02:06 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-433-1-stack-cost] 06:02:06 Resource [jenkins-edgexfoundry-device-modbus-go-PR-433-1-stack-cost] did not exist. Created. 06:02:06 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-433-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:06 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:06 Stashed 1 file(s) [Pipeline] } 06:02:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-433-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:06 $ docker stop --time=1 173217425a115dc076d578e2e5b26f1e151c5f057a6ecff0a5cdf614857dc818 06:02:07 $ docker rm -f --volumes 173217425a115dc076d578e2e5b26f1e151c5f057a6ecff0a5cdf614857dc818 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4347 in /w/workspace/xfoundry_device-modbus-go_PR-433 [Pipeline] { [Pipeline] ws 06:03:16 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:03:16 Selected Git installation does not exist. Using Default 06:03:16 The recommended git tool is: NONE 06:03:29 using credential edgex-jenkins-ssh 06:03:29 Cloning the remote Git repository 06:03:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:03:29 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:03:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:30 > git --version # timeout=10 06:03:30 > git --version # 'git version 2.25.1' 06:03:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:33 Merging remotes/origin/main commit d976059f8bfb405a00b06a9502768812e8b859e1 into PR head commit 32d5719929c84471dcc533a38befc2130b2951d8 06:03:33 Merge succeeded, producing 32d5719929c84471dcc533a38befc2130b2951d8 06:03:33 Checking out Revision 32d5719929c84471dcc533a38befc2130b2951d8 (PR-433) 06:03:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/433/head:refs/remotes/origin/PR-433 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:03:33 > git config core.sparsecheckout # timeout=10 06:03:33 > git checkout -f 32d5719929c84471dcc533a38befc2130b2951d8 # timeout=10 06:03:33 > git remote # timeout=10 06:03:33 > git config --get remote.origin.url # timeout=10 06:03:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:33 > git merge d976059f8bfb405a00b06a9502768812e8b859e1 # timeout=10 06:03:33 > git rev-parse HEAD^{commit} # timeout=10 06:03:33 > git config core.sparsecheckout # timeout=10 06:03:33 > git checkout -f 32d5719929c84471dcc533a38befc2130b2951d8 # timeout=10 06:03:34 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:03:34 > git --version # timeout=10 06:03:34 > git --version # 'git version 2.25.1' 06:03:34 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:03:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:35 Dload Upload Total Spent Left Speed 06:03:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 06:03:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:03:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:03:36 + sudo tee /etc/docker/daemon.new 06:03:36 { 06:03:36 "registry-mirrors": [ 06:03:36 "https://nexus3.edgexfoundry.org:10001" 06:03:36 ], 06:03:36 "bip": "10.250.0.254/24", 06:03:36 "hosts": [ 06:03:36 "tcp://0.0.0.0:5555", 06:03:36 "unix:///var/run/docker.sock" 06:03:36 ], 06:03:36 "mtu": 1458, 06:03:36 "selinux-enabled": true, 06:03:36 "seccomp-profile": "/etc/docker/seccomp.json" 06:03:36 } [Pipeline] sh 06:03:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:59 provisioning config files... 06:03:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4517877334671300172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:59 ---> docker-login.sh 06:03:59 nexus3.edgexfoundry.org:10001 06:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:00 Configure a credential helper to remove this warning. See 06:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:00 06:04:00 Login Succeeded 06:04:00 nexus3.edgexfoundry.org:10002 06:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:00 Configure a credential helper to remove this warning. See 06:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:00 06:04:00 Login Succeeded 06:04:00 nexus3.edgexfoundry.org:10003 06:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:01 Configure a credential helper to remove this warning. See 06:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:01 06:04:01 Login Succeeded 06:04:01 nexus3.edgexfoundry.org:10004 06:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:01 Configure a credential helper to remove this warning. See 06:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:01 06:04:01 Login Succeeded 06:04:01 docker.io 06:04:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:02 Configure a credential helper to remove this warning. See 06:04:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:02 06:04:02 Login Succeeded 06:04:02 ---> docker-login.sh ends [Pipeline] } 06:04:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:02 ========================================================= 06:04:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:04:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:03 + 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:04:03 Sending build context to Docker daemon 3.322MB 06:04:03 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:04:03 Step 2/10 : FROM ${BASE} AS builder 06:04:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:04:03 af6eaf76a39c: Pulling fs layer 06:04:03 55522c791124: Pulling fs layer 06:04:03 ce5c4a1c91eb: Pulling fs layer 06:04:03 169dfbe0d373: Pulling fs layer 06:04:03 e1ff8fa3b103: Pulling fs layer 06:04:03 52ebb69f0ebf: Pulling fs layer 06:04:03 5abe8eddf0d5: Pulling fs layer 06:04:03 169dfbe0d373: Waiting 06:04:03 e1ff8fa3b103: Waiting 06:04:03 52ebb69f0ebf: Waiting 06:04:03 5abe8eddf0d5: Waiting 06:04:03 55522c791124: Verifying Checksum 06:04:03 55522c791124: Download complete 06:04:03 169dfbe0d373: Download complete 06:04:03 e1ff8fa3b103: Verifying Checksum 06:04:03 e1ff8fa3b103: Download complete 06:04:04 af6eaf76a39c: Verifying Checksum 06:04:05 af6eaf76a39c: Pull complete 06:04:05 5abe8eddf0d5: Verifying Checksum 06:04:05 5abe8eddf0d5: Download complete 06:04:05 55522c791124: Pull complete 06:04:06 ce5c4a1c91eb: Verifying Checksum 06:04:06 ce5c4a1c91eb: Download complete 06:04:06 52ebb69f0ebf: Verifying Checksum 06:04:06 52ebb69f0ebf: Download complete 06:04:18 ce5c4a1c91eb: Pull complete 06:04:18 169dfbe0d373: Pull complete 06:04:18 e1ff8fa3b103: Pull complete 06:04:25 52ebb69f0ebf: Pull complete 06:04:27 5abe8eddf0d5: Pull complete 06:04:27 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:04:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:04:27 ---> 6cb57ee374ae 06:04:27 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:04:28 ---> Running in efe16ef85609 06:04:28 Removing intermediate container efe16ef85609 06:04:28 ---> db2c88bc2b36 06:04:28 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:28 ---> Running in b6e317b5afd0 06:04:28 Removing intermediate container b6e317b5afd0 06:04:28 ---> eb772751c7c1 06:04:28 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:04:28 ---> Running in 058d3720285d 06:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:04:31 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:04:31 (2/8) Installing libedit (20221030.3.1-r0) 06:04:31 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:04:31 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:04:31 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:04:31 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:04:31 (7/8) Installing openssh-server (9.1_p1-r2) 06:04:31 (8/8) Installing openssh (9.1_p1-r2) 06:04:31 Executing busybox-1.35.0-r29.trigger 06:04:31 OK: 270 MiB in 61 packages 06:04:35 Removing intermediate container 058d3720285d 06:04:35 ---> fd492d90d3bb 06:04:35 Step 6/10 : WORKDIR /device-modbus-go 06:04:35 ---> Running in 60c3d03bd589 06:04:36 Removing intermediate container 60c3d03bd589 06:04:36 ---> b5ce0ecead0d 06:04:36 Step 7/10 : COPY go.mod vendor* ./ 06:04:36 ---> fbd586acac64 06:04:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:36 ---> Running in 1371b6ba28db 06:05:58 Removing intermediate container 1371b6ba28db 06:05:58 ---> b6f591d5969d 06:05:58 Step 9/10 : COPY . . 06:05:58 ---> f1770da9fa2e 06:05:58 Step 10/10 : RUN ${MAKE} 06:05:58 ---> Running in e59c8e48591d 06:05:58 noop 06:05:58 Removing intermediate container e59c8e48591d 06:05:58 ---> bbe85af80f78 06:05:58 Successfully built bbe85af80f78 06:05:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:58 + docker inspect -f . ci-base-image-arm64 06:05:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:59 prd-ubuntu20.04-docker-arm64-4c-16g-4347 does not seem to be running inside a container 06:05:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:06:00 $ docker top c8079794ca1082d5683851296819eea3fd97dee7474bb1e1b53e3cc35082bb1d -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:01 + go version 06:06:01 go version go1.20.2 linux/arm64 [Pipeline] } 06:06:01 $ docker stop --time=1 c8079794ca1082d5683851296819eea3fd97dee7474bb1e1b53e3cc35082bb1d 06:06:03 $ docker rm -f --volumes c8079794ca1082d5683851296819eea3fd97dee7474bb1e1b53e3cc35082bb1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:04 + docker inspect -f . ci-base-image-arm64 06:06:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:04 prd-ubuntu20.04-docker-arm64-4c-16g-4347 does not seem to be running inside a container 06:06:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:06:05 $ docker top 925a0e1a54c0032082d6bca23a930288538743ebbb7596c580bb8250e6ea70c6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:06 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:06:07 + make test 06:06:07 go test ./... -coverprofile=coverage.out 06:06:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:08:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:08:40 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 48.0% of statements 06:08:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:08:41 go vet ./... 06:09:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:07 ./bin/test-attribution-txt.sh [Pipeline] echo 06:09:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:09:07 $ docker stop --time=1 925a0e1a54c0032082d6bca23a930288538743ebbb7596c580bb8250e6ea70c6 06:09:09 $ docker rm -f --volumes 925a0e1a54c0032082d6bca23a930288538743ebbb7596c580bb8250e6ea70c6 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:10 Warning: overwriting stash ‘coverage-report’ 06:09:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:12 + ls -al . 06:09:12 total 176 06:09:12 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 06:06 . 06:09:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 06:03 .. 06:09:12 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 06:03 .dockerignore 06:09:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 06:03 .git 06:09:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 06:03 .github 06:09:12 -rw-rw-r-- 1 jenkins jenkins 331 Mar 17 06:03 .gitignore 06:09:12 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 06:03 .golangci.yml 06:09:12 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 17 06:03 Attribution.txt 06:09:12 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 17 06:03 CHANGELOG.md 06:09:12 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 17 06:03 Dockerfile 06:09:12 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 06:03 GOVERNANCE.md 06:09:12 -rw-rw-r-- 1 jenkins jenkins 680 Mar 17 06:03 Jenkinsfile 06:09:12 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 06:03 LICENSE 06:09:12 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 17 06:03 Makefile 06:09:12 -rw-rw-r-- 1 jenkins jenkins 622 Mar 17 06:03 OWNERS.md 06:09:12 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 17 06:03 README.md 06:09:12 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 06:00 VERSION 06:09:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 06:03 bin 06:09:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 06:03 cmd 06:09:12 -rw-r--r-- 1 jenkins jenkins 23736 Mar 17 06:08 coverage.out 06:09:12 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 17 06:03 go.mod 06:09:12 -rw-rw-r-- 1 jenkins jenkins 31643 Mar 17 06:03 go.sum 06:09:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 06:03 internal 06:09:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 06:03 simulator 06:09:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 06:03 snap 06:09:12 -rw-rw-r-- 1 jenkins jenkins 229 Mar 17 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:12 + 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=32d5719929c84471dcc533a38befc2130b2951d8 --label arch=arm64 --label version=0.0.0 . 06:09:12 Sending build context to Docker daemon 3.346MB 06:09:12 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:09:12 Step 2/22 : FROM ${BASE} AS builder 06:09:12 ---> bbe85af80f78 06:09:12 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:09:13 ---> Running in f453b35912ac 06:09:13 Removing intermediate container f453b35912ac 06:09:13 ---> aac6b3df2e36 06:09:13 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:13 ---> Running in f357637b7902 06:09:13 Removing intermediate container f357637b7902 06:09:13 ---> 5cc52dbc87f0 06:09:13 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:09:13 ---> Running in 0d737c7625cf 06:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:09:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:09:16 OK: 270 MiB in 61 packages 06:09:17 Removing intermediate container 0d737c7625cf 06:09:17 ---> 3fc6fb328089 06:09:17 Step 6/22 : WORKDIR /device-modbus-go 06:09:17 ---> Running in 7c3162ad0076 06:09:17 Removing intermediate container 7c3162ad0076 06:09:17 ---> 87e1c1de1929 06:09:17 Step 7/22 : COPY go.mod vendor* ./ 06:09:20 ---> 28bc5e0562b4 06:09:20 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:20 ---> Running in 5d363d7048c4 06:09:23 Removing intermediate container 5d363d7048c4 06:09:23 ---> 16dd1bd44602 06:09:23 Step 9/22 : COPY . . 06:09:24 ---> 758122a77db1 06:09:24 Step 10/22 : RUN ${MAKE} 06:09:24 ---> Running in bcc1aa87c491 06:09:25 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:11:31 Removing intermediate container bcc1aa87c491 06:11:31 ---> 97b31ca31ff8 06:11:31 Step 11/22 : FROM alpine:3.17 06:11:31 3.17: Pulling from library/alpine 06:11:31 af6eaf76a39c: Already exists 06:11:31 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:11:31 Status: Downloaded newer image for alpine:3.17 06:11:31 ---> d74e625d9115 06:11:31 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:11:31 ---> Running in ffd33b4bcc41 06:11:31 Removing intermediate container ffd33b4bcc41 06:11:31 ---> 03d111689ecb 06:11:31 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:11:31 ---> Running in 19e7414a89be 06:11:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:11:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:11:33 (1/1) Installing dumb-init (1.2.5-r2) 06:11:33 Executing busybox-1.35.0-r29.trigger 06:11:33 OK: 8 MiB in 16 packages 06:11:34 Removing intermediate container 19e7414a89be 06:11:34 ---> 13da1bd9d9be 06:11:34 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:11:36 ---> 7155ef175ffa 06:11:36 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:11:36 ---> aac855e73e78 06:11:36 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:11:37 ---> 227df0f31150 06:11:37 Step 17/22 : EXPOSE 59901 06:11:37 ---> Running in 72f59b5e76ca 06:11:37 Removing intermediate container 72f59b5e76ca 06:11:37 ---> 21355a283f4f 06:11:37 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:11:37 ---> Running in 5a2a40daa463 06:11:37 Removing intermediate container 5a2a40daa463 06:11:37 ---> 989ffe03712c 06:11:37 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:11:37 ---> Running in e88b8493f074 06:11:38 Removing intermediate container e88b8493f074 06:11:38 ---> 09eda2ee616d 06:11:38 Step 20/22 : LABEL arch=arm64 06:11:38 ---> Running in c493047da746 06:11:38 Removing intermediate container c493047da746 06:11:38 ---> 75261229a142 06:11:38 Step 21/22 : LABEL git_sha=32d5719929c84471dcc533a38befc2130b2951d8 06:11:38 ---> Running in c02db5ad3b14 06:11:38 Removing intermediate container c02db5ad3b14 06:11:38 ---> 262f7683b9ee 06:11:38 Step 22/22 : LABEL version=0.0.0 06:11:38 ---> Running in b3ee77a023b1 06:11:39 Removing intermediate container b3ee77a023b1 06:11:39 ---> 221d8e04f395 06:11:39 [Warning] One or more build-args [ARCH] were not consumed 06:11:39 Successfully built 221d8e04f395 06:11:39 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:11:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:39 06:11:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:40 arm64: Pulling from edgex-lftools-log-publisher 06:11:40 8998bd30e6a1: Pulling fs layer 06:11:40 04944245beec: Pulling fs layer 06:11:40 699f458cf7ca: Pulling fs layer 06:11:40 765212b225bb: Pulling fs layer 06:11:40 f23df028b6ca: Pulling fs layer 06:11:40 d65c8cfc05b1: Pulling fs layer 06:11:40 2437ff75d9bd: Pulling fs layer 06:11:40 f23df028b6ca: Waiting 06:11:40 d65c8cfc05b1: Waiting 06:11:40 765212b225bb: Waiting 06:11:40 2437ff75d9bd: Waiting 06:11:40 04944245beec: Verifying Checksum 06:11:40 04944245beec: Download complete 06:11:40 765212b225bb: Download complete 06:11:40 f23df028b6ca: Verifying Checksum 06:11:40 f23df028b6ca: Download complete 06:11:40 d65c8cfc05b1: Verifying Checksum 06:11:40 d65c8cfc05b1: Download complete 06:11:40 699f458cf7ca: Verifying Checksum 06:11:40 699f458cf7ca: Download complete 06:11:41 8998bd30e6a1: Verifying Checksum 06:11:41 8998bd30e6a1: Download complete 06:11:43 2437ff75d9bd: Verifying Checksum 06:11:43 2437ff75d9bd: Download complete 06:11:45 8998bd30e6a1: Pull complete 06:11:45 04944245beec: Pull complete 06:11:46 699f458cf7ca: Pull complete 06:11:46 765212b225bb: Pull complete 06:11:47 f23df028b6ca: Pull complete 06:11:47 d65c8cfc05b1: Pull complete 06:12:02 2437ff75d9bd: Pull complete 06:12:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:12:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:03 prd-ubuntu20.04-docker-arm64-4c-16g-4347 does not seem to be running inside a container 06:12: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/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:12:08 $ docker top 8ad5f1b0f2e2101810f7f8c8fb5f2f5f8059785cb3fa46671159c033fa0afc83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:09 ---> job-cost.sh 06:12:09 lf-activate-venv: SKIPPING 06:12:09 INFO: No Stack... 06:12:09 INFO: Retrieving Pricing Info for: v3-standard-4 06:12:10 INFO: Archiving Costs [Pipeline] sh 06:12:10 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:12:10 + cut -d, -f6 [Pipeline] lock 06:12:10 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-433-1-stack-cost] 06:12:10 Resource [jenkins-edgexfoundry-device-modbus-go-PR-433-1-stack-cost] did not exist. Created. 06:12:10 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-433-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:11 /w/workspace/device-modbus-go/1@tmp/durable-70136fbe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:12:12 + echo total: 0.10999999940395355 [Pipeline] stash 06:12:12 Warning: overwriting stash ‘stack-cost’ 06:12:12 Stashed 1 file(s) [Pipeline] } 06:12:12 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-433-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:12:12 $ docker stop --time=1 8ad5f1b0f2e2101810f7f8c8fb5f2f5f8059785cb3fa46671159c033fa0afc83 06:12:13 $ docker rm -f --volumes 8ad5f1b0f2e2101810f7f8c8fb5f2f5f8059785cb3fa46671159c033fa0afc83 [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:12:14 provisioning config files... 06:12:14 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-433@tmp/config1530916792713009692tmp [Pipeline] { [Pipeline] sh 06:12:14 + set +x 06:12:14 + curl -s https://codecov.io/bash 06:12:14 + bash -s -- 06:12:14 06:12:14 _____ _ 06:12:14 / ____| | | 06:12:14 | | ___ __| | ___ ___ _____ __ 06:12:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:12:14 | |___| (_) | (_| | __/ (_| (_) \ V / 06:12:14 \_____\___/ \__,_|\___|\___\___/ \_/ 06:12:14 Bash-1.0.6 06:12:14 06:12:14 06:12:14 ==> git version 2.25.1 found 06:12:14 ==> 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:12:14 Release-Date: 2020-01-08 06:12:14 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:12:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:12:14 ==> Jenkins CI detected. 06:12:14 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-433 06:12:14 project root: . 06:12:14 --> token set from env 06:12:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:12:14 ==> Running gcov in . (disable via -X gcov) 06:12:14 ==> Python coveragepy not found 06:12:14 ==> Searching for coverage reports in: 06:12:14 + . 06:12:14 -> Found 1 reports 06:12:14 ==> Detecting git/mercurial file structure 06:12:14 ==> Reading reports 06:12:14 + ./coverage.out bytes=23736 06:12:14 ==> Appending adjustments 06:12:14 https://docs.codecov.io/docs/fixing-reports 06:12:15 + Found adjustments 06:12:15 ==> Gzipping contents 06:12:15 4.0K /tmp/codecov.altozT.gz 06:12:15 ==> Uploading reports 06:12:15 url: https://codecov.io 06:12:15 query: branch=PR-433&commit=32d5719929c84471dcc533a38befc2130b2951d8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-433%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=433&job=&cmd_args= 06:12:15 -> Pinging Codecov 06:12:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-433&commit=32d5719929c84471dcc533a38befc2130b2951d8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-433%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=433&job=&cmd_args= 06:12:15 -> Uploading to 06:12:15 https://storage.googleapis.com/codecov/v4/raw/2023-03-17/55DBCA73C666E3227836607328DD7E49/32d5719929c84471dcc533a38befc2130b2951d8/adb7cb4b-1b8d-4720-a369-dfee945ae3e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T061215Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ffd0c864861678f731519eb577e1654aa40eb61eb8b98c4dbc6fd08249a8ec4 06:12:15 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:15 Dload Upload Total Spent Left Speed 06:12:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 14061 --:--:-- --:--:-- --:--:-- 14061 06:12:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/32d5719929c84471dcc533a38befc2130b2951d8 [Pipeline] } 06:12:15 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:12:17 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-433/archives ] 06:12:17 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-433/archives 06:12:17 total 16 06:12:17 drwxr-xr-x 3 root root 4096 Mar 17 06:02 . 06:12:17 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 06:02 .. 06:12:17 drwxr-xr-x 2 root root 4096 Mar 17 06:02 cost 06:12:17 -rw-r--r-- 1 root root 88 Mar 17 06:02 cost.csv 06:12:17 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-433/archives 06:12:17 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-433/archives 06:12:17 total 16 06:12:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 06:02 . 06:12:17 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 06:02 .. 06:12:17 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 06:02 cost 06:12:17 -rw-r--r-- 1 jenkins jenkins 88 Mar 17 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:12:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:12:18 ---> package-listing.sh 06:12:18 ++ facter osfamily 06:12:18 ++ tr '[:upper:]' '[:lower:]' 06:12:18 + OS_FAMILY=debian 06:12:18 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-433 06:12:18 + START_PACKAGES=/tmp/packages_start.txt 06:12:18 + END_PACKAGES=/tmp/packages_end.txt 06:12:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:12:18 + PACKAGES=/tmp/packages_start.txt 06:12:18 + '[' /w/workspace/xfoundry_device-modbus-go_PR-433 ']' 06:12:18 + PACKAGES=/tmp/packages_end.txt 06:12:18 + case "${OS_FAMILY}" in 06:12:18 + dpkg -l 06:12:18 + grep '^ii' 06:12:18 + '[' -f /tmp/packages_start.txt ']' 06:12:18 + '[' -f /tmp/packages_end.txt ']' 06:12:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:12:18 + '[' /w/workspace/xfoundry_device-modbus-go_PR-433 ']' 06:12:18 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-433/archives/ 06:12:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-433/archives/ [Pipeline] echo 06:12:18 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-433/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:12:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:19 prd-ubuntu20.04-docker-8c-8g-4344 does not seem to be running inside a container 06:12:20 $ 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-433/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-433 -v /w/workspace/xfoundry_device-modbus-go_PR-433:/w/workspace/xfoundry_device-modbus-go_PR-433:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-433@tmp:/w/workspace/xfoundry_device-modbus-go_PR-433@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:12:20 $ docker top f1ced0658ed97b0fab52a8e64da81df74810ae0da9fffb00f88cb2160be3cc51 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:20 + touch /tmp/pre-build-complete [Pipeline] sh 06:12:20 + mkdir -p /var/log/sysstat [Pipeline] sh 06:12:21 + ls /var/log/sa-host 06:12:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:21 provisioning config files... 06:12:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-433@tmp/config17989841648215841288tmp [Pipeline] { [Pipeline] echo 06:12:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:12:21 ---> create-netrc.sh [Pipeline] } 06:12:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:12:22 ---> python-tools-install.sh [Pipeline] echo 06:12:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:12:22 ---> sudo-logs.sh 06:12:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:12:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:12:22 ---> job-cost.sh 06:12:22 lf-activate-venv: SKIPPING 06:12:22 DEBUG: total: 0.2199999988079071 06:12:22 INFO: Retrieving Stack Cost... 06:12:23 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:23 INFO: Archiving Costs [Pipeline] echo 06:12:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:12:24 ---> logs-deploy.sh 06:12:24 lf-activate-venv: SKIPPING 06:12:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-433/1 06:12:24 INFO: archiving workspace using pattern(s): 06:12:24 Archives upload complete. 06:12:24 INFO: archiving logs to Nexus