Pull request #421 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a93df0bfecbb101926d1092a105f0f5e58141b8+96c9b25060a854e15776706019f04b40fe16d5e0 (762d003a30650f1854cf0d1237cec32ddff46670) 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-ssh8469040884339087073.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-ssh10252528857607652370.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-421/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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17864147827362596931.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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17000807888817935095.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-ssh17281800079918789441.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-421/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-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6038283029835373781.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 ‘prd-centos7-blackbox-4c-2g-7428’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-7429’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7998’ is offline ‘prd-ubuntu20.04-docker-8c-8g-7999’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8000 in /w/workspace/xfoundry_device-modbus-go_PR-421 [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-421 # 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/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96c9b25060a854e15776706019f04b40fe16d5e0 into PR head commit 6a93df0bfecbb101926d1092a105f0f5e58141b8 Merge succeeded, producing 6a93df0bfecbb101926d1092a105f0f5e58141b8 Checking out Revision 6a93df0bfecbb101926d1092a105f0f5e58141b8 (PR-421) 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f 6a93df0bfecbb101926d1092a105f0f5e58141b8 # 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 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a93df0bfecbb101926d1092a105f0f5e58141b8 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:43:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:43:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:43:50 ========================================================= 18:43:50 EdgeX Global Pipelines Version Info 18:43:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:43:51 ------------------- 18:43:51 stable info: 18:43:51 ------------------- 18:43:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:43:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:43:51 Message: update stable to v1.0.244 18:43:51 ------------------- 18:43:51 experimental info: 18:43:51 ------------------- 18:43:51 Commited By: **** collab-it+edgex@linuxfoundation.org 18:43:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:43:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:43:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 18:43:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 18:43:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-421 [Pipeline] echo 18:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-421 [Pipeline] echo 18:43:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-421 [Pipeline] echo 18:43:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a93df0bfecbb101926d1092a105f0f5e58141b8 [Pipeline] echo 18:43:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a93df0 [Pipeline] echo 18:43:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:53 provisioning config files... 18:43:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-421@tmp/config8369443696171962931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:53 ---> docker-login.sh 18:43:53 nexus3.edgexfoundry.org:10001 18:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:53 Configure a credential helper to remove this warning. See 18:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:53 18:43:53 Login Succeeded 18:43:53 nexus3.edgexfoundry.org:10002 18:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:53 Configure a credential helper to remove this warning. See 18:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:53 18:43:53 Login Succeeded 18:43:53 nexus3.edgexfoundry.org:10003 18:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:54 Configure a credential helper to remove this warning. See 18:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:54 18:43:54 Login Succeeded 18:43:54 nexus3.edgexfoundry.org:10004 18:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:54 Configure a credential helper to remove this warning. See 18:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:54 18:43:54 Login Succeeded 18:43:54 docker.io 18:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:54 Configure a credential helper to remove this warning. See 18:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:54 18:43:54 Login Succeeded 18:43:54 ---> docker-login.sh ends [Pipeline] } 18:43:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:43:55 + git rev-list -1 --merges 6a93df0bfecbb101926d1092a105f0f5e58141b8~1..6a93df0bfecbb101926d1092a105f0f5e58141b8 [Pipeline] echo 18:43:55 -----------> git rev-list -1 --merges 6a93df0bfecbb101926d1092a105f0f5e58141b8~1..6a93df0bfecbb101926d1092a105f0f5e58141b8 6a93df0bfecbb101926d1092a105f0f5e58141b8 [false] [Pipeline] sh 18:43:55 + git log --format=format:%s -1 6a93df0bfecbb101926d1092a105f0f5e58141b8 [Pipeline] echo 18:43:55 ========================================================= 18:43:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:43:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:55 + git log --format=format:%s -1 6a93df0bfecbb101926d1092a105f0f5e58141b8 [Pipeline] echo 18:43:55 [semverPrep] GIT_COMMIT: 6a93df0bfecbb101926d1092a105f0f5e58141b8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:43:55 [semverPrep] This is not a build commit. [Pipeline] sh 18:43:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:43:56 + grep -v github /etc/ssh/ssh_known_hosts 18:43:56 + [ -e /tmp/ssh_known_hosts ] 18:43:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:43:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:43:56 + sudo tee -a /etc/ssh/ssh_known_hosts 18:43:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:56 18:43:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:57 0.1.4: Pulling from edgex-devops/py-git-semver 18:43:57 b85a868b505f: Pulling fs layer 18:43:57 e2be974225ed: Pulling fs layer 18:43:57 339a4e72a1f5: Pulling fs layer 18:43:57 988bab9f4d93: Pulling fs layer 18:43:57 1469e6f7b9e6: Pulling fs layer 18:43:57 eaf3925da568: Pulling fs layer 18:43:57 bab4dde63d76: Pulling fs layer 18:43:57 bde34c3a00c8: Pulling fs layer 18:43:57 b352a97aabf1: Pulling fs layer 18:43:57 4872d77fe225: Pulling fs layer 18:43:57 5851b861e8e6: Pulling fs layer 18:43:57 988bab9f4d93: Waiting 18:43:57 bde34c3a00c8: Waiting 18:43:57 1469e6f7b9e6: Waiting 18:43:57 4872d77fe225: Waiting 18:43:57 eaf3925da568: Waiting 18:43:57 bab4dde63d76: Waiting 18:43:57 5851b861e8e6: Waiting 18:43:57 b352a97aabf1: Waiting 18:43:57 e2be974225ed: Verifying Checksum 18:43:57 e2be974225ed: Download complete 18:43:57 988bab9f4d93: Verifying Checksum 18:43:57 988bab9f4d93: Download complete 18:43:57 1469e6f7b9e6: Verifying Checksum 18:43:57 1469e6f7b9e6: Download complete 18:43:57 339a4e72a1f5: Verifying Checksum 18:43:57 339a4e72a1f5: Download complete 18:43:57 eaf3925da568: Download complete 18:43:57 bde34c3a00c8: Download complete 18:43:57 b352a97aabf1: Verifying Checksum 18:43:57 b352a97aabf1: Download complete 18:43:57 4872d77fe225: Verifying Checksum 18:43:57 4872d77fe225: Download complete 18:43:57 5851b861e8e6: Verifying Checksum 18:43:57 5851b861e8e6: Download complete 18:43:57 b85a868b505f: Download complete 18:43:57 bab4dde63d76: Verifying Checksum 18:43:57 bab4dde63d76: Download complete 18:43:58 b85a868b505f: Pull complete 18:43:58 e2be974225ed: Pull complete 18:43:59 339a4e72a1f5: Pull complete 18:43:59 988bab9f4d93: Pull complete 18:43:59 1469e6f7b9e6: Pull complete 18:43:59 eaf3925da568: Pull complete 18:44:01 bab4dde63d76: Pull complete 18:44:01 bde34c3a00c8: Pull complete 18:44:01 b352a97aabf1: Pull complete 18:44:01 4872d77fe225: Pull complete 18:44:01 5851b861e8e6: Pull complete 18:44:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:44:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:44:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:01 prd-ubuntu20.04-docker-8c-8g-8000 does not seem to be running inside a container 18:44:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-421 -v /w/workspace/xfoundry_device-modbus-go_PR-421:/w/workspace/xfoundry_device-modbus-go_PR-421:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-421@tmp:/w/workspace/xfoundry_device-modbus-go_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:44:04 $ docker top b6f0e81cc455a0aa30271c58589e28bb9c4a5e0c394b87c19f4c434194269b51 -eo pid,comm 18:44:04 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). 18:44:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:44:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:44:04 [ssh-agent] Looking for ssh-agent implementation... 18:44:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:44:04 $ docker exec b6f0e81cc455a0aa30271c58589e28bb9c4a5e0c394b87c19f4c434194269b51 ssh-agent 18:44:04 SSH_AUTH_SOCK=/tmp/ssh-mMGK6CFtuTFX/agent.32 18:44:04 SSH_AGENT_PID=38 18:44:04 Running ssh-add (command line suppressed) 18:44:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-421@tmp/private_key_18244905418077989507.key (/w/workspace/xfoundry_device-modbus-go_PR-421@tmp/private_key_18244905418077989507.key) 18:44:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:44:05 + git tag --points-at HEAD [Pipeline] } 18:44:05 $ docker exec --env ******** --env ******** b6f0e81cc455a0aa30271c58589e28bb9c4a5e0c394b87c19f4c434194269b51 ssh-agent -k 18:44:05 unset SSH_AUTH_SOCK; 18:44:05 unset SSH_AGENT_PID; 18:44:05 echo Agent pid 38 killed; 18:44:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:44:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:44:05 [ssh-agent] Looking for ssh-agent implementation... 18:44:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:44:05 $ docker exec b6f0e81cc455a0aa30271c58589e28bb9c4a5e0c394b87c19f4c434194269b51 ssh-agent 18:44:05 SSH_AUTH_SOCK=/tmp/ssh-j1FvZjMkZDeX/agent.70 18:44:05 SSH_AGENT_PID=76 18:44:05 Running ssh-add (command line suppressed) 18:44:05 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-421@tmp/private_key_6811350513060131569.key (/w/workspace/xfoundry_device-modbus-go_PR-421@tmp/private_key_6811350513060131569.key) 18:44:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:44:06 + git semver init 18:44:06 2023-03-01 18:44:06,184 [run_init] DEBUG init version:0.0.0 force:False 18:44:06 2023-03-01 18:44:06,185 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-421/.semver 18:44:06 2023-03-01 18:44:06,186 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-421/.semver 18:44:06 2023-03-01 18:44:06,186 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-421/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-421, universal_newlines=False, shell=None, istream=None) 18:44:07 2023-03-01 18:44:07,135 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-421/.git/info/exclude 18:44:07 2023-03-01 18:44:07,136 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-421/.semver/PR-421 with force:False 18:44:07 2023-03-01 18:44:07,136 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-421/.semver/PR-421 18:44:07 2023-03-01 18:44:07,140 [execute] INFO git cat-file --batch-check 18:44:07 2023-03-01 18:44:07,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) 18:44:07 2023-03-01 18:44:07,145 [execute] INFO git cat-file --batch 18:44:07 2023-03-01 18:44:07,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) 18:44:07 2023-03-01 18:44:07,150 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-421/.semver/PR-421 18:44:07 0.0.0 [Pipeline] } 18:44:07 $ docker exec --env ******** --env ******** b6f0e81cc455a0aa30271c58589e28bb9c4a5e0c394b87c19f4c434194269b51 ssh-agent -k 18:44:07 unset SSH_AUTH_SOCK; 18:44:07 unset SSH_AGENT_PID; 18:44:07 echo Agent pid 76 killed; 18:44:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:44:07 + git semver [Pipeline] } 18:44:08 $ docker stop --time=1 b6f0e81cc455a0aa30271c58589e28bb9c4a5e0c394b87c19f4c434194269b51 18:44:09 $ docker rm -f --volumes b6f0e81cc455a0aa30271c58589e28bb9c4a5e0c394b87c19f4c434194269b51 [Pipeline] // withDockerContainer [Pipeline] sh 18:44:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:44:10 Stashed 1 file(s) [Pipeline] echo 18:44:10 [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 18:44:10 provisioning config files... 18:44:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-421@tmp/config17281550547783292048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:11 ---> docker-login.sh 18:44:11 nexus3.edgexfoundry.org:10001 18:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:11 Configure a credential helper to remove this warning. See 18:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:11 18:44:11 Login Succeeded 18:44:11 nexus3.edgexfoundry.org:10002 18:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:11 Configure a credential helper to remove this warning. See 18:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:11 18:44:11 Login Succeeded 18:44:11 nexus3.edgexfoundry.org:10003 18:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:11 Configure a credential helper to remove this warning. See 18:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:11 18:44:11 Login Succeeded 18:44:11 nexus3.edgexfoundry.org:10004 18:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:11 Configure a credential helper to remove this warning. See 18:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:11 18:44:11 Login Succeeded 18:44:11 docker.io 18:44:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:11 Configure a credential helper to remove this warning. See 18:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:11 18:44:11 Login Succeeded 18:44:11 ---> docker-login.sh ends [Pipeline] } 18:44:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:44:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:11 ========================================================= 18:44:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:44:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:12 + 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 . 18:44:12 Sending build context to Docker daemon 6.409MB 18:44:12 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:44:12 Step 2/10 : FROM ${BASE} AS builder 18:44:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:12 213ec9aee27d: Pulling fs layer 18:44:12 4583459ba037: Pulling fs layer 18:44:12 93c1e223e6f2: Pulling fs layer 18:44:12 53926ce57604: Pulling fs layer 18:44:12 21b2b0c7a3f4: Pulling fs layer 18:44:12 22ff95d597cd: Pulling fs layer 18:44:12 12d6caf4c0d1: Pulling fs layer 18:44:12 96b7cbca73a9: Pulling fs layer 18:44:12 53926ce57604: Waiting 18:44:12 21b2b0c7a3f4: Waiting 18:44:12 22ff95d597cd: Waiting 18:44:12 a7acece74701: Pulling fs layer 18:44:12 96b7cbca73a9: Waiting 18:44:12 a7acece74701: Waiting 18:44:12 93c1e223e6f2: Download complete 18:44:12 4583459ba037: Verifying Checksum 18:44:12 4583459ba037: Download complete 18:44:12 21b2b0c7a3f4: Verifying Checksum 18:44:12 21b2b0c7a3f4: Download complete 18:44:12 22ff95d597cd: Verifying Checksum 18:44:12 22ff95d597cd: Download complete 18:44:12 213ec9aee27d: Verifying Checksum 18:44:12 213ec9aee27d: Download complete 18:44:12 12d6caf4c0d1: Download complete 18:44:12 213ec9aee27d: Pull complete 18:44:13 4583459ba037: Pull complete 18:44:13 93c1e223e6f2: Pull complete 18:44:13 a7acece74701: Verifying Checksum 18:44:13 a7acece74701: Download complete 18:44:13 96b7cbca73a9: Verifying Checksum 18:44:13 96b7cbca73a9: Download complete 18:44:13 53926ce57604: Verifying Checksum 18:44:13 53926ce57604: Download complete 18:44:17 53926ce57604: Pull complete 18:44:17 21b2b0c7a3f4: Pull complete 18:44:17 22ff95d597cd: Pull complete 18:44:17 12d6caf4c0d1: Pull complete 18:44:19 96b7cbca73a9: Pull complete 18:44:20 a7acece74701: Pull complete 18:44:20 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:44:20 ---> db6d94c90886 18:44:20 Step 3/10 : ARG ADD_BUILD_TAGS="" 18:44:23 ---> Running in 026769447c3d 18:44:23 Removing intermediate container 026769447c3d 18:44:23 ---> 1f9f0163817f 18:44:23 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:44:23 ---> Running in 589c7bbafa6d 18:44:23 Removing intermediate container 589c7bbafa6d 18:44:23 ---> 61c38e4054f5 18:44:23 Step 5/10 : RUN apk add --update --no-cache make git openssh 18:44:23 ---> Running in 8a25e179b34f 18:44:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:44:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:44:24 (1/8) Installing openssh-keygen (9.0_p1-r2) 18:44:24 (2/8) Installing libedit (20210910.3.1-r0) 18:44:24 (3/8) Installing openssh-client-common (9.0_p1-r2) 18:44:24 (4/8) Installing openssh-client-default (9.0_p1-r2) 18:44:24 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 18:44:24 (6/8) Installing openssh-server-common (9.0_p1-r2) 18:44:24 (7/8) Installing openssh-server (9.0_p1-r2) 18:44:24 (8/8) Installing openssh (9.0_p1-r2) 18:44:24 Executing busybox-1.35.0-r17.trigger 18:44:24 OK: 217 MiB in 59 packages 18:44:24 Removing intermediate container 8a25e179b34f 18:44:24 ---> 4d6049f4b1b8 18:44:24 Step 6/10 : WORKDIR /device-modbus-go 18:44:24 ---> Running in d583a16b257c 18:44:24 Removing intermediate container d583a16b257c 18:44:24 ---> 9460cef2e1a1 18:44:24 Step 7/10 : COPY go.mod vendor* ./ 18:44:25 ---> b13ac672fbbb 18:44:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:25 ---> Running in 202dc05ac518 18:44:25 Still waiting to schedule task 18:44:25 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:44:57 Removing intermediate container 202dc05ac518 18:44:57 ---> 64b8368ff717 18:44:57 Step 9/10 : COPY . . 18:44:57 ---> f23e6d655109 18:44:57 Step 10/10 : RUN ${MAKE} 18:44:57 ---> Running in e80ddf03241d 18:44:57 noop 18:44:57 Removing intermediate container e80ddf03241d 18:44:57 ---> 0feebf6c1a5e 18:44:57 Successfully built 0feebf6c1a5e 18:44:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:57 + docker inspect -f . ci-base-image-x86_64 18:44:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:57 prd-ubuntu20.04-docker-8c-8g-8000 does not seem to be running inside a container 18:44:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-421 -v /w/workspace/xfoundry_device-modbus-go_PR-421:/w/workspace/xfoundry_device-modbus-go_PR-421:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-421@tmp:/w/workspace/xfoundry_device-modbus-go_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:44:58 $ docker top 22883fc52d1b045fa0ff412f6771fbbdf8dd6296b9eeecdb30b75f8aa2c17c7a -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:58 + go version 18:44:58 go version go1.18.7 linux/amd64 [Pipeline] } 18:44:58 $ docker stop --time=1 22883fc52d1b045fa0ff412f6771fbbdf8dd6296b9eeecdb30b75f8aa2c17c7a 18:44:59 $ docker rm -f --volumes 22883fc52d1b045fa0ff412f6771fbbdf8dd6296b9eeecdb30b75f8aa2c17c7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:00 + docker inspect -f . ci-base-image-x86_64 18:45:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:00 prd-ubuntu20.04-docker-8c-8g-8000 does not seem to be running inside a container 18:45:00 $ 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-421 -v /w/workspace/xfoundry_device-modbus-go_PR-421:/w/workspace/xfoundry_device-modbus-go_PR-421:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-421@tmp:/w/workspace/xfoundry_device-modbus-go_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:45:01 $ docker top 8d2c581b2db6884aba6fee2cafc43e11fa2cc8f4ab5248d8b461e5fb3131e88a -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:01 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-421 [Pipeline] fileExists [Pipeline] sh 18:45:01 + make test 18:45:01 go test ./... -coverprofile=coverage.out 18:45:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:45:12 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:45:12 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 18:45:18 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." 18:45:18 go vet ./... 18:45:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:45:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:45:21 ./bin/test-attribution-txt.sh [Pipeline] echo 18:45:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:45:21 $ docker stop --time=1 8d2c581b2db6884aba6fee2cafc43e11fa2cc8f4ab5248d8b461e5fb3131e88a 18:45:24 $ docker rm -f --volumes 8d2c581b2db6884aba6fee2cafc43e11fa2cc8f4ab5248d8b461e5fb3131e88a [Pipeline] // withDockerContainer [Pipeline] sh 18:45:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:45:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:25 + ls -al . 18:45:25 total 180 18:45:25 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 18:45 . 18:45:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:43 .. 18:45:25 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 18:43 .dockerignore 18:45:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 18:45 .git 18:45:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:43 .github 18:45:25 -rw-rw-r-- 1 jenkins jenkins 331 Mar 1 18:43 .gitignore 18:45:25 -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 18:43 .golangci.yml 18:45:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 18:44 .semver 18:45:25 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 1 18:43 Attribution.txt 18:45:25 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 1 18:43 CHANGELOG.md 18:45:25 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 1 18:43 Dockerfile 18:45:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 18:43 GOVERNANCE.md 18:45:25 -rw-rw-r-- 1 jenkins jenkins 680 Mar 1 18:43 Jenkinsfile 18:45:25 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 18:43 LICENSE 18:45:25 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 1 18:43 Makefile 18:45:25 -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 18:43 OWNERS.md 18:45:25 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 1 18:43 README.md 18:45:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 18:44 VERSION 18:45:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:43 bin 18:45:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:43 cmd 18:45:25 -rw-r--r-- 1 jenkins jenkins 23241 Mar 1 18:45 coverage.out 18:45:25 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 1 18:43 go.mod 18:45:25 -rw-rw-r-- 1 jenkins jenkins 31642 Mar 1 18:43 go.sum 18:45:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:43 internal 18:45:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:43 simulator 18:45:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:43 snap 18:45:25 -rw-rw-r-- 1 jenkins jenkins 229 Mar 1 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:26 + 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=6a93df0bfecbb101926d1092a105f0f5e58141b8 --label arch=amd64 --label version=0.0.0 . 18:45:26 Sending build context to Docker daemon 6.433MB 18:45:26 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 18:45:26 Step 2/22 : FROM ${BASE} AS builder 18:45:26 ---> 0feebf6c1a5e 18:45:26 Step 3/22 : ARG ADD_BUILD_TAGS="" 18:45:26 ---> Running in 7fc35599d4b7 18:45:26 Removing intermediate container 7fc35599d4b7 18:45:26 ---> e7edae695db0 18:45:26 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:45:26 ---> Running in c16623860754 18:45:26 Removing intermediate container c16623860754 18:45:26 ---> befd5b614cbf 18:45:26 Step 5/22 : RUN apk add --update --no-cache make git openssh 18:45:26 ---> Running in 13ef3bcbf481 18:45:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:45:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:45:27 OK: 217 MiB in 59 packages 18:45:27 Removing intermediate container 13ef3bcbf481 18:45:27 ---> 03c4983dad69 18:45:27 Step 6/22 : WORKDIR /device-modbus-go 18:45:27 ---> Running in 42b8e46154f9 18:45:27 Removing intermediate container 42b8e46154f9 18:45:27 ---> 75b94bd3f132 18:45:27 Step 7/22 : COPY go.mod vendor* ./ 18:45:28 ---> db9bfadef926 18:45:28 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:28 ---> Running in 74b65097e047 18:45:28 Removing intermediate container 74b65097e047 18:45:28 ---> 7019ebfec321 18:45:28 Step 9/22 : COPY . . 18:45:29 ---> 702b0013d6be 18:45:29 Step 10/22 : RUN ${MAKE} 18:45:29 ---> Running in 883fc81a5c39 18:45:29 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 18:45:51 Removing intermediate container 883fc81a5c39 18:45:51 ---> 38a3c8de1f56 18:45:51 Step 11/22 : FROM alpine:3.14 18:45:51 3.14: Pulling from library/alpine 18:45:51 d261077062b2: Pulling fs layer 18:45:51 d261077062b2: Verifying Checksum 18:45:51 d261077062b2: Download complete 18:45:51 d261077062b2: Pull complete 18:45:51 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 18:45:51 Status: Downloaded newer image for alpine:3.14 18:45:51 ---> 6dff1269bc79 18:45:51 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:45:51 ---> Running in fedcb9ac027b 18:45:51 Removing intermediate container fedcb9ac027b 18:45:51 ---> dde1ae717cec 18:45:51 Step 13/22 : RUN apk add --update --no-cache dumb-init 18:45:51 ---> Running in 469f8ed92829 18:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:45:51 (1/1) Installing dumb-init (1.2.5-r1) 18:45:51 Executing busybox-1.33.1-r8.trigger 18:45:51 OK: 6 MiB in 15 packages 18:45:51 Removing intermediate container 469f8ed92829 18:45:51 ---> 357a2a87b8e4 18:45:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:45:51 ---> 7c1dc1415a35 18:45:51 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:45:51 ---> 70e8819fb25f 18:45:51 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:45:51 ---> 2be3a4ed5021 18:45:51 Step 17/22 : EXPOSE 59901 18:45:51 ---> Running in b2dbecc6c94a 18:45:51 Removing intermediate container b2dbecc6c94a 18:45:51 ---> de36411241a3 18:45:51 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:45:51 ---> Running in 4c949536d0f5 18:45:51 Removing intermediate container 4c949536d0f5 18:45:51 ---> cf1cb857c697 18:45:51 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:45:51 ---> Running in 0fd2a305d325 18:45:51 Removing intermediate container 0fd2a305d325 18:45:51 ---> 315a2278afd0 18:45:51 Step 20/22 : LABEL arch=amd64 18:45:51 ---> Running in 2fddac37e375 18:45:51 Removing intermediate container 2fddac37e375 18:45:51 ---> f5b807e99a56 18:45:51 Step 21/22 : LABEL git_sha=6a93df0bfecbb101926d1092a105f0f5e58141b8 18:45:51 ---> Running in ab2a05364287 18:45:51 Removing intermediate container ab2a05364287 18:45:51 ---> 2b0b005386c4 18:45:51 Step 22/22 : LABEL version=0.0.0 18:45:51 ---> Running in 4140a68b76eb 18:45:51 Removing intermediate container 4140a68b76eb 18:45:51 ---> cc64d50cb050 18:45:51 [Warning] One or more build-args [ARCH] were not consumed 18:45:51 Successfully built cc64d50cb050 18:45:51 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 18:45:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:52 18:45:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:53 latest: Pulling from edgex-lftools-log-publisher 18:45:53 5eb5b503b376: Pulling fs layer 18:45:53 5c69ac0246d0: Pulling fs layer 18:45:53 ec43610c2a17: Pulling fs layer 18:45:53 3a2ae6a8a46f: Pulling fs layer 18:45:53 33b1e0a273af: Pulling fs layer 18:45:53 5d3b04190fa2: Pulling fs layer 18:45:53 2f39f015ded8: Pulling fs layer 18:45:53 5d3b04190fa2: Waiting 18:45:53 2f39f015ded8: Waiting 18:45:53 33b1e0a273af: Waiting 18:45:53 5c69ac0246d0: Download complete 18:45:53 3a2ae6a8a46f: Verifying Checksum 18:45:53 3a2ae6a8a46f: Download complete 18:45:53 33b1e0a273af: Verifying Checksum 18:45:53 33b1e0a273af: Download complete 18:45:53 5d3b04190fa2: Verifying Checksum 18:45:53 5d3b04190fa2: Download complete 18:45:53 ec43610c2a17: Verifying Checksum 18:45:53 ec43610c2a17: Download complete 18:45:53 5eb5b503b376: Download complete 18:45:53 2f39f015ded8: Download complete 18:45:54 5eb5b503b376: Pull complete 18:45:54 5c69ac0246d0: Pull complete 18:45:55 ec43610c2a17: Pull complete 18:45:55 3a2ae6a8a46f: Pull complete 18:45:55 33b1e0a273af: Pull complete 18:45:55 5d3b04190fa2: Pull complete 18:45:59 2f39f015ded8: Pull complete 18:45:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:45:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:59 prd-ubuntu20.04-docker-8c-8g-8000 does not seem to be running inside a container 18:46:00 $ 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-421 -v /w/workspace/xfoundry_device-modbus-go_PR-421:/w/workspace/xfoundry_device-modbus-go_PR-421:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-421@tmp:/w/workspace/xfoundry_device-modbus-go_PR-421@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 18:46:04 $ docker top 007f9fc78ac43810df9d0700d5823581160e265c8df3e9b090fd7fb3ad160556 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:04 ---> job-cost.sh 18:46:04 lf-activate-venv: SKIPPING 18:46:04 INFO: No Stack... 18:46:05 INFO: Retrieving Pricing Info for: v3-standard-8 18:46:05 INFO: Archiving Costs [Pipeline] sh 18:46:05 + cat /w/workspace/xfoundry_device-modbus-go_PR-421/archives/cost.csv 18:46:05 + cut -d, -f6 [Pipeline] lock 18:46:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-421-1-stack-cost] 18:46:05 Resource [jenkins-edgexfoundry-device-modbus-go-PR-421-1-stack-cost] did not exist. Created. 18:46:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:06 + echo total: 0.2199999988079071 [Pipeline] stash 18:46:06 Stashed 1 file(s) [Pipeline] } 18:46:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:46:06 $ docker stop --time=1 007f9fc78ac43810df9d0700d5823581160e265c8df3e9b090fd7fb3ad160556 18:46:07 $ docker rm -f --volumes 007f9fc78ac43810df9d0700d5823581160e265c8df3e9b090fd7fb3ad160556 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:47:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8002 in /w/workspace/xfoundry_device-modbus-go_PR-421 [Pipeline] { [Pipeline] ws 18:47:36 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 18:47:37 Selected Git installation does not exist. Using Default 18:47:37 The recommended git tool is: NONE 18:47:43 using credential edgex-jenkins-ssh 18:47:43 Cloning the remote Git repository 18:47:43 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 18:47:43 > git init /w/workspace/device-modbus-go/1 # timeout=10 18:47:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:47:43 > git --version # timeout=10 18:47:43 > git --version # 'git version 2.25.1' 18:47:43 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:47:46 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:47:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:47:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 18:47:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 18:47:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:47:47 Merging remotes/origin/main commit 96c9b25060a854e15776706019f04b40fe16d5e0 into PR head commit 6a93df0bfecbb101926d1092a105f0f5e58141b8 18:47:48 Merge succeeded, producing 6a93df0bfecbb101926d1092a105f0f5e58141b8 18:47:48 Checking out Revision 6a93df0bfecbb101926d1092a105f0f5e58141b8 (PR-421) 18:47:48 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:47:48 > git --version # timeout=10 18:47:48 > git --version # 'git version 2.25.1' 18:47:48 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:47:47 > git config core.sparsecheckout # timeout=10 18:47:47 > git checkout -f 6a93df0bfecbb101926d1092a105f0f5e58141b8 # timeout=10 18:47:47 > git remote # timeout=10 18:47:47 > git config --get remote.origin.url # timeout=10 18:47:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:47 > git merge 96c9b25060a854e15776706019f04b40fe16d5e0 # timeout=10 18:47:48 > git rev-parse HEAD^{commit} # timeout=10 18:47:48 > git config core.sparsecheckout # timeout=10 18:47:48 > git checkout -f 6a93df0bfecbb101926d1092a105f0f5e58141b8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:47:49 % Total % Received % Xferd Average Speed Time Time Time Current 18:47:49 Dload Upload Total Spent Left Speed 18:47:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 18:47:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:47:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:47:50 + sudo tee /etc/docker/daemon.new 18:47:50 { 18:47:50 "registry-mirrors": [ 18:47:50 "https://nexus3.edgexfoundry.org:10001" 18:47:50 ], 18:47:50 "bip": "10.250.0.254/24", 18:47:50 "hosts": [ 18:47:50 "tcp://0.0.0.0:5555", 18:47:50 "unix:///var/run/docker.sock" 18:47:50 ], 18:47:50 "mtu": 1458, 18:47:50 "selinux-enabled": true, 18:47:50 "seccomp-profile": "/etc/docker/seccomp.json" 18:47:50 } [Pipeline] sh 18:47:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:47:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:09 provisioning config files... 18:48:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16293887892869474081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:10 ---> docker-login.sh 18:48:10 nexus3.edgexfoundry.org:10001 18:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:10 Configure a credential helper to remove this warning. See 18:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:10 18:48:10 Login Succeeded 18:48:10 nexus3.edgexfoundry.org:10002 18:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:11 Configure a credential helper to remove this warning. See 18:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:11 18:48:11 Login Succeeded 18:48:11 nexus3.edgexfoundry.org:10003 18:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:11 Configure a credential helper to remove this warning. See 18:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:11 18:48:11 Login Succeeded 18:48:11 nexus3.edgexfoundry.org:10004 18:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:11 Configure a credential helper to remove this warning. See 18:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:11 18:48:11 Login Succeeded 18:48:11 docker.io 18:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:12 Configure a credential helper to remove this warning. See 18:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:12 18:48:12 Login Succeeded 18:48:12 ---> docker-login.sh ends [Pipeline] } 18:48:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:48:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:13 ========================================================= 18:48:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:48:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:13 + 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 . 18:48:13 Sending build context to Docker daemon 3.34MB 18:48:13 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:48:13 Step 2/10 : FROM ${BASE} AS builder 18:48:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:48:14 9b18e9b68314: Pulling fs layer 18:48:14 35d82f9e3411: Pulling fs layer 18:48:14 e16973657156: Pulling fs layer 18:48:14 fc693d55d65f: Pulling fs layer 18:48:14 7e9fc2657dce: Pulling fs layer 18:48:14 dda99020689f: Pulling fs layer 18:48:14 db1c61fa0a46: Pulling fs layer 18:48:14 891c053d2c06: Pulling fs layer 18:48:14 dda99020689f: Waiting 18:48:14 db1c61fa0a46: Waiting 18:48:14 fc693d55d65f: Waiting 18:48:14 891c053d2c06: Waiting 18:48:14 7e9fc2657dce: Waiting 18:48:14 e16973657156: Download complete 18:48:14 35d82f9e3411: Download complete 18:48:14 7e9fc2657dce: Verifying Checksum 18:48:14 7e9fc2657dce: Download complete 18:48:14 9b18e9b68314: Verifying Checksum 18:48:14 9b18e9b68314: Download complete 18:48:14 dda99020689f: Verifying Checksum 18:48:14 dda99020689f: Download complete 18:48:15 9b18e9b68314: Pull complete 18:48:15 891c053d2c06: Verifying Checksum 18:48:15 891c053d2c06: Download complete 18:48:16 35d82f9e3411: Pull complete 18:48:16 e16973657156: Pull complete 18:48:17 db1c61fa0a46: Verifying Checksum 18:48:17 db1c61fa0a46: Download complete 18:48:17 fc693d55d65f: Verifying Checksum 18:48:17 fc693d55d65f: Download complete 18:48:30 fc693d55d65f: Pull complete 18:48:30 7e9fc2657dce: Pull complete 18:48:30 dda99020689f: Pull complete 18:48:37 db1c61fa0a46: Pull complete 18:48:39 891c053d2c06: Pull complete 18:48:39 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:48:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:48:39 ---> f96f9c87975a 18:48:39 Step 3/10 : ARG ADD_BUILD_TAGS="" 18:48:40 ---> Running in 7973ad82bc42 18:48:41 Removing intermediate container 7973ad82bc42 18:48:41 ---> b24d2ea14a0e 18:48:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:48:41 ---> Running in 3311ab4c7557 18:48:41 Removing intermediate container 3311ab4c7557 18:48:41 ---> 309a0c096dc2 18:48:41 Step 5/10 : RUN apk add --update --no-cache make git openssh 18:48:41 ---> Running in e1fa7bdb0f87 18:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:48:44 (1/8) Installing openssh-keygen (9.0_p1-r2) 18:48:44 (2/8) Installing libedit (20210910.3.1-r0) 18:48:44 (3/8) Installing openssh-client-common (9.0_p1-r2) 18:48:44 (4/8) Installing openssh-client-default (9.0_p1-r2) 18:48:44 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 18:48:44 (6/8) Installing openssh-server-common (9.0_p1-r2) 18:48:44 (7/8) Installing openssh-server (9.0_p1-r2) 18:48:44 (8/8) Installing openssh (9.0_p1-r2) 18:48:44 Executing busybox-1.35.0-r17.trigger 18:48:44 OK: 228 MiB in 59 packages 18:48:45 Removing intermediate container e1fa7bdb0f87 18:48:45 ---> eda36af9c992 18:48:45 Step 6/10 : WORKDIR /device-modbus-go 18:48:45 ---> Running in b45a2f8563ee 18:48:46 Removing intermediate container b45a2f8563ee 18:48:46 ---> 0bd04c84eb3e 18:48:46 Step 7/10 : COPY go.mod vendor* ./ 18:48:46 ---> 6d599652697b 18:48:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:46 ---> Running in e89386ad8068 18:49:54 Removing intermediate container e89386ad8068 18:49:54 ---> 0436c7408435 18:49:54 Step 9/10 : COPY . . 18:49:54 ---> 2d5e1ce9e413 18:49:54 Step 10/10 : RUN ${MAKE} 18:49:54 ---> Running in b13e8d57b6e6 18:49:55 noop 18:49:56 Removing intermediate container b13e8d57b6e6 18:49:56 ---> 09fcd41aaff5 18:49:56 Successfully built 09fcd41aaff5 18:49:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:56 + docker inspect -f . ci-base-image-arm64 18:49:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:56 prd-ubuntu20.04-docker-arm64-4c-16g-8002 does not seem to be running inside a container 18:49:57 $ 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 18:49:58 $ docker top 9172892259ad946068f327d1eb626c375608074dff57633805a8c2339932d5c9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:59 + go version 18:49:59 go version go1.18.7 linux/arm64 [Pipeline] } 18:49:59 $ docker stop --time=1 9172892259ad946068f327d1eb626c375608074dff57633805a8c2339932d5c9 18:50:00 $ docker rm -f --volumes 9172892259ad946068f327d1eb626c375608074dff57633805a8c2339932d5c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:01 + docker inspect -f . ci-base-image-arm64 18:50:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:02 prd-ubuntu20.04-docker-arm64-4c-16g-8002 does not seem to be running inside a container 18:50:02 $ 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 18:50:03 $ docker top becbda6ad9da7ffc564e062e3d253f45612b3055dff42fed3c449d2479eadbcc -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:04 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 18:50:05 + make test 18:50:05 go test ./... -coverprofile=coverage.out 18:50:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:51:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:51:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements 18:51:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:51:43 go vet ./... 18:52:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:05 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:05 $ docker stop --time=1 becbda6ad9da7ffc564e062e3d253f45612b3055dff42fed3c449d2479eadbcc 18:52:07 $ docker rm -f --volumes becbda6ad9da7ffc564e062e3d253f45612b3055dff42fed3c449d2479eadbcc [Pipeline] // withDockerContainer [Pipeline] sh 18:52:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:08 Warning: overwriting stash ‘coverage-report’ 18:52:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:10 + ls -al . 18:52:10 total 176 18:52:10 drwxrwxr-x 9 jenkins jenkins 4096 Mar 1 18:50 . 18:52:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:47 .. 18:52:10 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 18:47 .dockerignore 18:52:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 18:47 .git 18:52:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:47 .github 18:52:10 -rw-rw-r-- 1 jenkins jenkins 331 Mar 1 18:47 .gitignore 18:52:10 -rw-rw-r-- 1 jenkins jenkins 41 Mar 1 18:47 .golangci.yml 18:52:10 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 1 18:47 Attribution.txt 18:52:10 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 1 18:47 CHANGELOG.md 18:52:10 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 1 18:47 Dockerfile 18:52:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 18:47 GOVERNANCE.md 18:52:10 -rw-rw-r-- 1 jenkins jenkins 680 Mar 1 18:47 Jenkinsfile 18:52:10 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 1 18:47 LICENSE 18:52:10 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 1 18:47 Makefile 18:52:10 -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 18:47 OWNERS.md 18:52:10 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 1 18:47 README.md 18:52:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 18:44 VERSION 18:52:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:47 bin 18:52:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:47 cmd 18:52:10 -rw-r--r-- 1 jenkins jenkins 23241 Mar 1 18:51 coverage.out 18:52:10 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 1 18:47 go.mod 18:52:10 -rw-rw-r-- 1 jenkins jenkins 31642 Mar 1 18:47 go.sum 18:52:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 18:47 internal 18:52:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 18:47 simulator 18:52:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 18:47 snap 18:52:10 -rw-rw-r-- 1 jenkins jenkins 229 Mar 1 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:10 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6a93df0bfecbb101926d1092a105f0f5e58141b8 --label arch=arm64 --label version=0.0.0 . 18:52:11 Sending build context to Docker daemon 3.364MB 18:52:11 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 18:52:11 Step 2/22 : FROM ${BASE} AS builder 18:52:11 ---> 09fcd41aaff5 18:52:11 Step 3/22 : ARG ADD_BUILD_TAGS="" 18:52:11 ---> Running in 1c81cd1268d7 18:52:12 Removing intermediate container 1c81cd1268d7 18:52:12 ---> 5c18c1d8ed35 18:52:12 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:52:12 ---> Running in a86db4807394 18:52:12 Removing intermediate container a86db4807394 18:52:12 ---> 4d475f47be40 18:52:12 Step 5/22 : RUN apk add --update --no-cache make git openssh 18:52:12 ---> Running in c0deb65fc564 18:52:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:52:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:52:15 OK: 228 MiB in 59 packages 18:52:16 Removing intermediate container c0deb65fc564 18:52:16 ---> be6be475e66d 18:52:16 Step 6/22 : WORKDIR /device-modbus-go 18:52:16 ---> Running in 165366986cd0 18:52:17 Removing intermediate container 165366986cd0 18:52:17 ---> 95ebbc15bbb6 18:52:17 Step 7/22 : COPY go.mod vendor* ./ 18:52:17 ---> c237980c6e85 18:52:17 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:17 ---> Running in 3e68ff0f08dd 18:52:21 Removing intermediate container 3e68ff0f08dd 18:52:21 ---> 26007e144ac7 18:52:21 Step 9/22 : COPY . . 18:52:21 ---> 38d7e1ad9955 18:52:21 Step 10/22 : RUN ${MAKE} 18:52:22 ---> Running in f08e061f632a 18:52:23 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 18:54:44 Removing intermediate container f08e061f632a 18:54:44 ---> 9ad032e39c7d 18:54:44 Step 11/22 : FROM alpine:3.14 18:54:44 3.14: Pulling from library/alpine 18:54:44 6f0e733d82e2: Pulling fs layer 18:54:44 6f0e733d82e2: Verifying Checksum 18:54:44 6f0e733d82e2: Download complete 18:54:44 6f0e733d82e2: Pull complete 18:54:44 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 18:54:44 Status: Downloaded newer image for alpine:3.14 18:54:44 ---> bf97f6347a60 18:54:44 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:54:45 ---> Running in 113538c55e27 18:54:45 Removing intermediate container 113538c55e27 18:54:45 ---> 300acf79afc1 18:54:45 Step 13/22 : RUN apk add --update --no-cache dumb-init 18:54:45 ---> Running in 0d0bc1467b60 18:54:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:54:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:54:47 (1/1) Installing dumb-init (1.2.5-r1) 18:54:47 Executing busybox-1.33.1-r8.trigger 18:54:47 OK: 6 MiB in 15 packages 18:54:48 Removing intermediate container 0d0bc1467b60 18:54:48 ---> eb955bbde613 18:54:48 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:54:49 ---> 9a0554c4353d 18:54:49 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:54:50 ---> f6feece3f43d 18:54:50 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:54:50 ---> 526e40b176ad 18:54:50 Step 17/22 : EXPOSE 59901 18:54:50 ---> Running in 4b57f9167d8a 18:54:51 Removing intermediate container 4b57f9167d8a 18:54:51 ---> 0705256320c6 18:54:51 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:54:51 ---> Running in 71d18b0be306 18:54:51 Removing intermediate container 71d18b0be306 18:54:51 ---> 1ec21d11aa02 18:54:51 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:54:51 ---> Running in cf02fed000ed 18:54:51 Removing intermediate container cf02fed000ed 18:54:51 ---> 82331b58f700 18:54:51 Step 20/22 : LABEL arch=arm64 18:54:52 ---> Running in 772849f646b6 18:54:52 Removing intermediate container 772849f646b6 18:54:52 ---> 1fda5776932d 18:54:52 Step 21/22 : LABEL git_sha=6a93df0bfecbb101926d1092a105f0f5e58141b8 18:54:52 ---> Running in dbd0b5e3ecca 18:54:52 Removing intermediate container dbd0b5e3ecca 18:54:52 ---> 6cea3e2f7bbc 18:54:52 Step 22/22 : LABEL version=0.0.0 18:54:52 ---> Running in 7ba24eedbb1d 18:54:52 Removing intermediate container 7ba24eedbb1d 18:54:52 ---> 1aba3c55d340 18:54:52 [Warning] One or more build-args [ARCH] were not consumed 18:54:53 Successfully built 1aba3c55d340 18:54:53 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 18:54:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:53 18:54:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:54 arm64: Pulling from edgex-lftools-log-publisher 18:54:54 8998bd30e6a1: Pulling fs layer 18:54:54 04944245beec: Pulling fs layer 18:54:54 699f458cf7ca: Pulling fs layer 18:54:54 765212b225bb: Pulling fs layer 18:54:54 f23df028b6ca: Pulling fs layer 18:54:54 d65c8cfc05b1: Pulling fs layer 18:54:54 f23df028b6ca: Waiting 18:54:54 765212b225bb: Waiting 18:54:54 2437ff75d9bd: Pulling fs layer 18:54:54 2437ff75d9bd: Waiting 18:54:54 d65c8cfc05b1: Waiting 18:54:54 04944245beec: Verifying Checksum 18:54:54 04944245beec: Download complete 18:54:54 765212b225bb: Download complete 18:54:54 f23df028b6ca: Verifying Checksum 18:54:54 f23df028b6ca: Download complete 18:54:54 d65c8cfc05b1: Verifying Checksum 18:54:54 d65c8cfc05b1: Download complete 18:54:54 699f458cf7ca: Verifying Checksum 18:54:54 699f458cf7ca: Download complete 18:54:55 8998bd30e6a1: Verifying Checksum 18:54:55 8998bd30e6a1: Download complete 18:54:57 2437ff75d9bd: Verifying Checksum 18:54:57 2437ff75d9bd: Download complete 18:54:59 8998bd30e6a1: Pull complete 18:55:01 04944245beec: Pull complete 18:55:02 699f458cf7ca: Pull complete 18:55:02 765212b225bb: Pull complete 18:55:03 f23df028b6ca: Pull complete 18:55:03 d65c8cfc05b1: Pull complete 18:55:18 2437ff75d9bd: Pull complete 18:55:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:55:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:19 prd-ubuntu20.04-docker-arm64-4c-16g-8002 does not seem to be running inside a container 18:55:19 $ 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 18:55:21 $ docker top ded5ef34ae0d07b5e3778ccc182b171950db6c7b423a478dd0c7a7ecdbf7f514 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:22 ---> job-cost.sh 18:55:22 lf-activate-venv: SKIPPING 18:55:22 INFO: No Stack... 18:55:23 INFO: Retrieving Pricing Info for: v3-standard-4 18:55:24 INFO: Archiving Costs [Pipeline] sh 18:55:24 + cut -d, -f6 18:55:24 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 18:55:24 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-421-1-stack-cost] 18:55:24 Resource [jenkins-edgexfoundry-device-modbus-go-PR-421-1-stack-cost] did not exist. Created. 18:55:24 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:25 /w/workspace/device-modbus-go/1@tmp/durable-79081b4e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:55:26 + echo total: 0.10999999940395355 [Pipeline] stash 18:55:26 Warning: overwriting stash ‘stack-cost’ 18:55:26 Stashed 1 file(s) [Pipeline] } 18:55:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:26 $ docker stop --time=1 ded5ef34ae0d07b5e3778ccc182b171950db6c7b423a478dd0c7a7ecdbf7f514 18:55:27 $ docker rm -f --volumes ded5ef34ae0d07b5e3778ccc182b171950db6c7b423a478dd0c7a7ecdbf7f514 [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 18:55:28 provisioning config files... 18:55:28 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-421@tmp/config8343124285346275933tmp [Pipeline] { [Pipeline] sh 18:55:29 + set +x 18:55:29 + curl -s https://codecov.io/bash 18:55:29 + bash -s -- 18:55:29 18:55:29 _____ _ 18:55:29 / ____| | | 18:55:29 | | ___ __| | ___ ___ _____ __ 18:55:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:55:29 | |___| (_) | (_| | __/ (_| (_) \ V / 18:55:29 \_____\___/ \__,_|\___|\___\___/ \_/ 18:55:29 Bash-1.0.6 18:55:29 18:55:29 18:55:29 ==> git version 2.25.1 found 18:55:29 ==> 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 18:55:29 Release-Date: 2020-01-08 18:55:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:55:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:55:29 ==> Jenkins CI detected. 18:55:29 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-421 18:55:29 project root: . 18:55:29 --> token set from env 18:55:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:55:29 ==> Running gcov in . (disable via -X gcov) 18:55:29 ==> Python coveragepy not found 18:55:29 ==> Searching for coverage reports in: 18:55:29 + . 18:55:29 -> Found 1 reports 18:55:29 ==> Detecting git/mercurial file structure 18:55:29 ==> Reading reports 18:55:29 + ./coverage.out bytes=23241 18:55:29 ==> Appending adjustments 18:55:29 https://docs.codecov.io/docs/fixing-reports 18:55:29 + Found adjustments 18:55:29 ==> Gzipping contents 18:55:29 4.0K /tmp/codecov.gwdSgB.gz 18:55:29 ==> Uploading reports 18:55:29 url: https://codecov.io 18:55:29 query: branch=PR-421&commit=6a93df0bfecbb101926d1092a105f0f5e58141b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=421&job=&cmd_args= 18:55:29 -> Pinging Codecov 18:55:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-421&commit=6a93df0bfecbb101926d1092a105f0f5e58141b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=421&job=&cmd_args= 18:55:29 -> Uploading to 18:55:29 https://storage.googleapis.com/codecov/v4/raw/2023-03-01/55DBCA73C666E3227836607328DD7E49/6a93df0bfecbb101926d1092a105f0f5e58141b8/ac82c8a7-5005-4e78-9492-c60ea90c9c9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T185529Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f65f416e065c8b89c1cdeedca581cc51b605bc01b216b73aeda02e7f626114db 18:55:29 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:29 Dload Upload Total Spent Left Speed 18:55:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3883 0 0 100 3883 0 16112 --:--:-- --:--:-- --:--:-- 16179 18:55:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6a93df0bfecbb101926d1092a105f0f5e58141b8 [Pipeline] } 18:55:29 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 18:55:31 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-421/archives ] 18:55:31 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-421/archives 18:55:31 total 16 18:55:31 drwxr-xr-x 3 root root 4096 Mar 1 18:46 . 18:55:31 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 18:46 .. 18:55:31 drwxr-xr-x 2 root root 4096 Mar 1 18:46 cost 18:55:31 -rw-r--r-- 1 root root 88 Mar 1 18:46 cost.csv 18:55:31 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-421/archives 18:55:31 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-421/archives 18:55:31 total 16 18:55:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 18:46 . 18:55:31 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 18:46 .. 18:55:31 drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 18:46 cost 18:55:31 -rw-r--r-- 1 jenkins jenkins 88 Mar 1 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:55:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:55:32 ---> package-listing.sh 18:55:32 ++ facter osfamily 18:55:32 ++ tr '[:upper:]' '[:lower:]' 18:55:32 + OS_FAMILY=debian 18:55:32 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-421 18:55:32 + START_PACKAGES=/tmp/packages_start.txt 18:55:32 + END_PACKAGES=/tmp/packages_end.txt 18:55:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:55:32 + PACKAGES=/tmp/packages_start.txt 18:55:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-421 ']' 18:55:32 + PACKAGES=/tmp/packages_end.txt 18:55:32 + case "${OS_FAMILY}" in 18:55:32 + dpkg -l 18:55:32 + grep '^ii' 18:55:32 + '[' -f /tmp/packages_start.txt ']' 18:55:32 + '[' -f /tmp/packages_end.txt ']' 18:55:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:55:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-421 ']' 18:55:32 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-421/archives/ 18:55:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-421/archives/ [Pipeline] echo 18:55:32 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-421/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:55:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:33 prd-ubuntu20.04-docker-8c-8g-8000 does not seem to be running inside a container 18:55:34 $ 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-421/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-421 -v /w/workspace/xfoundry_device-modbus-go_PR-421:/w/workspace/xfoundry_device-modbus-go_PR-421:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-421@tmp:/w/workspace/xfoundry_device-modbus-go_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:55:34 $ docker top 60322ce7739503789f2c9500073aca7eef8a1af34b6e3a3dd72879777114bec7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:34 + touch /tmp/pre-build-complete [Pipeline] sh 18:55:34 + mkdir -p /var/log/sysstat [Pipeline] sh 18:55:35 + ls /var/log/sa-host 18:55:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:35 provisioning config files... 18:55:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-421@tmp/config15938448323447246271tmp [Pipeline] { [Pipeline] echo 18:55:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:55:35 ---> create-netrc.sh [Pipeline] } 18:55:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:55:36 ---> python-tools-install.sh [Pipeline] echo 18:55:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:55:36 ---> sudo-logs.sh 18:55:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:55:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:55:36 ---> job-cost.sh 18:55:36 lf-activate-venv: SKIPPING 18:55:36 DEBUG: total: 0.2199999988079071 18:55:36 INFO: Retrieving Stack Cost... 18:55:37 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:37 INFO: Archiving Costs [Pipeline] echo 18:55:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:55:38 ---> logs-deploy.sh 18:55:38 lf-activate-venv: SKIPPING 18:55:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-421/1 18:55:38 INFO: archiving workspace using pattern(s): 18:55:39 Archives upload complete. 18:55:39 INFO: archiving logs to Nexus