Pull request #405 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ecb938cc6e0ff92e4325b5738b47da28efcebcfd+bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 (be54506758ab9b4f7c8f5454c9dd4a2bfcb8ec23) 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-ssh14612982759703533332.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3630191183719972653.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-405/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-405/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5072695111748927009.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-405/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7567475650300706480.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14883668897251477622.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-405/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-405/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8440620312461491390.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-3336 in /w/workspace/xfoundry_device-modbus-go_PR-405 [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-405 # 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 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit ecb938cc6e0ff92e4325b5738b47da28efcebcfd Merge succeeded, producing ecb938cc6e0ff92e4325b5738b47da28efcebcfd Checking out Revision ecb938cc6e0ff92e4325b5738b47da28efcebcfd (PR-405) > 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/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ecb938cc6e0ff92e4325b5738b47da28efcebcfd # 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 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ecb938cc6e0ff92e4325b5738b47da28efcebcfd # 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:00:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:52 ========================================================= 06:00:52 EdgeX Global Pipelines Version Info 06:00:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:00:52 ------------------- 06:00:52 stable info: 06:00:52 ------------------- 06:00:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:00:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:00:52 Message: update stable to v1.0.244 06:00:53 ------------------- 06:00:53 experimental info: 06:00:53 ------------------- 06:00:53 Commited By: **** collab-it+edgex@linuxfoundation.org 06:00:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:00:53 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:00:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:00:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:00:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:00:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:00:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] echo 06:00:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ecb938c [Pipeline] echo 06:00:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:55 provisioning config files... 06:00:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/config6039466489020060033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:55 ---> docker-login.sh 06:00:55 nexus3.edgexfoundry.org:10001 06:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:55 Configure a credential helper to remove this warning. See 06:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:55 06:00:55 Login Succeeded 06:00:55 nexus3.edgexfoundry.org:10002 06:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:55 Configure a credential helper to remove this warning. See 06:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:55 06:00:55 Login Succeeded 06:00:56 nexus3.edgexfoundry.org:10003 06:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:56 Configure a credential helper to remove this warning. See 06:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:56 06:00:56 Login Succeeded 06:00:56 nexus3.edgexfoundry.org:10004 06:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:56 Configure a credential helper to remove this warning. See 06:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:56 06:00:56 Login Succeeded 06:00:56 docker.io 06:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:56 Configure a credential helper to remove this warning. See 06:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:56 06:00:56 Login Succeeded 06:00:56 ---> docker-login.sh ends [Pipeline] } 06:00:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:56 + git rev-list -1 --merges ecb938cc6e0ff92e4325b5738b47da28efcebcfd~1..ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] echo 06:00:56 -----------> git rev-list -1 --merges ecb938cc6e0ff92e4325b5738b47da28efcebcfd~1..ecb938cc6e0ff92e4325b5738b47da28efcebcfd ecb938cc6e0ff92e4325b5738b47da28efcebcfd [false] [Pipeline] sh 06:00:57 + git log --format=format:%s -1 ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] echo 06:00:57 ========================================================= 06:00:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:57 + git log --format=format:%s -1 ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] echo 06:00:57 [semverPrep] GIT_COMMIT: ecb938cc6e0ff92e4325b5738b47da28efcebcfd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:00:57 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:58 + grep -v github /etc/ssh/ssh_known_hosts 06:00:58 + [ -e /tmp/ssh_known_hosts ] 06:00:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:58 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:58 06:00:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:59 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:59 b85a868b505f: Pulling fs layer 06:00:59 e2be974225ed: Pulling fs layer 06:00:59 339a4e72a1f5: Pulling fs layer 06:00:59 988bab9f4d93: Pulling fs layer 06:00:59 1469e6f7b9e6: Pulling fs layer 06:00:59 eaf3925da568: Pulling fs layer 06:00:59 bab4dde63d76: Pulling fs layer 06:00:59 bde34c3a00c8: Pulling fs layer 06:00:59 b352a97aabf1: Pulling fs layer 06:00:59 4872d77fe225: Pulling fs layer 06:00:59 5851b861e8e6: Pulling fs layer 06:00:59 988bab9f4d93: Waiting 06:00:59 1469e6f7b9e6: Waiting 06:00:59 eaf3925da568: Waiting 06:00:59 bab4dde63d76: Waiting 06:00:59 4872d77fe225: Waiting 06:00:59 bde34c3a00c8: Waiting 06:00:59 b352a97aabf1: Waiting 06:00:59 5851b861e8e6: Waiting 06:00:59 e2be974225ed: Download complete 06:00:59 988bab9f4d93: Download complete 06:00:59 1469e6f7b9e6: Verifying Checksum 06:00:59 1469e6f7b9e6: Download complete 06:00:59 eaf3925da568: Verifying Checksum 06:00:59 eaf3925da568: Download complete 06:00:59 339a4e72a1f5: Verifying Checksum 06:00:59 339a4e72a1f5: Download complete 06:00:59 bde34c3a00c8: Verifying Checksum 06:00:59 bde34c3a00c8: Download complete 06:00:59 b352a97aabf1: Download complete 06:00:59 4872d77fe225: Verifying Checksum 06:00:59 4872d77fe225: Download complete 06:00:59 5851b861e8e6: Verifying Checksum 06:00:59 5851b861e8e6: Download complete 06:00:59 b85a868b505f: Download complete 06:01:00 bab4dde63d76: Verifying Checksum 06:01:00 bab4dde63d76: Download complete 06:01:00 b85a868b505f: Pull complete 06:01:00 e2be974225ed: Pull complete 06:01:01 339a4e72a1f5: Pull complete 06:01:01 988bab9f4d93: Pull complete 06:01:02 1469e6f7b9e6: Pull complete 06:01:02 eaf3925da568: Pull complete 06:01:04 bab4dde63d76: Pull complete 06:01:04 bde34c3a00c8: Pull complete 06:01:04 b352a97aabf1: Pull complete 06:01:04 4872d77fe225: Pull complete 06:01:04 5851b861e8e6: Pull complete 06:01:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:01:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:01:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:04 prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container 06:01:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@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 06:01:09 $ docker top c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 -eo pid,comm 06:01:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:01:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:01:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:10 [ssh-agent] Looking for ssh-agent implementation... 06:01:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:10 $ docker exec c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 ssh-agent 06:01:10 SSH_AUTH_SOCK=/tmp/ssh-9B6Yq4eHPx3k/agent.33 06:01:10 SSH_AGENT_PID=39 06:01:10 Running ssh-add (command line suppressed) 06:01:10 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-405@tmp/private_key_15658618002577273030.key (/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/private_key_15658618002577273030.key) 06:01:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:10 + git tag --points-at HEAD [Pipeline] } 06:01:10 $ docker exec --env ******** --env ******** c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 ssh-agent -k 06:01:10 unset SSH_AUTH_SOCK; 06:01:10 unset SSH_AGENT_PID; 06:01:10 echo Agent pid 39 killed; 06:01:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:01:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:10 [ssh-agent] Looking for ssh-agent implementation... 06:01:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:11 $ docker exec c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 ssh-agent 06:01:11 SSH_AUTH_SOCK=/tmp/ssh-QXSFuayWVpwM/agent.71 06:01:11 SSH_AGENT_PID=77 06:01:11 Running ssh-add (command line suppressed) 06:01:11 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-405@tmp/private_key_10884904776097428081.key (/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/private_key_10884904776097428081.key) 06:01:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:11 + git semver init 06:01:11 2023-01-23 06:01:11,891 [run_init] DEBUG init version:0.0.0 force:False 06:01:11 2023-01-23 06:01:11,892 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-405/.semver 06:01:11 2023-01-23 06:01:11,892 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-405/.semver 06:01:11 2023-01-23 06:01:11,893 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-405/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-405, universal_newlines=False, shell=None, istream=None) 06:01:13 2023-01-23 06:01:12,881 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-405/.git/info/exclude 06:01:13 2023-01-23 06:01:12,881 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-405/.semver/PR-405 with force:False 06:01:13 2023-01-23 06:01:12,882 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-405/.semver/PR-405 06:01:13 2023-01-23 06:01:12,886 [execute] INFO git cat-file --batch-check 06:01:13 2023-01-23 06:01:12,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-405/.semver, universal_newlines=False, shell=None, istream=) 06:01:13 2023-01-23 06:01:12,892 [execute] INFO git cat-file --batch 06:01:13 2023-01-23 06:01:12,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-405/.semver, universal_newlines=False, shell=None, istream=) 06:01:13 2023-01-23 06:01:12,897 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-405/.semver/PR-405 06:01:13 0.0.0 [Pipeline] } 06:01:13 $ docker exec --env ******** --env ******** c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 ssh-agent -k 06:01:13 unset SSH_AUTH_SOCK; 06:01:13 unset SSH_AGENT_PID; 06:01:13 echo Agent pid 77 killed; 06:01:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:01:13 + git semver [Pipeline] } 06:01:14 $ docker stop --time=1 c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 06:01:15 $ docker rm -f --volumes c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:01:16 Stashed 1 file(s) [Pipeline] echo 06:01:16 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:16 provisioning config files... 06:01:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/config18257918615991909723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:17 ---> docker-login.sh 06:01:17 nexus3.edgexfoundry.org:10001 06:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:17 Configure a credential helper to remove this warning. See 06:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:17 06:01:17 Login Succeeded 06:01:17 nexus3.edgexfoundry.org:10002 06:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:17 Configure a credential helper to remove this warning. See 06:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:17 06:01:17 Login Succeeded 06:01:17 nexus3.edgexfoundry.org:10003 06:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:17 Configure a credential helper to remove this warning. See 06:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:17 06:01:17 Login Succeeded 06:01:17 nexus3.edgexfoundry.org:10004 06:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:17 Configure a credential helper to remove this warning. See 06:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:17 06:01:17 Login Succeeded 06:01:17 docker.io 06:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:17 Configure a credential helper to remove this warning. See 06:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:17 06:01:17 Login Succeeded 06:01:17 ---> docker-login.sh ends [Pipeline] } 06:01:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:17 ========================================================= 06:01:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:01:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:01:18 Sending build context to Docker daemon 6.341MB 06:01:18 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:01:18 Step 2/10 : FROM ${BASE} AS builder 06:01:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:01:18 213ec9aee27d: Pulling fs layer 06:01:18 4583459ba037: Pulling fs layer 06:01:18 93c1e223e6f2: Pulling fs layer 06:01:18 53926ce57604: Pulling fs layer 06:01:18 21b2b0c7a3f4: Pulling fs layer 06:01:18 22ff95d597cd: Pulling fs layer 06:01:18 12d6caf4c0d1: Pulling fs layer 06:01:18 96b7cbca73a9: Pulling fs layer 06:01:18 21b2b0c7a3f4: Waiting 06:01:18 22ff95d597cd: Waiting 06:01:18 12d6caf4c0d1: Waiting 06:01:18 53926ce57604: Waiting 06:01:18 a7acece74701: Pulling fs layer 06:01:18 96b7cbca73a9: Waiting 06:01:18 a7acece74701: Waiting 06:01:18 93c1e223e6f2: Verifying Checksum 06:01:18 93c1e223e6f2: Download complete 06:01:18 4583459ba037: Verifying Checksum 06:01:18 4583459ba037: Download complete 06:01:18 21b2b0c7a3f4: Verifying Checksum 06:01:18 21b2b0c7a3f4: Download complete 06:01:18 22ff95d597cd: Download complete 06:01:18 213ec9aee27d: Verifying Checksum 06:01:18 213ec9aee27d: Download complete 06:01:18 12d6caf4c0d1: Verifying Checksum 06:01:18 12d6caf4c0d1: Download complete 06:01:18 213ec9aee27d: Pull complete 06:01:18 4583459ba037: Pull complete 06:01:18 93c1e223e6f2: Pull complete 06:01:20 a7acece74701: Verifying Checksum 06:01:20 a7acece74701: Download complete 06:01:20 53926ce57604: Verifying Checksum 06:01:20 53926ce57604: Download complete 06:01:20 96b7cbca73a9: Verifying Checksum 06:01:23 53926ce57604: Pull complete 06:01:23 21b2b0c7a3f4: Pull complete 06:01:24 22ff95d597cd: Pull complete 06:01:24 12d6caf4c0d1: Pull complete 06:01:26 96b7cbca73a9: Pull complete 06:01:27 a7acece74701: Pull complete 06:01:27 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:01:27 ---> db6d94c90886 06:01:27 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:01:31 Still waiting to schedule task 06:01:31 ‘prd-ubuntu18.04-docker-8c-8g-3241’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:01:31 ‘prd-ubuntu18.04-docker-8c-8g-3242’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:01:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3337’ is offline 06:01:33 ---> Running in a6031ce0c25f 06:01:33 Removing intermediate container a6031ce0c25f 06:01:33 ---> 511c38d565a4 06:01:33 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:33 ---> Running in 11890a9d9007 06:01:33 Removing intermediate container 11890a9d9007 06:01:33 ---> 84bf99871b2d 06:01:33 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:01:33 ---> Running in 8299a33a817b 06:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:01:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:01:34 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:01:34 (2/8) Installing libedit (20210910.3.1-r0) 06:01:34 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:01:34 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:01:34 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:01:34 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:01:34 (7/8) Installing openssh-server (9.0_p1-r2) 06:01:34 (8/8) Installing openssh (9.0_p1-r2) 06:01:34 Executing busybox-1.35.0-r17.trigger 06:01:34 OK: 217 MiB in 59 packages 06:01:36 Removing intermediate container 8299a33a817b 06:01:36 ---> 71964c61cab5 06:01:36 Step 6/10 : WORKDIR /device-modbus-go 06:01:36 ---> Running in 988b005d267a 06:01:36 Removing intermediate container 988b005d267a 06:01:36 ---> fc150d2e870d 06:01:36 Step 7/10 : COPY go.mod vendor* ./ 06:01:37 ---> 5fdeaad7ef26 06:01:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:37 ---> Running in e0ba3623bec0 06:02:24 Removing intermediate container e0ba3623bec0 06:02:24 ---> 2e846a09a5aa 06:02:24 Step 9/10 : COPY . . 06:02:24 ---> 5c391d85eb83 06:02:24 Step 10/10 : RUN ${MAKE} 06:02:24 ---> Running in ebb2cdad3084 06:02:24 noop 06:02:24 Removing intermediate container ebb2cdad3084 06:02:24 ---> bc558894bcbc 06:02:24 Successfully built bc558894bcbc 06:02:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:24 + docker inspect -f . ci-base-image-x86_64 06:02:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:24 prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container 06:02:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@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 06:02:25 $ docker top 4b1d15f2420d798996e836be30fe87e1b9400b23097ba37f5d18651fabb8ecd5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:25 + go version 06:02:25 go version go1.18.7 linux/amd64 [Pipeline] } 06:02:25 $ docker stop --time=1 4b1d15f2420d798996e836be30fe87e1b9400b23097ba37f5d18651fabb8ecd5 06:02:26 $ docker rm -f --volumes 4b1d15f2420d798996e836be30fe87e1b9400b23097ba37f5d18651fabb8ecd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:27 + docker inspect -f . ci-base-image-x86_64 06:02:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:27 prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container 06:02:27 $ 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-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@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 06:02:28 $ docker top df52263ce88c348ea231f5eb7432cf2cf4b61f84a455f0b094ec924b5470fc4d -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:28 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-405 [Pipeline] fileExists [Pipeline] sh 06:02:28 + make test 06:02:28 go test ./... -coverprofile=coverage.out 06:02:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:02:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:02:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements 06:02:43 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 06:02:43 go vet ./... 06:02:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:02:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:02:46 ./bin/test-attribution-txt.sh 06:02:46 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 06:02:46 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 06:02:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:02:46 $ docker stop --time=1 df52263ce88c348ea231f5eb7432cf2cf4b61f84a455f0b094ec924b5470fc4d 06:02:49 $ docker rm -f --volumes df52263ce88c348ea231f5eb7432cf2cf4b61f84a455f0b094ec924b5470fc4d [Pipeline] // withDockerContainer [Pipeline] sh 06:02:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:50 + ls -al . 06:02:50 total 184 06:02:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 06:02 . 06:02:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 06:00 .. 06:02:50 -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 06:00 .dockerignore 06:02:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 06:02 .git 06:02:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:00 .github 06:02:50 -rw-rw-r-- 1 jenkins jenkins 331 Jan 23 06:00 .gitignore 06:02:50 -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 06:00 .golangci.yml 06:02:50 drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 06:01 .semver 06:02:50 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 23 06:00 Attribution.txt 06:02:50 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 23 06:00 CHANGELOG.md 06:02:50 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 23 06:00 Dockerfile 06:02:50 -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 06:00 GOVERNANCE.md 06:02:50 -rw-rw-r-- 1 jenkins jenkins 680 Jan 23 06:00 Jenkinsfile 06:02:50 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 06:00 LICENSE 06:02:50 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 23 06:00 Makefile 06:02:50 -rw-rw-r-- 1 jenkins jenkins 622 Jan 23 06:00 OWNERS.md 06:02:50 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 23 06:00 README.md 06:02:50 -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 06:01 VERSION 06:02:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 06:00 bin 06:02:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:00 cmd 06:02:50 -rw-r--r-- 1 jenkins jenkins 23241 Jan 23 06:02 coverage.out 06:02:50 -rw-rw-r-- 1 jenkins jenkins 3550 Jan 23 06:00 go.mod 06:02:50 -rw-rw-r-- 1 jenkins jenkins 35198 Jan 23 06:00 go.sum 06:02:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:00 internal 06:02:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 06:00 simulator 06:02:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 06:00 snap 06:02:50 -rw-rw-r-- 1 jenkins jenkins 229 Jan 23 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:51 + 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=ecb938cc6e0ff92e4325b5738b47da28efcebcfd --label arch=amd64 --label version=0.0.0 . 06:02:51 Sending build context to Docker daemon 6.365MB 06:02:51 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:02:51 Step 2/22 : FROM ${BASE} AS builder 06:02:51 ---> bc558894bcbc 06:02:51 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:02:51 ---> Running in 842eb2f46b6f 06:02:51 Removing intermediate container 842eb2f46b6f 06:02:51 ---> c17ed655c4c4 06:02:51 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:51 ---> Running in c12f88d2c6c6 06:02:51 Removing intermediate container c12f88d2c6c6 06:02:51 ---> c6636f6d4262 06:02:51 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:02:51 ---> Running in 376d1a379e17 06:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:02:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:02:52 OK: 217 MiB in 59 packages 06:02:52 Removing intermediate container 376d1a379e17 06:02:52 ---> 1d292558e314 06:02:52 Step 6/22 : WORKDIR /device-modbus-go 06:02:52 ---> Running in 1cfe1daa5bc1 06:02:52 Removing intermediate container 1cfe1daa5bc1 06:02:52 ---> 70cda9df4936 06:02:52 Step 7/22 : COPY go.mod vendor* ./ 06:02:52 ---> b501d58f7d8e 06:02:52 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:52 ---> Running in 0fca824e28b4 06:02:53 Removing intermediate container 0fca824e28b4 06:02:53 ---> 2b7d75333595 06:02:53 Step 9/22 : COPY . . 06:02:54 ---> 79dc976f0aa3 06:02:54 Step 10/22 : RUN ${MAKE} 06:02:54 ---> Running in b3c4b06dc463 06:02:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:03:16 Removing intermediate container b3c4b06dc463 06:03:16 ---> 96f10fcfd5f0 06:03:16 Step 11/22 : FROM alpine:3.14 06:03:16 3.14: Pulling from library/alpine 06:03:16 c7ed990a2339: Pulling fs layer 06:03:16 c7ed990a2339: Verifying Checksum 06:03:16 c7ed990a2339: Download complete 06:03:16 c7ed990a2339: Pull complete 06:03:16 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 06:03:16 Status: Downloaded newer image for alpine:3.14 06:03:16 ---> dd53f409bf0b 06:03:16 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:03:16 ---> Running in 55c1a9b14bd8 06:03:16 Removing intermediate container 55c1a9b14bd8 06:03:16 ---> 0bbc9bfcfae2 06:03:16 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:03:16 ---> Running in 2ebf69b587e5 06:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:03:16 (1/1) Installing dumb-init (1.2.5-r1) 06:03:16 Executing busybox-1.33.1-r8.trigger 06:03:16 OK: 6 MiB in 15 packages 06:03:16 Removing intermediate container 2ebf69b587e5 06:03:16 ---> a912b09a02eb 06:03:16 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:03:17 ---> ee4192d27626 06:03:17 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:03:17 ---> 0fef5585f488 06:03:17 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:03:17 ---> 3edd1c65ffcf 06:03:17 Step 17/22 : EXPOSE 59901 06:03:17 ---> Running in 1b116ed0a6bb 06:03:18 Removing intermediate container 1b116ed0a6bb 06:03:18 ---> 96fd649c9330 06:03:18 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:03:18 ---> Running in 7701ec6cedc4 06:03:18 Removing intermediate container 7701ec6cedc4 06:03:18 ---> 3465f5f63e33 06:03:18 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:03:18 ---> Running in 3489b83c2b0d 06:03:18 Removing intermediate container 3489b83c2b0d 06:03:18 ---> 44349ef22fbd 06:03:18 Step 20/22 : LABEL arch=amd64 06:03:18 ---> Running in 91c015c6c35b 06:03:18 Removing intermediate container 91c015c6c35b 06:03:18 ---> a0ea374a12c3 06:03:18 Step 21/22 : LABEL git_sha=ecb938cc6e0ff92e4325b5738b47da28efcebcfd 06:03:18 ---> Running in 2c0e03152df8 06:03:18 Removing intermediate container 2c0e03152df8 06:03:18 ---> 43f1380f3afe 06:03:18 Step 22/22 : LABEL version=0.0.0 06:03:18 ---> Running in f6e51860edfd 06:03:18 Removing intermediate container f6e51860edfd 06:03:18 ---> 0fbe1da394ec 06:03:18 [Warning] One or more build-args [ARCH] were not consumed 06:03:18 Successfully built 0fbe1da394ec 06:03:18 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:19 06:03:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:19 latest: Pulling from edgex-lftools-log-publisher 06:03:19 5eb5b503b376: Pulling fs layer 06:03:19 5c69ac0246d0: Pulling fs layer 06:03:19 ec43610c2a17: Pulling fs layer 06:03:19 3a2ae6a8a46f: Pulling fs layer 06:03:19 33b1e0a273af: Pulling fs layer 06:03:19 5d3b04190fa2: Pulling fs layer 06:03:19 2f39f015ded8: Pulling fs layer 06:03:19 3a2ae6a8a46f: Waiting 06:03:19 5d3b04190fa2: Waiting 06:03:19 33b1e0a273af: Waiting 06:03:19 2f39f015ded8: Waiting 06:03:19 5c69ac0246d0: Download complete 06:03:19 3a2ae6a8a46f: Verifying Checksum 06:03:19 3a2ae6a8a46f: Download complete 06:03:19 33b1e0a273af: Verifying Checksum 06:03:19 33b1e0a273af: Download complete 06:03:19 5d3b04190fa2: Download complete 06:03:19 ec43610c2a17: Verifying Checksum 06:03:19 ec43610c2a17: Download complete 06:03:20 5eb5b503b376: Verifying Checksum 06:03:20 5eb5b503b376: Download complete 06:03:20 2f39f015ded8: Verifying Checksum 06:03:20 2f39f015ded8: Download complete 06:03:21 5eb5b503b376: Pull complete 06:03:21 5c69ac0246d0: Pull complete 06:03:22 ec43610c2a17: Pull complete 06:03:22 3a2ae6a8a46f: Pull complete 06:03:22 33b1e0a273af: Pull complete 06:03:22 5d3b04190fa2: Pull complete 06:03:26 2f39f015ded8: Pull complete 06:03:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:03:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:26 prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container 06:03:26 $ 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-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@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 06:03:32 $ docker top 2db991328bc3a5c227be4d640e0b62068cda9ce6a71c8b7c5b6e00a1fdd55f6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3338 in /w/workspace/xfoundry_device-modbus-go_PR-405 [Pipeline] { 06:03:32 ---> job-cost.sh 06:03:32 lf-activate-venv: SKIPPING 06:03:32 INFO: No Stack... [Pipeline] ws 06:03:32 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:03:33 Selected Git installation does not exist. Using Default 06:03:33 The recommended git tool is: NONE 06:03:33 INFO: Retrieving Pricing Info for: v3-standard-8 06:03:33 INFO: Archiving Costs [Pipeline] sh 06:03:33 + cat /w/workspace/xfoundry_device-modbus-go_PR-405/archives/cost.csv 06:03:33 + cut -d, -f6 [Pipeline] lock 06:03:33 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] 06:03:33 Resource [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] did not exist. Created. 06:03:33 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:34 + echo total: 0.2199999988079071 [Pipeline] stash 06:03:34 Stashed 1 file(s) [Pipeline] } 06:03:34 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:03:34 $ docker stop --time=1 2db991328bc3a5c227be4d640e0b62068cda9ce6a71c8b7c5b6e00a1fdd55f6a 06:03:35 $ docker rm -f --volumes 2db991328bc3a5c227be4d640e0b62068cda9ce6a71c8b7c5b6e00a1fdd55f6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:38 using credential edgex-jenkins-ssh 06:03:38 Cloning the remote Git repository 06:03:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:03:38 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:03:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:38 > git --version # timeout=10 06:03:38 > git --version # 'git version 2.25.1' 06:03:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:39 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:41 Merging remotes/origin/main commit bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit ecb938cc6e0ff92e4325b5738b47da28efcebcfd 06:03:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:03:41 > git config core.sparsecheckout # timeout=10 06:03:41 > git checkout -f ecb938cc6e0ff92e4325b5738b47da28efcebcfd # timeout=10 06:03:41 Merge succeeded, producing ecb938cc6e0ff92e4325b5738b47da28efcebcfd 06:03:41 Checking out Revision ecb938cc6e0ff92e4325b5738b47da28efcebcfd (PR-405) 06:03:42 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:03:42 > git --version # timeout=10 06:03:42 > git --version # 'git version 2.25.1' 06:03:42 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 06:03:41 > git remote # timeout=10 06:03:41 > git config --get remote.origin.url # timeout=10 06:03:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:41 > git merge bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 06:03:41 > git rev-parse HEAD^{commit} # timeout=10 06:03:41 > git config core.sparsecheckout # timeout=10 06:03:41 > git checkout -f ecb938cc6e0ff92e4325b5738b47da28efcebcfd # timeout=10 [Pipeline] sh 06:03:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:03:43 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:43 Dload Upload Total Spent Left Speed 06:03:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 06:03:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:03:44 + sudo tee /etc/docker/daemon.new 06:03:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:03:44 { 06:03:44 "registry-mirrors": [ 06:03:44 "https://nexus3.edgexfoundry.org:10001" 06:03:44 ], 06:03:44 "bip": "10.250.0.254/24", 06:03:44 "hosts": [ 06:03:44 "tcp://0.0.0.0:5555", 06:03:44 "unix:///var/run/docker.sock" 06:03:44 ], 06:03:44 "mtu": 1458, 06:03:44 "selinux-enabled": true, 06:03:44 "seccomp-profile": "/etc/docker/seccomp.json" 06:03:44 } [Pipeline] sh 06:03:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:03 provisioning config files... 06:04:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5032956274902254123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:04 ---> docker-login.sh 06:04:04 nexus3.edgexfoundry.org:10001 06:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:04 Configure a credential helper to remove this warning. See 06:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:04 06:04:04 Login Succeeded 06:04:04 nexus3.edgexfoundry.org:10002 06:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:05 Configure a credential helper to remove this warning. See 06:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:05 06:04:05 Login Succeeded 06:04:05 nexus3.edgexfoundry.org:10003 06:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:05 Configure a credential helper to remove this warning. See 06:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:05 06:04:05 Login Succeeded 06:04:05 nexus3.edgexfoundry.org:10004 06:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:06 Configure a credential helper to remove this warning. See 06:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:06 06:04:06 Login Succeeded 06:04:06 docker.io 06:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:06 Configure a credential helper to remove this warning. See 06:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:06 06:04:06 Login Succeeded 06:04:06 ---> docker-login.sh ends [Pipeline] } 06:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:07 ========================================================= 06:04:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:04:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:04:07 Sending build context to Docker daemon 3.304MB 06:04:07 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:04:07 Step 2/10 : FROM ${BASE} AS builder 06:04:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:04:08 9b18e9b68314: Pulling fs layer 06:04:08 35d82f9e3411: Pulling fs layer 06:04:08 e16973657156: Pulling fs layer 06:04:08 fc693d55d65f: Pulling fs layer 06:04:08 7e9fc2657dce: Pulling fs layer 06:04:08 dda99020689f: Pulling fs layer 06:04:08 db1c61fa0a46: Pulling fs layer 06:04:08 891c053d2c06: Pulling fs layer 06:04:08 dda99020689f: Waiting 06:04:08 db1c61fa0a46: Waiting 06:04:08 891c053d2c06: Waiting 06:04:08 7e9fc2657dce: Waiting 06:04:08 fc693d55d65f: Waiting 06:04:08 e16973657156: Download complete 06:04:08 35d82f9e3411: Verifying Checksum 06:04:08 35d82f9e3411: Download complete 06:04:08 7e9fc2657dce: Verifying Checksum 06:04:08 7e9fc2657dce: Download complete 06:04:08 dda99020689f: Verifying Checksum 06:04:08 dda99020689f: Download complete 06:04:08 9b18e9b68314: Verifying Checksum 06:04:08 9b18e9b68314: Download complete 06:04:09 9b18e9b68314: Pull complete 06:04:09 891c053d2c06: Verifying Checksum 06:04:09 891c053d2c06: Download complete 06:04:09 35d82f9e3411: Pull complete 06:04:09 e16973657156: Pull complete 06:04:10 db1c61fa0a46: Verifying Checksum 06:04:10 db1c61fa0a46: Download complete 06:04:11 fc693d55d65f: Verifying Checksum 06:04:11 fc693d55d65f: Download complete 06:04:23 fc693d55d65f: Pull complete 06:04:23 7e9fc2657dce: Pull complete 06:04:23 dda99020689f: Pull complete 06:04:30 db1c61fa0a46: Pull complete 06:04:32 891c053d2c06: Pull complete 06:04:32 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:04:32 ---> f96f9c87975a 06:04:32 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:04:34 ---> Running in 3ac176a5be82 06:04:34 Removing intermediate container 3ac176a5be82 06:04:34 ---> 8bb9c1b54ee8 06:04:34 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:34 ---> Running in 3df79de7842a 06:04:35 Removing intermediate container 3df79de7842a 06:04:35 ---> e84200b7cc89 06:04:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:04:35 ---> Running in 0a9a8be71293 06:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:04:37 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:04:37 (2/8) Installing libedit (20210910.3.1-r0) 06:04:37 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:04:37 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:04:37 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:04:37 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:04:37 (7/8) Installing openssh-server (9.0_p1-r2) 06:04:37 (8/8) Installing openssh (9.0_p1-r2) 06:04:37 Executing busybox-1.35.0-r17.trigger 06:04:37 OK: 228 MiB in 59 packages 06:04:40 Removing intermediate container 0a9a8be71293 06:04:40 ---> 3311fc439aa6 06:04:40 Step 6/10 : WORKDIR /device-modbus-go 06:04:40 ---> Running in 4c3944fba0a5 06:04:40 Removing intermediate container 4c3944fba0a5 06:04:40 ---> c4044984540a 06:04:40 Step 7/10 : COPY go.mod vendor* ./ 06:04:41 ---> d523b0445bf8 06:04:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:41 ---> Running in 0fc7f8991eed 06:05:49 Removing intermediate container 0fc7f8991eed 06:05:49 ---> 50540b8217f3 06:05:49 Step 9/10 : COPY . . 06:05:49 ---> bad097a3ce12 06:05:49 Step 10/10 : RUN ${MAKE} 06:05:49 ---> Running in 8d352c75fe9e 06:05:49 noop 06:05:49 Removing intermediate container 8d352c75fe9e 06:05:49 ---> 4beaed5e7c3e 06:05:49 Successfully built 4beaed5e7c3e 06:05:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:49 + docker inspect -f . ci-base-image-arm64 06:05:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:49 prd-ubuntu20.04-docker-arm64-4c-16g-3338 does not seem to be running inside a container 06:05:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:51 $ docker top b015dd8b4c6e68aa3d60d85ad9708455bba044bea33bce79212fba24610491fc -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:51 + go version 06:05:51 go version go1.18.7 linux/arm64 [Pipeline] } 06:05:51 $ docker stop --time=1 b015dd8b4c6e68aa3d60d85ad9708455bba044bea33bce79212fba24610491fc 06:05:53 $ docker rm -f --volumes b015dd8b4c6e68aa3d60d85ad9708455bba044bea33bce79212fba24610491fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:54 + docker inspect -f . ci-base-image-arm64 06:05:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:54 prd-ubuntu20.04-docker-arm64-4c-16g-3338 does not seem to be running inside a container 06:05:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:56 $ docker top 30e224ed35757deda149b7c0a5787ab9c253c1ba2b4293e5d8cc23b02e7b534c -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:57 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:05:57 + make test 06:05:57 go test ./... -coverprofile=coverage.out 06:05:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:07:20 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:07:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements 06:07:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:07:20 go vet ./... 06:07:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:07:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:07:42 ./bin/test-attribution-txt.sh 06:07:42 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 06:07:42 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 06:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:07:42 $ docker stop --time=1 30e224ed35757deda149b7c0a5787ab9c253c1ba2b4293e5d8cc23b02e7b534c 06:07:44 $ docker rm -f --volumes 30e224ed35757deda149b7c0a5787ab9c253c1ba2b4293e5d8cc23b02e7b534c [Pipeline] // withDockerContainer [Pipeline] sh 06:07:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:45 Warning: overwriting stash ‘coverage-report’ 06:07:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:47 + ls -al . 06:07:47 total 180 06:07:47 drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 06:05 . 06:07:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 06:03 .. 06:07:47 -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 06:03 .dockerignore 06:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 06:03 .git 06:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:03 .github 06:07:47 -rw-rw-r-- 1 jenkins jenkins 331 Jan 23 06:03 .gitignore 06:07:47 -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 06:03 .golangci.yml 06:07:47 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 23 06:03 Attribution.txt 06:07:47 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 23 06:03 CHANGELOG.md 06:07:47 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 23 06:03 Dockerfile 06:07:47 -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 06:03 GOVERNANCE.md 06:07:47 -rw-rw-r-- 1 jenkins jenkins 680 Jan 23 06:03 Jenkinsfile 06:07:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 06:03 LICENSE 06:07:47 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 23 06:03 Makefile 06:07:47 -rw-rw-r-- 1 jenkins jenkins 622 Jan 23 06:03 OWNERS.md 06:07:47 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 23 06:03 README.md 06:07:47 -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 06:01 VERSION 06:07:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 06:03 bin 06:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:03 cmd 06:07:47 -rw-r--r-- 1 jenkins jenkins 23241 Jan 23 06:07 coverage.out 06:07:47 -rw-rw-r-- 1 jenkins jenkins 3550 Jan 23 06:03 go.mod 06:07:47 -rw-rw-r-- 1 jenkins jenkins 35198 Jan 23 06:03 go.sum 06:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:03 internal 06:07:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 06:03 simulator 06:07:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 06:03 snap 06:07:47 -rw-rw-r-- 1 jenkins jenkins 229 Jan 23 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:48 + 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=ecb938cc6e0ff92e4325b5738b47da28efcebcfd --label arch=arm64 --label version=0.0.0 . 06:07:48 Sending build context to Docker daemon 3.328MB 06:07:48 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:07:48 Step 2/22 : FROM ${BASE} AS builder 06:07:48 ---> 4beaed5e7c3e 06:07:48 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:07:48 ---> Running in 64f74551a77e 06:07:49 Removing intermediate container 64f74551a77e 06:07:49 ---> 1a930d9b6753 06:07:49 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:49 ---> Running in 30a17307dcc4 06:07:49 Removing intermediate container 30a17307dcc4 06:07:49 ---> 01619bf2c1d6 06:07:49 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:07:49 ---> Running in ac25e33fa854 06:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:07:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:07:52 OK: 228 MiB in 59 packages 06:07:52 Removing intermediate container ac25e33fa854 06:07:52 ---> 5055a628fd31 06:07:52 Step 6/22 : WORKDIR /device-modbus-go 06:07:52 ---> Running in aa536a481ab3 06:07:53 Removing intermediate container aa536a481ab3 06:07:53 ---> de2e8f08283c 06:07:53 Step 7/22 : COPY go.mod vendor* ./ 06:07:54 ---> 95138a9d00ba 06:07:54 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:54 ---> Running in 23bdcdee54c4 06:07:57 Removing intermediate container 23bdcdee54c4 06:07:57 ---> 7aa0b2dda9fe 06:07:57 Step 9/22 : COPY . . 06:07:59 ---> e91356e9e580 06:07:59 Step 10/22 : RUN ${MAKE} 06:07:59 ---> Running in dca1f006635b 06:08:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:10:22 Removing intermediate container dca1f006635b 06:10:22 ---> 93652bc3ca82 06:10:22 Step 11/22 : FROM alpine:3.14 06:10:22 3.14: Pulling from library/alpine 06:10:22 90cda3b7c325: Pulling fs layer 06:10:22 90cda3b7c325: Verifying Checksum 06:10:22 90cda3b7c325: Download complete 06:10:22 90cda3b7c325: Pull complete 06:10:22 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 06:10:22 Status: Downloaded newer image for alpine:3.14 06:10:22 ---> 275902a1839d 06:10:22 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:10:22 ---> Running in 6db26ff52ea2 06:10:22 Removing intermediate container 6db26ff52ea2 06:10:22 ---> 811bb262f78c 06:10:22 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:10:22 ---> Running in 206cf389e24f 06:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:10:22 (1/1) Installing dumb-init (1.2.5-r1) 06:10:22 Executing busybox-1.33.1-r8.trigger 06:10:22 OK: 6 MiB in 15 packages 06:10:22 Removing intermediate container 206cf389e24f 06:10:22 ---> cca52e6168aa 06:10:22 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:10:23 ---> 45e64d4074e0 06:10:23 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:10:23 ---> 47e2c31b137e 06:10:23 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:10:23 ---> b50c775e071a 06:10:23 Step 17/22 : EXPOSE 59901 06:10:23 ---> Running in a887800cd5be 06:10:24 Removing intermediate container a887800cd5be 06:10:24 ---> 4b51cc681202 06:10:24 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:10:24 ---> Running in 9ce5726973bf 06:10:24 Removing intermediate container 9ce5726973bf 06:10:24 ---> 8a914913f018 06:10:24 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:10:24 ---> Running in 2d13466dd03d 06:10:24 Removing intermediate container 2d13466dd03d 06:10:24 ---> 2e5d900ca718 06:10:24 Step 20/22 : LABEL arch=arm64 06:10:25 ---> Running in 6db84e394964 06:10:25 Removing intermediate container 6db84e394964 06:10:25 ---> 4dd6c1997571 06:10:25 Step 21/22 : LABEL git_sha=ecb938cc6e0ff92e4325b5738b47da28efcebcfd 06:10:25 ---> Running in e7e7e1a3cb8a 06:10:25 Removing intermediate container e7e7e1a3cb8a 06:10:25 ---> 1934eeed78cc 06:10:25 Step 22/22 : LABEL version=0.0.0 06:10:25 ---> Running in 9ad407247825 06:10:25 Removing intermediate container 9ad407247825 06:10:25 ---> 0ad25b8a382f 06:10:25 [Warning] One or more build-args [ARCH] were not consumed 06:10:25 Successfully built 0ad25b8a382f 06:10:25 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:26 06:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:27 arm64: Pulling from edgex-lftools-log-publisher 06:10:27 8998bd30e6a1: Pulling fs layer 06:10:27 04944245beec: Pulling fs layer 06:10:27 699f458cf7ca: Pulling fs layer 06:10:27 765212b225bb: Pulling fs layer 06:10:27 f23df028b6ca: Pulling fs layer 06:10:27 d65c8cfc05b1: Pulling fs layer 06:10:27 2437ff75d9bd: Pulling fs layer 06:10:27 765212b225bb: Waiting 06:10:27 f23df028b6ca: Waiting 06:10:27 d65c8cfc05b1: Waiting 06:10:27 04944245beec: Verifying Checksum 06:10:27 04944245beec: Download complete 06:10:27 765212b225bb: Verifying Checksum 06:10:27 765212b225bb: Download complete 06:10:27 f23df028b6ca: Verifying Checksum 06:10:27 f23df028b6ca: Download complete 06:10:27 d65c8cfc05b1: Verifying Checksum 06:10:27 d65c8cfc05b1: Download complete 06:10:27 699f458cf7ca: Verifying Checksum 06:10:27 699f458cf7ca: Download complete 06:10:28 8998bd30e6a1: Verifying Checksum 06:10:28 8998bd30e6a1: Download complete 06:10:30 2437ff75d9bd: Verifying Checksum 06:10:30 2437ff75d9bd: Download complete 06:10:32 8998bd30e6a1: Pull complete 06:10:32 04944245beec: Pull complete 06:10:33 699f458cf7ca: Pull complete 06:10:33 765212b225bb: Pull complete 06:10:34 f23df028b6ca: Pull complete 06:10:34 d65c8cfc05b1: Pull complete 06:10:49 2437ff75d9bd: Pull complete 06:10:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:10:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:50 prd-ubuntu20.04-docker-arm64-4c-16g-3338 does not seem to be running inside a container 06:10:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:10:52 $ docker top 2dd81ed31eb94a1cf32f22a7e6f3c29beb0529c7fe0699cdacb40290d7092468 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:53 ---> job-cost.sh 06:10:53 lf-activate-venv: SKIPPING 06:10:53 INFO: No Stack... 06:10:54 INFO: Retrieving Pricing Info for: v3-standard-4 06:10:55 INFO: Archiving Costs [Pipeline] sh 06:10:57 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:10:57 + cut -d, -f6 [Pipeline] lock 06:10:57 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] 06:10:57 Resource [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] did not exist. Created. 06:10:57 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:57 /w/workspace/device-modbus-go/1@tmp/durable-c4be369b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:10:58 + echo total: 0.10999999940395355 [Pipeline] stash 06:10:58 Warning: overwriting stash ‘stack-cost’ 06:10:58 Stashed 1 file(s) [Pipeline] } 06:10:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:58 $ docker stop --time=1 2dd81ed31eb94a1cf32f22a7e6f3c29beb0529c7fe0699cdacb40290d7092468 06:10:59 $ docker rm -f --volumes 2dd81ed31eb94a1cf32f22a7e6f3c29beb0529c7fe0699cdacb40290d7092468 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:11:00 provisioning config files... 06:11:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/config5133911080055860591tmp [Pipeline] { [Pipeline] sh 06:11:01 + set +x 06:11:01 + curl -s https://codecov.io/bash 06:11:01 + bash -s -- 06:11:01 06:11:01 _____ _ 06:11:01 / ____| | | 06:11:01 | | ___ __| | ___ ___ _____ __ 06:11:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:11:01 | |___| (_) | (_| | __/ (_| (_) \ V / 06:11:01 \_____\___/ \__,_|\___|\___\___/ \_/ 06:11:01 Bash-1.0.6 06:11:01 06:11:01 06:11:01 ==> git version 2.25.1 found 06:11:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:11:01 Release-Date: 2020-01-08 06:11:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:11:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:11:01 ==> Jenkins CI detected. 06:11:01 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-405 06:11:01 project root: . 06:11:01 --> token set from env 06:11:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:11:01 ==> Running gcov in . (disable via -X gcov) 06:11:01 ==> Python coveragepy not found 06:11:01 ==> Searching for coverage reports in: 06:11:01 + . 06:11:01 -> Found 1 reports 06:11:01 ==> Detecting git/mercurial file structure 06:11:01 ==> Reading reports 06:11:01 + ./coverage.out bytes=23241 06:11:01 ==> Appending adjustments 06:11:01 https://docs.codecov.io/docs/fixing-reports 06:11:01 + Found adjustments 06:11:01 ==> Gzipping contents 06:11:01 4.0K /tmp/codecov.c0RXYz.gz 06:11:01 ==> Uploading reports 06:11:01 url: https://codecov.io 06:11:01 query: branch=PR-405&commit=ecb938cc6e0ff92e4325b5738b47da28efcebcfd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-405%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=405&job=&cmd_args= 06:11:01 -> Pinging Codecov 06:11:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-405&commit=ecb938cc6e0ff92e4325b5738b47da28efcebcfd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-405%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=405&job=&cmd_args= 06:11:02 -> Uploading to 06:11:02 https://storage.googleapis.com/codecov/v4/raw/2023-01-23/55DBCA73C666E3227836607328DD7E49/ecb938cc6e0ff92e4325b5738b47da28efcebcfd/4aba2ea3-2c7b-4d22-8b09-7a027ec0b857.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230123T061101Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5dc15e8e5051dd2c988e2abc9802b0c7f9ba1cc79cab9faca6b036da1dc04f34 06:11:02 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:02 Dload Upload Total Spent Left Speed 06:11:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 16913 --:--:-- --:--:-- --:--:-- 16913 06:11:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] } 06:11:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:11:03 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-405/archives ] 06:11:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-405/archives 06:11:03 total 16 06:11:03 drwxr-xr-x 3 root root 4096 Jan 23 06:03 . 06:11:03 drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 06:03 .. 06:11:03 drwxr-xr-x 2 root root 4096 Jan 23 06:03 cost 06:11:03 -rw-r--r-- 1 root root 88 Jan 23 06:03 cost.csv 06:11:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-405/archives 06:11:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-405/archives 06:11:03 total 16 06:11:03 drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 06:03 . 06:11:03 drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 06:03 .. 06:11:03 drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 06:03 cost 06:11:03 -rw-r--r-- 1 jenkins jenkins 88 Jan 23 06:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:05 ---> package-listing.sh 06:11:05 ++ facter osfamily 06:11:05 ++ tr '[:upper:]' '[:lower:]' 06:11:05 + OS_FAMILY=debian 06:11:05 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-405 06:11:05 + START_PACKAGES=/tmp/packages_start.txt 06:11:05 + END_PACKAGES=/tmp/packages_end.txt 06:11:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:05 + PACKAGES=/tmp/packages_start.txt 06:11:05 + '[' /w/workspace/xfoundry_device-modbus-go_PR-405 ']' 06:11:05 + PACKAGES=/tmp/packages_end.txt 06:11:05 + case "${OS_FAMILY}" in 06:11:05 + dpkg -l 06:11:05 + grep '^ii' 06:11:05 + '[' -f /tmp/packages_start.txt ']' 06:11:05 + '[' -f /tmp/packages_end.txt ']' 06:11:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:05 + '[' /w/workspace/xfoundry_device-modbus-go_PR-405 ']' 06:11:05 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-405/archives/ 06:11:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-405/archives/ [Pipeline] echo 06:11:05 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-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:06 prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container 06:11:06 $ 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-405/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-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:06 $ docker top 97c58e189eb6a55d223387be2bc2638bb1eb965d876c21914f16b8539ad4b059 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:06 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:07 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:07 + ls /var/log/sa-host 06:11:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:07 provisioning config files... 06:11:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/config9358281331126476489tmp [Pipeline] { [Pipeline] echo 06:11:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:07 ---> create-netrc.sh [Pipeline] } 06:11:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:08 ---> python-tools-install.sh [Pipeline] echo 06:11:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:08 ---> sudo-logs.sh 06:11:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:09 ---> job-cost.sh 06:11:09 lf-activate-venv: SKIPPING 06:11:09 DEBUG: total: 0.2199999988079071 06:11:09 INFO: Retrieving Stack Cost... 06:11:10 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:10 INFO: Archiving Costs [Pipeline] echo 06:11:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:11 ---> logs-deploy.sh 06:11:11 lf-activate-venv: SKIPPING 06:11:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-405/1 06:11:11 INFO: archiving workspace using pattern(s): 06:11:11 Archives upload complete. 06:11:12 INFO: archiving logs to Nexus