Pull request #410 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 312a9458e21a282c28ee8e5345a43c3e810412cf+05607db3767b12e2b1688c1d4c1138f7ff4649fd (4e93e2d32474501ac465768d5c5262d9fd386a94) 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-ssh7114520801133868748.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-ssh4339112458124104921.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-410/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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3046709883771947661.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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10398489817647086242.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-ssh16166800853020975024.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-410/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-410/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13679963651971177022.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5477’ Running on prd-ubuntu20.04-docker-8c-8g-5487 in /w/workspace/xfoundry_device-modbus-go_PR-410 [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-410 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 05607db3767b12e2b1688c1d4c1138f7ff4649fd into PR head commit 312a9458e21a282c28ee8e5345a43c3e810412cf Merge succeeded, producing 312a9458e21a282c28ee8e5345a43c3e810412cf Checking out Revision 312a9458e21a282c28ee8e5345a43c3e810412cf (PR-410) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f 312a9458e21a282c28ee8e5345a43c3e810412cf # 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 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 312a9458e21a282c28ee8e5345a43c3e810412cf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:00:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:31 ========================================================= 06:00:31 EdgeX Global Pipelines Version Info 06:00:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:00:32 ------------------- 06:00:32 stable info: 06:00:32 ------------------- 06:00:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:00:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:00:32 Message: update stable to v1.0.244 06:00:33 ------------------- 06:00:33 experimental info: 06:00:33 ------------------- 06:00:33 Commited By: **** collab-it+edgex@linuxfoundation.org 06:00:33 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:00:33 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-410 [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-410 [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-410 [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 312a9458e21a282c28ee8e5345a43c3e810412cf [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 312a945 [Pipeline] echo 06:00:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:34 provisioning config files... 06:00:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/config3205830500584235015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:35 ---> docker-login.sh 06:00:35 nexus3.edgexfoundry.org:10001 06:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:35 Configure a credential helper to remove this warning. See 06:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:35 06:00:35 Login Succeeded 06:00:35 nexus3.edgexfoundry.org:10002 06:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:35 Configure a credential helper to remove this warning. See 06:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:35 06:00:35 Login Succeeded 06:00:35 nexus3.edgexfoundry.org:10003 06:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:35 Configure a credential helper to remove this warning. See 06:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:35 06:00:35 Login Succeeded 06:00:35 nexus3.edgexfoundry.org:10004 06:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:35 Configure a credential helper to remove this warning. See 06:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:35 06:00:35 Login Succeeded 06:00:35 docker.io 06:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:36 Configure a credential helper to remove this warning. See 06:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:36 06:00:36 Login Succeeded 06:00:36 ---> docker-login.sh ends [Pipeline] } 06:00:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:36 + git rev-list -1 --merges 312a9458e21a282c28ee8e5345a43c3e810412cf~1..312a9458e21a282c28ee8e5345a43c3e810412cf [Pipeline] echo 06:00:36 -----------> git rev-list -1 --merges 312a9458e21a282c28ee8e5345a43c3e810412cf~1..312a9458e21a282c28ee8e5345a43c3e810412cf 312a9458e21a282c28ee8e5345a43c3e810412cf [false] [Pipeline] sh 06:00:37 + git log --format=format:%s -1 312a9458e21a282c28ee8e5345a43c3e810412cf [Pipeline] echo 06:00:37 ========================================================= 06:00:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:37 + git log --format=format:%s -1 312a9458e21a282c28ee8e5345a43c3e810412cf [Pipeline] echo 06:00:37 [semverPrep] GIT_COMMIT: 312a9458e21a282c28ee8e5345a43c3e810412cf, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 06:00:37 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:38 + grep -v github /etc/ssh/ssh_known_hosts 06:00:38 + [ -e /tmp/ssh_known_hosts ] 06:00:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:38 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:38 06:00:38 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:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:38 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:38 b85a868b505f: Pulling fs layer 06:00:38 e2be974225ed: Pulling fs layer 06:00:38 339a4e72a1f5: Pulling fs layer 06:00:38 988bab9f4d93: Pulling fs layer 06:00:38 1469e6f7b9e6: Pulling fs layer 06:00:38 eaf3925da568: Pulling fs layer 06:00:38 bab4dde63d76: Pulling fs layer 06:00:38 bde34c3a00c8: Pulling fs layer 06:00:38 b352a97aabf1: Pulling fs layer 06:00:38 4872d77fe225: Pulling fs layer 06:00:38 5851b861e8e6: Pulling fs layer 06:00:38 b352a97aabf1: Waiting 06:00:38 1469e6f7b9e6: Waiting 06:00:38 4872d77fe225: Waiting 06:00:38 eaf3925da568: Waiting 06:00:38 5851b861e8e6: Waiting 06:00:38 bab4dde63d76: Waiting 06:00:38 988bab9f4d93: Waiting 06:00:38 bde34c3a00c8: Waiting 06:00:38 e2be974225ed: Download complete 06:00:38 988bab9f4d93: Download complete 06:00:39 1469e6f7b9e6: Verifying Checksum 06:00:39 1469e6f7b9e6: Download complete 06:00:39 eaf3925da568: Verifying Checksum 06:00:39 eaf3925da568: Download complete 06:00:39 339a4e72a1f5: Verifying Checksum 06:00:39 339a4e72a1f5: Download complete 06:00:39 bde34c3a00c8: Verifying Checksum 06:00:39 bde34c3a00c8: Download complete 06:00:39 b352a97aabf1: Verifying Checksum 06:00:39 b352a97aabf1: Download complete 06:00:39 b85a868b505f: Download complete 06:00:39 5851b861e8e6: Download complete 06:00:40 bab4dde63d76: Verifying Checksum 06:00:40 bab4dde63d76: Download complete 06:00:40 4872d77fe225: Verifying Checksum 06:00:40 4872d77fe225: Download complete 06:00:40 b85a868b505f: Pull complete 06:00:40 e2be974225ed: Pull complete 06:00:41 339a4e72a1f5: Pull complete 06:00:41 988bab9f4d93: Pull complete 06:00:41 1469e6f7b9e6: Pull complete 06:00:41 eaf3925da568: Pull complete 06:00:43 bab4dde63d76: Pull complete 06:00:43 bde34c3a00c8: Pull complete 06:00:43 b352a97aabf1: Pull complete 06:00:43 4872d77fe225: Pull complete 06:00:43 5851b861e8e6: Pull complete 06:00:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:44 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 06:00:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@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:00:45 $ docker top 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d -eo pid,comm 06:00:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:00:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:45 [ssh-agent] Looking for ssh-agent implementation... 06:00:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:45 $ docker exec 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d ssh-agent 06:00:46 SSH_AUTH_SOCK=/tmp/ssh-fHK1pUlZpZ2F/agent.31 06:00:46 SSH_AGENT_PID=37 06:00:46 Running ssh-add (command line suppressed) 06:00:46 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-410@tmp/private_key_3410259149126224571.key (/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/private_key_3410259149126224571.key) 06:00:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:46 + git tag --points-at HEAD [Pipeline] } 06:00:46 $ docker exec --env ******** --env ******** 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d ssh-agent -k 06:00:46 unset SSH_AUTH_SOCK; 06:00:46 unset SSH_AGENT_PID; 06:00:46 echo Agent pid 37 killed; 06:00:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:46 [ssh-agent] Looking for ssh-agent implementation... 06:00:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:46 $ docker exec 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d ssh-agent 06:00:46 SSH_AUTH_SOCK=/tmp/ssh-ujY854cpIAmf/agent.70 06:00:46 SSH_AGENT_PID=76 06:00:46 Running ssh-add (command line suppressed) 06:00:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-410@tmp/private_key_9580739704652680606.key (/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/private_key_9580739704652680606.key) 06:00:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:47 + git semver init 06:00:47 2023-02-13 06:00:47,535 [run_init] DEBUG init version:0.0.0 force:False 06:00:47 2023-02-13 06:00:47,536 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-410/.semver 06:00:47 2023-02-13 06:00:47,536 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-410/.semver 06:00:47 2023-02-13 06:00:47,536 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-410/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-410, universal_newlines=False, shell=None, istream=None) 06:00:48 2023-02-13 06:00:48,460 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-410/.git/info/exclude 06:00:48 2023-02-13 06:00:48,460 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-410/.semver/PR-410 with force:False 06:00:48 2023-02-13 06:00:48,461 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-410/.semver/PR-410 06:00:48 2023-02-13 06:00:48,465 [execute] INFO git cat-file --batch-check 06:00:48 2023-02-13 06:00:48,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) 06:00:48 2023-02-13 06:00:48,471 [execute] INFO git cat-file --batch 06:00:48 2023-02-13 06:00:48,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) 06:00:48 2023-02-13 06:00:48,475 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-410/.semver/PR-410 06:00:48 0.0.0 [Pipeline] } 06:00:48 $ docker exec --env ******** --env ******** 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d ssh-agent -k 06:00:48 unset SSH_AUTH_SOCK; 06:00:48 unset SSH_AGENT_PID; 06:00:48 echo Agent pid 76 killed; 06:00:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:49 + git semver [Pipeline] } 06:00:49 $ docker stop --time=1 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d 06:00:50 $ docker rm -f --volumes 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d [Pipeline] // withDockerContainer [Pipeline] sh 06:00:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:51 Stashed 1 file(s) [Pipeline] echo 06:00:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:52 provisioning config files... 06:00:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/config16758411779264722886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:52 ---> docker-login.sh 06:00:52 nexus3.edgexfoundry.org:10001 06:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:52 Configure a credential helper to remove this warning. See 06:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:52 06:00:52 Login Succeeded 06:00:52 nexus3.edgexfoundry.org:10002 06:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:52 Configure a credential helper to remove this warning. See 06:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:52 06:00:52 Login Succeeded 06:00:52 nexus3.edgexfoundry.org:10003 06:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:52 Configure a credential helper to remove this warning. See 06:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:52 06:00:52 Login Succeeded 06:00:52 nexus3.edgexfoundry.org:10004 06:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:52 Configure a credential helper to remove this warning. See 06:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:52 06:00:52 Login Succeeded 06:00:52 docker.io 06:00:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:53 Configure a credential helper to remove this warning. See 06:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:53 06:00:53 Login Succeeded 06:00:53 ---> docker-login.sh ends [Pipeline] } 06:00:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:53 ========================================================= 06:00:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:00:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:53 + 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:00:53 Sending build context to Docker daemon 6.372MB 06:00:53 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:00:53 Step 2/10 : FROM ${BASE} AS builder 06:00:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:53 213ec9aee27d: Pulling fs layer 06:00:53 4583459ba037: Pulling fs layer 06:00:53 93c1e223e6f2: Pulling fs layer 06:00:53 53926ce57604: Pulling fs layer 06:00:53 21b2b0c7a3f4: Pulling fs layer 06:00:53 22ff95d597cd: Pulling fs layer 06:00:53 12d6caf4c0d1: Pulling fs layer 06:00:53 96b7cbca73a9: Pulling fs layer 06:00:53 a7acece74701: Pulling fs layer 06:00:53 96b7cbca73a9: Waiting 06:00:53 a7acece74701: Waiting 06:00:53 22ff95d597cd: Waiting 06:00:53 53926ce57604: Waiting 06:00:53 12d6caf4c0d1: Waiting 06:00:53 21b2b0c7a3f4: Waiting 06:00:53 93c1e223e6f2: Verifying Checksum 06:00:53 93c1e223e6f2: Download complete 06:00:53 4583459ba037: Verifying Checksum 06:00:53 4583459ba037: Download complete 06:00:54 21b2b0c7a3f4: Verifying Checksum 06:00:54 21b2b0c7a3f4: Download complete 06:00:54 22ff95d597cd: Verifying Checksum 06:00:54 22ff95d597cd: Download complete 06:00:54 213ec9aee27d: Verifying Checksum 06:00:54 213ec9aee27d: Download complete 06:00:54 12d6caf4c0d1: Verifying Checksum 06:00:54 12d6caf4c0d1: Download complete 06:00:54 213ec9aee27d: Pull complete 06:00:54 4583459ba037: Pull complete 06:00:54 93c1e223e6f2: Pull complete 06:00:55 a7acece74701: Verifying Checksum 06:00:55 a7acece74701: Download complete 06:00:55 53926ce57604: Verifying Checksum 06:00:55 53926ce57604: Download complete 06:00:55 96b7cbca73a9: Verifying Checksum 06:00:55 96b7cbca73a9: Download complete 06:00:59 53926ce57604: Pull complete 06:00:59 21b2b0c7a3f4: Pull complete 06:00:59 22ff95d597cd: Pull complete 06:00:59 12d6caf4c0d1: Pull complete 06:01:01 96b7cbca73a9: Pull complete 06:01:02 a7acece74701: Pull complete 06:01:02 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:01:02 ---> db6d94c90886 06:01:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:01:04 ---> Running in 0b31ac101b12 06:01:04 Removing intermediate container 0b31ac101b12 06:01:04 ---> 1544d90044d0 06:01:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:04 ---> Running in 0df729a92a87 06:01:04 Removing intermediate container 0df729a92a87 06:01:04 ---> 2c0efe5e32c2 06:01:04 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:01:04 ---> Running in bb9427c0b4d1 06:01:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:01:05 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:01:05 (2/8) Installing libedit (20210910.3.1-r0) 06:01:05 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:01:05 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:01:05 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:01:05 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:01:05 (7/8) Installing openssh-server (9.0_p1-r2) 06:01:05 (8/8) Installing openssh (9.0_p1-r2) 06:01:05 Executing busybox-1.35.0-r17.trigger 06:01:05 OK: 217 MiB in 59 packages 06:01:05 Removing intermediate container bb9427c0b4d1 06:01:05 ---> 8deae2c6006c 06:01:05 Step 6/10 : WORKDIR /device-modbus-go 06:01:05 ---> Running in e6484ed2e351 06:01:05 Removing intermediate container e6484ed2e351 06:01:05 ---> dadcc45a830f 06:01:05 Step 7/10 : COPY go.mod vendor* ./ 06:01:06 ---> 001b88b62a87 06:01:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:06 ---> Running in 36393e68be88 06:01:06 Still waiting to schedule task 06:01:06 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:01:32 Removing intermediate container 36393e68be88 06:01:32 ---> 9de63e874cad 06:01:32 Step 9/10 : COPY . . 06:01:32 ---> 9e3b0f9d34d5 06:01:32 Step 10/10 : RUN ${MAKE} 06:01:32 ---> Running in 0a32270dad99 06:01:32 noop 06:01:32 Removing intermediate container 0a32270dad99 06:01:32 ---> 48375ef49d15 06:01:32 Successfully built 48375ef49d15 06:01:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:33 + docker inspect -f . ci-base-image-x86_64 06:01:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:33 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 06:01:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@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:01:33 $ docker top 630e352f015996e6f8ee63e576a07d131ebe1be2b8d6b6d26597ca6608e9bffb -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:34 + go version 06:01:34 go version go1.18.7 linux/amd64 [Pipeline] } 06:01:34 $ docker stop --time=1 630e352f015996e6f8ee63e576a07d131ebe1be2b8d6b6d26597ca6608e9bffb 06:01:35 $ docker rm -f --volumes 630e352f015996e6f8ee63e576a07d131ebe1be2b8d6b6d26597ca6608e9bffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:36 + docker inspect -f . ci-base-image-x86_64 06:01:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:36 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 06:01:36 $ 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-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@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:01:36 $ docker top 3869888f3806143558f2663ea2440b7d716cc070f4fab2d6621a12d493908295 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:37 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-410 [Pipeline] fileExists [Pipeline] sh 06:01:37 + make test 06:01:37 go test ./... -coverprofile=coverage.out 06:01:37 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:01:46 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 06:01:46 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd 06:01:46 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate 06:01:46 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete 06:01:46 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.7% of statements 06:01:46 make: *** [Makefile:30: unittest] Error 2 [Pipeline] } 06:01:46 $ docker stop --time=1 3869888f3806143558f2663ea2440b7d716cc070f4fab2d6621a12d493908295 06:01:47 $ docker rm -f --volumes 3869888f3806143558f2663ea2440b7d716cc070f4fab2d6621a12d493908295 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:49 06:01:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:49 latest: Pulling from edgex-lftools-log-publisher 06:01:49 5eb5b503b376: Pulling fs layer 06:01:49 5c69ac0246d0: Pulling fs layer 06:01:49 ec43610c2a17: Pulling fs layer 06:01:49 3a2ae6a8a46f: Pulling fs layer 06:01:49 33b1e0a273af: Pulling fs layer 06:01:49 5d3b04190fa2: Pulling fs layer 06:01:49 2f39f015ded8: Pulling fs layer 06:01:49 3a2ae6a8a46f: Waiting 06:01:49 33b1e0a273af: Waiting 06:01:49 5d3b04190fa2: Waiting 06:01:49 2f39f015ded8: Waiting 06:01:49 5c69ac0246d0: Verifying Checksum 06:01:49 5c69ac0246d0: Download complete 06:01:49 3a2ae6a8a46f: Verifying Checksum 06:01:49 3a2ae6a8a46f: Download complete 06:01:49 33b1e0a273af: Verifying Checksum 06:01:49 33b1e0a273af: Download complete 06:01:49 5d3b04190fa2: Verifying Checksum 06:01:49 5d3b04190fa2: Download complete 06:01:49 ec43610c2a17: Verifying Checksum 06:01:49 ec43610c2a17: Download complete 06:01:50 5eb5b503b376: Verifying Checksum 06:01:50 5eb5b503b376: Download complete 06:01:50 2f39f015ded8: Download complete 06:01:50 5eb5b503b376: Pull complete 06:01:51 5c69ac0246d0: Pull complete 06:01:51 ec43610c2a17: Pull complete 06:01:51 3a2ae6a8a46f: Pull complete 06:01:51 33b1e0a273af: Pull complete 06:01:51 5d3b04190fa2: Pull complete 06:01:56 2f39f015ded8: Pull complete 06:01:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:56 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 06:01:56 $ 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-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@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:01:58 $ docker top 86381a6ac6eddf81b68af54584c97751169e6019aa5d8bf640f87d30f91869a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:59 ---> job-cost.sh 06:01:59 lf-activate-venv: SKIPPING 06:01:59 INFO: No Stack... 06:01:59 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:00 INFO: Archiving Costs [Pipeline] sh 06:02:00 + cat /w/workspace/xfoundry_device-modbus-go_PR-410/archives/cost.csv 06:02:00 + cut -d, -f6 [Pipeline] lock 06:02:00 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] 06:02:00 Resource [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] did not exist. Created. 06:02:00 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:00 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:00 Stashed 1 file(s) [Pipeline] } 06:02:00 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:00 $ docker stop --time=1 86381a6ac6eddf81b68af54584c97751169e6019aa5d8bf640f87d30f91869a9 06:02:02 $ docker rm -f --volumes 86381a6ac6eddf81b68af54584c97751169e6019aa5d8bf640f87d30f91869a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:02:02 Failed in branch amd64 06:05:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5490 in /w/workspace/xfoundry_device-modbus-go_PR-410 [Pipeline] { [Pipeline] ws 06:05:40 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:05:40 Selected Git installation does not exist. Using Default 06:05:40 The recommended git tool is: NONE 06:05:47 using credential edgex-jenkins-ssh 06:05:47 Cloning the remote Git repository 06:05:47 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:05:48 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:05:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:05:48 > git --version # timeout=10 06:05:48 > git --version # 'git version 2.25.1' 06:05:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:05:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:05:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:05:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:05:51 Merging remotes/origin/main commit 05607db3767b12e2b1688c1d4c1138f7ff4649fd into PR head commit 312a9458e21a282c28ee8e5345a43c3e810412cf 06:05:51 Merge succeeded, producing 312a9458e21a282c28ee8e5345a43c3e810412cf 06:05:51 Checking out Revision 312a9458e21a282c28ee8e5345a43c3e810412cf (PR-410) 06:05:52 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 06:05:52 > git --version # timeout=10 06:05:52 > git --version # 'git version 2.25.1' 06:05:52 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:05:51 > git config core.sparsecheckout # timeout=10 06:05:51 > git checkout -f 312a9458e21a282c28ee8e5345a43c3e810412cf # timeout=10 06:05:51 > git remote # timeout=10 06:05:51 > git config --get remote.origin.url # timeout=10 06:05:51 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:51 > git merge 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 06:05:51 > git rev-parse HEAD^{commit} # timeout=10 06:05:51 > git config core.sparsecheckout # timeout=10 06:05:51 > git checkout -f 312a9458e21a282c28ee8e5345a43c3e810412cf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:05:53 % Total % Received % Xferd Average Speed Time Time Time Current 06:05:53 Dload Upload Total Spent Left Speed 06:05:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 06:05:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:05:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:05:54 + sudo tee /etc/docker/daemon.new 06:05:54 { 06:05:54 "registry-mirrors": [ 06:05:54 "https://nexus3.edgexfoundry.org:10001" 06:05:54 ], 06:05:54 "bip": "10.250.0.254/24", 06:05:54 "hosts": [ 06:05:54 "tcp://0.0.0.0:5555", 06:05:54 "unix:///var/run/docker.sock" 06:05:54 ], 06:05:54 "mtu": 1458, 06:05:54 "selinux-enabled": true, 06:05:54 "seccomp-profile": "/etc/docker/seccomp.json" 06:05:54 } [Pipeline] sh 06:05:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:05:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:17 provisioning config files... 06:06:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4159348522851562750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:17 ---> docker-login.sh 06:06:17 nexus3.edgexfoundry.org:10001 06:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:18 Configure a credential helper to remove this warning. See 06:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:18 06:06:18 Login Succeeded 06:06:18 nexus3.edgexfoundry.org:10002 06:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:18 Configure a credential helper to remove this warning. See 06:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:18 06:06:18 Login Succeeded 06:06:18 nexus3.edgexfoundry.org:10003 06:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:19 Configure a credential helper to remove this warning. See 06:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:19 06:06:19 Login Succeeded 06:06:19 nexus3.edgexfoundry.org:10004 06:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:19 Configure a credential helper to remove this warning. See 06:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:19 06:06:19 Login Succeeded 06:06:19 docker.io 06:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:20 Configure a credential helper to remove this warning. See 06:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:20 06:06:20 Login Succeeded 06:06:20 ---> docker-login.sh ends [Pipeline] } 06:06:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:20 ========================================================= 06:06:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:06:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:21 + 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:06:21 Sending build context to Docker daemon 3.319MB 06:06:21 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:06:21 Step 2/10 : FROM ${BASE} AS builder 06:06:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:06:21 9b18e9b68314: Pulling fs layer 06:06:21 35d82f9e3411: Pulling fs layer 06:06:21 e16973657156: Pulling fs layer 06:06:21 fc693d55d65f: Pulling fs layer 06:06:21 7e9fc2657dce: Pulling fs layer 06:06:21 dda99020689f: Pulling fs layer 06:06:21 db1c61fa0a46: Pulling fs layer 06:06:21 891c053d2c06: Pulling fs layer 06:06:21 fc693d55d65f: Waiting 06:06:21 7e9fc2657dce: Waiting 06:06:21 dda99020689f: Waiting 06:06:21 db1c61fa0a46: Waiting 06:06:21 e16973657156: Verifying Checksum 06:06:21 e16973657156: Download complete 06:06:21 35d82f9e3411: Verifying Checksum 06:06:21 35d82f9e3411: Download complete 06:06:21 7e9fc2657dce: Download complete 06:06:21 dda99020689f: Verifying Checksum 06:06:21 dda99020689f: Download complete 06:06:21 9b18e9b68314: Verifying Checksum 06:06:21 9b18e9b68314: Download complete 06:06:22 9b18e9b68314: Pull complete 06:06:23 891c053d2c06: Verifying Checksum 06:06:23 891c053d2c06: Download complete 06:06:23 35d82f9e3411: Pull complete 06:06:24 e16973657156: Pull complete 06:06:24 db1c61fa0a46: Verifying Checksum 06:06:24 db1c61fa0a46: Download complete 06:06:25 fc693d55d65f: Verifying Checksum 06:06:25 fc693d55d65f: Download complete 06:06:40 fc693d55d65f: Pull complete 06:06:40 7e9fc2657dce: Pull complete 06:06:40 dda99020689f: Pull complete 06:06:44 db1c61fa0a46: Pull complete 06:06:46 891c053d2c06: Pull complete 06:06:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:06:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:06:46 ---> f96f9c87975a 06:06:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:06:47 ---> Running in a507e858f81f 06:06:47 Removing intermediate container a507e858f81f 06:06:47 ---> 58103b3e41ec 06:06:47 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:48 ---> Running in 03118d82881c 06:06:48 Removing intermediate container 03118d82881c 06:06:48 ---> 608268faebe1 06:06:48 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:06:48 ---> Running in 155e72d72c69 06:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:06:51 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:06:51 (2/8) Installing libedit (20210910.3.1-r0) 06:06:51 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:06:51 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:06:51 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:06:51 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:06:51 (7/8) Installing openssh-server (9.0_p1-r2) 06:06:51 (8/8) Installing openssh (9.0_p1-r2) 06:06:51 Executing busybox-1.35.0-r17.trigger 06:06:51 OK: 228 MiB in 59 packages 06:06:52 Removing intermediate container 155e72d72c69 06:06:52 ---> a9ef32948b3c 06:06:52 Step 6/10 : WORKDIR /device-modbus-go 06:06:52 ---> Running in b7570c579a9a 06:06:52 Removing intermediate container b7570c579a9a 06:06:52 ---> 9ddce10ef204 06:06:52 Step 7/10 : COPY go.mod vendor* ./ 06:06:53 ---> 5483a910c073 06:06:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:53 ---> Running in 63417b0b41b7 06:08:01 Removing intermediate container 63417b0b41b7 06:08:01 ---> b05e331d70a2 06:08:01 Step 9/10 : COPY . . 06:08:01 ---> 718b6e3ad602 06:08:01 Step 10/10 : RUN ${MAKE} 06:08:01 ---> Running in e03c529aee59 06:08:01 noop 06:08:02 Removing intermediate container e03c529aee59 06:08:02 ---> 4637c292261f 06:08:02 Successfully built 4637c292261f 06:08:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:02 + docker inspect -f . ci-base-image-arm64 06:08:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:03 prd-ubuntu20.04-docker-arm64-4c-16g-5490 does not seem to be running inside a container 06:08:03 $ 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:08:04 $ docker top 4365c845ed832596d4b07c640b64c2f17002da34e6aa55800ac82f6a74d324b5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:05 + go version 06:08:05 go version go1.18.7 linux/arm64 [Pipeline] } 06:08:05 $ docker stop --time=1 4365c845ed832596d4b07c640b64c2f17002da34e6aa55800ac82f6a74d324b5 06:08:07 $ docker rm -f --volumes 4365c845ed832596d4b07c640b64c2f17002da34e6aa55800ac82f6a74d324b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:07 + docker inspect -f . ci-base-image-arm64 06:08:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:08 prd-ubuntu20.04-docker-arm64-4c-16g-5490 does not seem to be running inside a container 06:08:08 $ 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:08:09 $ docker top a7e6576c8be311e20f901da93a909caf94b970b9de5d93622aefed18d14fea59 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:10 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:08:11 + make test 06:08:11 go test ./... -coverprofile=coverage.out 06:08:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:09:34 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 06:09:34 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd 06:09:34 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate 06:09:34 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete 06:09:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.7% of statements 06:09:35 make: *** [Makefile:30: unittest] Error 2 [Pipeline] } 06:09:35 $ docker stop --time=1 a7e6576c8be311e20f901da93a909caf94b970b9de5d93622aefed18d14fea59 06:09:38 $ docker rm -f --volumes a7e6576c8be311e20f901da93a909caf94b970b9de5d93622aefed18d14fea59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:39 06:09:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:39 arm64: Pulling from edgex-lftools-log-publisher 06:09:39 8998bd30e6a1: Pulling fs layer 06:09:39 04944245beec: Pulling fs layer 06:09:39 699f458cf7ca: Pulling fs layer 06:09:39 765212b225bb: Pulling fs layer 06:09:39 f23df028b6ca: Pulling fs layer 06:09:39 d65c8cfc05b1: Pulling fs layer 06:09:39 2437ff75d9bd: Pulling fs layer 06:09:39 f23df028b6ca: Waiting 06:09:39 765212b225bb: Waiting 06:09:39 d65c8cfc05b1: Waiting 06:09:39 2437ff75d9bd: Waiting 06:09:40 04944245beec: Verifying Checksum 06:09:40 04944245beec: Download complete 06:09:40 765212b225bb: Verifying Checksum 06:09:40 765212b225bb: Download complete 06:09:40 f23df028b6ca: Verifying Checksum 06:09:40 f23df028b6ca: Download complete 06:09:40 d65c8cfc05b1: Verifying Checksum 06:09:40 d65c8cfc05b1: Download complete 06:09:40 699f458cf7ca: Verifying Checksum 06:09:40 699f458cf7ca: Download complete 06:09:40 8998bd30e6a1: Download complete 06:09:43 2437ff75d9bd: Verifying Checksum 06:09:43 2437ff75d9bd: Download complete 06:09:44 8998bd30e6a1: Pull complete 06:09:44 04944245beec: Pull complete 06:09:45 699f458cf7ca: Pull complete 06:09:46 765212b225bb: Pull complete 06:09:47 f23df028b6ca: Pull complete 06:09:47 d65c8cfc05b1: Pull complete 06:10:02 2437ff75d9bd: Pull complete 06:10:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:10:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:02 prd-ubuntu20.04-docker-arm64-4c-16g-5490 does not seem to be running inside a container 06:10:02 $ 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:03 $ docker top 1d9148f79d590a9543db8d2760ddbad0257e3f3ccc526c4049b7bf2184dcbea6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:04 ---> job-cost.sh 06:10:04 lf-activate-venv: SKIPPING 06:10:04 INFO: No Stack... 06:10:05 INFO: Retrieving Pricing Info for: v3-standard-4 06:10:06 INFO: Archiving Costs [Pipeline] sh 06:10:07 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:10:07 + cut -d, -f6 [Pipeline] lock 06:10:07 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] 06:10:07 Resource [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] did not exist. Created. 06:10:07 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:07 /w/workspace/device-modbus-go/1@tmp/durable-ff876070/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:10:08 + echo total: 0.10999999940395355 [Pipeline] stash 06:10:08 Warning: overwriting stash ‘stack-cost’ 06:10:09 Stashed 1 file(s) [Pipeline] } 06:10:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:09 $ docker stop --time=1 1d9148f79d590a9543db8d2760ddbad0257e3f3ccc526c4049b7bf2184dcbea6 06:10:11 $ docker rm -f --volumes 1d9148f79d590a9543db8d2760ddbad0257e3f3ccc526c4049b7bf2184dcbea6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:10:11 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:10:13 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-410/archives ] 06:10:13 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-410/archives 06:10:13 total 16 06:10:13 drwxr-xr-x 3 root root 4096 Feb 13 06:01 . 06:10:13 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 06:02 .. 06:10:13 drwxr-xr-x 2 root root 4096 Feb 13 06:01 cost 06:10:13 -rw-r--r-- 1 root root 88 Feb 13 06:01 cost.csv 06:10:13 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-410/archives 06:10:13 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-410/archives 06:10:13 total 16 06:10:13 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 06:01 . 06:10:13 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 06:02 .. 06:10:13 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 06:01 cost 06:10:13 -rw-r--r-- 1 jenkins jenkins 88 Feb 13 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:10:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:10:14 ---> package-listing.sh 06:10:14 ++ facter osfamily 06:10:14 ++ tr '[:upper:]' '[:lower:]' 06:10:15 + OS_FAMILY=debian 06:10:15 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-410 06:10:15 + START_PACKAGES=/tmp/packages_start.txt 06:10:15 + END_PACKAGES=/tmp/packages_end.txt 06:10:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:10:15 + PACKAGES=/tmp/packages_start.txt 06:10:15 + '[' /w/workspace/xfoundry_device-modbus-go_PR-410 ']' 06:10:15 + PACKAGES=/tmp/packages_end.txt 06:10:15 + case "${OS_FAMILY}" in 06:10:15 + dpkg -l 06:10:15 + grep '^ii' 06:10:15 + '[' -f /tmp/packages_start.txt ']' 06:10:15 + '[' -f /tmp/packages_end.txt ']' 06:10:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:10:15 + '[' /w/workspace/xfoundry_device-modbus-go_PR-410 ']' 06:10:15 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-410/archives/ 06:10:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-410/archives/ [Pipeline] echo 06:10:15 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-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:10:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:16 prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container 06:10:16 $ 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-410/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-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@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:10:16 $ docker top 9dde327a34b1551a7952d0905f78d446bfa5dbf8703d64ec81b3ea9cc7da3d78 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:16 + touch /tmp/pre-build-complete [Pipeline] sh 06:10:17 + mkdir -p /var/log/sysstat [Pipeline] sh 06:10:17 + ls /var/log/sa-host 06:10:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:17 provisioning config files... 06:10:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/config2315063057171376197tmp [Pipeline] { [Pipeline] echo 06:10:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:10:18 ---> create-netrc.sh [Pipeline] } 06:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:10:18 ---> python-tools-install.sh [Pipeline] echo 06:10:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:10:18 ---> sudo-logs.sh 06:10:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:10:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:10:19 ---> job-cost.sh 06:10:19 lf-activate-venv: SKIPPING 06:10:19 DEBUG: total: 0.2199999988079071 06:10:19 INFO: Retrieving Stack Cost... 06:10:19 INFO: Retrieving Pricing Info for: v3-standard-8 06:10:20 INFO: Archiving Costs [Pipeline] echo 06:10:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:10:20 ---> logs-deploy.sh 06:10:20 lf-activate-venv: SKIPPING 06:10:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-410/1 06:10:20 INFO: archiving workspace using pattern(s): 06:10:21 Archives upload complete. 06:10:21 INFO: archiving logs to Nexus