Pull request #468 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3b46b52e5118a47de436d218566d044646d9e0b6+831951377c32840706638568b0e432e598c2b631 (18b2685c7d319b5f13c5a5fe5a8fc8e604671299) 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-ssh10430115942659284850.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-ssh8011092136851252091.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-468/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-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6343171428242486846.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-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7222345292670214792.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-ssh9697837074406460525.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-468/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-468/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2459716073857346670.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12309’ Running on prd-ubuntu20.04-docker-8c-8g-12322 in /w/workspace/xfoundry_device-modbus-go_PR-468 [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-468 # 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/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 3b46b52e5118a47de436d218566d044646d9e0b6 Merge succeeded, producing 3b46b52e5118a47de436d218566d044646d9e0b6 Checking out Revision 3b46b52e5118a47de436d218566d044646d9e0b6 (PR-468) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:02:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:02:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 3b46b52e5118a47de436d218566d044646d9e0b6 # 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 831951377c32840706638568b0e432e598c2b631 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b46b52e5118a47de436d218566d044646d9e0b6 # timeout=10 [Pipeline] echo 06:02:45 ========================================================= 06:02:45 EdgeX Global Pipelines Version Info 06:02:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:02:46 ------------------- 06:02:46 stable info: 06:02:46 ------------------- 06:02:46 Commited By: Bill Mahoney bill.mahoney@intel.com 06:02:46 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:02:46 Message: update stable to v1.0.248 06:02:47 ------------------- 06:02:47 experimental info: 06:02:47 ------------------- 06:02:47 Commited By: **** collab-it+edgex@linuxfoundation.org 06:02:47 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:02:47 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:02:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-468 [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-468 [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-468 [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b46b52e5118a47de436d218566d044646d9e0b6 [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b46b52 [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:48 provisioning config files... 06:02:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-468@tmp/config15567191867611764933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:49 ---> docker-login.sh 06:02:49 nexus3.edgexfoundry.org:10001 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10002 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10003 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10004 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:50 Configure a credential helper to remove this warning. See 06:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:50 06:02:50 Login Succeeded 06:02:50 docker.io 06:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:50 Configure a credential helper to remove this warning. See 06:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:50 06:02:50 Login Succeeded 06:02:50 ---> docker-login.sh ends [Pipeline] } 06:02:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:02:51 + git rev-list -1 --merges 3b46b52e5118a47de436d218566d044646d9e0b6~1..3b46b52e5118a47de436d218566d044646d9e0b6 [Pipeline] echo 06:02:51 -----------> git rev-list -1 --merges 3b46b52e5118a47de436d218566d044646d9e0b6~1..3b46b52e5118a47de436d218566d044646d9e0b6 3b46b52e5118a47de436d218566d044646d9e0b6 [false] [Pipeline] sh 06:02:51 + git log --format=format:%s -1 3b46b52e5118a47de436d218566d044646d9e0b6 [Pipeline] echo 06:02:51 ========================================================= 06:02:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:02:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:51 + git log --format=format:%s -1 3b46b52e5118a47de436d218566d044646d9e0b6 [Pipeline] echo 06:02:51 [semverPrep] GIT_COMMIT: 3b46b52e5118a47de436d218566d044646d9e0b6, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 06:02:51 [semverPrep] This is not a build commit. [Pipeline] sh 06:02:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:02:52 + grep -v github /etc/ssh/ssh_known_hosts 06:02:52 + [ -e /tmp/ssh_known_hosts ] 06:02:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:02:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:02:52 + sudo tee -a /etc/ssh/ssh_known_hosts 06:02:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:52 06:02:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:53 0.1.4: Pulling from edgex-devops/py-git-semver 06:02:53 b85a868b505f: Pulling fs layer 06:02:53 e2be974225ed: Pulling fs layer 06:02:53 339a4e72a1f5: Pulling fs layer 06:02:53 988bab9f4d93: Pulling fs layer 06:02:53 1469e6f7b9e6: Pulling fs layer 06:02:53 eaf3925da568: Pulling fs layer 06:02:53 bab4dde63d76: Pulling fs layer 06:02:53 bde34c3a00c8: Pulling fs layer 06:02:53 b352a97aabf1: Pulling fs layer 06:02:53 4872d77fe225: Pulling fs layer 06:02:53 5851b861e8e6: Pulling fs layer 06:02:53 1469e6f7b9e6: Waiting 06:02:53 eaf3925da568: Waiting 06:02:53 988bab9f4d93: Waiting 06:02:53 bab4dde63d76: Waiting 06:02:53 bde34c3a00c8: Waiting 06:02:53 b352a97aabf1: Waiting 06:02:53 4872d77fe225: Waiting 06:02:53 5851b861e8e6: Waiting 06:02:53 e2be974225ed: Verifying Checksum 06:02:53 e2be974225ed: Download complete 06:02:53 988bab9f4d93: Download complete 06:02:53 1469e6f7b9e6: Verifying Checksum 06:02:53 1469e6f7b9e6: Download complete 06:02:53 eaf3925da568: Download complete 06:02:53 339a4e72a1f5: Verifying Checksum 06:02:53 339a4e72a1f5: Download complete 06:02:53 bde34c3a00c8: Verifying Checksum 06:02:53 bde34c3a00c8: Download complete 06:02:53 b352a97aabf1: Verifying Checksum 06:02:53 b352a97aabf1: Download complete 06:02:53 4872d77fe225: Verifying Checksum 06:02:53 4872d77fe225: Download complete 06:02:53 5851b861e8e6: Verifying Checksum 06:02:53 5851b861e8e6: Download complete 06:02:53 b85a868b505f: Verifying Checksum 06:02:53 b85a868b505f: Download complete 06:02:53 bab4dde63d76: Verifying Checksum 06:02:53 bab4dde63d76: Download complete 06:02:55 b85a868b505f: Pull complete 06:02:55 e2be974225ed: Pull complete 06:02:55 339a4e72a1f5: Pull complete 06:02:55 988bab9f4d93: Pull complete 06:02:56 1469e6f7b9e6: Pull complete 06:02:56 eaf3925da568: Pull complete 06:02:58 bab4dde63d76: Pull complete 06:02:58 bde34c3a00c8: Pull complete 06:02:58 b352a97aabf1: Pull complete 06:02:58 4872d77fe225: Pull complete 06:02:58 5851b861e8e6: Pull complete 06:02:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:02:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:58 prd-ubuntu20.04-docker-8c-8g-12322 does not seem to be running inside a container 06:02:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-468 -v /w/workspace/xfoundry_device-modbus-go_PR-468:/w/workspace/xfoundry_device-modbus-go_PR-468:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-468@tmp:/w/workspace/xfoundry_device-modbus-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:03:00 $ docker top c2ee185932d5a96fc34d6f5c89788f135d856d9f854a963d978866d415cd7827 -eo pid,comm 06:03:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:03:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:00 [ssh-agent] Looking for ssh-agent implementation... 06:03:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:01 $ docker exec c2ee185932d5a96fc34d6f5c89788f135d856d9f854a963d978866d415cd7827 ssh-agent 06:03:01 SSH_AUTH_SOCK=/tmp/ssh-316ZWuFJZlCf/agent.32 06:03:01 SSH_AGENT_PID=38 06:03:01 Running ssh-add (command line suppressed) 06:03:01 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-468@tmp/private_key_6219799055492768616.key (/w/workspace/xfoundry_device-modbus-go_PR-468@tmp/private_key_6219799055492768616.key) 06:03:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:01 + git tag --points-at HEAD [Pipeline] } 06:03:01 $ docker exec --env ******** --env ******** c2ee185932d5a96fc34d6f5c89788f135d856d9f854a963d978866d415cd7827 ssh-agent -k 06:03:01 unset SSH_AUTH_SOCK; 06:03:01 unset SSH_AGENT_PID; 06:03:01 echo Agent pid 38 killed; 06:03:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:03:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:01 [ssh-agent] Looking for ssh-agent implementation... 06:03:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:01 $ docker exec c2ee185932d5a96fc34d6f5c89788f135d856d9f854a963d978866d415cd7827 ssh-agent 06:03:02 SSH_AUTH_SOCK=/tmp/ssh-mEU895AHLVFA/agent.70 06:03:02 SSH_AGENT_PID=76 06:03:02 Running ssh-add (command line suppressed) 06:03:02 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-468@tmp/private_key_1641468365007180288.key (/w/workspace/xfoundry_device-modbus-go_PR-468@tmp/private_key_1641468365007180288.key) 06:03:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:02 + git semver init 06:03:02 2023-05-02 06:03:02,714 [run_init] DEBUG init version:0.0.0 force:False 06:03:02 2023-05-02 06:03:02,714 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-468/.semver 06:03:02 2023-05-02 06:03:02,715 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-468/.semver 06:03:02 2023-05-02 06:03:02,715 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-468/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-468, universal_newlines=False, shell=None, istream=None) 06:03:03 2023-05-02 06:03:03,484 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-468/.git/info/exclude 06:03:03 2023-05-02 06:03:03,484 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-468/.semver/PR-468 with force:False 06:03:03 2023-05-02 06:03:03,484 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-468/.semver/PR-468 06:03:03 2023-05-02 06:03:03,487 [execute] INFO git cat-file --batch-check 06:03:03 2023-05-02 06:03:03,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) 06:03:03 2023-05-02 06:03:03,494 [execute] INFO git cat-file --batch 06:03:03 2023-05-02 06:03:03,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-468/.semver, universal_newlines=False, shell=None, istream=) 06:03:03 2023-05-02 06:03:03,501 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-468/.semver/PR-468 06:03:03 0.0.0 [Pipeline] } 06:03:03 $ docker exec --env ******** --env ******** c2ee185932d5a96fc34d6f5c89788f135d856d9f854a963d978866d415cd7827 ssh-agent -k 06:03:03 unset SSH_AUTH_SOCK; 06:03:03 unset SSH_AGENT_PID; 06:03:03 echo Agent pid 76 killed; 06:03:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:04 + git semver [Pipeline] } 06:03:04 $ docker stop --time=1 c2ee185932d5a96fc34d6f5c89788f135d856d9f854a963d978866d415cd7827 06:03:05 $ docker rm -f --volumes c2ee185932d5a96fc34d6f5c89788f135d856d9f854a963d978866d415cd7827 [Pipeline] // withDockerContainer [Pipeline] sh 06:03:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:03:06 Stashed 1 file(s) [Pipeline] echo 06:03:06 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:07 provisioning config files... 06:03:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-468@tmp/config4803121100520134750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:07 ---> docker-login.sh 06:03:07 nexus3.edgexfoundry.org:10001 06:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:07 Configure a credential helper to remove this warning. See 06:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:07 06:03:07 Login Succeeded 06:03:07 nexus3.edgexfoundry.org:10002 06:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:07 Configure a credential helper to remove this warning. See 06:03:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:07 06:03:07 Login Succeeded 06:03:07 nexus3.edgexfoundry.org:10003 06:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:08 Configure a credential helper to remove this warning. See 06:03:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:08 06:03:08 Login Succeeded 06:03:08 nexus3.edgexfoundry.org:10004 06:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:08 Configure a credential helper to remove this warning. See 06:03:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:08 06:03:08 Login Succeeded 06:03:08 docker.io 06:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:08 Configure a credential helper to remove this warning. See 06:03:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:08 06:03:08 Login Succeeded 06:03:08 ---> docker-login.sh ends [Pipeline] } 06:03:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:08 ========================================================= 06:03:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:03:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:09 + 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 . 06:03:09 Sending build context to Docker daemon 6.467MB 06:03:09 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:03:09 Step 2/10 : FROM ${BASE} AS builder 06:03:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:03:09 f56be85fc22e: Pulling fs layer 06:03:09 85791d961cd3: Pulling fs layer 06:03:09 d694b5ae8c79: Pulling fs layer 06:03:09 9f32a84ed3da: Pulling fs layer 06:03:09 4d19c01a9841: Pulling fs layer 06:03:09 9325e15d5711: Pulling fs layer 06:03:09 556b6ee489ea: Pulling fs layer 06:03:09 c5a4b2cf53e6: Pulling fs layer 06:03:09 9f32a84ed3da: Waiting 06:03:09 4d19c01a9841: Waiting 06:03:09 9325e15d5711: Waiting 06:03:09 556b6ee489ea: Waiting 06:03:09 c5a4b2cf53e6: Waiting 06:03:09 85791d961cd3: Download complete 06:03:09 9f32a84ed3da: Verifying Checksum 06:03:09 9f32a84ed3da: Download complete 06:03:09 4d19c01a9841: Verifying Checksum 06:03:09 4d19c01a9841: Download complete 06:03:09 f56be85fc22e: Verifying Checksum 06:03:09 f56be85fc22e: Download complete 06:03:09 9325e15d5711: Verifying Checksum 06:03:09 9325e15d5711: Download complete 06:03:09 f56be85fc22e: Pull complete 06:03:09 85791d961cd3: Pull complete 06:03:09 c5a4b2cf53e6: Verifying Checksum 06:03:09 c5a4b2cf53e6: Download complete 06:03:09 d694b5ae8c79: Download complete 06:03:10 556b6ee489ea: Verifying Checksum 06:03:10 556b6ee489ea: Download complete 06:03:13 d694b5ae8c79: Pull complete 06:03:13 9f32a84ed3da: Pull complete 06:03:13 4d19c01a9841: Pull complete 06:03:13 9325e15d5711: Pull complete 06:03:16 556b6ee489ea: Pull complete 06:03:17 c5a4b2cf53e6: Pull complete 06:03:17 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:03:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:03:17 ---> c4be618373d6 06:03:17 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:03:20 ---> Running in 361b79e5aee5 06:03:20 Removing intermediate container 361b79e5aee5 06:03:20 ---> eda55430ee14 06:03:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:20 ---> Running in a1814a6dd9c0 06:03:20 Removing intermediate container a1814a6dd9c0 06:03:20 ---> 55006ecf5b53 06:03:20 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:03:20 ---> Running in 78392b2a6ad2 06:03:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:03:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:03:20 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:03:20 (2/8) Installing libedit (20221030.3.1-r0) 06:03:20 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:03:20 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:03:20 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:03:20 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:03:20 (7/8) Installing openssh-server (9.1_p1-r2) 06:03:20 (8/8) Installing openssh (9.1_p1-r2) 06:03:20 Executing busybox-1.35.0-r29.trigger 06:03:20 OK: 270 MiB in 61 packages 06:03:21 Removing intermediate container 78392b2a6ad2 06:03:21 ---> 555f9bc8b822 06:03:21 Step 6/10 : WORKDIR /device-modbus-go 06:03:21 ---> Running in d34e6fa117a8 06:03:21 Removing intermediate container d34e6fa117a8 06:03:21 ---> 912166699cb4 06:03:21 Step 7/10 : COPY go.mod vendor* ./ 06:03:21 ---> 259f4f1864ee 06:03:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:21 ---> Running in e83e417b4e33 06:03:22 Still waiting to schedule task 06:03:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12315’ 06:04:00 Removing intermediate container e83e417b4e33 06:04:00 ---> 497d76a4303c 06:04:00 Step 9/10 : COPY . . 06:04:00 ---> 938e292c7c46 06:04:00 Step 10/10 : RUN ${MAKE} 06:04:00 ---> Running in 7e5faf7ca9a6 06:04:00 noop 06:04:00 Removing intermediate container 7e5faf7ca9a6 06:04:00 ---> f3c56e8705ed 06:04:00 Successfully built f3c56e8705ed 06:04:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:00 + docker inspect -f . ci-base-image-x86_64 06:04:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:01 prd-ubuntu20.04-docker-8c-8g-12322 does not seem to be running inside a container 06:04:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-468 -v /w/workspace/xfoundry_device-modbus-go_PR-468:/w/workspace/xfoundry_device-modbus-go_PR-468:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-468@tmp:/w/workspace/xfoundry_device-modbus-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:04:01 $ docker top 347885b84736ee4f3dccac62372f4dc04c7930e11b689d6996823d8ce1ba7c9c -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:01 + go version 06:04:01 go version go1.20.2 linux/amd64 [Pipeline] } 06:04:01 $ docker stop --time=1 347885b84736ee4f3dccac62372f4dc04c7930e11b689d6996823d8ce1ba7c9c 06:04:03 $ docker rm -f --volumes 347885b84736ee4f3dccac62372f4dc04c7930e11b689d6996823d8ce1ba7c9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:03 + docker inspect -f . ci-base-image-x86_64 06:04:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:04 prd-ubuntu20.04-docker-8c-8g-12322 does not seem to be running inside a container 06:04:04 $ 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-468 -v /w/workspace/xfoundry_device-modbus-go_PR-468:/w/workspace/xfoundry_device-modbus-go_PR-468:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-468@tmp:/w/workspace/xfoundry_device-modbus-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:04:04 $ docker top 59e4416bdf4f27bce29b418216ac2ac450b22510823da282aa8dc49653423a22 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:04 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-468 [Pipeline] fileExists [Pipeline] sh 06:04:05 + make test 06:04:05 go test ./... -coverprofile=coverage.out 06:04:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:04:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:04:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 06:04:26 go vet ./... 06:04:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:04:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:04:29 ./bin/test-attribution-txt.sh [Pipeline] echo 06:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:04:30 $ docker stop --time=1 59e4416bdf4f27bce29b418216ac2ac450b22510823da282aa8dc49653423a22 06:04:32 $ docker rm -f --volumes 59e4416bdf4f27bce29b418216ac2ac450b22510823da282aa8dc49653423a22 [Pipeline] // withDockerContainer [Pipeline] sh 06:04:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:04:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:04:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:04:34 + ls -al . 06:04:34 total 180 06:04:34 drwxrwxr-x 10 jenkins jenkins 4096 May 2 06:04 . 06:04:34 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:02 .. 06:04:34 -rw-rw-r-- 1 jenkins jenkins 140 May 2 06:02 .dockerignore 06:04:34 drwxrwxr-x 8 jenkins jenkins 4096 May 2 06:03 .git 06:04:34 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:02 .github 06:04:34 -rw-rw-r-- 1 jenkins jenkins 331 May 2 06:02 .gitignore 06:04:34 -rw-rw-r-- 1 jenkins jenkins 41 May 2 06:02 .golangci.yml 06:04:34 drwxr-xr-x 3 jenkins jenkins 4096 May 2 06:03 .semver 06:04:34 -rw-rw-r-- 1 jenkins jenkins 10132 May 2 06:02 Attribution.txt 06:04:34 -rw-rw-r-- 1 jenkins jenkins 11576 May 2 06:02 CHANGELOG.md 06:04:34 -rw-rw-r-- 1 jenkins jenkins 1365 May 2 06:02 Dockerfile 06:04:34 -rw-rw-r-- 1 jenkins jenkins 677 May 2 06:02 GOVERNANCE.md 06:04:34 -rw-rw-r-- 1 jenkins jenkins 680 May 2 06:02 Jenkinsfile 06:04:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 06:02 LICENSE 06:04:34 -rw-rw-r-- 1 jenkins jenkins 1705 May 2 06:02 Makefile 06:04:34 -rw-rw-r-- 1 jenkins jenkins 622 May 2 06:02 OWNERS.md 06:04:34 -rw-rw-r-- 1 jenkins jenkins 4045 May 2 06:02 README.md 06:04:34 -rw-rw-r-- 1 jenkins jenkins 5 May 2 06:03 VERSION 06:04:34 drwxrwxr-x 2 jenkins jenkins 4096 May 2 06:02 bin 06:04:34 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:02 cmd 06:04:34 -rw-r--r-- 1 jenkins jenkins 24160 May 2 06:04 coverage.out 06:04:34 -rw-rw-r-- 1 jenkins jenkins 3453 May 2 06:02 go.mod 06:04:34 -rw-rw-r-- 1 jenkins jenkins 31670 May 2 06:02 go.sum 06:04:34 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:02 internal 06:04:34 drwxrwxr-x 2 jenkins jenkins 4096 May 2 06:02 simulator 06:04:34 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:02 snap 06:04:34 -rw-rw-r-- 1 jenkins jenkins 229 May 2 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:34 + 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=3b46b52e5118a47de436d218566d044646d9e0b6 --label arch=amd64 --label version=0.0.0 . 06:04:34 Sending build context to Docker daemon 6.492MB 06:04:34 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:04:34 Step 2/22 : FROM ${BASE} AS builder 06:04:34 ---> f3c56e8705ed 06:04:34 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:04:34 ---> Running in 1f14b2e5389d 06:04:34 Removing intermediate container 1f14b2e5389d 06:04:34 ---> 219cb41a8e14 06:04:34 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:34 ---> Running in d2b811cbe66e 06:04:34 Removing intermediate container d2b811cbe66e 06:04:34 ---> b12625494052 06:04:34 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:04:34 ---> Running in 1ca2108acd74 06:04:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:04:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:04:35 OK: 270 MiB in 61 packages 06:04:35 Removing intermediate container 1ca2108acd74 06:04:35 ---> a67fa55ce0a3 06:04:35 Step 6/22 : WORKDIR /device-modbus-go 06:04:35 ---> Running in 43092ed79238 06:04:35 Removing intermediate container 43092ed79238 06:04:35 ---> 094433adb7a9 06:04:35 Step 7/22 : COPY go.mod vendor* ./ 06:04:36 ---> a9c2ddb85893 06:04:36 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:36 ---> Running in bdb369716f03 06:04:37 Removing intermediate container bdb369716f03 06:04:37 ---> f5f91cc39855 06:04:37 Step 9/22 : COPY . . 06:04:37 ---> 1d7c54c5d13d 06:04:37 Step 10/22 : RUN ${MAKE} 06:04:37 ---> Running in 7db1edfd7301 06:04:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:04:55 Removing intermediate container 7db1edfd7301 06:04:55 ---> 96bfc675fee7 06:04:55 Step 11/22 : FROM alpine:3.17 06:04:55 3.17: Pulling from library/alpine 06:04:55 f56be85fc22e: Already exists 06:04:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:04:55 Status: Downloaded newer image for alpine:3.17 06:04:55 ---> 9ed4aefc74f6 06:04:55 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:04:55 ---> Running in 0c39b79fe7de 06:04:55 Removing intermediate container 0c39b79fe7de 06:04:55 ---> f708a7b18c59 06:04:55 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:04:55 ---> Running in 655d8955a7cc 06:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:04:56 (1/1) Installing dumb-init (1.2.5-r2) 06:04:56 Executing busybox-1.35.0-r29.trigger 06:04:56 OK: 7 MiB in 16 packages 06:04:57 Removing intermediate container 655d8955a7cc 06:04:57 ---> 97a40e161178 06:04:57 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:04:57 ---> 4278d6ba49a1 06:04:57 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:04:57 ---> 196a4381c18d 06:04:57 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:04:57 ---> 9b6ab3cccbe9 06:04:57 Step 17/22 : EXPOSE 59901 06:04:57 ---> Running in 7b30a5b241a6 06:04:57 Removing intermediate container 7b30a5b241a6 06:04:57 ---> 5b7913f75345 06:04:57 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:04:57 ---> Running in 896b89228ce6 06:04:57 Removing intermediate container 896b89228ce6 06:04:57 ---> 996c24f86dda 06:04:57 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:04:57 ---> Running in a8fc491d59f1 06:04:57 Removing intermediate container a8fc491d59f1 06:04:57 ---> c3bccdedbd61 06:04:57 Step 20/22 : LABEL arch=amd64 06:04:57 ---> Running in cbf96de0e19f 06:04:58 Removing intermediate container cbf96de0e19f 06:04:58 ---> 02311dd5f619 06:04:58 Step 21/22 : LABEL git_sha=3b46b52e5118a47de436d218566d044646d9e0b6 06:04:58 ---> Running in e9a37c0149ae 06:04:58 Removing intermediate container e9a37c0149ae 06:04:58 ---> a9f73436d2df 06:04:58 Step 22/22 : LABEL version=0.0.0 06:04:58 ---> Running in b5d0ab01e40f 06:04:58 Removing intermediate container b5d0ab01e40f 06:04:58 ---> 8477322d532e 06:04:58 [Warning] One or more build-args [ARCH] were not consumed 06:04:58 Successfully built 8477322d532e 06:04:58 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:59 06:04:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:59 latest: Pulling from edgex-lftools-log-publisher 06:04:59 5eb5b503b376: Pulling fs layer 06:04:59 5c69ac0246d0: Pulling fs layer 06:04:59 ec43610c2a17: Pulling fs layer 06:04:59 3a2ae6a8a46f: Pulling fs layer 06:04:59 33b1e0a273af: Pulling fs layer 06:04:59 5d3b04190fa2: Pulling fs layer 06:04:59 2f39f015ded8: Pulling fs layer 06:04:59 3a2ae6a8a46f: Waiting 06:04:59 5d3b04190fa2: Waiting 06:04:59 33b1e0a273af: Waiting 06:04:59 2f39f015ded8: Waiting 06:04:59 5c69ac0246d0: Download complete 06:04:59 3a2ae6a8a46f: Verifying Checksum 06:04:59 3a2ae6a8a46f: Download complete 06:04:59 33b1e0a273af: Verifying Checksum 06:04:59 33b1e0a273af: Download complete 06:04:59 5d3b04190fa2: Verifying Checksum 06:04:59 5d3b04190fa2: Download complete 06:04:59 ec43610c2a17: Download complete 06:04:59 5eb5b503b376: Verifying Checksum 06:04:59 5eb5b503b376: Download complete 06:05:00 2f39f015ded8: Verifying Checksum 06:05:00 2f39f015ded8: Download complete 06:05:00 5eb5b503b376: Pull complete 06:05:00 5c69ac0246d0: Pull complete 06:05:01 ec43610c2a17: Pull complete 06:05:01 3a2ae6a8a46f: Pull complete 06:05:01 33b1e0a273af: Pull complete 06:05:01 5d3b04190fa2: Pull complete 06:05:05 2f39f015ded8: Pull complete 06:05:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:06 prd-ubuntu20.04-docker-8c-8g-12322 does not seem to be running inside a container 06:05:06 $ 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-468 -v /w/workspace/xfoundry_device-modbus-go_PR-468:/w/workspace/xfoundry_device-modbus-go_PR-468:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-468@tmp:/w/workspace/xfoundry_device-modbus-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:05:09 $ docker top 4aef953407dd9fa757fa49d61f91c1daedd8d9c18281aa7997071196b6778883 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:10 ---> job-cost.sh 06:05:10 lf-activate-venv: SKIPPING 06:05:10 INFO: No Stack... 06:05:10 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:10 INFO: Archiving Costs [Pipeline] sh 06:05:11 + cat /w/workspace/xfoundry_device-modbus-go_PR-468/archives/cost.csv 06:05:11 + cut -d, -f6 [Pipeline] lock 06:05:11 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-468-1-stack-cost] 06:05:11 Resource [jenkins-edgexfoundry-device-modbus-go-PR-468-1-stack-cost] did not exist. Created. 06:05:11 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-468-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:11 + echo total: 0.2199999988079071 [Pipeline] stash 06:05:11 Stashed 1 file(s) [Pipeline] } 06:05:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-468-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:11 $ docker stop --time=1 4aef953407dd9fa757fa49d61f91c1daedd8d9c18281aa7997071196b6778883 06:05:12 $ docker rm -f --volumes 4aef953407dd9fa757fa49d61f91c1daedd8d9c18281aa7997071196b6778883 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:06:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12329 in /w/workspace/xfoundry_device-modbus-go_PR-468 [Pipeline] { [Pipeline] ws 06:06:36 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:06:36 Selected Git installation does not exist. Using Default 06:06:36 The recommended git tool is: NONE 06:06:43 using credential edgex-jenkins-ssh 06:06:43 Cloning the remote Git repository 06:06:43 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:06:43 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:06:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:06:43 > git --version # timeout=10 06:06:43 > git --version # 'git version 2.25.1' 06:06:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:06:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:46 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:06:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:06:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:06:47 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 3b46b52e5118a47de436d218566d044646d9e0b6 06:06:47 Merge succeeded, producing 3b46b52e5118a47de436d218566d044646d9e0b6 06:06:47 Checking out Revision 3b46b52e5118a47de436d218566d044646d9e0b6 (PR-468) 06:06:48 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 06:06:48 > git --version # timeout=10 06:06:48 > git --version # 'git version 2.25.1' 06:06:48 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:06:47 > git config core.sparsecheckout # timeout=10 06:06:47 > git checkout -f 3b46b52e5118a47de436d218566d044646d9e0b6 # timeout=10 06:06:47 > git remote # timeout=10 06:06:47 > git config --get remote.origin.url # timeout=10 06:06:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:47 > git merge 831951377c32840706638568b0e432e598c2b631 # timeout=10 06:06:47 > git rev-parse HEAD^{commit} # timeout=10 06:06:47 > git config core.sparsecheckout # timeout=10 06:06:47 > git checkout -f 3b46b52e5118a47de436d218566d044646d9e0b6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:06:49 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:49 Dload Upload Total Spent Left Speed 06:06:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 06:06:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:06:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:06:50 + sudo tee /etc/docker/daemon.new 06:06:50 { 06:06:50 "registry-mirrors": [ 06:06:50 "https://nexus3.edgexfoundry.org:10001" 06:06:50 ], 06:06:50 "bip": "10.250.0.254/24", 06:06:50 "hosts": [ 06:06:50 "tcp://0.0.0.0:5555", 06:06:50 "unix:///var/run/docker.sock" 06:06:50 ], 06:06:50 "mtu": 1458, 06:06:50 "selinux-enabled": true, 06:06:50 "seccomp-profile": "/etc/docker/seccomp.json" 06:06:50 } [Pipeline] sh 06:06:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:06:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:09 provisioning config files... 06:07:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4443190795137885464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:09 ---> docker-login.sh 06:07:09 nexus3.edgexfoundry.org:10001 06:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:10 Configure a credential helper to remove this warning. See 06:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:10 06:07:10 Login Succeeded 06:07:10 nexus3.edgexfoundry.org:10002 06:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:10 Configure a credential helper to remove this warning. See 06:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:10 06:07:10 Login Succeeded 06:07:10 nexus3.edgexfoundry.org:10003 06:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:11 Configure a credential helper to remove this warning. See 06:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:11 06:07:11 Login Succeeded 06:07:11 nexus3.edgexfoundry.org:10004 06:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:11 Configure a credential helper to remove this warning. See 06:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:11 06:07:11 Login Succeeded 06:07:11 docker.io 06:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:12 Configure a credential helper to remove this warning. See 06:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:12 06:07:12 Login Succeeded 06:07:12 ---> docker-login.sh ends [Pipeline] } 06:07:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:07:12 ========================================================= 06:07:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:07:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:13 + 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 . 06:07:13 Sending build context to Docker daemon 3.383MB 06:07:13 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:07:13 Step 2/10 : FROM ${BASE} AS builder 06:07:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:07:13 c41833b44d91: Pulling fs layer 06:07:13 ed15518f5707: Pulling fs layer 06:07:13 feae8fd75edb: Pulling fs layer 06:07:13 242c74f7c9fa: Pulling fs layer 06:07:13 3cdef696dda3: Pulling fs layer 06:07:13 2ced38df9373: Pulling fs layer 06:07:13 58f1dce35555: Pulling fs layer 06:07:13 3cdef696dda3: Waiting 06:07:13 242c74f7c9fa: Waiting 06:07:13 2ced38df9373: Waiting 06:07:13 58f1dce35555: Waiting 06:07:13 ed15518f5707: Verifying Checksum 06:07:13 ed15518f5707: Download complete 06:07:13 242c74f7c9fa: Verifying Checksum 06:07:13 242c74f7c9fa: Download complete 06:07:14 3cdef696dda3: Verifying Checksum 06:07:14 3cdef696dda3: Download complete 06:07:14 c41833b44d91: Verifying Checksum 06:07:14 c41833b44d91: Download complete 06:07:15 c41833b44d91: Pull complete 06:07:15 58f1dce35555: Verifying Checksum 06:07:15 58f1dce35555: Download complete 06:07:15 ed15518f5707: Pull complete 06:07:17 feae8fd75edb: Verifying Checksum 06:07:17 feae8fd75edb: Download complete 06:07:17 2ced38df9373: Verifying Checksum 06:07:29 feae8fd75edb: Pull complete 06:07:29 242c74f7c9fa: Pull complete 06:07:29 3cdef696dda3: Pull complete 06:07:38 2ced38df9373: Pull complete 06:07:39 58f1dce35555: Pull complete 06:07:39 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:07:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:07:39 ---> fadd8f120f05 06:07:39 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:07:42 ---> Running in 43bfcc19931c 06:07:42 Removing intermediate container 43bfcc19931c 06:07:42 ---> 7451d22e99c0 06:07:42 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:42 ---> Running in 121c1500b884 06:07:42 Removing intermediate container 121c1500b884 06:07:42 ---> df6e94f26f98 06:07:42 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:07:42 ---> Running in 298afdeb1693 06:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:07:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:07:44 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:07:44 (2/8) Installing libedit (20221030.3.1-r0) 06:07:44 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:07:44 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:07:44 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:07:44 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:07:44 (7/8) Installing openssh-server (9.1_p1-r2) 06:07:44 (8/8) Installing openssh (9.1_p1-r2) 06:07:44 Executing busybox-1.35.0-r29.trigger 06:07:44 OK: 270 MiB in 61 packages 06:07:46 Removing intermediate container 298afdeb1693 06:07:46 ---> c38e0fafe869 06:07:46 Step 6/10 : WORKDIR /device-modbus-go 06:07:46 ---> Running in 36a622d1fd76 06:07:46 Removing intermediate container 36a622d1fd76 06:07:46 ---> 859e1895eab9 06:07:46 Step 7/10 : COPY go.mod vendor* ./ 06:07:47 ---> a6aaf68cefcf 06:07:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:47 ---> Running in 29287c990f2d 06:08:55 Removing intermediate container 29287c990f2d 06:08:55 ---> af8fcbda814f 06:08:55 Step 9/10 : COPY . . 06:08:55 ---> b92ef2fce3e9 06:08:55 Step 10/10 : RUN ${MAKE} 06:08:55 ---> Running in 9e3e097a498d 06:08:55 noop 06:08:55 Removing intermediate container 9e3e097a498d 06:08:55 ---> f913d81c3193 06:08:55 Successfully built f913d81c3193 06:08:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:55 + docker inspect -f . ci-base-image-arm64 06:08:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:55 prd-ubuntu20.04-docker-arm64-4c-16g-12329 does not seem to be running inside a container 06:08:55 $ 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 ******** ci-base-image-arm64 cat 06:08:57 $ docker top 4b01ab35eac83ad1e50a0fb6ab99aba61bb484bfdd049a444669c28c8c66d340 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:58 + go version 06:08:58 go version go1.20.2 linux/arm64 [Pipeline] } 06:08:58 $ docker stop --time=1 4b01ab35eac83ad1e50a0fb6ab99aba61bb484bfdd049a444669c28c8c66d340 06:08:59 $ docker rm -f --volumes 4b01ab35eac83ad1e50a0fb6ab99aba61bb484bfdd049a444669c28c8c66d340 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:00 + docker inspect -f . ci-base-image-arm64 06:09:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:00 prd-ubuntu20.04-docker-arm64-4c-16g-12329 does not seem to be running inside a container 06:09:01 $ 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 ******** ci-base-image-arm64 cat 06:09:02 $ docker top 655e90e40568b1d4a7ed2010280853ec6e4536b842ccee218c11467ff8dd3240 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:03 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:09:03 + make test 06:09:03 go test ./... -coverprofile=coverage.out 06:09:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:11:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:11:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.4% of statements 06:11:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:11:51 go vet ./... 06:12:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:12:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:12:23 ./bin/test-attribution-txt.sh [Pipeline] echo 06:12:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:12:23 $ docker stop --time=1 655e90e40568b1d4a7ed2010280853ec6e4536b842ccee218c11467ff8dd3240 06:12:25 $ docker rm -f --volumes 655e90e40568b1d4a7ed2010280853ec6e4536b842ccee218c11467ff8dd3240 [Pipeline] // withDockerContainer [Pipeline] sh 06:12:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:12:26 Warning: overwriting stash ‘coverage-report’ 06:12:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:12:28 + ls -al . 06:12:28 total 176 06:12:28 drwxrwxr-x 9 jenkins jenkins 4096 May 2 06:09 . 06:12:28 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:06 .. 06:12:28 -rw-rw-r-- 1 jenkins jenkins 140 May 2 06:06 .dockerignore 06:12:28 drwxrwxr-x 8 jenkins jenkins 4096 May 2 06:06 .git 06:12:28 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:06 .github 06:12:28 -rw-rw-r-- 1 jenkins jenkins 331 May 2 06:06 .gitignore 06:12:28 -rw-rw-r-- 1 jenkins jenkins 41 May 2 06:06 .golangci.yml 06:12:28 -rw-rw-r-- 1 jenkins jenkins 10132 May 2 06:06 Attribution.txt 06:12:28 -rw-rw-r-- 1 jenkins jenkins 11576 May 2 06:06 CHANGELOG.md 06:12:28 -rw-rw-r-- 1 jenkins jenkins 1365 May 2 06:06 Dockerfile 06:12:28 -rw-rw-r-- 1 jenkins jenkins 677 May 2 06:06 GOVERNANCE.md 06:12:28 -rw-rw-r-- 1 jenkins jenkins 680 May 2 06:06 Jenkinsfile 06:12:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 06:06 LICENSE 06:12:28 -rw-rw-r-- 1 jenkins jenkins 1705 May 2 06:06 Makefile 06:12:28 -rw-rw-r-- 1 jenkins jenkins 622 May 2 06:06 OWNERS.md 06:12:28 -rw-rw-r-- 1 jenkins jenkins 4045 May 2 06:06 README.md 06:12:28 -rw-rw-r-- 1 jenkins jenkins 5 May 2 06:03 VERSION 06:12:28 drwxrwxr-x 2 jenkins jenkins 4096 May 2 06:06 bin 06:12:28 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:06 cmd 06:12:28 -rw-r--r-- 1 jenkins jenkins 24160 May 2 06:11 coverage.out 06:12:28 -rw-rw-r-- 1 jenkins jenkins 3453 May 2 06:06 go.mod 06:12:28 -rw-rw-r-- 1 jenkins jenkins 31670 May 2 06:06 go.sum 06:12:28 drwxrwxr-x 3 jenkins jenkins 4096 May 2 06:06 internal 06:12:28 drwxrwxr-x 2 jenkins jenkins 4096 May 2 06:06 simulator 06:12:28 drwxrwxr-x 4 jenkins jenkins 4096 May 2 06:06 snap 06:12:28 -rw-rw-r-- 1 jenkins jenkins 229 May 2 06:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:28 + 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=3b46b52e5118a47de436d218566d044646d9e0b6 --label arch=arm64 --label version=0.0.0 . 06:12:28 Sending build context to Docker daemon 3.408MB 06:12:28 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:12:28 Step 2/22 : FROM ${BASE} AS builder 06:12:28 ---> f913d81c3193 06:12:28 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:12:29 ---> Running in 9b0dc6e7ece2 06:12:29 Removing intermediate container 9b0dc6e7ece2 06:12:29 ---> 008855a75916 06:12:29 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:29 ---> Running in 17db794a2671 06:12:29 Removing intermediate container 17db794a2671 06:12:29 ---> 9e08ebfe351d 06:12:29 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:12:30 ---> Running in d65bb9b43d0a 06:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:12:33 OK: 270 MiB in 61 packages 06:12:34 Removing intermediate container d65bb9b43d0a 06:12:34 ---> 9a91cb553002 06:12:34 Step 6/22 : WORKDIR /device-modbus-go 06:12:34 ---> Running in 7b22094d166e 06:12:34 Removing intermediate container 7b22094d166e 06:12:34 ---> 12f3ec0ee8de 06:12:34 Step 7/22 : COPY go.mod vendor* ./ 06:12:36 ---> e12b12c8f04b 06:12:36 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:36 ---> Running in ac26e6232fde 06:12:38 Removing intermediate container ac26e6232fde 06:12:38 ---> 02feddd00845 06:12:38 Step 9/22 : COPY . . 06:12:39 ---> 51ce13a49c21 06:12:39 Step 10/22 : RUN ${MAKE} 06:12:39 ---> Running in 92d2f34cf209 06:12:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:15:02 Removing intermediate container 92d2f34cf209 06:15:02 ---> fc0ecd6eba7f 06:15:02 Step 11/22 : FROM alpine:3.17 06:15:06 3.17: Pulling from library/alpine 06:15:06 c41833b44d91: Already exists 06:15:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:15:06 Status: Downloaded newer image for alpine:3.17 06:15:06 ---> 51e60588ff2c 06:15:06 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:15:06 ---> Running in 5a8cadfecf5c 06:15:06 Removing intermediate container 5a8cadfecf5c 06:15:06 ---> 0efdcb04e1c5 06:15:06 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:15:06 ---> Running in 48a5fde4e85e 06:15:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:15:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:15:09 (1/1) Installing dumb-init (1.2.5-r2) 06:15:09 Executing busybox-1.35.0-r29.trigger 06:15:09 OK: 8 MiB in 16 packages 06:15:10 Removing intermediate container 48a5fde4e85e 06:15:10 ---> faf515f9a623 06:15:10 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:15:11 ---> 6d5a098aaa33 06:15:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:15:12 ---> ff5e93b43d97 06:15:12 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:15:12 ---> 0e7410f2f07b 06:15:12 Step 17/22 : EXPOSE 59901 06:15:12 ---> Running in e135b361c031 06:15:13 Removing intermediate container e135b361c031 06:15:13 ---> ee4b51fe6432 06:15:13 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:15:13 ---> Running in 67c346dc4e44 06:15:13 Removing intermediate container 67c346dc4e44 06:15:13 ---> 87e5b5f69ed2 06:15:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:15:13 ---> Running in 0b193b77771f 06:15:13 Removing intermediate container 0b193b77771f 06:15:13 ---> 48c6aaa136ab 06:15:13 Step 20/22 : LABEL arch=arm64 06:15:13 ---> Running in ac9196f67011 06:15:13 Removing intermediate container ac9196f67011 06:15:13 ---> b517c84f9975 06:15:13 Step 21/22 : LABEL git_sha=3b46b52e5118a47de436d218566d044646d9e0b6 06:15:14 ---> Running in fa3c35139bab 06:15:14 Removing intermediate container fa3c35139bab 06:15:14 ---> 783037cfaaa0 06:15:14 Step 22/22 : LABEL version=0.0.0 06:15:14 ---> Running in e43127ecb11f 06:15:14 Removing intermediate container e43127ecb11f 06:15:14 ---> ec951f156939 06:15:14 [Warning] One or more build-args [ARCH] were not consumed 06:15:14 Successfully built ec951f156939 06:15:14 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:15 06:15:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:16 arm64: Pulling from edgex-lftools-log-publisher 06:15:16 8998bd30e6a1: Pulling fs layer 06:15:16 04944245beec: Pulling fs layer 06:15:16 699f458cf7ca: Pulling fs layer 06:15:16 765212b225bb: Pulling fs layer 06:15:16 f23df028b6ca: Pulling fs layer 06:15:16 d65c8cfc05b1: Pulling fs layer 06:15:16 2437ff75d9bd: Pulling fs layer 06:15:16 765212b225bb: Waiting 06:15:16 f23df028b6ca: Waiting 06:15:16 d65c8cfc05b1: Waiting 06:15:16 2437ff75d9bd: Waiting 06:15:16 04944245beec: Verifying Checksum 06:15:16 04944245beec: Download complete 06:15:16 765212b225bb: Verifying Checksum 06:15:16 765212b225bb: Download complete 06:15:16 f23df028b6ca: Download complete 06:15:16 d65c8cfc05b1: Verifying Checksum 06:15:16 d65c8cfc05b1: Download complete 06:15:16 699f458cf7ca: Verifying Checksum 06:15:16 699f458cf7ca: Download complete 06:15:16 8998bd30e6a1: Verifying Checksum 06:15:16 8998bd30e6a1: Download complete 06:15:19 2437ff75d9bd: Verifying Checksum 06:15:19 2437ff75d9bd: Download complete 06:15:20 8998bd30e6a1: Pull complete 06:15:21 04944245beec: Pull complete 06:15:22 699f458cf7ca: Pull complete 06:15:23 765212b225bb: Pull complete 06:15:24 f23df028b6ca: Pull complete 06:15:24 d65c8cfc05b1: Pull complete 06:15:39 2437ff75d9bd: Pull complete 06:15:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:15:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:39 prd-ubuntu20.04-docker-arm64-4c-16g-12329 does not seem to be running inside a container 06:15:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:15:42 $ docker top d4d72c18a2bbee8e1e67cbc9a5029fb7e743c62bd27024ae0de68b50f4290189 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:43 ---> job-cost.sh 06:15:43 lf-activate-venv: SKIPPING 06:15:43 INFO: No Stack... 06:15:43 INFO: Retrieving Pricing Info for: v3-standard-4 06:15:44 INFO: Archiving Costs [Pipeline] sh 06:15:45 + + cutcat -d, /w/workspace/device-modbus-go/1/archives/cost.csv -f6 06:15:45 [Pipeline] lock 06:15:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-468-1-stack-cost] 06:15:45 Resource [jenkins-edgexfoundry-device-modbus-go-PR-468-1-stack-cost] did not exist. Created. 06:15:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-468-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:45 /w/workspace/device-modbus-go/1@tmp/durable-79cb3fc0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:15:45 + echo total: 0.10999999940395355 [Pipeline] stash 06:15:46 Warning: overwriting stash ‘stack-cost’ 06:15:46 Stashed 1 file(s) [Pipeline] } 06:15:46 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-468-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:15:46 $ docker stop --time=1 d4d72c18a2bbee8e1e67cbc9a5029fb7e743c62bd27024ae0de68b50f4290189 06:15:48 $ docker rm -f --volumes d4d72c18a2bbee8e1e67cbc9a5029fb7e743c62bd27024ae0de68b50f4290189 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:15:49 provisioning config files... 06:15:49 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-468@tmp/config14474126409155448859tmp [Pipeline] { [Pipeline] sh 06:15:49 + set +x 06:15:49 + curl -s https://codecov.io/bash 06:15:49 + bash -s -- 06:15:49 06:15:49 _____ _ 06:15:49 / ____| | | 06:15:49 | | ___ __| | ___ ___ _____ __ 06:15:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:15:49 | |___| (_) | (_| | __/ (_| (_) \ V / 06:15:49 \_____\___/ \__,_|\___|\___\___/ \_/ 06:15:49 Bash-1.0.6 06:15:49 06:15:49 06:15:49 ==> git version 2.25.1 found 06:15:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:15:49 Release-Date: 2020-01-08 06:15:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:15:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:15:49 ==> Jenkins CI detected. 06:15:49 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-468 06:15:49 project root: . 06:15:49 --> token set from env 06:15:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:15:49 ==> Running gcov in . (disable via -X gcov) 06:15:49 ==> Python coveragepy not found 06:15:49 ==> Searching for coverage reports in: 06:15:49 + . 06:15:49 -> Found 1 reports 06:15:49 ==> Detecting git/mercurial file structure 06:15:49 ==> Reading reports 06:15:49 + ./coverage.out bytes=24160 06:15:49 ==> Appending adjustments 06:15:49 https://docs.codecov.io/docs/fixing-reports 06:15:50 + Found adjustments 06:15:50 ==> Gzipping contents 06:15:50 4.0K /tmp/codecov.7MaYTh.gz 06:15:50 ==> Uploading reports 06:15:50 url: https://codecov.io 06:15:50 query: branch=PR-468&commit=3b46b52e5118a47de436d218566d044646d9e0b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-468%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=468&job=&cmd_args= 06:15:50 -> Pinging Codecov 06:15:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-468&commit=3b46b52e5118a47de436d218566d044646d9e0b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-468%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=468&job=&cmd_args= 06:15:50 -> Uploading to 06:15:50 https://storage.googleapis.com/codecov/v4/raw/2023-05-02/55DBCA73C666E3227836607328DD7E49/3b46b52e5118a47de436d218566d044646d9e0b6/976e39af-87d9-4ace-9cd2-12a84ca35520.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T061550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec4cdb11b87c8615c7a1f01522d2784480325bbcc3e4e4028f50c36c777480be 06:15:50 % Total % Received % Xferd Average Speed Time Time Time Current 06:15:50 Dload Upload Total Spent Left Speed 06:15:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18775 --:--:-- --:--:-- --:--:-- 18775 06:15:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3b46b52e5118a47de436d218566d044646d9e0b6 [Pipeline] } 06:15:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:15:52 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-468/archives ] 06:15:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-468/archives 06:15:52 total 16 06:15:52 drwxr-xr-x 3 root root 4096 May 2 06:05 . 06:15:52 drwxrwxr-x 11 jenkins jenkins 4096 May 2 06:05 .. 06:15:52 drwxr-xr-x 2 root root 4096 May 2 06:05 cost 06:15:52 -rw-r--r-- 1 root root 88 May 2 06:05 cost.csv 06:15:52 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-468/archives 06:15:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-468/archives 06:15:52 total 16 06:15:52 drwxr-xr-x 3 jenkins jenkins 4096 May 2 06:05 . 06:15:52 drwxrwxr-x 11 jenkins jenkins 4096 May 2 06:05 .. 06:15:52 drwxr-xr-x 2 jenkins jenkins 4096 May 2 06:05 cost 06:15:52 -rw-r--r-- 1 jenkins jenkins 88 May 2 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:15:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:53 ---> package-listing.sh 06:15:53 ++ facter osfamily 06:15:53 ++ tr '[:upper:]' '[:lower:]' 06:15:53 + OS_FAMILY=debian 06:15:53 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-468 06:15:53 + START_PACKAGES=/tmp/packages_start.txt 06:15:53 + END_PACKAGES=/tmp/packages_end.txt 06:15:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:53 + PACKAGES=/tmp/packages_start.txt 06:15:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-468 ']' 06:15:53 + PACKAGES=/tmp/packages_end.txt 06:15:53 + case "${OS_FAMILY}" in 06:15:53 + dpkg -l 06:15:53 + grep '^ii' 06:15:53 + '[' -f /tmp/packages_start.txt ']' 06:15:53 + '[' -f /tmp/packages_end.txt ']' 06:15:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-468 ']' 06:15:53 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-468/archives/ 06:15:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-468/archives/ [Pipeline] echo 06:15:53 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-468/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:15:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:54 prd-ubuntu20.04-docker-8c-8g-12322 does not seem to be running inside a container 06:15:54 $ 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-468/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-468 -v /w/workspace/xfoundry_device-modbus-go_PR-468:/w/workspace/xfoundry_device-modbus-go_PR-468:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-468@tmp:/w/workspace/xfoundry_device-modbus-go_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:15:54 $ docker top ba4ec528e5b14010101b93e1b12abffd67a23dcb81c8f4949d17968cdd2512a4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:55 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:55 + mkdir -p /var/log/sysstat [Pipeline] sh 06:15:55 + ls /var/log/sa-host 06:15:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:56 provisioning config files... 06:15:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-468@tmp/config11111291836824543092tmp [Pipeline] { [Pipeline] echo 06:15:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:56 ---> create-netrc.sh [Pipeline] } 06:15:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:15:56 ---> python-tools-install.sh [Pipeline] echo 06:15:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:57 ---> sudo-logs.sh 06:15:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:15:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:57 ---> job-cost.sh 06:15:57 lf-activate-venv: SKIPPING 06:15:57 DEBUG: total: 0.2199999988079071 06:15:57 INFO: Retrieving Stack Cost... 06:15:57 INFO: Retrieving Pricing Info for: v3-standard-8 06:15:58 INFO: Archiving Costs [Pipeline] echo 06:15:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:58 ---> logs-deploy.sh 06:15:58 lf-activate-venv: SKIPPING 06:15:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-468/1 06:15:58 INFO: archiving workspace using pattern(s): 06:15:59 Archives upload complete. 06:15:59 INFO: archiving logs to Nexus