Pull request #458 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169+96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 (20fe18678ee617da0b46d8eb41d5befb2e239dfb) 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-ssh16573375285761844588.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh11521125739558268075.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-458/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-458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5200334273582411352.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-458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14724308067521517194.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh14941649380484304842.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-458/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-458/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14811257162368673205.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8995 in /w/workspace/xfoundry_device-modbus-go_PR-458 [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-458 # 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/458/head:refs/remotes/origin/PR-458 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 into PR head commit 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 Merge succeeded, producing 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 Checking out Revision 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 (PR-458) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:12:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 # 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 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:12:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:12:20 ========================================================= 21:12:20 EdgeX Global Pipelines Version Info 21:12:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:12:21 ------------------- 21:12:21 stable info: 21:12:21 ------------------- 21:12:21 Commited By: Bill Mahoney bill.mahoney@intel.com 21:12:21 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:12:21 Message: update stable to v1.0.248 21:12:22 ------------------- 21:12:22 experimental info: 21:12:22 ------------------- 21:12:22 Commited By: **** collab-it+edgex@linuxfoundation.org 21:12:22 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:12:22 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:12:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-458 [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-458 [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-458 [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b1ce7d [Pipeline] echo 21:12:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:23 provisioning config files... 21:12:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-458@tmp/config8382492180271203832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:24 ---> docker-login.sh 21:12:24 nexus3.edgexfoundry.org:10001 21:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:24 Configure a credential helper to remove this warning. See 21:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:24 21:12:24 Login Succeeded 21:12:24 nexus3.edgexfoundry.org:10002 21:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:24 Configure a credential helper to remove this warning. See 21:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:24 21:12:24 Login Succeeded 21:12:24 nexus3.edgexfoundry.org:10003 21:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:24 Configure a credential helper to remove this warning. See 21:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:24 21:12:24 Login Succeeded 21:12:24 nexus3.edgexfoundry.org:10004 21:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:24 Configure a credential helper to remove this warning. See 21:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:24 21:12:24 Login Succeeded 21:12:24 docker.io 21:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:24 Configure a credential helper to remove this warning. See 21:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:24 21:12:24 Login Succeeded 21:12:24 ---> docker-login.sh ends [Pipeline] } 21:12:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:12:25 + git rev-list -1 --merges 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169~1..7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 [Pipeline] echo 21:12:25 -----------> git rev-list -1 --merges 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169~1..7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 [false] [Pipeline] sh 21:12:25 + git log --format=format:%s -1 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 [Pipeline] echo 21:12:25 ========================================================= 21:12:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:12:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:26 + git log --format=format:%s -1 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 [Pipeline] echo 21:12:26 [semverPrep] GIT_COMMIT: 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:12:26 [semverPrep] This is not a build commit. [Pipeline] sh 21:12:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:26 + grep -v github /etc/ssh/ssh_known_hosts 21:12:26 + [ -e /tmp/ssh_known_hosts ] 21:12:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:12:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:12:26 + sudo tee -a /etc/ssh/ssh_known_hosts 21:12:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:27 21:12:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:27 0.1.4: Pulling from edgex-devops/py-git-semver 21:12:27 b85a868b505f: Pulling fs layer 21:12:27 e2be974225ed: Pulling fs layer 21:12:27 339a4e72a1f5: Pulling fs layer 21:12:27 988bab9f4d93: Pulling fs layer 21:12:27 1469e6f7b9e6: Pulling fs layer 21:12:27 eaf3925da568: Pulling fs layer 21:12:27 bab4dde63d76: Pulling fs layer 21:12:27 bde34c3a00c8: Pulling fs layer 21:12:27 b352a97aabf1: Pulling fs layer 21:12:27 4872d77fe225: Pulling fs layer 21:12:27 5851b861e8e6: Pulling fs layer 21:12:27 1469e6f7b9e6: Waiting 21:12:27 bab4dde63d76: Waiting 21:12:27 bde34c3a00c8: Waiting 21:12:27 eaf3925da568: Waiting 21:12:27 5851b861e8e6: Waiting 21:12:27 b352a97aabf1: Waiting 21:12:27 4872d77fe225: Waiting 21:12:27 988bab9f4d93: Waiting 21:12:27 e2be974225ed: Download complete 21:12:27 988bab9f4d93: Download complete 21:12:27 1469e6f7b9e6: Verifying Checksum 21:12:27 1469e6f7b9e6: Download complete 21:12:27 339a4e72a1f5: Verifying Checksum 21:12:27 339a4e72a1f5: Download complete 21:12:27 eaf3925da568: Verifying Checksum 21:12:27 eaf3925da568: Download complete 21:12:27 bde34c3a00c8: Download complete 21:12:27 b352a97aabf1: Download complete 21:12:27 4872d77fe225: Download complete 21:12:27 5851b861e8e6: Verifying Checksum 21:12:27 5851b861e8e6: Download complete 21:12:27 b85a868b505f: Verifying Checksum 21:12:27 b85a868b505f: Download complete 21:12:28 bab4dde63d76: Verifying Checksum 21:12:28 bab4dde63d76: Download complete 21:12:29 b85a868b505f: Pull complete 21:12:29 e2be974225ed: Pull complete 21:12:29 339a4e72a1f5: Pull complete 21:12:29 988bab9f4d93: Pull complete 21:12:29 1469e6f7b9e6: Pull complete 21:12:29 eaf3925da568: Pull complete 21:12:31 bab4dde63d76: Pull complete 21:12:31 bde34c3a00c8: Pull complete 21:12:31 b352a97aabf1: Pull complete 21:12:31 4872d77fe225: Pull complete 21:12:31 5851b861e8e6: Pull complete 21:12:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:12:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:31 prd-ubuntu20.04-docker-8c-8g-8995 does not seem to be running inside a container 21:12:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-458 -v /w/workspace/xfoundry_device-modbus-go_PR-458:/w/workspace/xfoundry_device-modbus-go_PR-458:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-458@tmp:/w/workspace/xfoundry_device-modbus-go_PR-458@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 21:12:32 $ docker top dac1d6a7ae1ffad3be1c206c0924d4939dae7832ef8ce52c0cad22e938f9648a -eo pid,comm 21:12:32 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). 21:12:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:33 [ssh-agent] Looking for ssh-agent implementation... 21:12:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:33 $ docker exec dac1d6a7ae1ffad3be1c206c0924d4939dae7832ef8ce52c0cad22e938f9648a ssh-agent 21:12:33 SSH_AUTH_SOCK=/tmp/ssh-T7A6t4Nmf8HR/agent.33 21:12:33 SSH_AGENT_PID=39 21:12:33 Running ssh-add (command line suppressed) 21:12:33 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-458@tmp/private_key_14946120776817160856.key (/w/workspace/xfoundry_device-modbus-go_PR-458@tmp/private_key_14946120776817160856.key) 21:12:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:33 + git tag --points-at HEAD [Pipeline] } 21:12:33 $ docker exec --env ******** --env ******** dac1d6a7ae1ffad3be1c206c0924d4939dae7832ef8ce52c0cad22e938f9648a ssh-agent -k 21:12:33 unset SSH_AUTH_SOCK; 21:12:33 unset SSH_AGENT_PID; 21:12:33 echo Agent pid 39 killed; 21:12:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:12:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:33 [ssh-agent] Looking for ssh-agent implementation... 21:12:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:34 $ docker exec dac1d6a7ae1ffad3be1c206c0924d4939dae7832ef8ce52c0cad22e938f9648a ssh-agent 21:12:34 SSH_AUTH_SOCK=/tmp/ssh-haWWSdig02Y6/agent.72 21:12:34 SSH_AGENT_PID=78 21:12:34 Running ssh-add (command line suppressed) 21:12:34 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-458@tmp/private_key_12727363829072508429.key (/w/workspace/xfoundry_device-modbus-go_PR-458@tmp/private_key_12727363829072508429.key) 21:12:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:34 + git semver init 21:12:34 2023-04-18 21:12:34,808 [run_init] DEBUG init version:0.0.0 force:False 21:12:34 2023-04-18 21:12:34,809 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-458/.semver 21:12:34 2023-04-18 21:12:34,810 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-458/.semver 21:12:34 2023-04-18 21:12:34,810 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-458/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-458, universal_newlines=False, shell=None, istream=None) 21:12:35 2023-04-18 21:12:35,569 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-458/.git/info/exclude 21:12:35 2023-04-18 21:12:35,570 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-458/.semver/PR-458 with force:False 21:12:35 2023-04-18 21:12:35,570 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-458/.semver/PR-458 21:12:35 2023-04-18 21:12:35,574 [execute] INFO git cat-file --batch-check 21:12:35 2023-04-18 21:12:35,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-458/.semver, universal_newlines=False, shell=None, istream=) 21:12:35 2023-04-18 21:12:35,580 [execute] INFO git cat-file --batch 21:12:35 2023-04-18 21:12:35,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-458/.semver, universal_newlines=False, shell=None, istream=) 21:12:35 2023-04-18 21:12:35,585 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-458/.semver/PR-458 21:12:35 0.0.0 [Pipeline] } 21:12:35 $ docker exec --env ******** --env ******** dac1d6a7ae1ffad3be1c206c0924d4939dae7832ef8ce52c0cad22e938f9648a ssh-agent -k 21:12:35 unset SSH_AUTH_SOCK; 21:12:35 unset SSH_AGENT_PID; 21:12:35 echo Agent pid 78 killed; 21:12:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:36 + git semver [Pipeline] } 21:12:36 $ docker stop --time=1 dac1d6a7ae1ffad3be1c206c0924d4939dae7832ef8ce52c0cad22e938f9648a 21:12:38 $ docker rm -f --volumes dac1d6a7ae1ffad3be1c206c0924d4939dae7832ef8ce52c0cad22e938f9648a [Pipeline] // withDockerContainer [Pipeline] sh 21:12:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:12:38 Stashed 1 file(s) [Pipeline] echo 21:12:38 [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 21:12:39 provisioning config files... 21:12:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-458@tmp/config17836180717348373820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:39 ---> docker-login.sh 21:12:39 nexus3.edgexfoundry.org:10001 21:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:39 Configure a credential helper to remove this warning. See 21:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:39 21:12:39 Login Succeeded 21:12:39 nexus3.edgexfoundry.org:10002 21:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:39 Configure a credential helper to remove this warning. See 21:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:39 21:12:39 Login Succeeded 21:12:39 nexus3.edgexfoundry.org:10003 21:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:40 Configure a credential helper to remove this warning. See 21:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:40 21:12:40 Login Succeeded 21:12:40 nexus3.edgexfoundry.org:10004 21:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:40 Configure a credential helper to remove this warning. See 21:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:40 21:12:40 Login Succeeded 21:12:40 docker.io 21:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:40 Configure a credential helper to remove this warning. See 21:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:40 21:12:40 Login Succeeded 21:12:40 ---> docker-login.sh ends [Pipeline] } 21:12:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:40 ========================================================= 21:12:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:12:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:12:41 Sending build context to Docker daemon 6.452MB 21:12:41 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:12:41 Step 2/10 : FROM ${BASE} AS builder 21:12:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:12:41 63b65145d645: Pulling fs layer 21:12:41 a2d21d5440eb: Pulling fs layer 21:12:41 935e6c44a52c: Pulling fs layer 21:12:41 94cc34f8dd06: Pulling fs layer 21:12:41 30dea6a524f1: Pulling fs layer 21:12:41 a2aff8979fd8: Pulling fs layer 21:12:41 6808be2612f2: Pulling fs layer 21:12:41 f25807f1079a: Pulling fs layer 21:12:41 94cc34f8dd06: Waiting 21:12:41 30dea6a524f1: Waiting 21:12:41 a2aff8979fd8: Waiting 21:12:41 f25807f1079a: Waiting 21:12:41 a2d21d5440eb: Verifying Checksum 21:12:41 a2d21d5440eb: Download complete 21:12:41 94cc34f8dd06: Download complete 21:12:41 30dea6a524f1: Verifying Checksum 21:12:41 30dea6a524f1: Download complete 21:12:41 63b65145d645: Verifying Checksum 21:12:41 63b65145d645: Download complete 21:12:41 a2aff8979fd8: Verifying Checksum 21:12:41 a2aff8979fd8: Download complete 21:12:41 63b65145d645: Pull complete 21:12:41 a2d21d5440eb: Pull complete 21:12:41 f25807f1079a: Verifying Checksum 21:12:41 f25807f1079a: Download complete 21:12:42 935e6c44a52c: Verifying Checksum 21:12:42 935e6c44a52c: Download complete 21:12:42 6808be2612f2: Verifying Checksum 21:12:42 6808be2612f2: Download complete 21:12:45 935e6c44a52c: Pull complete 21:12:45 94cc34f8dd06: Pull complete 21:12:45 30dea6a524f1: Pull complete 21:12:45 a2aff8979fd8: Pull complete 21:12:47 6808be2612f2: Pull complete 21:12:48 f25807f1079a: Pull complete 21:12:48 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:12:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:12:48 ---> 3b553350e43f 21:12:48 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:12:49 ---> Running in 6e8270147b27 21:12:49 Removing intermediate container 6e8270147b27 21:12:49 ---> ae0195704bfa 21:12:49 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:49 ---> Running in 631253ce2ed4 21:12:49 Removing intermediate container 631253ce2ed4 21:12:49 ---> 34a6c838c8a0 21:12:49 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:12:49 ---> Running in 54de12b6d82d 21:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:12:50 (1/8) Installing openssh-keygen (9.1_p1-r2) 21:12:50 (2/8) Installing libedit (20221030.3.1-r0) 21:12:50 (3/8) Installing openssh-client-common (9.1_p1-r2) 21:12:50 (4/8) Installing openssh-client-default (9.1_p1-r2) 21:12:50 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 21:12:50 (6/8) Installing openssh-server-common (9.1_p1-r2) 21:12:50 (7/8) Installing openssh-server (9.1_p1-r2) 21:12:50 (8/8) Installing openssh (9.1_p1-r2) 21:12:50 Executing busybox-1.35.0-r29.trigger 21:12:50 OK: 270 MiB in 61 packages 21:12:51 Removing intermediate container 54de12b6d82d 21:12:51 ---> 9f8e66537d15 21:12:51 Step 6/10 : WORKDIR /device-modbus-go 21:12:51 ---> Running in 318df54b243b 21:12:51 Removing intermediate container 318df54b243b 21:12:51 ---> 10ea2466fa9a 21:12:51 Step 7/10 : COPY go.mod vendor* ./ 21:12:51 ---> 56346ffc0972 21:12:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:51 ---> Running in bdf619ff178b 21:12:54 Still waiting to schedule task 21:12:54 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8994’ 21:13:09 Removing intermediate container bdf619ff178b 21:13:09 ---> 0564a58d5ff2 21:13:09 Step 9/10 : COPY . . 21:13:09 ---> 740fd16adfa7 21:13:09 Step 10/10 : RUN ${MAKE} 21:13:09 ---> Running in 0735f0ff96e3 21:13:09 noop 21:13:09 Removing intermediate container 0735f0ff96e3 21:13:09 ---> 2a2f2ef8faa6 21:13:09 Successfully built 2a2f2ef8faa6 21:13:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:10 + docker inspect -f . ci-base-image-x86_64 21:13:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:10 prd-ubuntu20.04-docker-8c-8g-8995 does not seem to be running inside a container 21:13:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-458 -v /w/workspace/xfoundry_device-modbus-go_PR-458:/w/workspace/xfoundry_device-modbus-go_PR-458:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-458@tmp:/w/workspace/xfoundry_device-modbus-go_PR-458@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 21:13:10 $ docker top 160cfbb4cd6bcf231d86a07f13cd34e9fc4afc68cbb4f74122a4e7aaed0dd8f7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:11 + go version 21:13:11 go version go1.20.2 linux/amd64 [Pipeline] } 21:13:11 $ docker stop --time=1 160cfbb4cd6bcf231d86a07f13cd34e9fc4afc68cbb4f74122a4e7aaed0dd8f7 21:13:12 $ docker rm -f --volumes 160cfbb4cd6bcf231d86a07f13cd34e9fc4afc68cbb4f74122a4e7aaed0dd8f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:12 + docker inspect -f . ci-base-image-x86_64 21:13:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:13 prd-ubuntu20.04-docker-8c-8g-8995 does not seem to be running inside a container 21:13:13 $ 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-458 -v /w/workspace/xfoundry_device-modbus-go_PR-458:/w/workspace/xfoundry_device-modbus-go_PR-458:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-458@tmp:/w/workspace/xfoundry_device-modbus-go_PR-458@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 21:13:13 $ docker top 0a9ec8ad38a59910eaff7509f2405241ae39c026e305cdc3d679da011e3e0094 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:13 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-458 [Pipeline] fileExists [Pipeline] sh 21:13:14 + make test 21:13:14 go test ./... -coverprofile=coverage.out 21:13:19 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:13:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:13:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 21:13:34 go vet ./... 21:13:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:38 ./bin/test-attribution-txt.sh [Pipeline] echo 21:13:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:38 $ docker stop --time=1 0a9ec8ad38a59910eaff7509f2405241ae39c026e305cdc3d679da011e3e0094 21:13:40 $ docker rm -f --volumes 0a9ec8ad38a59910eaff7509f2405241ae39c026e305cdc3d679da011e3e0094 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:13:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:41 + ls -al . 21:13:41 total 180 21:13:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 21:13 . 21:13:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:12 .. 21:13:41 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 21:12 .dockerignore 21:13:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:12 .git 21:13:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:12 .github 21:13:41 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 21:12 .gitignore 21:13:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:12 .golangci.yml 21:13:41 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:12 .semver 21:13:41 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 21:12 Attribution.txt 21:13:41 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 21:12 CHANGELOG.md 21:13:41 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 21:12 Dockerfile 21:13:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:12 GOVERNANCE.md 21:13:41 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 21:12 Jenkinsfile 21:13:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:12 LICENSE 21:13:41 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 21:12 Makefile 21:13:41 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 21:12 OWNERS.md 21:13:41 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 21:12 README.md 21:13:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 21:12 VERSION 21:13:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:12 bin 21:13:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:12 cmd 21:13:41 -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 21:13 coverage.out 21:13:41 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 21:12 go.mod 21:13:41 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 18 21:12 go.sum 21:13:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:12 internal 21:13:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:12 simulator 21:13:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:12 snap 21:13:41 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:42 + 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=7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 --label arch=amd64 --label version=0.0.0 . 21:13:42 Sending build context to Docker daemon 6.477MB 21:13:42 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:13:42 Step 2/22 : FROM ${BASE} AS builder 21:13:42 ---> 2a2f2ef8faa6 21:13:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:13:42 ---> Running in 375b8308db78 21:13:42 Removing intermediate container 375b8308db78 21:13:42 ---> 79fb0e4ed9c7 21:13:42 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:42 ---> Running in 1b1abdb1d847 21:13:42 Removing intermediate container 1b1abdb1d847 21:13:42 ---> 47c36bbb37c0 21:13:42 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:13:42 ---> Running in fac19cc1e57c 21:13:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:13:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:13:43 OK: 270 MiB in 61 packages 21:13:43 Removing intermediate container fac19cc1e57c 21:13:43 ---> 29a13edb1886 21:13:43 Step 6/22 : WORKDIR /device-modbus-go 21:13:43 ---> Running in a33adfe5165a 21:13:43 Removing intermediate container a33adfe5165a 21:13:43 ---> 74c98a5ae88b 21:13:43 Step 7/22 : COPY go.mod vendor* ./ 21:13:43 ---> 897cecbd3bb3 21:13:43 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:43 ---> Running in 7b9e80bd9892 21:13:44 Removing intermediate container 7b9e80bd9892 21:13:44 ---> edfc23011e65 21:13:44 Step 9/22 : COPY . . 21:13:44 ---> 08c1cb58097e 21:13:44 Step 10/22 : RUN ${MAKE} 21:13:44 ---> Running in 6d50b6677611 21:13:45 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 21:14:03 Removing intermediate container 6d50b6677611 21:14:03 ---> 430e0b1860da 21:14:03 Step 11/22 : FROM alpine:3.17 21:14:03 3.17: Pulling from library/alpine 21:14:03 f56be85fc22e: Pulling fs layer 21:14:03 f56be85fc22e: Verifying Checksum 21:14:03 f56be85fc22e: Download complete 21:14:03 f56be85fc22e: Pull complete 21:14:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:14:03 Status: Downloaded newer image for alpine:3.17 21:14:03 ---> 9ed4aefc74f6 21:14:03 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:14:03 ---> Running in a0804b4dafa2 21:14:03 Removing intermediate container a0804b4dafa2 21:14:03 ---> 595724236a08 21:14:03 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:14:03 ---> Running in 784b0ad3d5e4 21:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:14:03 (1/1) Installing dumb-init (1.2.5-r2) 21:14:03 Executing busybox-1.35.0-r29.trigger 21:14:03 OK: 7 MiB in 16 packages 21:14:03 Removing intermediate container 784b0ad3d5e4 21:14:03 ---> 79c786f50b1f 21:14:03 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:14:03 ---> 0ec3c95733fb 21:14:03 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:14:03 ---> 39d765394a73 21:14:03 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:14:03 ---> 0c7358cb890e 21:14:03 Step 17/22 : EXPOSE 59901 21:14:03 ---> Running in 33742abd607a 21:14:03 Removing intermediate container 33742abd607a 21:14:03 ---> 4d5ad1d82ea9 21:14:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:14:03 ---> Running in 56953f4fe886 21:14:03 Removing intermediate container 56953f4fe886 21:14:03 ---> 78dead1b6ee6 21:14:03 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:14:03 ---> Running in 97d8519af682 21:14:03 Removing intermediate container 97d8519af682 21:14:03 ---> f74016be9f71 21:14:03 Step 20/22 : LABEL arch=amd64 21:14:03 ---> Running in c34904981e10 21:14:03 Removing intermediate container c34904981e10 21:14:03 ---> 8e7eb5ba8362 21:14:03 Step 21/22 : LABEL git_sha=7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 21:14:03 ---> Running in ac2c517adb3f 21:14:03 Removing intermediate container ac2c517adb3f 21:14:03 ---> 7b194c31642d 21:14:03 Step 22/22 : LABEL version=0.0.0 21:14:03 ---> Running in c0314838111b 21:14:03 Removing intermediate container c0314838111b 21:14:03 ---> ab186d39e517 21:14:03 [Warning] One or more build-args [ARCH] were not consumed 21:14:03 Successfully built ab186d39e517 21:14:03 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 21:14:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:04 21:14:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:04 latest: Pulling from edgex-lftools-log-publisher 21:14:04 5eb5b503b376: Pulling fs layer 21:14:04 5c69ac0246d0: Pulling fs layer 21:14:04 ec43610c2a17: Pulling fs layer 21:14:04 3a2ae6a8a46f: Pulling fs layer 21:14:04 33b1e0a273af: Pulling fs layer 21:14:04 5d3b04190fa2: Pulling fs layer 21:14:04 2f39f015ded8: Pulling fs layer 21:14:04 3a2ae6a8a46f: Waiting 21:14:04 33b1e0a273af: Waiting 21:14:04 5d3b04190fa2: Waiting 21:14:04 2f39f015ded8: Waiting 21:14:04 5c69ac0246d0: Verifying Checksum 21:14:04 5c69ac0246d0: Download complete 21:14:04 3a2ae6a8a46f: Verifying Checksum 21:14:04 3a2ae6a8a46f: Download complete 21:14:04 33b1e0a273af: Verifying Checksum 21:14:04 33b1e0a273af: Download complete 21:14:04 ec43610c2a17: Verifying Checksum 21:14:04 ec43610c2a17: Download complete 21:14:04 5d3b04190fa2: Verifying Checksum 21:14:04 5d3b04190fa2: Download complete 21:14:05 5eb5b503b376: Verifying Checksum 21:14:05 5eb5b503b376: Download complete 21:14:05 2f39f015ded8: Download complete 21:14:06 5eb5b503b376: Pull complete 21:14:06 5c69ac0246d0: Pull complete 21:14:06 ec43610c2a17: Pull complete 21:14:06 3a2ae6a8a46f: Pull complete 21:14:06 33b1e0a273af: Pull complete 21:14:06 5d3b04190fa2: Pull complete 21:14:10 2f39f015ded8: Pull complete 21:14:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:11 prd-ubuntu20.04-docker-8c-8g-8995 does not seem to be running inside a container 21:14:11 $ 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-458 -v /w/workspace/xfoundry_device-modbus-go_PR-458:/w/workspace/xfoundry_device-modbus-go_PR-458:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-458@tmp:/w/workspace/xfoundry_device-modbus-go_PR-458@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 21:14:12 $ docker top 30e467a91bbe735c3a0af4d341c4eb50363d4fec0437847ee3a51778866a532c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:12 ---> job-cost.sh 21:14:12 lf-activate-venv: SKIPPING 21:14:12 INFO: No Stack... 21:14:12 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:13 INFO: Archiving Costs [Pipeline] sh 21:14:13 + cat /w/workspace/xfoundry_device-modbus-go_PR-458/archives/cost.csv+ 21:14:13 cut -d, -f6 [Pipeline] lock 21:14:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-458-1-stack-cost] 21:14:13 Resource [jenkins-edgexfoundry-device-modbus-go-PR-458-1-stack-cost] did not exist. Created. 21:14:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:13 + echo total: 0.2199999988079071 [Pipeline] stash 21:14:13 Stashed 1 file(s) [Pipeline] } 21:14:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-458-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:14 $ docker stop --time=1 30e467a91bbe735c3a0af4d341c4eb50363d4fec0437847ee3a51778866a532c 21:14:15 $ docker rm -f --volumes 30e467a91bbe735c3a0af4d341c4eb50363d4fec0437847ee3a51778866a532c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:15:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8997 in /w/workspace/xfoundry_device-modbus-go_PR-458 [Pipeline] { [Pipeline] ws 21:15:43 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 21:15:43 Selected Git installation does not exist. Using Default 21:15:43 The recommended git tool is: NONE 21:15:50 using credential edgex-jenkins-ssh 21:15:50 Cloning the remote Git repository 21:15:50 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:15:50 > git init /w/workspace/device-modbus-go/1 # timeout=10 21:15:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:15:50 > git --version # timeout=10 21:15:50 > git --version # 'git version 2.25.1' 21:15:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:15:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:15:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:15:53 Merging remotes/origin/main commit 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 into PR head commit 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 21:15:54 Merge succeeded, producing 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 21:15:54 Checking out Revision 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 (PR-458) 21:15:53 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:15:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:15:53 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/458/head:refs/remotes/origin/PR-458 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:15:53 > git config core.sparsecheckout # timeout=10 21:15:53 > git checkout -f 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 # timeout=10 21:15:54 > git remote # timeout=10 21:15:54 > git config --get remote.origin.url # timeout=10 21:15:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:54 > git merge 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 # timeout=10 21:15:54 > git rev-parse HEAD^{commit} # timeout=10 21:15:54 > git config core.sparsecheckout # timeout=10 21:15:54 > git checkout -f 7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 # timeout=10 21:15:54 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:15:54 > git --version # timeout=10 21:15:54 > git --version # 'git version 2.25.1' 21:15:54 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:15:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:15:55 % Total % Received % Xferd Average Speed Time Time Time Current 21:15:55 Dload Upload Total Spent Left Speed 21:15:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 21:15:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:15:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:15:56 + sudo tee /etc/docker/daemon.new 21:15:56 { 21:15:56 "registry-mirrors": [ 21:15:56 "https://nexus3.edgexfoundry.org:10001" 21:15:56 ], 21:15:56 "bip": "10.250.0.254/24", 21:15:56 "hosts": [ 21:15:56 "tcp://0.0.0.0:5555", 21:15:56 "unix:///var/run/docker.sock" 21:15:56 ], 21:15:56 "mtu": 1458, 21:15:56 "selinux-enabled": true, 21:15:56 "seccomp-profile": "/etc/docker/seccomp.json" 21:15:56 } [Pipeline] sh 21:15:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:15:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:15 provisioning config files... 21:16:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4180890822999178204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:16 ---> docker-login.sh 21:16:16 nexus3.edgexfoundry.org:10001 21:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:17 Configure a credential helper to remove this warning. See 21:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:17 21:16:17 Login Succeeded 21:16:17 nexus3.edgexfoundry.org:10002 21:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:17 Configure a credential helper to remove this warning. See 21:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:17 21:16:17 Login Succeeded 21:16:17 nexus3.edgexfoundry.org:10003 21:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:17 Configure a credential helper to remove this warning. See 21:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:17 21:16:17 Login Succeeded 21:16:17 nexus3.edgexfoundry.org:10004 21:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:18 Configure a credential helper to remove this warning. See 21:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:18 21:16:18 Login Succeeded 21:16:18 docker.io 21:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:18 Configure a credential helper to remove this warning. See 21:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:18 21:16:18 Login Succeeded 21:16:18 ---> docker-login.sh ends [Pipeline] } 21:16:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:16:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:19 ========================================================= 21:16:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:16:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:16:22 Sending build context to Docker daemon 3.366MB 21:16:22 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:16:22 Step 2/10 : FROM ${BASE} AS builder 21:16:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:16:22 af6eaf76a39c: Pulling fs layer 21:16:22 55522c791124: Pulling fs layer 21:16:22 ce5c4a1c91eb: Pulling fs layer 21:16:22 169dfbe0d373: Pulling fs layer 21:16:22 e1ff8fa3b103: Pulling fs layer 21:16:22 52ebb69f0ebf: Pulling fs layer 21:16:22 5abe8eddf0d5: Pulling fs layer 21:16:22 e1ff8fa3b103: Waiting 21:16:22 52ebb69f0ebf: Waiting 21:16:22 5abe8eddf0d5: Waiting 21:16:22 169dfbe0d373: Waiting 21:16:22 55522c791124: Verifying Checksum 21:16:22 55522c791124: Download complete 21:16:22 169dfbe0d373: Verifying Checksum 21:16:22 169dfbe0d373: Download complete 21:16:22 e1ff8fa3b103: Verifying Checksum 21:16:22 e1ff8fa3b103: Download complete 21:16:22 af6eaf76a39c: Download complete 21:16:23 af6eaf76a39c: Pull complete 21:16:23 5abe8eddf0d5: Verifying Checksum 21:16:23 5abe8eddf0d5: Download complete 21:16:24 55522c791124: Pull complete 21:16:25 ce5c4a1c91eb: Verifying Checksum 21:16:25 ce5c4a1c91eb: Download complete 21:16:25 52ebb69f0ebf: Verifying Checksum 21:16:25 52ebb69f0ebf: Download complete 21:16:37 ce5c4a1c91eb: Pull complete 21:16:37 169dfbe0d373: Pull complete 21:16:37 e1ff8fa3b103: Pull complete 21:16:44 52ebb69f0ebf: Pull complete 21:16:45 5abe8eddf0d5: Pull complete 21:16:45 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:16:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:16:45 ---> 6cb57ee374ae 21:16:45 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:16:47 ---> Running in 3f7f26c5fecd 21:16:47 Removing intermediate container 3f7f26c5fecd 21:16:47 ---> f6b7317357c4 21:16:47 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:47 ---> Running in 155315b81ac2 21:16:47 Removing intermediate container 155315b81ac2 21:16:47 ---> b8d3fd1c2fc3 21:16:47 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:16:48 ---> Running in d85c5d22cd44 21:16:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:16:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:16:50 (1/8) Installing openssh-keygen (9.1_p1-r2) 21:16:50 (2/8) Installing libedit (20221030.3.1-r0) 21:16:50 (3/8) Installing openssh-client-common (9.1_p1-r2) 21:16:50 (4/8) Installing openssh-client-default (9.1_p1-r2) 21:16:50 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 21:16:50 (6/8) Installing openssh-server-common (9.1_p1-r2) 21:16:50 (7/8) Installing openssh-server (9.1_p1-r2) 21:16:50 (8/8) Installing openssh (9.1_p1-r2) 21:16:50 Executing busybox-1.35.0-r29.trigger 21:16:50 OK: 270 MiB in 61 packages 21:16:52 Removing intermediate container d85c5d22cd44 21:16:52 ---> 68637852d248 21:16:52 Step 6/10 : WORKDIR /device-modbus-go 21:16:52 ---> Running in e1b171ab7a6c 21:16:52 Removing intermediate container e1b171ab7a6c 21:16:52 ---> d841ca5a3cdb 21:16:52 Step 7/10 : COPY go.mod vendor* ./ 21:16:52 ---> be32962a51cd 21:16:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:52 ---> Running in 4502db6ed036 21:18:14 Removing intermediate container 4502db6ed036 21:18:14 ---> 8e49e7582456 21:18:14 Step 9/10 : COPY . . 21:18:14 ---> 5c7d7ab33dda 21:18:14 Step 10/10 : RUN ${MAKE} 21:18:14 ---> Running in dfdb7ffd9388 21:18:14 noop 21:18:14 Removing intermediate container dfdb7ffd9388 21:18:14 ---> 9470a6b21327 21:18:14 Successfully built 9470a6b21327 21:18:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:15 + docker inspect -f . ci-base-image-arm64 21:18:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:15 prd-ubuntu20.04-docker-arm64-4c-16g-8997 does not seem to be running inside a container 21:18:15 $ 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 21:18:16 $ docker top 4f112bf9d584858dfe6f614a5ec0b78b95883d95905f297c8f423f5c7dcfc743 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:17 + go version 21:18:17 go version go1.20.2 linux/arm64 [Pipeline] } 21:18:17 $ docker stop --time=1 4f112bf9d584858dfe6f614a5ec0b78b95883d95905f297c8f423f5c7dcfc743 21:18:19 $ docker rm -f --volumes 4f112bf9d584858dfe6f614a5ec0b78b95883d95905f297c8f423f5c7dcfc743 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:20 + docker inspect -f . ci-base-image-arm64 21:18:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:20 prd-ubuntu20.04-docker-arm64-4c-16g-8997 does not seem to be running inside a container 21:18:20 $ 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 21:18:21 $ docker top 2590f9329013ce1d009a1f80ab51943ae6361d0aa7ba71e0bd371abbb0d604f5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:22 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 21:18:23 + make test 21:18:23 go test ./... -coverprofile=coverage.out 21:19:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:21:24 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:21:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.4% of statements 21:21:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:21:24 go vet ./... 21:21:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:21:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:21:46 ./bin/test-attribution-txt.sh [Pipeline] echo 21:21:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:21:46 $ docker stop --time=1 2590f9329013ce1d009a1f80ab51943ae6361d0aa7ba71e0bd371abbb0d604f5 21:21:48 $ docker rm -f --volumes 2590f9329013ce1d009a1f80ab51943ae6361d0aa7ba71e0bd371abbb0d604f5 [Pipeline] // withDockerContainer [Pipeline] sh 21:21:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:21:49 Warning: overwriting stash ‘coverage-report’ 21:21:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:21:51 + ls -al . 21:21:51 total 176 21:21:51 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 21:18 . 21:21:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:15 .. 21:21:51 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 21:15 .dockerignore 21:21:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:15 .git 21:21:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:15 .github 21:21:51 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 21:15 .gitignore 21:21:51 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:15 .golangci.yml 21:21:51 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 21:15 Attribution.txt 21:21:51 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 21:15 CHANGELOG.md 21:21:51 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 21:15 Dockerfile 21:21:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:15 GOVERNANCE.md 21:21:51 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 21:15 Jenkinsfile 21:21:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:15 LICENSE 21:21:51 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 21:15 Makefile 21:21:51 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 21:15 OWNERS.md 21:21:51 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 21:15 README.md 21:21:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 21:12 VERSION 21:21:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:15 bin 21:21:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:15 cmd 21:21:51 -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 21:21 coverage.out 21:21:51 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 21:15 go.mod 21:21:51 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 18 21:15 go.sum 21:21:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:15 internal 21:21:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:15 simulator 21:21:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:15 snap 21:21:51 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 21:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:51 + 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=7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 --label arch=arm64 --label version=0.0.0 . 21:21:51 Sending build context to Docker daemon 3.391MB 21:21:51 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:21:51 Step 2/22 : FROM ${BASE} AS builder 21:21:51 ---> 9470a6b21327 21:21:51 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:21:52 ---> Running in 696338c7e785 21:21:52 Removing intermediate container 696338c7e785 21:21:52 ---> 97886d90d437 21:21:52 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:52 ---> Running in de54ebca2775 21:21:52 Removing intermediate container de54ebca2775 21:21:52 ---> ed528ade4c08 21:21:52 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:21:52 ---> Running in f8d4e3883ebd 21:21:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:21:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:21:55 OK: 270 MiB in 61 packages 21:21:59 Removing intermediate container f8d4e3883ebd 21:21:59 ---> fbc3d31d70d8 21:21:59 Step 6/22 : WORKDIR /device-modbus-go 21:21:59 ---> Running in b142bff07ecc 21:21:59 Removing intermediate container b142bff07ecc 21:21:59 ---> f5740ec32aa2 21:21:59 Step 7/22 : COPY go.mod vendor* ./ 21:21:59 ---> 702d282a0a12 21:21:59 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:59 ---> Running in 555d4ea49e92 21:22:01 Removing intermediate container 555d4ea49e92 21:22:01 ---> 5e164193afc4 21:22:01 Step 9/22 : COPY . . 21:22:02 ---> 8b881ecdc584 21:22:02 Step 10/22 : RUN ${MAKE} 21:22:02 ---> Running in babd70aaffe6 21:22:03 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 21:24:25 Removing intermediate container babd70aaffe6 21:24:25 ---> 0db3d171bcf8 21:24:25 Step 11/22 : FROM alpine:3.17 21:24:25 3.17: Pulling from library/alpine 21:24:25 c41833b44d91: Pulling fs layer 21:24:25 c41833b44d91: Download complete 21:24:25 c41833b44d91: Pull complete 21:24:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:24:25 Status: Downloaded newer image for alpine:3.17 21:24:25 ---> 51e60588ff2c 21:24:25 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:24:25 ---> Running in 03881cd99027 21:24:25 Removing intermediate container 03881cd99027 21:24:25 ---> 67c02274625b 21:24:25 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:24:25 ---> Running in 2e1d60df35b7 21:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:24:25 (1/1) Installing dumb-init (1.2.5-r2) 21:24:25 Executing busybox-1.35.0-r29.trigger 21:24:25 OK: 8 MiB in 16 packages 21:24:25 Removing intermediate container 2e1d60df35b7 21:24:25 ---> 220f5b0a7e99 21:24:25 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:24:25 ---> 36dcbf46a273 21:24:25 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:24:25 ---> 4443ca2b71b8 21:24:25 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:24:25 ---> 86c25635028c 21:24:25 Step 17/22 : EXPOSE 59901 21:24:25 ---> Running in 091e7b786d32 21:24:26 Removing intermediate container 091e7b786d32 21:24:26 ---> 5141295bf12e 21:24:26 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:24:26 ---> Running in 4b1fd1d2e380 21:24:26 Removing intermediate container 4b1fd1d2e380 21:24:26 ---> 47fac2b3a3bd 21:24:26 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:24:26 ---> Running in 354254fadc4e 21:24:26 Removing intermediate container 354254fadc4e 21:24:26 ---> 7ae1285b1c79 21:24:26 Step 20/22 : LABEL arch=arm64 21:24:27 ---> Running in 88b51f41e477 21:24:27 Removing intermediate container 88b51f41e477 21:24:27 ---> 35457419a37d 21:24:27 Step 21/22 : LABEL git_sha=7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 21:24:27 ---> Running in 9718d6fd8d7b 21:24:27 Removing intermediate container 9718d6fd8d7b 21:24:27 ---> dd647b9c304e 21:24:27 Step 22/22 : LABEL version=0.0.0 21:24:27 ---> Running in b54a3658ced6 21:24:27 Removing intermediate container b54a3658ced6 21:24:27 ---> 10ceded6fbf0 21:24:27 [Warning] One or more build-args [ARCH] were not consumed 21:24:28 Successfully built 10ceded6fbf0 21:24:28 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 21:24:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:29 21:24:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:29 arm64: Pulling from edgex-lftools-log-publisher 21:24:29 8998bd30e6a1: Pulling fs layer 21:24:29 04944245beec: Pulling fs layer 21:24:29 699f458cf7ca: Pulling fs layer 21:24:29 765212b225bb: Pulling fs layer 21:24:29 f23df028b6ca: Pulling fs layer 21:24:29 d65c8cfc05b1: Pulling fs layer 21:24:29 2437ff75d9bd: Pulling fs layer 21:24:29 f23df028b6ca: Waiting 21:24:29 d65c8cfc05b1: Waiting 21:24:29 2437ff75d9bd: Waiting 21:24:29 765212b225bb: Waiting 21:24:29 04944245beec: Verifying Checksum 21:24:29 04944245beec: Download complete 21:24:29 765212b225bb: Verifying Checksum 21:24:29 765212b225bb: Download complete 21:24:29 f23df028b6ca: Verifying Checksum 21:24:29 f23df028b6ca: Download complete 21:24:29 d65c8cfc05b1: Verifying Checksum 21:24:29 d65c8cfc05b1: Download complete 21:24:30 699f458cf7ca: Verifying Checksum 21:24:30 699f458cf7ca: Download complete 21:24:30 8998bd30e6a1: Verifying Checksum 21:24:30 8998bd30e6a1: Download complete 21:24:32 2437ff75d9bd: Verifying Checksum 21:24:32 2437ff75d9bd: Download complete 21:24:36 8998bd30e6a1: Pull complete 21:24:36 04944245beec: Pull complete 21:24:37 699f458cf7ca: Pull complete 21:24:38 765212b225bb: Pull complete 21:24:38 f23df028b6ca: Pull complete 21:24:39 d65c8cfc05b1: Pull complete 21:24:54 2437ff75d9bd: Pull complete 21:24:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:24:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:54 prd-ubuntu20.04-docker-arm64-4c-16g-8997 does not seem to be running inside a container 21:24:54 $ 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 21:24:56 $ docker top 46676c53d279091b691712d483439f8ef50236bb2d8a315f7bcfe1b790a437dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:57 ---> job-cost.sh 21:24:57 lf-activate-venv: SKIPPING 21:24:57 INFO: No Stack... 21:24:58 INFO: Retrieving Pricing Info for: v3-standard-4 21:24:59 INFO: Archiving Costs [Pipeline] sh 21:24:59 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 21:24:59 + cut -d, -f6 [Pipeline] lock 21:24:59 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-458-1-stack-cost] 21:24:59 Resource [jenkins-edgexfoundry-device-modbus-go-PR-458-1-stack-cost] did not exist. Created. 21:24:59 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:00 /w/workspace/device-modbus-go/1@tmp/durable-b5507d05/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:25:01 + echo total: 0.10999999940395355 [Pipeline] stash 21:25:01 Warning: overwriting stash ‘stack-cost’ 21:25:01 Stashed 1 file(s) [Pipeline] } 21:25:01 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-458-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:25:01 $ docker stop --time=1 46676c53d279091b691712d483439f8ef50236bb2d8a315f7bcfe1b790a437dd 21:25:02 $ docker rm -f --volumes 46676c53d279091b691712d483439f8ef50236bb2d8a315f7bcfe1b790a437dd [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 21:25:03 provisioning config files... 21:25:03 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-458@tmp/config5252580082979942387tmp [Pipeline] { [Pipeline] sh 21:25:04 + set +x 21:25:04 + curl -s https://codecov.io/bash 21:25:04 + bash -s -- 21:25:04 21:25:04 _____ _ 21:25:04 / ____| | | 21:25:04 | | ___ __| | ___ ___ _____ __ 21:25:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:25:04 | |___| (_) | (_| | __/ (_| (_) \ V / 21:25:04 \_____\___/ \__,_|\___|\___\___/ \_/ 21:25:04 Bash-1.0.6 21:25:04 21:25:04 21:25:04 ==> git version 2.25.1 found 21:25:04 ==> 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 21:25:04 Release-Date: 2020-01-08 21:25:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:25:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:25:04 ==> Jenkins CI detected. 21:25:04 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-458 21:25:04 project root: . 21:25:04 --> token set from env 21:25:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:25:04 ==> Running gcov in . (disable via -X gcov) 21:25:04 ==> Python coveragepy not found 21:25:04 ==> Searching for coverage reports in: 21:25:04 + . 21:25:04 -> Found 1 reports 21:25:04 ==> Detecting git/mercurial file structure 21:25:04 ==> Reading reports 21:25:04 + ./coverage.out bytes=24160 21:25:04 ==> Appending adjustments 21:25:04 https://docs.codecov.io/docs/fixing-reports 21:25:04 + Found adjustments 21:25:04 ==> Gzipping contents 21:25:04 4.0K /tmp/codecov.WM3Poa.gz 21:25:04 ==> Uploading reports 21:25:04 url: https://codecov.io 21:25:04 query: branch=PR-458&commit=7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-458%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=458&job=&cmd_args= 21:25:04 -> Pinging Codecov 21:25:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-458&commit=7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-458%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=458&job=&cmd_args= 21:25:06 -> Uploading to 21:25:06 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/55DBCA73C666E3227836607328DD7E49/7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169/feccfd02-2c70-4c06-9da9-e2a5b4b6ac40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T212506Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cec2363daafaaff4874e56e694ed8d46b7202d1267e720278b09465efc2093e6 21:25:06 % Total % Received % Xferd Average Speed Time Time Time Current 21:25:06 Dload Upload Total Spent Left Speed 21:25:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 66508 --:--:-- --:--:-- --:--:-- 65400 100 3924 0 0 100 3924 0 16282 --:--:-- --:--:-- --:--:-- 16214 21:25:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7b1ce7d7cb0ee4090f8b3a5221fe1c66a8759169 [Pipeline] } 21:25:06 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 21:25:08 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-458/archives ] 21:25:08 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-458/archives 21:25:08 total 16 21:25:08 drwxr-xr-x 3 root root 4096 Apr 18 21:14 . 21:25:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 21:14 .. 21:25:08 drwxr-xr-x 2 root root 4096 Apr 18 21:14 cost 21:25:08 -rw-r--r-- 1 root root 88 Apr 18 21:14 cost.csv 21:25:08 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-458/archives 21:25:08 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-458/archives 21:25:08 total 16 21:25:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:14 . 21:25:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 21:14 .. 21:25:08 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 21:14 cost 21:25:08 -rw-r--r-- 1 jenkins jenkins 88 Apr 18 21:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:25:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:25:09 ---> package-listing.sh 21:25:09 ++ facter osfamily 21:25:09 ++ tr '[:upper:]' '[:lower:]' 21:25:10 + OS_FAMILY=debian 21:25:10 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-458 21:25:10 + START_PACKAGES=/tmp/packages_start.txt 21:25:10 + END_PACKAGES=/tmp/packages_end.txt 21:25:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:25:10 + PACKAGES=/tmp/packages_start.txt 21:25:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-458 ']' 21:25:10 + PACKAGES=/tmp/packages_end.txt 21:25:10 + case "${OS_FAMILY}" in 21:25:10 + dpkg -l 21:25:10 + grep '^ii' 21:25:10 + '[' -f /tmp/packages_start.txt ']' 21:25:10 + '[' -f /tmp/packages_end.txt ']' 21:25:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:25:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-458 ']' 21:25:10 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-458/archives/ 21:25:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-458/archives/ [Pipeline] echo 21:25:10 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-458/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:25:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:10 prd-ubuntu20.04-docker-8c-8g-8995 does not seem to be running inside a container 21:25:10 $ 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-458/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-458 -v /w/workspace/xfoundry_device-modbus-go_PR-458:/w/workspace/xfoundry_device-modbus-go_PR-458:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-458@tmp:/w/workspace/xfoundry_device-modbus-go_PR-458@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 21:25:11 $ docker top e65ffbdfeea0cf6c1926d721359b9f388fc1665d32bacf26db60cc0b330c721e -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:11 + touch /tmp/pre-build-complete [Pipeline] sh 21:25:11 + mkdir -p /var/log/sysstat [Pipeline] sh 21:25:12 + ls /var/log/sa-host 21:25:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:12 provisioning config files... 21:25:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-458@tmp/config1323572393562893989tmp [Pipeline] { [Pipeline] echo 21:25:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:25:12 ---> create-netrc.sh [Pipeline] } 21:25:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:25:13 ---> python-tools-install.sh [Pipeline] echo 21:25:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:25:13 ---> sudo-logs.sh 21:25:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:25:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:25:13 ---> job-cost.sh 21:25:13 lf-activate-venv: SKIPPING 21:25:13 DEBUG: total: 0.2199999988079071 21:25:13 INFO: Retrieving Stack Cost... 21:25:14 INFO: Retrieving Pricing Info for: v3-standard-8 21:25:14 INFO: Archiving Costs [Pipeline] echo 21:25:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:25:14 ---> logs-deploy.sh 21:25:14 lf-activate-venv: SKIPPING 21:25:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-458/1 21:25:14 INFO: archiving workspace using pattern(s): 21:25:15 Archives upload complete. 21:25:15 INFO: archiving logs to Nexus