Pull request #463 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 0b5b13a3222edb60829193d348ef91291a756800+c33ceb1bf79f75a5c87c27297619a12eadfcf214 (0b881fbda91febe7e4bb94c0a650a0bbd72f0a5e) 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-ssh15110076581292571500.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-ssh1899497210799680111.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-463/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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7975497134673004010.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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12293395949406345232.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-ssh4012168670441927080.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-463/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-463/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11144447645816423016.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10802 in /w/workspace/xfoundry_device-modbus-go_PR-463 [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-463 # 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/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c33ceb1bf79f75a5c87c27297619a12eadfcf214 into PR head commit 0b5b13a3222edb60829193d348ef91291a756800 Merge succeeded, producing 0b5b13a3222edb60829193d348ef91291a756800 Checking out Revision 0b5b13a3222edb60829193d348ef91291a756800 (PR-463) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b5b13a3222edb60829193d348ef91291a756800 # 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 c33ceb1bf79f75a5c87c27297619a12eadfcf214 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b5b13a3222edb60829193d348ef91291a756800 # timeout=10 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" 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 10:00:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:00:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:00:36 ========================================================= 10:00:36 EdgeX Global Pipelines Version Info 10:00:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:00:36 ------------------- 10:00:36 stable info: 10:00:36 ------------------- 10:00:36 Commited By: Bill Mahoney bill.mahoney@intel.com 10:00:36 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 10:00:36 Message: update stable to v1.0.248 10:00:37 ------------------- 10:00:37 experimental info: 10:00:37 ------------------- 10:00:37 Commited By: **** collab-it+edgex@linuxfoundation.org 10:00:37 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 10:00:37 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:00:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:00:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:00:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:00:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:00:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:00:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:00:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:00:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-463 [Pipeline] echo 10:00:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-463 [Pipeline] echo 10:00:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-463 [Pipeline] echo 10:00:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] echo 10:00:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b5b13a [Pipeline] echo 10:00:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:00:39 provisioning config files... 10:00:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/config16699299073653080886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:00:39 ---> docker-login.sh 10:00:39 nexus3.edgexfoundry.org:10001 10:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:40 Configure a credential helper to remove this warning. See 10:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:40 10:00:40 Login Succeeded 10:00:40 nexus3.edgexfoundry.org:10002 10:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:40 Configure a credential helper to remove this warning. See 10:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:40 10:00:40 Login Succeeded 10:00:40 nexus3.edgexfoundry.org:10003 10:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:40 Configure a credential helper to remove this warning. See 10:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:40 10:00:40 Login Succeeded 10:00:40 nexus3.edgexfoundry.org:10004 10:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:40 Configure a credential helper to remove this warning. See 10:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:40 10:00:40 Login Succeeded 10:00:40 docker.io 10:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:40 Configure a credential helper to remove this warning. See 10:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:40 10:00:40 Login Succeeded 10:00:40 ---> docker-login.sh ends [Pipeline] } 10:00:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:00:41 + git rev-list -1 --merges 0b5b13a3222edb60829193d348ef91291a756800~1..0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] echo 10:00:41 -----------> git rev-list -1 --merges 0b5b13a3222edb60829193d348ef91291a756800~1..0b5b13a3222edb60829193d348ef91291a756800 0b5b13a3222edb60829193d348ef91291a756800 [false] [Pipeline] sh 10:00:41 + git log --format=format:%s -1 0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] echo 10:00:41 ========================================================= 10:00:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:00:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:00:42 + git log --format=format:%s -1 0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] echo 10:00:42 [semverPrep] GIT_COMMIT: 0b5b13a3222edb60829193d348ef91291a756800, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug [Pipeline] echo 10:00:42 [semverPrep] This is not a build commit. [Pipeline] sh 10:00:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:00:42 + grep -v github /etc/ssh/ssh_known_hosts 10:00:42 + [ -e /tmp/ssh_known_hosts ] 10:00:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:00:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:00:42 + sudo tee -a /etc/ssh/ssh_known_hosts 10:00:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:00:43 10:00:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:00:43 0.1.4: Pulling from edgex-devops/py-git-semver 10:00:43 b85a868b505f: Pulling fs layer 10:00:43 e2be974225ed: Pulling fs layer 10:00:43 339a4e72a1f5: Pulling fs layer 10:00:43 988bab9f4d93: Pulling fs layer 10:00:43 1469e6f7b9e6: Pulling fs layer 10:00:43 eaf3925da568: Pulling fs layer 10:00:43 bab4dde63d76: Pulling fs layer 10:00:43 bde34c3a00c8: Pulling fs layer 10:00:43 b352a97aabf1: Pulling fs layer 10:00:43 4872d77fe225: Pulling fs layer 10:00:43 5851b861e8e6: Pulling fs layer 10:00:43 eaf3925da568: Waiting 10:00:43 bab4dde63d76: Waiting 10:00:43 bde34c3a00c8: Waiting 10:00:43 b352a97aabf1: Waiting 10:00:43 4872d77fe225: Waiting 10:00:43 5851b861e8e6: Waiting 10:00:43 1469e6f7b9e6: Waiting 10:00:43 988bab9f4d93: Waiting 10:00:44 e2be974225ed: Verifying Checksum 10:00:44 e2be974225ed: Download complete 10:00:44 988bab9f4d93: Verifying Checksum 10:00:44 988bab9f4d93: Download complete 10:00:44 1469e6f7b9e6: Verifying Checksum 10:00:44 1469e6f7b9e6: Download complete 10:00:44 339a4e72a1f5: Verifying Checksum 10:00:44 339a4e72a1f5: Download complete 10:00:44 eaf3925da568: Verifying Checksum 10:00:44 eaf3925da568: Download complete 10:00:44 bde34c3a00c8: Verifying Checksum 10:00:44 bde34c3a00c8: Download complete 10:00:44 b352a97aabf1: Verifying Checksum 10:00:44 b352a97aabf1: Download complete 10:00:44 4872d77fe225: Verifying Checksum 10:00:44 4872d77fe225: Download complete 10:00:44 5851b861e8e6: Verifying Checksum 10:00:44 5851b861e8e6: Download complete 10:00:44 b85a868b505f: Verifying Checksum 10:00:44 b85a868b505f: Download complete 10:00:44 bab4dde63d76: Verifying Checksum 10:00:45 b85a868b505f: Pull complete 10:00:45 e2be974225ed: Pull complete 10:00:46 339a4e72a1f5: Pull complete 10:00:46 988bab9f4d93: Pull complete 10:00:46 1469e6f7b9e6: Pull complete 10:00:46 eaf3925da568: Pull complete 10:00:48 bab4dde63d76: Pull complete 10:00:48 bde34c3a00c8: Pull complete 10:00:48 b352a97aabf1: Pull complete 10:00:48 4872d77fe225: Pull complete 10:00:48 5851b861e8e6: Pull complete 10:00:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:00:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:00:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:49 prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container 10:00:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@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-devops/py-git-semver:0.1.4 cat 10:00:52 $ docker top 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 -eo pid,comm 10:00:52 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). 10:00:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:00:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:00:52 [ssh-agent] Looking for ssh-agent implementation... 10:00:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:00:52 $ docker exec 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 ssh-agent 10:00:52 SSH_AUTH_SOCK=/tmp/ssh-h0hN7s26R1aX/agent.32 10:00:52 SSH_AGENT_PID=38 10:00:52 Running ssh-add (command line suppressed) 10:00:52 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-463@tmp/private_key_16505644098130388077.key (/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/private_key_16505644098130388077.key) 10:00:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:00:53 + git tag --points-at HEAD [Pipeline] } 10:00:53 $ docker exec --env ******** --env ******** 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 ssh-agent -k 10:00:53 unset SSH_AUTH_SOCK; 10:00:53 unset SSH_AGENT_PID; 10:00:53 echo Agent pid 38 killed; 10:00:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:00:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:00:53 [ssh-agent] Looking for ssh-agent implementation... 10:00:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:00:53 $ docker exec 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 ssh-agent 10:00:53 SSH_AUTH_SOCK=/tmp/ssh-6r3ahiDUPHfN/agent.70 10:00:53 SSH_AGENT_PID=76 10:00:53 Running ssh-add (command line suppressed) 10:00:53 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-463@tmp/private_key_672555772272444636.key (/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/private_key_672555772272444636.key) 10:00:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:00:54 + git semver init 10:00:54 2023-04-25 10:00:54,220 [run_init] DEBUG init version:0.0.0 force:False 10:00:54 2023-04-25 10:00:54,220 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-463/.semver 10:00:54 2023-04-25 10:00:54,221 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-463/.semver 10:00:54 2023-04-25 10:00:54,221 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-463/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-463, universal_newlines=False, shell=None, istream=None) 10:00:55 2023-04-25 10:00:54,984 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-463/.git/info/exclude 10:00:55 2023-04-25 10:00:54,984 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-463/.semver/PR-463 with force:False 10:00:55 2023-04-25 10:00:54,984 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-463/.semver/PR-463 10:00:55 2023-04-25 10:00:54,990 [execute] INFO git cat-file --batch-check 10:00:55 2023-04-25 10:00:54,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-463/.semver, universal_newlines=False, shell=None, istream=) 10:00:55 2023-04-25 10:00:54,999 [execute] INFO git cat-file --batch 10:00:55 2023-04-25 10:00:54,999 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-463/.semver, universal_newlines=False, shell=None, istream=) 10:00:55 2023-04-25 10:00:55,004 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-463/.semver/PR-463 10:00:55 0.0.0 [Pipeline] } 10:00:55 $ docker exec --env ******** --env ******** 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 ssh-agent -k 10:00:55 unset SSH_AUTH_SOCK; 10:00:55 unset SSH_AGENT_PID; 10:00:55 echo Agent pid 76 killed; 10:00:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:00:55 + git semver [Pipeline] } 10:00:56 $ docker stop --time=1 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 10:00:57 $ docker rm -f --volumes 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 [Pipeline] // withDockerContainer [Pipeline] sh 10:00:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:00:58 Stashed 1 file(s) [Pipeline] echo 10:00:58 [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 10:00:58 provisioning config files... 10:00:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/config12305028796514123452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:00:59 ---> docker-login.sh 10:00:59 nexus3.edgexfoundry.org:10001 10:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:59 Configure a credential helper to remove this warning. See 10:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:59 10:00:59 Login Succeeded 10:00:59 nexus3.edgexfoundry.org:10002 10:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:59 Configure a credential helper to remove this warning. See 10:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:59 10:00:59 Login Succeeded 10:00:59 nexus3.edgexfoundry.org:10003 10:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:59 Configure a credential helper to remove this warning. See 10:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:59 10:00:59 Login Succeeded 10:00:59 nexus3.edgexfoundry.org:10004 10:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:59 Configure a credential helper to remove this warning. See 10:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:59 10:00:59 Login Succeeded 10:00:59 docker.io 10:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:59 Configure a credential helper to remove this warning. See 10:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:59 10:00:59 Login Succeeded 10:00:59 ---> docker-login.sh ends [Pipeline] } 10:00:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:00:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:00:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:00:59 ========================================================= 10:00:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:00:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:00 + 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 . 10:01:00 Sending build context to Docker daemon 6.453MB 10:01:00 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 10:01:00 Step 2/10 : FROM ${BASE} AS builder 10:01:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:01:00 f56be85fc22e: Pulling fs layer 10:01:00 85791d961cd3: Pulling fs layer 10:01:00 d694b5ae8c79: Pulling fs layer 10:01:00 9f32a84ed3da: Pulling fs layer 10:01:00 4d19c01a9841: Pulling fs layer 10:01:00 9325e15d5711: Pulling fs layer 10:01:00 556b6ee489ea: Pulling fs layer 10:01:00 c5a4b2cf53e6: Pulling fs layer 10:01:00 4d19c01a9841: Waiting 10:01:00 9325e15d5711: Waiting 10:01:00 556b6ee489ea: Waiting 10:01:00 9f32a84ed3da: Waiting 10:01:00 85791d961cd3: Verifying Checksum 10:01:00 85791d961cd3: Download complete 10:01:00 9f32a84ed3da: Verifying Checksum 10:01:00 9f32a84ed3da: Download complete 10:01:00 f56be85fc22e: Verifying Checksum 10:01:00 f56be85fc22e: Download complete 10:01:00 4d19c01a9841: Download complete 10:01:00 9325e15d5711: Verifying Checksum 10:01:00 9325e15d5711: Download complete 10:01:00 f56be85fc22e: Pull complete 10:01:00 85791d961cd3: Pull complete 10:01:01 c5a4b2cf53e6: Verifying Checksum 10:01:01 c5a4b2cf53e6: Download complete 10:01:01 d694b5ae8c79: Verifying Checksum 10:01:01 d694b5ae8c79: Download complete 10:01:01 556b6ee489ea: Verifying Checksum 10:01:04 d694b5ae8c79: Pull complete 10:01:04 9f32a84ed3da: Pull complete 10:01:04 4d19c01a9841: Pull complete 10:01:04 9325e15d5711: Pull complete 10:01:07 556b6ee489ea: Pull complete 10:01:07 c5a4b2cf53e6: Pull complete 10:01:08 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 10:01:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:01:08 ---> c4be618373d6 10:01:08 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:01:12 ---> Running in 7929b379cbe4 10:01:12 Removing intermediate container 7929b379cbe4 10:01:12 ---> 0f041e844858 10:01:12 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:01:12 ---> Running in e9ee5495ebd6 10:01:12 Removing intermediate container e9ee5495ebd6 10:01:12 ---> 0757da22dfcc 10:01:12 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:01:12 ---> Running in 150ed4d39fa2 10:01:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:01:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:01:13 (1/8) Installing openssh-keygen (9.1_p1-r2) 10:01:13 (2/8) Installing libedit (20221030.3.1-r0) 10:01:13 (3/8) Installing openssh-client-common (9.1_p1-r2) 10:01:13 (4/8) Installing openssh-client-default (9.1_p1-r2) 10:01:13 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 10:01:13 (6/8) Installing openssh-server-common (9.1_p1-r2) 10:01:13 (7/8) Installing openssh-server (9.1_p1-r2) 10:01:13 (8/8) Installing openssh (9.1_p1-r2) 10:01:13 Executing busybox-1.35.0-r29.trigger 10:01:13 OK: 270 MiB in 61 packages 10:01:13 Still waiting to schedule task 10:01:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:01:13 Removing intermediate container 150ed4d39fa2 10:01:13 ---> 96d6a7d9f269 10:01:13 Step 6/10 : WORKDIR /device-modbus-go 10:01:13 ---> Running in 54db5f39c570 10:01:13 Removing intermediate container 54db5f39c570 10:01:13 ---> 94f3630563d8 10:01:13 Step 7/10 : COPY go.mod vendor* ./ 10:01:13 ---> 7de0d58925b4 10:01:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:01:13 ---> Running in 4e3736b2338a 10:01:46 Removing intermediate container 4e3736b2338a 10:01:46 ---> 3a710914746d 10:01:46 Step 9/10 : COPY . . 10:01:46 ---> f392ca3ffe36 10:01:46 Step 10/10 : RUN ${MAKE} 10:01:46 ---> Running in ea67ebf0fba3 10:01:46 noop 10:01:46 Removing intermediate container ea67ebf0fba3 10:01:46 ---> ab0882dbc5bb 10:01:46 Successfully built ab0882dbc5bb 10:01:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:46 + docker inspect -f . ci-base-image-x86_64 10:01:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:46 prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container 10:01:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:01:47 $ docker top 468e5b7c97f37686a2d953334f07052083281dac0e64b6758d7115dc29cc8de8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:47 + go version 10:01:47 go version go1.20.2 linux/amd64 [Pipeline] } 10:01:47 $ docker stop --time=1 468e5b7c97f37686a2d953334f07052083281dac0e64b6758d7115dc29cc8de8 10:01:48 $ docker rm -f --volumes 468e5b7c97f37686a2d953334f07052083281dac0e64b6758d7115dc29cc8de8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:49 + docker inspect -f . ci-base-image-x86_64 10:01:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:49 prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container 10:01:49 $ 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-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:01:50 $ docker top d617056f58e378cab70b4dc169b3d475c2fc0a8255a72dcad1009451a5c87184 -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:50 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-463 [Pipeline] fileExists [Pipeline] sh 10:01:50 + make test 10:01:50 go test ./... -coverprofile=coverage.out 10:01:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:02:04 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:02:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 10:02:11 go vet ./... 10:02:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:02:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:02:15 ./bin/test-attribution-txt.sh [Pipeline] echo 10:02:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:02:15 $ docker stop --time=1 d617056f58e378cab70b4dc169b3d475c2fc0a8255a72dcad1009451a5c87184 10:02:18 $ docker rm -f --volumes d617056f58e378cab70b4dc169b3d475c2fc0a8255a72dcad1009451a5c87184 [Pipeline] // withDockerContainer [Pipeline] sh 10:02:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:02:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:02:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:02:20 + ls -al . 10:02:20 total 180 10:02:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 10:01 . 10:02:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:00 .. 10:02:20 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 10:00 .dockerignore 10:02:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 10:00 .git 10:02:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:00 .github 10:02:20 -rw-rw-r-- 1 jenkins jenkins 331 Apr 25 10:00 .gitignore 10:02:20 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 10:00 .golangci.yml 10:02:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 10:00 .semver 10:02:20 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 25 10:00 Attribution.txt 10:02:20 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 25 10:00 CHANGELOG.md 10:02:20 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 25 10:00 Dockerfile 10:02:20 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 10:00 GOVERNANCE.md 10:02:20 -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 10:00 Jenkinsfile 10:02:20 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 10:00 LICENSE 10:02:20 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 25 10:00 Makefile 10:02:20 -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 10:00 OWNERS.md 10:02:20 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 25 10:00 README.md 10:02:20 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 10:00 VERSION 10:02:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:00 bin 10:02:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:00 cmd 10:02:20 -rw-r--r-- 1 jenkins jenkins 24160 Apr 25 10:02 coverage.out 10:02:20 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 25 10:00 go.mod 10:02:20 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 25 10:00 go.sum 10:02:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:00 internal 10:02:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:00 simulator 10:02:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:00 snap 10:02:20 -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 10:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:20 + 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=0b5b13a3222edb60829193d348ef91291a756800 --label arch=amd64 --label version=0.0.0 . 10:02:20 Sending build context to Docker daemon 6.478MB 10:02:20 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 10:02:20 Step 2/22 : FROM ${BASE} AS builder 10:02:20 ---> ab0882dbc5bb 10:02:20 Step 3/22 : ARG ADD_BUILD_TAGS="" 10:02:20 ---> Running in da56ae7ed453 10:02:20 Removing intermediate container da56ae7ed453 10:02:20 ---> 48ab17fbf015 10:02:20 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:02:20 ---> Running in 4a5a409e742f 10:02:20 Removing intermediate container 4a5a409e742f 10:02:20 ---> 94e28549cee0 10:02:20 Step 5/22 : RUN apk add --update --no-cache make git openssh 10:02:20 ---> Running in b0802908121e 10:02:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:02:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:02:21 OK: 270 MiB in 61 packages 10:02:21 Removing intermediate container b0802908121e 10:02:21 ---> 7a85dd8aac50 10:02:21 Step 6/22 : WORKDIR /device-modbus-go 10:02:21 ---> Running in c70303c88dd6 10:02:21 Removing intermediate container c70303c88dd6 10:02:21 ---> af21ff8c3e4c 10:02:21 Step 7/22 : COPY go.mod vendor* ./ 10:02:22 ---> 5ca3e8f7af76 10:02:22 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:02:22 ---> Running in a0fa8fc5ab11 10:02:23 Removing intermediate container a0fa8fc5ab11 10:02:23 ---> d91507f81a05 10:02:23 Step 9/22 : COPY . . 10:02:23 ---> da47b97716ca 10:02:23 Step 10/22 : RUN ${MAKE} 10:02:23 ---> Running in a00c92f0870d 10:02:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 10:02:41 Removing intermediate container a00c92f0870d 10:02:41 ---> c2d48229e5d2 10:02:41 Step 11/22 : FROM alpine:3.17 10:02:41 3.17: Pulling from library/alpine 10:02:42 f56be85fc22e: Already exists 10:02:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:02:42 Status: Downloaded newer image for alpine:3.17 10:02:42 ---> 9ed4aefc74f6 10:02:42 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:02:42 ---> Running in baf65af443a7 10:02:42 Removing intermediate container baf65af443a7 10:02:42 ---> ab440949d38c 10:02:42 Step 13/22 : RUN apk add --update --no-cache dumb-init 10:02:42 ---> Running in 9db8fd61ba7d 10:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:02:42 (1/1) Installing dumb-init (1.2.5-r2) 10:02:42 Executing busybox-1.35.0-r29.trigger 10:02:42 OK: 7 MiB in 16 packages 10:02:43 Removing intermediate container 9db8fd61ba7d 10:02:43 ---> a041b7cea517 10:02:43 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 10:02:44 ---> ad99fd8d5823 10:02:44 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 10:02:44 ---> 083f73d217ae 10:02:44 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:02:44 ---> fdaba583a6c6 10:02:44 Step 17/22 : EXPOSE 59901 10:02:44 ---> Running in de3ef4ef60f7 10:02:44 Removing intermediate container de3ef4ef60f7 10:02:44 ---> e275b0d194c9 10:02:44 Step 18/22 : ENTRYPOINT ["/device-modbus"] 10:02:44 ---> Running in 91776f07931e 10:02:44 Removing intermediate container 91776f07931e 10:02:44 ---> c27096037dce 10:02:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:02:44 ---> Running in 0bd127db66ff 10:02:44 Removing intermediate container 0bd127db66ff 10:02:44 ---> 4ca1e64e1698 10:02:44 Step 20/22 : LABEL arch=amd64 10:02:44 ---> Running in bfdd7e230555 10:02:44 Removing intermediate container bfdd7e230555 10:02:44 ---> 984536a51e0f 10:02:44 Step 21/22 : LABEL git_sha=0b5b13a3222edb60829193d348ef91291a756800 10:02:44 ---> Running in f0bac7dd442c 10:02:45 Removing intermediate container f0bac7dd442c 10:02:45 ---> 7708f21b6d50 10:02:45 Step 22/22 : LABEL version=0.0.0 10:02:45 ---> Running in 6ff640503560 10:02:45 Removing intermediate container 6ff640503560 10:02:45 ---> 2101a81d628c 10:02:45 [Warning] One or more build-args [ARCH] were not consumed 10:02:45 Successfully built 2101a81d628c 10:02:45 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 10:02:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:45 10:02:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:46 latest: Pulling from edgex-lftools-log-publisher 10:02:46 5eb5b503b376: Pulling fs layer 10:02:46 5c69ac0246d0: Pulling fs layer 10:02:46 ec43610c2a17: Pulling fs layer 10:02:46 3a2ae6a8a46f: Pulling fs layer 10:02:46 3a2ae6a8a46f: Waiting 10:02:46 33b1e0a273af: Pulling fs layer 10:02:46 5d3b04190fa2: Pulling fs layer 10:02:46 2f39f015ded8: Pulling fs layer 10:02:46 5d3b04190fa2: Waiting 10:02:46 33b1e0a273af: Waiting 10:02:46 2f39f015ded8: Waiting 10:02:46 5c69ac0246d0: Verifying Checksum 10:02:46 5c69ac0246d0: Download complete 10:02:46 33b1e0a273af: Verifying Checksum 10:02:46 33b1e0a273af: Download complete 10:02:46 5d3b04190fa2: Verifying Checksum 10:02:46 5d3b04190fa2: Download complete 10:02:46 ec43610c2a17: Verifying Checksum 10:02:46 ec43610c2a17: Download complete 10:02:46 5eb5b503b376: Verifying Checksum 10:02:46 5eb5b503b376: Download complete 10:02:47 2f39f015ded8: Download complete 10:02:47 5eb5b503b376: Pull complete 10:02:47 5c69ac0246d0: Pull complete 10:02:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10803 in /w/workspace/xfoundry_device-modbus-go_PR-463 [Pipeline] { [Pipeline] ws 10:02:48 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 10:02:48 ec43610c2a17: Pull complete 10:02:48 Selected Git installation does not exist. Using Default 10:02:48 The recommended git tool is: NONE 10:02:48 3a2ae6a8a46f: Pull complete 10:02:48 33b1e0a273af: Pull complete 10:02:48 5d3b04190fa2: Pull complete 10:02:52 2f39f015ded8: Pull complete 10:02:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:02:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:53 prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container 10:02:53 $ 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-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:02:53 using credential edgex-jenkins-ssh 10:02:53 Cloning the remote Git repository 10:02:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:02:53 > git init /w/workspace/device-modbus-go/1 # timeout=10 10:02:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:02:53 > git --version # timeout=10 10:02:53 > git --version # 'git version 2.25.1' 10:02:53 using GIT_SSH to set credentials SSH Credentials for GitHub 10:02:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:02:56 $ docker top ea22d29e9ecd5b571b3ca7d35c10b50461f7f98edb3d62ba5bfccb122d0865e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:57 ---> job-cost.sh 10:02:57 lf-activate-venv: SKIPPING 10:02:57 INFO: No Stack... 10:02:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:02:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:02:57 INFO: Retrieving Pricing Info for: v3-standard-8 10:02:57 INFO: Archiving Costs [Pipeline] sh 10:02:58 Merging remotes/origin/main commit c33ceb1bf79f75a5c87c27297619a12eadfcf214 into PR head commit 0b5b13a3222edb60829193d348ef91291a756800 10:02:58 + cat /w/workspace/xfoundry_device-modbus-go_PR-463/archives/cost.csv 10:02:58 + cut -d, -f6 [Pipeline] lock 10:02:58 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] 10:02:58 Resource [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] did not exist. Created. 10:02:58 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:02:58 Merge succeeded, producing 0b5b13a3222edb60829193d348ef91291a756800 10:02:58 Checking out Revision 0b5b13a3222edb60829193d348ef91291a756800 (PR-463) 10:02:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:02:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:02:57 using GIT_SSH to set credentials SSH Credentials for GitHub 10:02:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:02:58 > git config core.sparsecheckout # timeout=10 10:02:58 > git checkout -f 0b5b13a3222edb60829193d348ef91291a756800 # timeout=10 10:02:58 > git remote # timeout=10 10:02:58 > git config --get remote.origin.url # timeout=10 10:02:58 using GIT_SSH to set credentials SSH Credentials for GitHub 10:02:58 > git merge c33ceb1bf79f75a5c87c27297619a12eadfcf214 # timeout=10 10:02:58 > git rev-parse HEAD^{commit} # timeout=10 10:02:58 > git config core.sparsecheckout # timeout=10 10:02:58 > git checkout -f 0b5b13a3222edb60829193d348ef91291a756800 # timeout=10 10:02:58 + echo total: 0.2199999988079071 [Pipeline] stash 10:02:58 Stashed 1 file(s) [Pipeline] } 10:02:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:02:58 $ docker stop --time=1 ea22d29e9ecd5b571b3ca7d35c10b50461f7f98edb3d62ba5bfccb122d0865e3 10:02:59 $ docker rm -f --volumes ea22d29e9ecd5b571b3ca7d35c10b50461f7f98edb3d62ba5bfccb122d0865e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:03:01 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" 10:03:01 > git --version # timeout=10 10:03:01 > git --version # 'git version 2.25.1' 10:03:01 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:03:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:03:03 % Total % Received % Xferd Average Speed Time Time Time Current 10:03:03 Dload Upload Total Spent Left Speed 10:03:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75449 [Pipeline] sh 10:03:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:03:04 + sudo tee /etc/docker/daemon.new 10:03:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:03:04 { 10:03:04 "registry-mirrors": [ 10:03:04 "https://nexus3.edgexfoundry.org:10001" 10:03:04 ], 10:03:04 "bip": "10.250.0.254/24", 10:03:04 "hosts": [ 10:03:04 "tcp://0.0.0.0:5555", 10:03:04 "unix:///var/run/docker.sock" 10:03:04 ], 10:03:04 "mtu": 1458, 10:03:04 "selinux-enabled": true, 10:03:04 "seccomp-profile": "/etc/docker/seccomp.json" 10:03:04 } [Pipeline] sh 10:03:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:03:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:03:27 provisioning config files... 10:03:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2397103830575186790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:03:27 ---> docker-login.sh 10:03:27 nexus3.edgexfoundry.org:10001 10:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:28 Configure a credential helper to remove this warning. See 10:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:28 10:03:28 Login Succeeded 10:03:28 nexus3.edgexfoundry.org:10002 10:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:28 Configure a credential helper to remove this warning. See 10:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:28 10:03:28 Login Succeeded 10:03:28 nexus3.edgexfoundry.org:10003 10:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:28 Configure a credential helper to remove this warning. See 10:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:28 10:03:28 Login Succeeded 10:03:28 nexus3.edgexfoundry.org:10004 10:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:29 Configure a credential helper to remove this warning. See 10:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:29 10:03:29 Login Succeeded 10:03:29 docker.io 10:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:29 Configure a credential helper to remove this warning. See 10:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:29 10:03:29 Login Succeeded 10:03:29 ---> docker-login.sh ends [Pipeline] } 10:03:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:03:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:03:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:03:30 ========================================================= 10:03:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:03:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:30 + 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 . 10:03:31 Sending build context to Docker daemon 3.37MB 10:03:31 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 10:03:31 Step 2/10 : FROM ${BASE} AS builder 10:03:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:03:31 c41833b44d91: Pulling fs layer 10:03:31 ed15518f5707: Pulling fs layer 10:03:31 feae8fd75edb: Pulling fs layer 10:03:31 242c74f7c9fa: Pulling fs layer 10:03:31 3cdef696dda3: Pulling fs layer 10:03:31 2ced38df9373: Pulling fs layer 10:03:31 58f1dce35555: Pulling fs layer 10:03:31 242c74f7c9fa: Waiting 10:03:31 2ced38df9373: Waiting 10:03:31 58f1dce35555: Waiting 10:03:31 3cdef696dda3: Waiting 10:03:31 ed15518f5707: Download complete 10:03:31 242c74f7c9fa: Verifying Checksum 10:03:31 242c74f7c9fa: Download complete 10:03:31 3cdef696dda3: Verifying Checksum 10:03:31 3cdef696dda3: Download complete 10:03:31 c41833b44d91: Verifying Checksum 10:03:31 c41833b44d91: Download complete 10:03:32 c41833b44d91: Pull complete 10:03:32 58f1dce35555: Verifying Checksum 10:03:32 58f1dce35555: Download complete 10:03:32 ed15518f5707: Pull complete 10:03:33 2ced38df9373: Verifying Checksum 10:03:33 2ced38df9373: Download complete 10:03:33 feae8fd75edb: Verifying Checksum 10:03:33 feae8fd75edb: Download complete 10:03:46 feae8fd75edb: Pull complete 10:03:46 242c74f7c9fa: Pull complete 10:03:46 3cdef696dda3: Pull complete 10:03:52 2ced38df9373: Pull complete 10:03:54 58f1dce35555: Pull complete 10:03:54 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 10:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:03:54 ---> fadd8f120f05 10:03:54 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:03:56 ---> Running in 571f132a89bd 10:03:56 Removing intermediate container 571f132a89bd 10:03:56 ---> fa5deac344f5 10:03:56 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:03:56 ---> Running in 7090ccba06b8 10:03:57 Removing intermediate container 7090ccba06b8 10:03:57 ---> 24c552372059 10:03:57 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:03:57 ---> Running in 143a19b1d8c9 10:03:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:03:59 (1/8) Installing openssh-keygen (9.1_p1-r2) 10:03:59 (2/8) Installing libedit (20221030.3.1-r0) 10:03:59 (3/8) Installing openssh-client-common (9.1_p1-r2) 10:03:59 (4/8) Installing openssh-client-default (9.1_p1-r2) 10:03:59 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 10:04:00 (6/8) Installing openssh-server-common (9.1_p1-r2) 10:04:00 (7/8) Installing openssh-server (9.1_p1-r2) 10:04:00 (8/8) Installing openssh (9.1_p1-r2) 10:04:00 Executing busybox-1.35.0-r29.trigger 10:04:00 OK: 270 MiB in 61 packages 10:04:01 Removing intermediate container 143a19b1d8c9 10:04:01 ---> 7a7a93c82231 10:04:01 Step 6/10 : WORKDIR /device-modbus-go 10:04:01 ---> Running in c845dc6ac0b7 10:04:01 Removing intermediate container c845dc6ac0b7 10:04:01 ---> 35deb098b473 10:04:01 Step 7/10 : COPY go.mod vendor* ./ 10:04:05 ---> f4253c817048 10:04:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:04:05 ---> Running in 1f1ea09ab5c2 10:05:13 Removing intermediate container 1f1ea09ab5c2 10:05:13 ---> 19add73bd625 10:05:13 Step 9/10 : COPY . . 10:05:13 ---> ff2ac1ed3578 10:05:13 Step 10/10 : RUN ${MAKE} 10:05:13 ---> Running in b353408e9f8f 10:05:13 noop 10:05:13 Removing intermediate container b353408e9f8f 10:05:13 ---> 963f503aae19 10:05:13 Successfully built 963f503aae19 10:05:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:14 + docker inspect -f . ci-base-image-arm64 10:05:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:14 prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container 10:05:14 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 10:05:15 $ docker top 9598506410bdc0cf32785efb0d8b84a8c0ad15a572e41aec15bda304ab0a4eaf -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:16 + go version 10:05:16 go version go1.20.2 linux/arm64 [Pipeline] } 10:05:16 $ docker stop --time=1 9598506410bdc0cf32785efb0d8b84a8c0ad15a572e41aec15bda304ab0a4eaf 10:05:18 $ docker rm -f --volumes 9598506410bdc0cf32785efb0d8b84a8c0ad15a572e41aec15bda304ab0a4eaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:19 + docker inspect -f . ci-base-image-arm64 10:05:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:19 prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container 10:05:19 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 10:05:20 $ docker top 79170b368b86ab436a712898dde4b43f10823d44e9d20bf366d2f56500b4ccd9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:20 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 10:05:21 + make test 10:05:21 go test ./... -coverprofile=coverage.out 10:05:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:07:45 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:07:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.073s coverage: 47.4% of statements 10:07:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:07:46 go vet ./... 10:08:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:08:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:08:19 ./bin/test-attribution-txt.sh [Pipeline] echo 10:08:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:08:19 $ docker stop --time=1 79170b368b86ab436a712898dde4b43f10823d44e9d20bf366d2f56500b4ccd9 10:08:22 $ docker rm -f --volumes 79170b368b86ab436a712898dde4b43f10823d44e9d20bf366d2f56500b4ccd9 [Pipeline] // withDockerContainer [Pipeline] sh 10:08:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:08:23 Warning: overwriting stash ‘coverage-report’ 10:08:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:08:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:08:24 + ls -al . 10:08:24 total 176 10:08:24 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 10:05 . 10:08:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:02 .. 10:08:24 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 10:02 .dockerignore 10:08:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 10:02 .git 10:08:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:02 .github 10:08:24 -rw-rw-r-- 1 jenkins jenkins 331 Apr 25 10:02 .gitignore 10:08:24 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 10:02 .golangci.yml 10:08:24 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 25 10:02 Attribution.txt 10:08:24 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 25 10:02 CHANGELOG.md 10:08:24 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 25 10:02 Dockerfile 10:08:24 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 10:02 GOVERNANCE.md 10:08:24 -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 10:02 Jenkinsfile 10:08:24 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 10:02 LICENSE 10:08:24 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 25 10:02 Makefile 10:08:24 -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 10:02 OWNERS.md 10:08:24 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 25 10:02 README.md 10:08:24 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 10:00 VERSION 10:08:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:02 bin 10:08:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:02 cmd 10:08:24 -rw-r--r-- 1 jenkins jenkins 24160 Apr 25 10:07 coverage.out 10:08:24 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 25 10:02 go.mod 10:08:24 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 25 10:02 go.sum 10:08:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:02 internal 10:08:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:02 simulator 10:08:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:02 snap 10:08:24 -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 10:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:25 + 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=0b5b13a3222edb60829193d348ef91291a756800 --label arch=arm64 --label version=0.0.0 . 10:08:25 Sending build context to Docker daemon 3.396MB 10:08:25 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 10:08:25 Step 2/22 : FROM ${BASE} AS builder 10:08:25 ---> 963f503aae19 10:08:25 Step 3/22 : ARG ADD_BUILD_TAGS="" 10:08:25 ---> Running in 5ac516b84e5a 10:08:25 Removing intermediate container 5ac516b84e5a 10:08:25 ---> dfbb530bd5d3 10:08:25 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:08:25 ---> Running in 57993604358d 10:08:26 Removing intermediate container 57993604358d 10:08:26 ---> a5fea259d404 10:08:26 Step 5/22 : RUN apk add --update --no-cache make git openssh 10:08:26 ---> Running in 5d4c0564bff3 10:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:08:29 OK: 270 MiB in 61 packages 10:08:29 Removing intermediate container 5d4c0564bff3 10:08:29 ---> 6f3658abf908 10:08:29 Step 6/22 : WORKDIR /device-modbus-go 10:08:29 ---> Running in 889ff8610580 10:08:29 Removing intermediate container 889ff8610580 10:08:29 ---> 7cd070803886 10:08:29 Step 7/22 : COPY go.mod vendor* ./ 10:08:30 ---> 082349da5f0e 10:08:30 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:08:30 ---> Running in 716af7c5974c 10:08:33 Removing intermediate container 716af7c5974c 10:08:33 ---> 59ec463cfff9 10:08:33 Step 9/22 : COPY . . 10:08:35 ---> d3b2c188e22a 10:08:35 Step 10/22 : RUN ${MAKE} 10:08:35 ---> Running in 1247ab5a88d8 10:08:36 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 10:10:42 Removing intermediate container 1247ab5a88d8 10:10:42 ---> 00bd1d338cb7 10:10:42 Step 11/22 : FROM alpine:3.17 10:10:42 3.17: Pulling from library/alpine 10:10:42 c41833b44d91: Already exists 10:10:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:10:42 Status: Downloaded newer image for alpine:3.17 10:10:42 ---> 51e60588ff2c 10:10:42 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:10:42 ---> Running in 12d6a18369ff 10:10:42 Removing intermediate container 12d6a18369ff 10:10:42 ---> 6d9fecda12f1 10:10:42 Step 13/22 : RUN apk add --update --no-cache dumb-init 10:10:42 ---> Running in eb29e0f842d5 10:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:10:42 (1/1) Installing dumb-init (1.2.5-r2) 10:10:42 Executing busybox-1.35.0-r29.trigger 10:10:42 OK: 8 MiB in 16 packages 10:10:42 Removing intermediate container eb29e0f842d5 10:10:42 ---> 9fa48a98b601 10:10:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 10:10:43 ---> 85c97e02e93d 10:10:43 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 10:10:43 ---> 7d8d1f6b8726 10:10:43 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:10:44 ---> 285999c81397 10:10:44 Step 17/22 : EXPOSE 59901 10:10:44 ---> Running in 68109c85181c 10:10:44 Removing intermediate container 68109c85181c 10:10:44 ---> b8193e5fc31a 10:10:44 Step 18/22 : ENTRYPOINT ["/device-modbus"] 10:10:44 ---> Running in 8d5d9b1fae1b 10:10:44 Removing intermediate container 8d5d9b1fae1b 10:10:44 ---> e13cd69c6798 10:10:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:10:44 ---> Running in a74fbe78ebf1 10:10:45 Removing intermediate container a74fbe78ebf1 10:10:45 ---> 2a1745977b59 10:10:45 Step 20/22 : LABEL arch=arm64 10:10:45 ---> Running in dc0aacf487e6 10:10:45 Removing intermediate container dc0aacf487e6 10:10:45 ---> d9b774732528 10:10:45 Step 21/22 : LABEL git_sha=0b5b13a3222edb60829193d348ef91291a756800 10:10:45 ---> Running in ee011ac5555d 10:10:45 Removing intermediate container ee011ac5555d 10:10:45 ---> ad28f47c2d24 10:10:45 Step 22/22 : LABEL version=0.0.0 10:10:45 ---> Running in 52b3316f8f51 10:10:46 Removing intermediate container 52b3316f8f51 10:10:46 ---> b7bca029eb04 10:10:46 [Warning] One or more build-args [ARCH] were not consumed 10:10:46 Successfully built b7bca029eb04 10:10:46 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 10:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:47 10:10:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:48 arm64: Pulling from edgex-lftools-log-publisher 10:10:48 8998bd30e6a1: Pulling fs layer 10:10:48 04944245beec: Pulling fs layer 10:10:48 699f458cf7ca: Pulling fs layer 10:10:48 765212b225bb: Pulling fs layer 10:10:48 f23df028b6ca: Pulling fs layer 10:10:48 d65c8cfc05b1: Pulling fs layer 10:10:48 2437ff75d9bd: Pulling fs layer 10:10:48 765212b225bb: Waiting 10:10:48 f23df028b6ca: Waiting 10:10:48 d65c8cfc05b1: Waiting 10:10:48 2437ff75d9bd: Waiting 10:10:48 04944245beec: Verifying Checksum 10:10:48 04944245beec: Download complete 10:10:48 765212b225bb: Download complete 10:10:48 f23df028b6ca: Verifying Checksum 10:10:48 f23df028b6ca: Download complete 10:10:48 d65c8cfc05b1: Download complete 10:10:48 699f458cf7ca: Verifying Checksum 10:10:48 699f458cf7ca: Download complete 10:10:49 8998bd30e6a1: Verifying Checksum 10:10:49 8998bd30e6a1: Download complete 10:10:51 2437ff75d9bd: Verifying Checksum 10:10:51 2437ff75d9bd: Download complete 10:10:53 8998bd30e6a1: Pull complete 10:10:53 04944245beec: Pull complete 10:10:54 699f458cf7ca: Pull complete 10:10:55 765212b225bb: Pull complete 10:10:55 f23df028b6ca: Pull complete 10:10:56 d65c8cfc05b1: Pull complete 10:11:11 2437ff75d9bd: Pull complete 10:11:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:11:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:11 prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container 10:11: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/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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:11:13 $ docker top 18d5453cc4c98f54d68679b6003d4724e197200c606e018d7977b7dbcbce6aca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:14 ---> job-cost.sh 10:11:14 lf-activate-venv: SKIPPING 10:11:14 INFO: No Stack... 10:11:15 INFO: Retrieving Pricing Info for: v3-standard-4 10:11:15 INFO: Archiving Costs [Pipeline] sh 10:11:16 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 10:11:16 + cut -d, -f6 [Pipeline] lock 10:11:16 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] 10:11:16 Resource [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] did not exist. Created. 10:11:16 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:11:16 /w/workspace/device-modbus-go/1@tmp/durable-4d3befd2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:11:17 + echo total: 0.10999999940395355 [Pipeline] stash 10:11:17 Warning: overwriting stash ‘stack-cost’ 10:11:17 Stashed 1 file(s) [Pipeline] } 10:11:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:11:17 $ docker stop --time=1 18d5453cc4c98f54d68679b6003d4724e197200c606e018d7977b7dbcbce6aca 10:11:19 $ docker rm -f --volumes 18d5453cc4c98f54d68679b6003d4724e197200c606e018d7977b7dbcbce6aca [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 10:11:20 provisioning config files... 10:11:20 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/config9723096676594005267tmp [Pipeline] { [Pipeline] sh 10:11:20 + set +x 10:11:20 + curl -s https://codecov.io/bash 10:11:20 + bash -s -- 10:11:20 10:11:20 _____ _ 10:11:20 / ____| | | 10:11:20 | | ___ __| | ___ ___ _____ __ 10:11:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:11:20 | |___| (_) | (_| | __/ (_| (_) \ V / 10:11:20 \_____\___/ \__,_|\___|\___\___/ \_/ 10:11:20 Bash-1.0.6 10:11:20 10:11:20 10:11:20 ==> git version 2.25.1 found 10:11:20 ==> 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 10:11:20 Release-Date: 2020-01-08 10:11:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:11:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:11:20 ==> Jenkins CI detected. 10:11:20 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-463 10:11:20 project root: . 10:11:20 --> token set from env 10:11:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:11:20 ==> Running gcov in . (disable via -X gcov) 10:11:20 ==> Python coveragepy not found 10:11:20 ==> Searching for coverage reports in: 10:11:20 + . 10:11:20 -> Found 1 reports 10:11:20 ==> Detecting git/mercurial file structure 10:11:20 ==> Reading reports 10:11:20 + ./coverage.out bytes=24160 10:11:20 ==> Appending adjustments 10:11:20 https://docs.codecov.io/docs/fixing-reports 10:11:20 + Found adjustments 10:11:20 ==> Gzipping contents 10:11:20 4.0K /tmp/codecov.fjcAaY.gz 10:11:20 ==> Uploading reports 10:11:20 url: https://codecov.io 10:11:20 query: branch=PR-463&commit=0b5b13a3222edb60829193d348ef91291a756800&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=463&job=&cmd_args= 10:11:20 -> Pinging Codecov 10:11:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-463&commit=0b5b13a3222edb60829193d348ef91291a756800&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=463&job=&cmd_args= 10:11:20 -> Uploading to 10:11:20 https://storage.googleapis.com/codecov/v4/raw/2023-04-25/55DBCA73C666E3227836607328DD7E49/0b5b13a3222edb60829193d348ef91291a756800/bbf7184c-93e4-4b20-9fb5-d5a2ebdc397f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T101120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b572e8c98317e904efec01033fcda4261d82ff29ba5929f426927550b68aa722 10:11:20 % Total % Received % Xferd Average Speed Time Time Time Current 10:11:20 Dload Upload Total Spent Left Speed 10:11:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 15951 --:--:-- --:--:-- --:--:-- 15951 10:11:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] } 10:11:21 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 10:11:23 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-463/archives ] 10:11:23 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-463/archives 10:11:23 total 16 10:11:23 drwxr-xr-x 3 root root 4096 Apr 25 10:02 . 10:11:23 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 10:02 .. 10:11:23 drwxr-xr-x 2 root root 4096 Apr 25 10:02 cost 10:11:23 -rw-r--r-- 1 root root 88 Apr 25 10:02 cost.csv 10:11:23 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-463/archives 10:11:23 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-463/archives 10:11:23 total 16 10:11:23 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 10:02 . 10:11:23 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 10:02 .. 10:11:23 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 10:02 cost 10:11:23 -rw-r--r-- 1 jenkins jenkins 88 Apr 25 10:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:11:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:11:24 ---> package-listing.sh 10:11:24 ++ facter osfamily 10:11:24 ++ tr '[:upper:]' '[:lower:]' 10:11:24 + OS_FAMILY=debian 10:11:24 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-463 10:11:24 + START_PACKAGES=/tmp/packages_start.txt 10:11:24 + END_PACKAGES=/tmp/packages_end.txt 10:11:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:11:24 + PACKAGES=/tmp/packages_start.txt 10:11:24 + '[' /w/workspace/xfoundry_device-modbus-go_PR-463 ']' 10:11:24 + PACKAGES=/tmp/packages_end.txt 10:11:24 + case "${OS_FAMILY}" in 10:11:24 + dpkg -l 10:11:24 + grep '^ii' 10:11:24 + '[' -f /tmp/packages_start.txt ']' 10:11:24 + '[' -f /tmp/packages_end.txt ']' 10:11:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:11:24 + '[' /w/workspace/xfoundry_device-modbus-go_PR-463 ']' 10:11:24 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-463/archives/ 10:11:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-463/archives/ [Pipeline] echo 10:11:24 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-463/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:11:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:25 prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container 10:11:25 $ 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-463/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-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:11:25 $ docker top 7f7bbe56573d15501eee9a218e1d8a373ab0508d559a2ab44dedd0d031601f29 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:26 + touch /tmp/pre-build-complete [Pipeline] sh 10:11:26 + mkdir -p /var/log/sysstat [Pipeline] sh 10:11:26 + ls /var/log/sa-host 10:11:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:27 provisioning config files... 10:11:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/config6586245133744000939tmp [Pipeline] { [Pipeline] echo 10:11:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:11:27 ---> create-netrc.sh [Pipeline] } 10:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:11:27 ---> python-tools-install.sh [Pipeline] echo 10:11:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:11:28 ---> sudo-logs.sh 10:11:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:11:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:11:28 ---> job-cost.sh 10:11:28 lf-activate-venv: SKIPPING 10:11:28 DEBUG: total: 0.2199999988079071 10:11:28 INFO: Retrieving Stack Cost... 10:11:29 INFO: Retrieving Pricing Info for: v3-standard-8 10:11:29 INFO: Archiving Costs [Pipeline] echo 10:11:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:11:29 ---> logs-deploy.sh 10:11:29 lf-activate-venv: SKIPPING 10:11:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-463/1 10:11:29 INFO: archiving workspace using pattern(s): 10:11:30 Archives upload complete. 10:11:30 INFO: archiving logs to Nexus