Pull request #498 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f37298ca320c3f4d7e2885ce3e18c5917c8c0650+d21f7114bade91926d0e99e1f605d1c822a787f1 (aa4bd5d791e4c01e2c109006d0e70215e60aa91c) 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-ssh11863632359955341280.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3796409999585997039.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-498/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-498/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10445521777191796861.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-498/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17360928604353431677.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh1059484007488935423.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-498/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-498/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3065586607000785774.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5426 in /w/workspace/xfoundry_device-modbus-go_PR-498 [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-498 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d21f7114bade91926d0e99e1f605d1c822a787f1 into PR head commit f37298ca320c3f4d7e2885ce3e18c5917c8c0650 Merge succeeded, producing f37298ca320c3f4d7e2885ce3e18c5917c8c0650 Checking out Revision f37298ca320c3f4d7e2885ce3e18c5917c8c0650 (PR-498) > 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/498/head:refs/remotes/origin/PR-498 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f37298ca320c3f4d7e2885ce3e18c5917c8c0650 # 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 d21f7114bade91926d0e99e1f605d1c822a787f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f37298ca320c3f4d7e2885ce3e18c5917c8c0650 # timeout=10 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:19:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:19:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:19:45 ========================================================= 05:19:45 EdgeX Global Pipelines Version Info 05:19:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:19:46 ------------------- 05:19:46 stable info: 05:19:46 ------------------- 05:19:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:19:46 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:19:46 Message: update stable to v1.0.253 05:19:46 ------------------- 05:19:46 experimental info: 05:19:46 ------------------- 05:19:46 Commited By: **** collab-it+edgex@linuxfoundation.org 05:19:46 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:19:46 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:19:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:19:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:19:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:19:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-498 [Pipeline] echo 05:19:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-498 [Pipeline] echo 05:19:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-498 [Pipeline] echo 05:19:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f37298ca320c3f4d7e2885ce3e18c5917c8c0650 [Pipeline] echo 05:19:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f37298c [Pipeline] echo 05:19:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:48 provisioning config files... 05:19:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-498@tmp/config7932278567928726394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:48 ---> docker-login.sh 05:19:48 nexus3.edgexfoundry.org:10001 05:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:49 Configure a credential helper to remove this warning. See 05:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:49 05:19:49 Login Succeeded 05:19:49 nexus3.edgexfoundry.org:10002 05:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:49 Configure a credential helper to remove this warning. See 05:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:49 05:19:49 Login Succeeded 05:19:49 nexus3.edgexfoundry.org:10003 05:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:49 Configure a credential helper to remove this warning. See 05:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:49 05:19:49 Login Succeeded 05:19:49 nexus3.edgexfoundry.org:10004 05:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:49 Configure a credential helper to remove this warning. See 05:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:49 05:19:49 Login Succeeded 05:19:49 docker.io 05:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:49 Configure a credential helper to remove this warning. See 05:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:49 05:19:49 Login Succeeded 05:19:49 ---> docker-login.sh ends [Pipeline] } 05:19:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:19:50 + git rev-list -1 --merges f37298ca320c3f4d7e2885ce3e18c5917c8c0650~1..f37298ca320c3f4d7e2885ce3e18c5917c8c0650 [Pipeline] echo 05:19:50 -----------> git rev-list -1 --merges f37298ca320c3f4d7e2885ce3e18c5917c8c0650~1..f37298ca320c3f4d7e2885ce3e18c5917c8c0650 f37298ca320c3f4d7e2885ce3e18c5917c8c0650 [false] [Pipeline] sh 05:19:50 + git log --format=format:%s -1 f37298ca320c3f4d7e2885ce3e18c5917c8c0650 [Pipeline] echo 05:19:50 ========================================================= 05:19:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:19:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:51 + git log --format=format:%s -1 f37298ca320c3f4d7e2885ce3e18c5917c8c0650 [Pipeline] echo 05:19:51 [semverPrep] GIT_COMMIT: f37298ca320c3f4d7e2885ce3e18c5917c8c0650, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:19:51 [semverPrep] This is not a build commit. [Pipeline] sh 05:19:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:19:51 + grep -v github /etc/ssh/ssh_known_hosts 05:19:51 + [ -e /tmp/ssh_known_hosts ] 05:19:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:19:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:19:51 + sudo tee -a /etc/ssh/ssh_known_hosts 05:19:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:52 05:19:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:52 0.1.4: Pulling from edgex-devops/py-git-semver 05:19:52 b85a868b505f: Pulling fs layer 05:19:52 e2be974225ed: Pulling fs layer 05:19:52 339a4e72a1f5: Pulling fs layer 05:19:52 988bab9f4d93: Pulling fs layer 05:19:52 1469e6f7b9e6: Pulling fs layer 05:19:52 eaf3925da568: Pulling fs layer 05:19:52 bab4dde63d76: Pulling fs layer 05:19:52 bde34c3a00c8: Pulling fs layer 05:19:52 b352a97aabf1: Pulling fs layer 05:19:52 4872d77fe225: Pulling fs layer 05:19:52 5851b861e8e6: Pulling fs layer 05:19:52 1469e6f7b9e6: Waiting 05:19:52 eaf3925da568: Waiting 05:19:52 bab4dde63d76: Waiting 05:19:52 4872d77fe225: Waiting 05:19:52 5851b861e8e6: Waiting 05:19:52 bde34c3a00c8: Waiting 05:19:52 b352a97aabf1: Waiting 05:19:52 e2be974225ed: Download complete 05:19:52 988bab9f4d93: Download complete 05:19:52 1469e6f7b9e6: Download complete 05:19:52 eaf3925da568: Download complete 05:19:52 339a4e72a1f5: Verifying Checksum 05:19:52 339a4e72a1f5: Download complete 05:19:52 bde34c3a00c8: Verifying Checksum 05:19:52 bde34c3a00c8: Download complete 05:19:52 b352a97aabf1: Download complete 05:19:52 4872d77fe225: Verifying Checksum 05:19:52 4872d77fe225: Download complete 05:19:52 5851b861e8e6: Verifying Checksum 05:19:52 5851b861e8e6: Download complete 05:19:52 b85a868b505f: Verifying Checksum 05:19:52 b85a868b505f: Download complete 05:19:53 bab4dde63d76: Verifying Checksum 05:19:53 bab4dde63d76: Download complete 05:19:54 b85a868b505f: Pull complete 05:19:54 e2be974225ed: Pull complete 05:19:54 339a4e72a1f5: Pull complete 05:19:54 988bab9f4d93: Pull complete 05:19:54 1469e6f7b9e6: Pull complete 05:19:54 eaf3925da568: Pull complete 05:19:56 bab4dde63d76: Pull complete 05:19:56 bde34c3a00c8: Pull complete 05:19:56 b352a97aabf1: Pull complete 05:19:56 4872d77fe225: Pull complete 05:19:57 5851b861e8e6: Pull complete 05:19:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:19:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:57 prd-ubuntu20.04-docker-8c-8g-5426 does not seem to be running inside a container 05:19:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-498 -v /w/workspace/xfoundry_device-modbus-go_PR-498:/w/workspace/xfoundry_device-modbus-go_PR-498:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-498@tmp:/w/workspace/xfoundry_device-modbus-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:19:58 $ docker top 0a9afa70b0a67fa866707f6c38ea87046d913d5d9312d46fc6aeb5efdf46556c -eo pid,comm 05:19:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:19:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:58 [ssh-agent] Looking for ssh-agent implementation... 05:19:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:58 $ docker exec 0a9afa70b0a67fa866707f6c38ea87046d913d5d9312d46fc6aeb5efdf46556c ssh-agent 05:19:58 SSH_AUTH_SOCK=/tmp/ssh-YSG6wpGuUnQn/agent.32 05:19:58 SSH_AGENT_PID=38 05:19:58 Running ssh-add (command line suppressed) 05:19:58 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-498@tmp/private_key_9827776343883935025.key (/w/workspace/xfoundry_device-modbus-go_PR-498@tmp/private_key_9827776343883935025.key) 05:19:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:59 + git tag --points-at HEAD [Pipeline] } 05:19:59 $ docker exec --env ******** --env ******** 0a9afa70b0a67fa866707f6c38ea87046d913d5d9312d46fc6aeb5efdf46556c ssh-agent -k 05:19:59 unset SSH_AUTH_SOCK; 05:19:59 unset SSH_AGENT_PID; 05:19:59 echo Agent pid 38 killed; 05:19:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:19:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:59 [ssh-agent] Looking for ssh-agent implementation... 05:19:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:59 $ docker exec 0a9afa70b0a67fa866707f6c38ea87046d913d5d9312d46fc6aeb5efdf46556c ssh-agent 05:19:59 SSH_AUTH_SOCK=/tmp/ssh-55k1vIn8csGx/agent.70 05:19:59 SSH_AGENT_PID=76 05:19:59 Running ssh-add (command line suppressed) 05:19:59 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-498@tmp/private_key_16162227909941992865.key (/w/workspace/xfoundry_device-modbus-go_PR-498@tmp/private_key_16162227909941992865.key) 05:19:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:00 + git semver init 05:20:00 2023-09-06 05:20:00,403 [run_init] DEBUG init version:0.0.0 force:False 05:20:00 2023-09-06 05:20:00,403 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-498/.semver 05:20:00 2023-09-06 05:20:00,404 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-498/.semver 05:20:00 2023-09-06 05:20:00,404 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-498/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-498, universal_newlines=False, shell=None, istream=None) 05:20:01 2023-09-06 05:20:01,154 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-498/.git/info/exclude 05:20:01 2023-09-06 05:20:01,154 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-498/.semver/PR-498 with force:False 05:20:01 2023-09-06 05:20:01,155 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-498/.semver/PR-498 05:20:01 2023-09-06 05:20:01,159 [execute] INFO git cat-file --batch-check 05:20:01 2023-09-06 05:20:01,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-498/.semver, universal_newlines=False, shell=None, istream=) 05:20:01 2023-09-06 05:20:01,166 [execute] INFO git cat-file --batch 05:20:01 2023-09-06 05:20:01,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-498/.semver, universal_newlines=False, shell=None, istream=) 05:20:01 2023-09-06 05:20:01,171 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-498/.semver/PR-498 05:20:01 0.0.0 [Pipeline] } 05:20:01 $ docker exec --env ******** --env ******** 0a9afa70b0a67fa866707f6c38ea87046d913d5d9312d46fc6aeb5efdf46556c ssh-agent -k 05:20:01 unset SSH_AUTH_SOCK; 05:20:01 unset SSH_AGENT_PID; 05:20:01 echo Agent pid 76 killed; 05:20:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:01 + git semver [Pipeline] } 05:20:02 $ docker stop --time=1 0a9afa70b0a67fa866707f6c38ea87046d913d5d9312d46fc6aeb5efdf46556c 05:20:03 $ docker rm -f --volumes 0a9afa70b0a67fa866707f6c38ea87046d913d5d9312d46fc6aeb5efdf46556c [Pipeline] // withDockerContainer [Pipeline] sh 05:20:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:20:04 Stashed 1 file(s) [Pipeline] echo 05:20:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:04 provisioning config files... 05:20:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-498@tmp/config2733060333700339735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:05 ---> docker-login.sh 05:20:05 nexus3.edgexfoundry.org:10001 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 nexus3.edgexfoundry.org:10002 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 nexus3.edgexfoundry.org:10003 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 nexus3.edgexfoundry.org:10004 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 docker.io 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 ---> docker-login.sh ends [Pipeline] } 05:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:20:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:20:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:20:06 ========================================================= 05:20:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:20:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:20:06 Sending build context to Docker daemon 6.424MB 05:20:06 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:20:06 Step 2/10 : FROM ${BASE} AS builder 05:20:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:20:06 4db1b89c0bd1: Pulling fs layer 05:20:06 6911f1a30b25: Pulling fs layer 05:20:06 e194b8c5c2a9: Pulling fs layer 05:20:06 6863d3e3a2b1: Pulling fs layer 05:20:06 ec0bb842ea78: Pulling fs layer 05:20:06 40a00589a448: Pulling fs layer 05:20:06 6c08303d61cc: Pulling fs layer 05:20:06 798269fcf238: Pulling fs layer 05:20:06 798269fcf238: Waiting 05:20:06 6c08303d61cc: Waiting 05:20:06 ec0bb842ea78: Waiting 05:20:06 6911f1a30b25: Download complete 05:20:06 6863d3e3a2b1: Download complete 05:20:07 ec0bb842ea78: Download complete 05:20:07 4db1b89c0bd1: Verifying Checksum 05:20:07 4db1b89c0bd1: Download complete 05:20:07 40a00589a448: Verifying Checksum 05:20:07 40a00589a448: Download complete 05:20:07 4db1b89c0bd1: Pull complete 05:20:07 6911f1a30b25: Pull complete 05:20:07 798269fcf238: Verifying Checksum 05:20:07 798269fcf238: Download complete 05:20:07 e194b8c5c2a9: Verifying Checksum 05:20:07 e194b8c5c2a9: Download complete 05:20:07 6c08303d61cc: Verifying Checksum 05:20:07 6c08303d61cc: Download complete 05:20:11 e194b8c5c2a9: Pull complete 05:20:11 6863d3e3a2b1: Pull complete 05:20:11 ec0bb842ea78: Pull complete 05:20:11 40a00589a448: Pull complete 05:20:13 6c08303d61cc: Pull complete 05:20:14 798269fcf238: Pull complete 05:20:14 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 05:20:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:20:14 ---> ec979cd7f677 05:20:14 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:20:15 ---> Running in de0181d75434 05:20:15 Removing intermediate container de0181d75434 05:20:15 ---> 0809a1dfb886 05:20:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:20:15 ---> Running in 5ea0950ba78b 05:20:15 Removing intermediate container 5ea0950ba78b 05:20:15 ---> f175b6119279 05:20:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:20:15 ---> Running in 68f93e6e9f3a 05:20:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:20:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:20:16 (1/8) Installing openssh-keygen (9.1_p1-r4) 05:20:16 (2/8) Installing libedit (20221030.3.1-r0) 05:20:16 (3/8) Installing openssh-client-common (9.1_p1-r4) 05:20:16 (4/8) Installing openssh-client-default (9.1_p1-r4) 05:20:16 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 05:20:16 (6/8) Installing openssh-server-common (9.1_p1-r4) 05:20:16 (7/8) Installing openssh-server (9.1_p1-r4) 05:20:16 (8/8) Installing openssh (9.1_p1-r4) 05:20:16 Executing busybox-1.35.0-r29.trigger 05:20:16 OK: 270 MiB in 61 packages 05:20:16 Removing intermediate container 68f93e6e9f3a 05:20:16 ---> 07f788f28cec 05:20:16 Step 6/10 : WORKDIR /device-modbus-go 05:20:16 ---> Running in a0f42e63caee 05:20:17 Removing intermediate container a0f42e63caee 05:20:17 ---> bad1b9414733 05:20:17 Step 7/10 : COPY go.mod vendor* ./ 05:20:17 ---> 03558bbe7f5a 05:20:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:20:17 ---> Running in f40896d0359b 05:20:19 Still waiting to schedule task 05:20:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:20:43 Removing intermediate container f40896d0359b 05:20:43 ---> 9bbf9b4daa2a 05:20:43 Step 9/10 : COPY . . 05:20:43 ---> 2e98ef09ead4 05:20:43 Step 10/10 : RUN ${MAKE} 05:20:43 ---> Running in b5427396f8c8 05:20:43 noop 05:20:43 Removing intermediate container b5427396f8c8 05:20:43 ---> 149027437512 05:20:43 Successfully built 149027437512 05:20:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:44 + docker inspect -f . ci-base-image-x86_64 05:20:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:44 prd-ubuntu20.04-docker-8c-8g-5426 does not seem to be running inside a container 05:20:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-498 -v /w/workspace/xfoundry_device-modbus-go_PR-498:/w/workspace/xfoundry_device-modbus-go_PR-498:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-498@tmp:/w/workspace/xfoundry_device-modbus-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:20:44 $ docker top 9328fbaf84460c3dbd4e0fecb5f4378946f1e23b0bbf84026d9695a253bccbfb -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:45 + go version 05:20:45 go version go1.20.6 linux/amd64 [Pipeline] } 05:20:45 $ docker stop --time=1 9328fbaf84460c3dbd4e0fecb5f4378946f1e23b0bbf84026d9695a253bccbfb 05:20:46 $ docker rm -f --volumes 9328fbaf84460c3dbd4e0fecb5f4378946f1e23b0bbf84026d9695a253bccbfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:47 + docker inspect -f . ci-base-image-x86_64 05:20:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:47 prd-ubuntu20.04-docker-8c-8g-5426 does not seem to be running inside a container 05:20:47 $ 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-498 -v /w/workspace/xfoundry_device-modbus-go_PR-498:/w/workspace/xfoundry_device-modbus-go_PR-498:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-498@tmp:/w/workspace/xfoundry_device-modbus-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:20:47 $ docker top 44efa93aea9b5c5e7597ea3e1478816977af129e8c69c9fd9c781a9decc4b1ef -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:48 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-498 [Pipeline] fileExists [Pipeline] sh 05:20:48 + make test 05:20:48 go test ./... -coverprofile=coverage.out 05:20:52 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:21:02 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:21:02 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.9% of statements 05:21:08 go vet ./... 05:21:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:21:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:21:12 ./bin/test-attribution-txt.sh [Pipeline] echo 05:21:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:21:12 $ docker stop --time=1 44efa93aea9b5c5e7597ea3e1478816977af129e8c69c9fd9c781a9decc4b1ef 05:21:14 $ docker rm -f --volumes 44efa93aea9b5c5e7597ea3e1478816977af129e8c69c9fd9c781a9decc4b1ef [Pipeline] // withDockerContainer [Pipeline] sh 05:21:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:21:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:21:15 + ls -al . 05:21:15 total 192 05:21:15 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 05:20 . 05:21:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 05:19 .. 05:21:15 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 05:19 .dockerignore 05:21:15 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 05:20 .git 05:21:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 05:19 .github 05:21:15 -rw-rw-r-- 1 jenkins jenkins 331 Sep 6 05:19 .gitignore 05:21:15 -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 05:19 .golangci.yml 05:21:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 05:20 .semver 05:21:15 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 6 05:19 Attribution.txt 05:21:15 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 6 05:19 CHANGELOG.md 05:21:15 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 6 05:19 Dockerfile 05:21:15 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 05:19 GOVERNANCE.md 05:21:15 -rw-rw-r-- 1 jenkins jenkins 680 Sep 6 05:19 Jenkinsfile 05:21:15 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 05:19 LICENSE 05:21:15 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 6 05:19 Makefile 05:21:15 -rw-rw-r-- 1 jenkins jenkins 622 Sep 6 05:19 OWNERS.md 05:21:15 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 6 05:19 README.md 05:21:15 -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 05:20 VERSION 05:21:15 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 05:19 bin 05:21:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 05:19 cmd 05:21:15 -rw-r--r-- 1 jenkins jenkins 24334 Sep 6 05:21 coverage.out 05:21:15 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 6 05:19 go.mod 05:21:15 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 6 05:19 go.sum 05:21:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 05:19 internal 05:21:15 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 05:19 simulator 05:21:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 05:19 snap 05:21:15 -rw-rw-r-- 1 jenkins jenkins 229 Sep 6 05:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:16 + 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=f37298ca320c3f4d7e2885ce3e18c5917c8c0650 --label arch=amd64 --label version=0.0.0 . 05:21:16 Sending build context to Docker daemon 6.449MB 05:21:16 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:21:16 Step 2/22 : FROM ${BASE} AS builder 05:21:16 ---> 149027437512 05:21:16 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:21:16 ---> Running in 9a3215a1e655 05:21:16 Removing intermediate container 9a3215a1e655 05:21:16 ---> d37f8760e73f 05:21:16 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:21:16 ---> Running in 416a81b222b5 05:21:16 Removing intermediate container 416a81b222b5 05:21:16 ---> 2f28016e11cf 05:21:16 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:21:16 ---> Running in 787eefd21129 05:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:21:17 OK: 270 MiB in 61 packages 05:21:17 Removing intermediate container 787eefd21129 05:21:17 ---> e9036600c08e 05:21:17 Step 6/22 : WORKDIR /device-modbus-go 05:21:17 ---> Running in f5dbbf38389c 05:21:17 Removing intermediate container f5dbbf38389c 05:21:17 ---> 3abc635873d3 05:21:17 Step 7/22 : COPY go.mod vendor* ./ 05:21:17 ---> 19a395781d5c 05:21:17 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:21:17 ---> Running in 806595e84c0c 05:21:18 Removing intermediate container 806595e84c0c 05:21:18 ---> ec26f85413b8 05:21:18 Step 9/22 : COPY . . 05:21:18 ---> 427dc26d3286 05:21:18 Step 10/22 : RUN ${MAKE} 05:21:18 ---> Running in a5a179fafa11 05:21:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:21:36 Removing intermediate container a5a179fafa11 05:21:36 ---> c3c34294cc9e 05:21:36 Step 11/22 : FROM alpine:3.17 05:21:36 3.17: Pulling from library/alpine 05:21:36 9398808236ff: Pulling fs layer 05:21:36 9398808236ff: Verifying Checksum 05:21:36 9398808236ff: Download complete 05:21:36 9398808236ff: Pull complete 05:21:36 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:21:36 Status: Downloaded newer image for alpine:3.17 05:21:36 ---> 1e0b8b5322fc 05:21:36 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:21:36 ---> Running in a259ec0ca9c1 05:21:36 Removing intermediate container a259ec0ca9c1 05:21:36 ---> 606e14700ad0 05:21:36 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:21:36 ---> Running in f34ace9ecee4 05:21:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:21:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:21:36 (1/1) Installing dumb-init (1.2.5-r2) 05:21:36 Executing busybox-1.35.0-r29.trigger 05:21:36 OK: 7 MiB in 16 packages 05:21:36 Removing intermediate container f34ace9ecee4 05:21:36 ---> aca66fa99787 05:21:36 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:21:36 ---> 539415d5e55f 05:21:36 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:21:36 ---> 39815e709c00 05:21:36 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:21:36 ---> 8b1d57d1bf29 05:21:36 Step 17/22 : EXPOSE 59901 05:21:36 ---> Running in b761e0991a69 05:21:37 Removing intermediate container b761e0991a69 05:21:37 ---> 0e5540dcc3e0 05:21:37 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:21:37 ---> Running in 49207ceb689a 05:21:37 Removing intermediate container 49207ceb689a 05:21:37 ---> 2c9ce1444ee4 05:21:37 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:21:37 ---> Running in b2c09c082e2c 05:21:37 Removing intermediate container b2c09c082e2c 05:21:37 ---> 055462579b25 05:21:37 Step 20/22 : LABEL arch=amd64 05:21:37 ---> Running in 9a9036335f5e 05:21:37 Removing intermediate container 9a9036335f5e 05:21:37 ---> a01f2d192963 05:21:37 Step 21/22 : LABEL git_sha=f37298ca320c3f4d7e2885ce3e18c5917c8c0650 05:21:37 ---> Running in f3b636c933d6 05:21:37 Removing intermediate container f3b636c933d6 05:21:37 ---> aa171059bf6f 05:21:37 Step 22/22 : LABEL version=0.0.0 05:21:37 ---> Running in 592e4554757e 05:21:37 Removing intermediate container 592e4554757e 05:21:37 ---> 2aac397ff77e 05:21:37 [Warning] One or more build-args [ARCH] were not consumed 05:21:37 Successfully built 2aac397ff77e 05:21:37 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:38 05:21:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:38 latest: Pulling from edgex-lftools-log-publisher 05:21:38 5eb5b503b376: Pulling fs layer 05:21:38 5c69ac0246d0: Pulling fs layer 05:21:38 ec43610c2a17: Pulling fs layer 05:21:38 3a2ae6a8a46f: Pulling fs layer 05:21:38 33b1e0a273af: Pulling fs layer 05:21:38 5d3b04190fa2: Pulling fs layer 05:21:38 2f39f015ded8: Pulling fs layer 05:21:38 33b1e0a273af: Waiting 05:21:38 5d3b04190fa2: Waiting 05:21:38 3a2ae6a8a46f: Waiting 05:21:38 2f39f015ded8: Waiting 05:21:38 5c69ac0246d0: Verifying Checksum 05:21:38 5c69ac0246d0: Download complete 05:21:38 3a2ae6a8a46f: Verifying Checksum 05:21:38 33b1e0a273af: Verifying Checksum 05:21:38 33b1e0a273af: Download complete 05:21:38 5d3b04190fa2: Download complete 05:21:38 ec43610c2a17: Verifying Checksum 05:21:38 ec43610c2a17: Download complete 05:21:38 5eb5b503b376: Download complete 05:21:39 2f39f015ded8: Verifying Checksum 05:21:39 2f39f015ded8: Download complete 05:21:39 5eb5b503b376: Pull complete 05:21:39 5c69ac0246d0: Pull complete 05:21:40 ec43610c2a17: Pull complete 05:21:40 3a2ae6a8a46f: Pull complete 05:21:40 33b1e0a273af: Pull complete 05:21:40 5d3b04190fa2: Pull complete 05:21:44 2f39f015ded8: Pull complete 05:21:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:44 prd-ubuntu20.04-docker-8c-8g-5426 does not seem to be running inside a container 05:21:44 $ 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-498 -v /w/workspace/xfoundry_device-modbus-go_PR-498:/w/workspace/xfoundry_device-modbus-go_PR-498:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-498@tmp:/w/workspace/xfoundry_device-modbus-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:21:45 $ docker top 647a5939b97ecdbf63c00ed7718162d977fd8ff9a0efefb9083d88ff608af736 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:46 ---> job-cost.sh 05:21:46 lf-activate-venv: SKIPPING 05:21:46 INFO: No Stack... 05:21:46 INFO: Retrieving Pricing Info for: v3-standard-8 05:21:46 INFO: Archiving Costs [Pipeline] sh 05:21:47 + cat /w/workspace/xfoundry_device-modbus-go_PR-498/archives/cost.csv 05:21:47 + cut -d, -f6 [Pipeline] lock 05:21:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-498-1-stack-cost] 05:21:47 Resource [jenkins-edgexfoundry-device-modbus-go-PR-498-1-stack-cost] did not exist. Created. 05:21:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-498-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:21:47 + echo total: 0.2199999988079071 [Pipeline] stash 05:21:47 Stashed 1 file(s) [Pipeline] } 05:21:47 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-498-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:21:47 $ docker stop --time=1 647a5939b97ecdbf63c00ed7718162d977fd8ff9a0efefb9083d88ff608af736 05:21:48 $ docker rm -f --volumes 647a5939b97ecdbf63c00ed7718162d977fd8ff9a0efefb9083d88ff608af736 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:21:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5427 in /w/workspace/xfoundry_device-modbus-go_PR-498 [Pipeline] { [Pipeline] ws 05:21:56 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:21:56 Selected Git installation does not exist. Using Default 05:21:56 The recommended git tool is: NONE 05:22:00 using credential edgex-jenkins-ssh 05:22:00 Cloning the remote Git repository 05:22:00 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:22:00 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:22:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:22:01 > git --version # timeout=10 05:22:01 > git --version # 'git version 2.25.1' 05:22:01 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:22:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:22:06 Merging remotes/origin/main commit d21f7114bade91926d0e99e1f605d1c822a787f1 into PR head commit f37298ca320c3f4d7e2885ce3e18c5917c8c0650 05:22:06 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:22:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:22:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:22:06 > git config core.sparsecheckout # timeout=10 05:22:06 > git checkout -f f37298ca320c3f4d7e2885ce3e18c5917c8c0650 # timeout=10 05:22:06 > git remote # timeout=10 05:22:06 > git config --get remote.origin.url # timeout=10 05:22:07 Merge succeeded, producing f37298ca320c3f4d7e2885ce3e18c5917c8c0650 05:22:07 Checking out Revision f37298ca320c3f4d7e2885ce3e18c5917c8c0650 (PR-498) 05:22:07 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:22:07 > git --version # timeout=10 05:22:07 > git --version # 'git version 2.25.1' 05:22:07 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:22:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:22:07 > git merge d21f7114bade91926d0e99e1f605d1c822a787f1 # timeout=10 05:22:07 > git rev-parse HEAD^{commit} # timeout=10 05:22:07 > git config core.sparsecheckout # timeout=10 05:22:07 > git checkout -f f37298ca320c3f4d7e2885ce3e18c5917c8c0650 # timeout=10 05:22:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:22:08 % Total % Received % Xferd Average Speed Time Time Time Current 05:22:08 Dload Upload Total Spent Left Speed 05:22:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 05:22:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:22:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:22:09 + sudo tee /etc/docker/daemon.new 05:22:09 { 05:22:09 "registry-mirrors": [ 05:22:09 "https://nexus3.edgexfoundry.org:10001" 05:22:09 ], 05:22:09 "bip": "10.250.0.254/24", 05:22:09 "hosts": [ 05:22:09 "tcp://0.0.0.0:5555", 05:22:09 "unix:///var/run/docker.sock" 05:22:09 ], 05:22:09 "mtu": 1458, 05:22:09 "selinux-enabled": true, 05:22:09 "seccomp-profile": "/etc/docker/seccomp.json" 05:22:09 } [Pipeline] sh 05:22:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:22:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:28 provisioning config files... 05:22:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config11711916747096111928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:29 ---> docker-login.sh 05:22:29 nexus3.edgexfoundry.org:10001 05:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:29 Configure a credential helper to remove this warning. See 05:22:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:29 05:22:29 Login Succeeded 05:22:29 nexus3.edgexfoundry.org:10002 05:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:30 Configure a credential helper to remove this warning. See 05:22:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:30 05:22:30 Login Succeeded 05:22:30 nexus3.edgexfoundry.org:10003 05:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:30 Configure a credential helper to remove this warning. See 05:22:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:30 05:22:30 Login Succeeded 05:22:30 nexus3.edgexfoundry.org:10004 05:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:30 Configure a credential helper to remove this warning. See 05:22:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:30 05:22:30 Login Succeeded 05:22:30 docker.io 05:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:22:31 Configure a credential helper to remove this warning. See 05:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:22:31 05:22:31 Login Succeeded 05:22:31 ---> docker-login.sh ends [Pipeline] } 05:22:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:22:32 ========================================================= 05:22:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:22:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:33 + 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 . 05:22:33 Sending build context to Docker daemon 3.333MB 05:22:33 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:22:33 Step 2/10 : FROM ${BASE} AS builder 05:22:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:22:33 edb6bdbacee9: Pulling fs layer 05:22:33 5f9638ab2659: Pulling fs layer 05:22:33 8d51d6327a98: Pulling fs layer 05:22:33 8b374f2dd631: Pulling fs layer 05:22:33 ec14aa9079de: Pulling fs layer 05:22:33 2f466654f4bb: Pulling fs layer 05:22:33 554e91adad29: Pulling fs layer 05:22:33 ec14aa9079de: Waiting 05:22:33 2f466654f4bb: Waiting 05:22:33 554e91adad29: Waiting 05:22:33 5f9638ab2659: Download complete 05:22:33 8b374f2dd631: Verifying Checksum 05:22:33 8b374f2dd631: Download complete 05:22:33 ec14aa9079de: Verifying Checksum 05:22:33 ec14aa9079de: Download complete 05:22:33 edb6bdbacee9: Verifying Checksum 05:22:35 edb6bdbacee9: Pull complete 05:22:35 554e91adad29: Verifying Checksum 05:22:35 554e91adad29: Download complete 05:22:35 5f9638ab2659: Pull complete 05:22:36 8d51d6327a98: Verifying Checksum 05:22:36 8d51d6327a98: Download complete 05:22:36 2f466654f4bb: Download complete 05:22:48 8d51d6327a98: Pull complete 05:22:48 8b374f2dd631: Pull complete 05:22:48 ec14aa9079de: Pull complete 05:22:54 2f466654f4bb: Pull complete 05:22:56 554e91adad29: Pull complete 05:22:56 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 05:22:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:22:56 ---> 1e15ea492957 05:22:56 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:22:58 ---> Running in 02ff513d396c 05:22:58 Removing intermediate container 02ff513d396c 05:22:58 ---> 1efdd5fe2a04 05:22:58 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:22:58 ---> Running in 6df6633a688b 05:22:58 Removing intermediate container 6df6633a688b 05:22:58 ---> 6edb3ae5acc5 05:22:58 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:22:59 ---> Running in 67dd010e2dec 05:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:23:01 (1/8) Installing openssh-keygen (9.1_p1-r4) 05:23:01 (2/8) Installing libedit (20221030.3.1-r0) 05:23:01 (3/8) Installing openssh-client-common (9.1_p1-r4) 05:23:01 (4/8) Installing openssh-client-default (9.1_p1-r4) 05:23:01 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 05:23:01 (6/8) Installing openssh-server-common (9.1_p1-r4) 05:23:01 (7/8) Installing openssh-server (9.1_p1-r4) 05:23:01 (8/8) Installing openssh (9.1_p1-r4) 05:23:01 Executing busybox-1.35.0-r29.trigger 05:23:01 OK: 270 MiB in 61 packages 05:23:02 Removing intermediate container 67dd010e2dec 05:23:02 ---> 931ed0d488b1 05:23:02 Step 6/10 : WORKDIR /device-modbus-go 05:23:02 ---> Running in 3cb8e6a54de3 05:23:03 Removing intermediate container 3cb8e6a54de3 05:23:03 ---> 628f69a163fa 05:23:03 Step 7/10 : COPY go.mod vendor* ./ 05:23:03 ---> 412bcba1c8c6 05:23:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:23:03 ---> Running in e5d8d4425b6c 05:24:11 Removing intermediate container e5d8d4425b6c 05:24:11 ---> afc419ac27a8 05:24:11 Step 9/10 : COPY . . 05:24:11 ---> c3d45a069d10 05:24:11 Step 10/10 : RUN ${MAKE} 05:24:11 ---> Running in d1eaf688bd33 05:24:11 noop 05:24:11 Removing intermediate container d1eaf688bd33 05:24:11 ---> b68495544d68 05:24:11 Successfully built b68495544d68 05:24:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:12 + docker inspect -f . ci-base-image-arm64 05:24:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:12 prd-ubuntu20.04-docker-arm64-4c-16g-5427 does not seem to be running inside a container 05:24:12 $ 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 05:24:13 $ docker top f463d568c7c1f8e803d9dd039cd9b80e9574124801eb4c882155b15ddba3c7eb -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:14 + go version 05:24:14 go version go1.20.6 linux/arm64 [Pipeline] } 05:24:14 $ docker stop --time=1 f463d568c7c1f8e803d9dd039cd9b80e9574124801eb4c882155b15ddba3c7eb 05:24:16 $ docker rm -f --volumes f463d568c7c1f8e803d9dd039cd9b80e9574124801eb4c882155b15ddba3c7eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:16 + docker inspect -f . ci-base-image-arm64 05:24:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:17 prd-ubuntu20.04-docker-arm64-4c-16g-5427 does not seem to be running inside a container 05:24:17 $ 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 05:24:18 $ docker top bcea7893a1504d87630b376586c997aff467b06995e6b36ce8346bb72c94a784 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:18 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:24:19 + make test 05:24:19 go test ./... -coverprofile=coverage.out 05:24:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:26:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:26:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.078s coverage: 47.9% of statements 05:26:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:26:44 go vet ./... 05:27:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:27:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:27:16 ./bin/test-attribution-txt.sh [Pipeline] echo 05:27:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:27:16 $ docker stop --time=1 bcea7893a1504d87630b376586c997aff467b06995e6b36ce8346bb72c94a784 05:27:18 $ docker rm -f --volumes bcea7893a1504d87630b376586c997aff467b06995e6b36ce8346bb72c94a784 [Pipeline] // withDockerContainer [Pipeline] sh 05:27:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:27:19 Warning: overwriting stash ‘coverage-report’ 05:27:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:27:21 + ls -al . 05:27:21 total 188 05:27:21 drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 05:24 . 05:27:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 05:22 .. 05:27:21 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 05:22 .dockerignore 05:27:21 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 05:22 .git 05:27:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 05:22 .github 05:27:21 -rw-rw-r-- 1 jenkins jenkins 331 Sep 6 05:22 .gitignore 05:27:21 -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 05:22 .golangci.yml 05:27:21 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 6 05:22 Attribution.txt 05:27:21 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 6 05:22 CHANGELOG.md 05:27:21 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 6 05:22 Dockerfile 05:27:21 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 05:22 GOVERNANCE.md 05:27:21 -rw-rw-r-- 1 jenkins jenkins 680 Sep 6 05:22 Jenkinsfile 05:27:21 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 05:22 LICENSE 05:27:21 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 6 05:22 Makefile 05:27:21 -rw-rw-r-- 1 jenkins jenkins 622 Sep 6 05:22 OWNERS.md 05:27:21 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 6 05:22 README.md 05:27:21 -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 05:20 VERSION 05:27:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 05:22 bin 05:27:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 05:22 cmd 05:27:21 -rw-r--r-- 1 jenkins jenkins 24334 Sep 6 05:26 coverage.out 05:27:21 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 6 05:22 go.mod 05:27:21 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 6 05:22 go.sum 05:27:21 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 05:22 internal 05:27:21 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 05:22 simulator 05:27:21 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 05:22 snap 05:27:21 -rw-rw-r-- 1 jenkins jenkins 229 Sep 6 05:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:21 + 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=f37298ca320c3f4d7e2885ce3e18c5917c8c0650 --label arch=arm64 --label version=0.0.0 . 05:27:21 Sending build context to Docker daemon 3.358MB 05:27:21 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:27:21 Step 2/22 : FROM ${BASE} AS builder 05:27:21 ---> b68495544d68 05:27:21 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:27:22 ---> Running in 7ff50c0994b8 05:27:22 Removing intermediate container 7ff50c0994b8 05:27:22 ---> 7b38577b78fe 05:27:22 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:27:22 ---> Running in f3819f8f8084 05:27:22 Removing intermediate container f3819f8f8084 05:27:22 ---> 536aa7f60270 05:27:22 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:27:22 ---> Running in 7547a9a7b06c 05:27:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:27:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:27:25 OK: 270 MiB in 61 packages 05:27:26 Removing intermediate container 7547a9a7b06c 05:27:26 ---> 6c2878ee2f71 05:27:26 Step 6/22 : WORKDIR /device-modbus-go 05:27:26 ---> Running in 6794ff43d726 05:27:26 Removing intermediate container 6794ff43d726 05:27:26 ---> e47e62f0258a 05:27:26 Step 7/22 : COPY go.mod vendor* ./ 05:27:26 ---> 01b50bb051a4 05:27:26 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:27 ---> Running in d17680e111f4 05:27:28 Removing intermediate container d17680e111f4 05:27:28 ---> e1ce45e952a2 05:27:28 Step 9/22 : COPY . . 05:27:29 ---> b251428339c1 05:27:29 Step 10/22 : RUN ${MAKE} 05:27:29 ---> Running in a88d9be698bc 05:27:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:29:52 Removing intermediate container a88d9be698bc 05:29:52 ---> c236cabd35b6 05:29:52 Step 11/22 : FROM alpine:3.17 05:29:52 3.17: Pulling from library/alpine 05:29:52 4060ece20d7a: Pulling fs layer 05:29:52 4060ece20d7a: Verifying Checksum 05:29:52 4060ece20d7a: Download complete 05:29:52 4060ece20d7a: Pull complete 05:29:52 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:29:52 Status: Downloaded newer image for alpine:3.17 05:29:52 ---> 8650cd65339b 05:29:52 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:29:52 ---> Running in c65f6c51ce67 05:29:52 Removing intermediate container c65f6c51ce67 05:29:52 ---> ee06155305f0 05:29:52 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:29:52 ---> Running in 1dda5a446002 05:29:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:29:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:29:52 (1/1) Installing dumb-init (1.2.5-r2) 05:29:52 Executing busybox-1.35.0-r29.trigger 05:29:52 OK: 8 MiB in 16 packages 05:29:52 Removing intermediate container 1dda5a446002 05:29:52 ---> d56b125b8d6d 05:29:52 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:29:52 ---> 01db38333a4d 05:29:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:29:52 ---> 184ed412589d 05:29:52 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:29:52 ---> 808fc16c64b9 05:29:52 Step 17/22 : EXPOSE 59901 05:29:52 ---> Running in 30d7225c1bdf 05:29:52 Removing intermediate container 30d7225c1bdf 05:29:52 ---> 69d9aa371a4c 05:29:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:29:52 ---> Running in 48da05c7c8f6 05:29:52 Removing intermediate container 48da05c7c8f6 05:29:52 ---> f556db7b5411 05:29:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:29:52 ---> Running in 4ee56e0388ab 05:29:52 Removing intermediate container 4ee56e0388ab 05:29:52 ---> bc2ec4d806d2 05:29:52 Step 20/22 : LABEL arch=arm64 05:29:52 ---> Running in e9a63a8ad5fe 05:29:52 Removing intermediate container e9a63a8ad5fe 05:29:52 ---> 574c5d72c6e5 05:29:52 Step 21/22 : LABEL git_sha=f37298ca320c3f4d7e2885ce3e18c5917c8c0650 05:29:52 ---> Running in 10c18db0ad52 05:29:52 Removing intermediate container 10c18db0ad52 05:29:52 ---> 5b9d209cd0ca 05:29:52 Step 22/22 : LABEL version=0.0.0 05:29:52 ---> Running in 8e2cb12b71be 05:29:52 Removing intermediate container 8e2cb12b71be 05:29:52 ---> 93a2dc595022 05:29:52 [Warning] One or more build-args [ARCH] were not consumed 05:29:52 Successfully built 93a2dc595022 05:29:52 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 05:29:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:29:53 05:29:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:29:53 arm64: Pulling from edgex-lftools-log-publisher 05:29:53 8998bd30e6a1: Pulling fs layer 05:29:53 04944245beec: Pulling fs layer 05:29:53 699f458cf7ca: Pulling fs layer 05:29:53 765212b225bb: Pulling fs layer 05:29:53 f23df028b6ca: Pulling fs layer 05:29:53 d65c8cfc05b1: Pulling fs layer 05:29:53 2437ff75d9bd: Pulling fs layer 05:29:53 765212b225bb: Waiting 05:29:53 f23df028b6ca: Waiting 05:29:53 d65c8cfc05b1: Waiting 05:29:54 04944245beec: Verifying Checksum 05:29:54 04944245beec: Download complete 05:29:54 765212b225bb: Download complete 05:29:54 f23df028b6ca: Verifying Checksum 05:29:54 f23df028b6ca: Download complete 05:29:54 d65c8cfc05b1: Verifying Checksum 05:29:54 d65c8cfc05b1: Download complete 05:29:54 699f458cf7ca: Verifying Checksum 05:29:54 699f458cf7ca: Download complete 05:29:54 8998bd30e6a1: Verifying Checksum 05:29:54 8998bd30e6a1: Download complete 05:29:56 2437ff75d9bd: Verifying Checksum 05:29:56 2437ff75d9bd: Download complete 05:29:58 8998bd30e6a1: Pull complete 05:29:58 04944245beec: Pull complete 05:30:00 699f458cf7ca: Pull complete 05:30:00 765212b225bb: Pull complete 05:30:01 f23df028b6ca: Pull complete 05:30:01 d65c8cfc05b1: Pull complete 05:30:16 2437ff75d9bd: Pull complete 05:30:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:30:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:16 prd-ubuntu20.04-docker-arm64-4c-16g-5427 does not seem to be running inside a container 05:30:16 $ 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 05:30:19 $ docker top 42d4c77b3f46e5cd9f2dce27f9e1eec25700d9753fc70cdd77d6743fddb955d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:20 ---> job-cost.sh 05:30:20 lf-activate-venv: SKIPPING 05:30:20 INFO: No Stack... 05:30:20 INFO: Retrieving Pricing Info for: v3-standard-4 05:30:21 INFO: Archiving Costs [Pipeline] sh 05:30:21 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:30:21 + cut -d, -f6 [Pipeline] lock 05:30:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-498-1-stack-cost] 05:30:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-498-1-stack-cost] did not exist. Created. 05:30:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-498-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:30:22 /w/workspace/device-modbus-go/1@tmp/durable-e409d08e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:30:23 + echo total: 0.10999999940395355 [Pipeline] stash 05:30:23 Warning: overwriting stash ‘stack-cost’ 05:30:23 Stashed 1 file(s) [Pipeline] } 05:30:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-498-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:30:23 $ docker stop --time=1 42d4c77b3f46e5cd9f2dce27f9e1eec25700d9753fc70cdd77d6743fddb955d5 05:30:24 $ docker rm -f --volumes 42d4c77b3f46e5cd9f2dce27f9e1eec25700d9753fc70cdd77d6743fddb955d5 [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 05:30:25 provisioning config files... 05:30:25 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-498@tmp/config4506130547906118734tmp [Pipeline] { [Pipeline] sh 05:30:26 + set +x 05:30:26 + + bash -s -- 05:30:26 curl -s https://codecov.io/bash 05:30:26 05:30:26 _____ _ 05:30:26 / ____| | | 05:30:26 | | ___ __| | ___ ___ _____ __ 05:30:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:30:26 | |___| (_) | (_| | __/ (_| (_) \ V / 05:30:26 \_____\___/ \__,_|\___|\___\___/ \_/ 05:30:26 Bash-1.0.6 05:30:26 05:30:26 05:30:26 ==> git version 2.25.1 found 05:30:26 ==> 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 05:30:26 Release-Date: 2020-01-08 05:30:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:30:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:30:26 ==> Jenkins CI detected. 05:30:26 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-498 05:30:26 project root: . 05:30:26 --> token set from env 05:30:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:30:26 ==> Running gcov in . (disable via -X gcov) 05:30:26 ==> Python coveragepy not found 05:30:26 ==> Searching for coverage reports in: 05:30:26 + . 05:30:26 -> Found 1 reports 05:30:26 ==> Detecting git/mercurial file structure 05:30:26 ==> Reading reports 05:30:26 + ./coverage.out bytes=24334 05:30:26 ==> Appending adjustments 05:30:26 https://docs.codecov.io/docs/fixing-reports 05:30:26 + Found adjustments 05:30:26 ==> Gzipping contents 05:30:26 4.0K /tmp/codecov.vhQDKF.gz 05:30:26 ==> Uploading reports 05:30:26 url: https://codecov.io 05:30:26 query: branch=PR-498&commit=f37298ca320c3f4d7e2885ce3e18c5917c8c0650&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-498%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=498&job=&cmd_args= 05:30:26 -> Pinging Codecov 05:30:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-498&commit=f37298ca320c3f4d7e2885ce3e18c5917c8c0650&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-498%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=498&job=&cmd_args= 05:30:26 -> Uploading to 05:30:26 https://storage.googleapis.com/codecov/v4/raw/2023-09-06/55DBCA73C666E3227836607328DD7E49/f37298ca320c3f4d7e2885ce3e18c5917c8c0650/abb4d359-1758-4d27-bf1c-45f082d10e61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230906T053026Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f4c3617c5c1e88495c9569f46c50a01da9ae37d3794608a19f596dfa7482e46 05:30:26 % Total % Received % Xferd Average Speed Time Time Time Current 05:30:26 Dload Upload Total Spent Left Speed 05:30:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21365 --:--:-- --:--:-- --:--:-- 21365 05:30:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f37298ca320c3f4d7e2885ce3e18c5917c8c0650 [Pipeline] } 05:30:26 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 05:30:28 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-498/archives ] 05:30:28 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-498/archives 05:30:28 total 16 05:30:28 drwxr-xr-x 3 root root 4096 Sep 6 05:21 . 05:30:28 drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 05:21 .. 05:30:28 drwxr-xr-x 2 root root 4096 Sep 6 05:21 cost 05:30:28 -rw-r--r-- 1 root root 88 Sep 6 05:21 cost.csv 05:30:28 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-498/archives 05:30:28 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-498/archives 05:30:28 total 16 05:30:28 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 05:21 . 05:30:28 drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 05:21 .. 05:30:28 drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 05:21 cost 05:30:28 -rw-r--r-- 1 jenkins jenkins 88 Sep 6 05:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:30:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:30:29 ---> package-listing.sh 05:30:29 ++ tr '[:upper:]' '[:lower:]' 05:30:29 ++ facter osfamily 05:30:30 + OS_FAMILY=debian 05:30:30 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-498 05:30:30 + START_PACKAGES=/tmp/packages_start.txt 05:30:30 + END_PACKAGES=/tmp/packages_end.txt 05:30:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:30:30 + PACKAGES=/tmp/packages_start.txt 05:30:30 + '[' /w/workspace/xfoundry_device-modbus-go_PR-498 ']' 05:30:30 + PACKAGES=/tmp/packages_end.txt 05:30:30 + case "${OS_FAMILY}" in 05:30:30 + dpkg -l 05:30:30 + grep '^ii' 05:30:30 + '[' -f /tmp/packages_start.txt ']' 05:30:30 + '[' -f /tmp/packages_end.txt ']' 05:30:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:30:30 + '[' /w/workspace/xfoundry_device-modbus-go_PR-498 ']' 05:30:30 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-498/archives/ 05:30:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-498/archives/ [Pipeline] echo 05:30:30 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-498/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:30:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:30:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:31 prd-ubuntu20.04-docker-8c-8g-5426 does not seem to be running inside a container 05:30:31 $ 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-498/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-498 -v /w/workspace/xfoundry_device-modbus-go_PR-498:/w/workspace/xfoundry_device-modbus-go_PR-498:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-498@tmp:/w/workspace/xfoundry_device-modbus-go_PR-498@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 05:30:31 $ docker top 4392e93e651c41ef57721aa04ddf97f9b318c4d643498af2eeb40ed1a5abcae1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:30:31 + touch /tmp/pre-build-complete [Pipeline] sh 05:30:32 + mkdir -p /var/log/sysstat [Pipeline] sh 05:30:32 + ls /var/log/sa-host 05:30:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:32 provisioning config files... 05:30:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-498@tmp/config1559733238573522438tmp [Pipeline] { [Pipeline] echo 05:30:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:30:33 ---> create-netrc.sh [Pipeline] } 05:30:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:30:33 ---> python-tools-install.sh [Pipeline] echo 05:30:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:30:33 ---> sudo-logs.sh 05:30:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:30:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:30:34 ---> job-cost.sh 05:30:34 lf-activate-venv: SKIPPING 05:30:34 DEBUG: total: 0.2199999988079071 05:30:34 INFO: Retrieving Stack Cost... 05:30:34 INFO: Retrieving Pricing Info for: v3-standard-8 05:30:35 INFO: Archiving Costs [Pipeline] echo 05:30:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:30:35 ---> logs-deploy.sh 05:30:35 lf-activate-venv: SKIPPING 05:30:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-498/1 05:30:35 INFO: archiving workspace using pattern(s): 05:30:36 Archives upload complete. 05:30:36 INFO: archiving logs to Nexus