Pull request #459 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4aae816fa3bc7ed15c0c146ae454eb567e00d77d+1a68168e1b466f81fb38e733dbe2211c06120b2a (1ecc9a8a3829b06c4b87a28843520c0c3531fa0d) 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-ssh14213847106802413445.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-ssh1145337550177542995.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-459/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-459/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17931648318127208373.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-459/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17896419464085304628.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-ssh707701127725358421.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-459/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-459/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1877866091626763050.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-9136’ Running on prd-ubuntu20.04-docker-8c-8g-9140 in /w/workspace/xfoundry_device-modbus-go_PR-459 [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-459 # 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/459/head:refs/remotes/origin/PR-459 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a68168e1b466f81fb38e733dbe2211c06120b2a into PR head commit 4aae816fa3bc7ed15c0c146ae454eb567e00d77d Merge succeeded, producing 4aae816fa3bc7ed15c0c146ae454eb567e00d77d Checking out Revision 4aae816fa3bc7ed15c0c146ae454eb567e00d77d (PR-459) 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:00:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:48 ========================================================= 06:00:48 EdgeX Global Pipelines Version Info 06:00:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 4aae816fa3bc7ed15c0c146ae454eb567e00d77d # 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 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4aae816fa3bc7ed15c0c146ae454eb567e00d77d # timeout=10 06:00:48 ------------------- 06:00:48 stable info: 06:00:48 ------------------- 06:00:48 Commited By: Bill Mahoney bill.mahoney@intel.com 06:00:48 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:00:48 Message: update stable to v1.0.248 06:00:49 ------------------- 06:00:49 experimental info: 06:00:49 ------------------- 06:00:49 Commited By: **** collab-it+edgex@linuxfoundation.org 06:00:49 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:00:49 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:00:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:00:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-459 [Pipeline] echo 06:00:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-459 [Pipeline] echo 06:00:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-459 [Pipeline] echo 06:00:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4aae816fa3bc7ed15c0c146ae454eb567e00d77d [Pipeline] echo 06:00:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4aae816 [Pipeline] echo 06:00:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:51 provisioning config files... 06:00:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-459@tmp/config4386837988506633969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:51 ---> docker-login.sh 06:00:51 nexus3.edgexfoundry.org:10001 06:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:52 Configure a credential helper to remove this warning. See 06:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:52 06:00:52 Login Succeeded 06:00:52 nexus3.edgexfoundry.org:10002 06:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:52 Configure a credential helper to remove this warning. See 06:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:52 06:00:52 Login Succeeded 06:00:52 nexus3.edgexfoundry.org:10003 06:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:52 Configure a credential helper to remove this warning. See 06:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:52 06:00:52 Login Succeeded 06:00:52 nexus3.edgexfoundry.org:10004 06:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:52 Configure a credential helper to remove this warning. See 06:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:52 06:00:52 Login Succeeded 06:00:52 docker.io 06:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:53 Configure a credential helper to remove this warning. See 06:00:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:53 06:00:53 Login Succeeded 06:00:53 ---> docker-login.sh ends [Pipeline] } 06:00:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:53 + git rev-list -1 --merges 4aae816fa3bc7ed15c0c146ae454eb567e00d77d~1..4aae816fa3bc7ed15c0c146ae454eb567e00d77d [Pipeline] echo 06:00:53 -----------> git rev-list -1 --merges 4aae816fa3bc7ed15c0c146ae454eb567e00d77d~1..4aae816fa3bc7ed15c0c146ae454eb567e00d77d 4aae816fa3bc7ed15c0c146ae454eb567e00d77d [false] [Pipeline] sh 06:00:54 + git log --format=format:%s -1 4aae816fa3bc7ed15c0c146ae454eb567e00d77d [Pipeline] echo 06:00:54 ========================================================= 06:00:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:54 + git log --format=format:%s -1 4aae816fa3bc7ed15c0c146ae454eb567e00d77d [Pipeline] echo 06:00:54 [semverPrep] GIT_COMMIT: 4aae816fa3bc7ed15c0c146ae454eb567e00d77d, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 06:00:54 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:55 + grep -v github /etc/ssh/ssh_known_hosts 06:00:55 + [ -e /tmp/ssh_known_hosts ] 06:00:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:55 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:55 06:00:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:55 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:55 b85a868b505f: Pulling fs layer 06:00:55 e2be974225ed: Pulling fs layer 06:00:55 339a4e72a1f5: Pulling fs layer 06:00:55 988bab9f4d93: Pulling fs layer 06:00:55 1469e6f7b9e6: Pulling fs layer 06:00:55 eaf3925da568: Pulling fs layer 06:00:55 bab4dde63d76: Pulling fs layer 06:00:55 bde34c3a00c8: Pulling fs layer 06:00:55 b352a97aabf1: Pulling fs layer 06:00:55 4872d77fe225: Pulling fs layer 06:00:55 5851b861e8e6: Pulling fs layer 06:00:55 b352a97aabf1: Waiting 06:00:55 bde34c3a00c8: Waiting 06:00:55 bab4dde63d76: Waiting 06:00:55 4872d77fe225: Waiting 06:00:55 5851b861e8e6: Waiting 06:00:55 988bab9f4d93: Waiting 06:00:55 1469e6f7b9e6: Waiting 06:00:55 eaf3925da568: Waiting 06:00:55 e2be974225ed: Verifying Checksum 06:00:55 e2be974225ed: Download complete 06:00:55 988bab9f4d93: Download complete 06:00:55 1469e6f7b9e6: Verifying Checksum 06:00:55 1469e6f7b9e6: Download complete 06:00:56 339a4e72a1f5: Verifying Checksum 06:00:56 339a4e72a1f5: Download complete 06:00:56 eaf3925da568: Verifying Checksum 06:00:56 eaf3925da568: Download complete 06:00:56 bde34c3a00c8: Download complete 06:00:56 b352a97aabf1: Verifying Checksum 06:00:56 b352a97aabf1: Download complete 06:00:56 4872d77fe225: Verifying Checksum 06:00:56 4872d77fe225: Download complete 06:00:56 5851b861e8e6: Download complete 06:00:56 b85a868b505f: Verifying Checksum 06:00:56 b85a868b505f: Download complete 06:00:56 bab4dde63d76: Verifying Checksum 06:00:56 bab4dde63d76: Download complete 06:00:57 b85a868b505f: Pull complete 06:00:57 e2be974225ed: Pull complete 06:00:58 339a4e72a1f5: Pull complete 06:00:58 988bab9f4d93: Pull complete 06:00:58 1469e6f7b9e6: Pull complete 06:00:58 eaf3925da568: Pull complete 06:01:00 bab4dde63d76: Pull complete 06:01:00 bde34c3a00c8: Pull complete 06:01:00 b352a97aabf1: Pull complete 06:01:00 4872d77fe225: Pull complete 06:01:00 5851b861e8e6: Pull complete 06:01:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:01:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:01:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:00 prd-ubuntu20.04-docker-8c-8g-9140 does not seem to be running inside a container 06:01:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-459 -v /w/workspace/xfoundry_device-modbus-go_PR-459:/w/workspace/xfoundry_device-modbus-go_PR-459:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-459@tmp:/w/workspace/xfoundry_device-modbus-go_PR-459@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:01:02 $ docker top feed0b6961ebfe004a05c6eeb6fe5e5a9c8f6033ae2b7c26bbdc6602c976ec4b -eo pid,comm 06:01:02 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:01:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:01:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:02 [ssh-agent] Looking for ssh-agent implementation... 06:01:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:02 $ docker exec feed0b6961ebfe004a05c6eeb6fe5e5a9c8f6033ae2b7c26bbdc6602c976ec4b ssh-agent 06:01:03 SSH_AUTH_SOCK=/tmp/ssh-9XXqOYPrwCiq/agent.32 06:01:03 SSH_AGENT_PID=38 06:01:03 Running ssh-add (command line suppressed) 06:01:03 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-459@tmp/private_key_3875504262071821409.key (/w/workspace/xfoundry_device-modbus-go_PR-459@tmp/private_key_3875504262071821409.key) 06:01:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:03 + git tag --points-at HEAD [Pipeline] } 06:01:03 $ docker exec --env ******** --env ******** feed0b6961ebfe004a05c6eeb6fe5e5a9c8f6033ae2b7c26bbdc6602c976ec4b ssh-agent -k 06:01:03 unset SSH_AUTH_SOCK; 06:01:03 unset SSH_AGENT_PID; 06:01:03 echo Agent pid 38 killed; 06:01:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:01:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:03 [ssh-agent] Looking for ssh-agent implementation... 06:01:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:03 $ docker exec feed0b6961ebfe004a05c6eeb6fe5e5a9c8f6033ae2b7c26bbdc6602c976ec4b ssh-agent 06:01:03 SSH_AUTH_SOCK=/tmp/ssh-er51zQVxkNjc/agent.71 06:01:03 SSH_AGENT_PID=77 06:01:03 Running ssh-add (command line suppressed) 06:01:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-459@tmp/private_key_11524709933535399315.key (/w/workspace/xfoundry_device-modbus-go_PR-459@tmp/private_key_11524709933535399315.key) 06:01:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:04 + git semver init 06:01:04 2023-04-20 06:01:04,587 [run_init] DEBUG init version:0.0.0 force:False 06:01:04 2023-04-20 06:01:04,588 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-459/.semver 06:01:04 2023-04-20 06:01:04,589 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-459/.semver 06:01:04 2023-04-20 06:01:04,589 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-459/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-459, universal_newlines=False, shell=None, istream=None) 06:01:05 2023-04-20 06:01:05,357 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-459/.git/info/exclude 06:01:05 2023-04-20 06:01:05,358 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-459/.semver/PR-459 with force:False 06:01:05 2023-04-20 06:01:05,358 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-459/.semver/PR-459 06:01:05 2023-04-20 06:01:05,362 [execute] INFO git cat-file --batch-check 06:01:05 2023-04-20 06:01:05,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-459/.semver, universal_newlines=False, shell=None, istream=) 06:01:05 2023-04-20 06:01:05,367 [execute] INFO git cat-file --batch 06:01:05 2023-04-20 06:01:05,368 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-459/.semver, universal_newlines=False, shell=None, istream=) 06:01:05 2023-04-20 06:01:05,372 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-459/.semver/PR-459 06:01:05 0.0.0 [Pipeline] } 06:01:05 $ docker exec --env ******** --env ******** feed0b6961ebfe004a05c6eeb6fe5e5a9c8f6033ae2b7c26bbdc6602c976ec4b ssh-agent -k 06:01:05 unset SSH_AUTH_SOCK; 06:01:05 unset SSH_AGENT_PID; 06:01:05 echo Agent pid 77 killed; 06:01:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:01:06 + git semver [Pipeline] } 06:01:06 $ docker stop --time=1 feed0b6961ebfe004a05c6eeb6fe5e5a9c8f6033ae2b7c26bbdc6602c976ec4b 06:01:07 $ docker rm -f --volumes feed0b6961ebfe004a05c6eeb6fe5e5a9c8f6033ae2b7c26bbdc6602c976ec4b [Pipeline] // withDockerContainer [Pipeline] sh 06:01:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:01:08 Stashed 1 file(s) [Pipeline] echo 06:01:08 [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:01:09 provisioning config files... 06:01:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-459@tmp/config3047889859712988254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:09 ---> docker-login.sh 06:01:09 nexus3.edgexfoundry.org:10001 06:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:09 Configure a credential helper to remove this warning. See 06:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:09 06:01:09 Login Succeeded 06:01:09 nexus3.edgexfoundry.org:10002 06:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:09 Configure a credential helper to remove this warning. See 06:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:09 06:01:09 Login Succeeded 06:01:09 nexus3.edgexfoundry.org:10003 06:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:09 Configure a credential helper to remove this warning. See 06:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:09 06:01:09 Login Succeeded 06:01:09 nexus3.edgexfoundry.org:10004 06:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:09 Configure a credential helper to remove this warning. See 06:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:09 06:01:09 Login Succeeded 06:01:09 docker.io 06:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:09 Configure a credential helper to remove this warning. See 06:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:09 06:01:09 Login Succeeded 06:01:09 ---> docker-login.sh ends [Pipeline] } 06:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:10 ========================================================= 06:01:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:01:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:10 + 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:01:10 Sending build context to Docker daemon 6.456MB 06:01:10 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:01:10 Step 2/10 : FROM ${BASE} AS builder 06:01:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:01:10 63b65145d645: Pulling fs layer 06:01:10 a2d21d5440eb: Pulling fs layer 06:01:10 935e6c44a52c: Pulling fs layer 06:01:10 94cc34f8dd06: Pulling fs layer 06:01:10 30dea6a524f1: Pulling fs layer 06:01:10 a2aff8979fd8: Pulling fs layer 06:01:10 6808be2612f2: Pulling fs layer 06:01:10 f25807f1079a: Pulling fs layer 06:01:10 f25807f1079a: Waiting 06:01:10 6808be2612f2: Waiting 06:01:10 30dea6a524f1: Waiting 06:01:10 a2aff8979fd8: Waiting 06:01:10 94cc34f8dd06: Waiting 06:01:10 a2d21d5440eb: Verifying Checksum 06:01:10 a2d21d5440eb: Download complete 06:01:10 94cc34f8dd06: Download complete 06:01:10 30dea6a524f1: Download complete 06:01:11 63b65145d645: Verifying Checksum 06:01:11 63b65145d645: Download complete 06:01:11 a2aff8979fd8: Verifying Checksum 06:01:11 a2aff8979fd8: Download complete 06:01:11 63b65145d645: Pull complete 06:01:11 a2d21d5440eb: Pull complete 06:01:11 f25807f1079a: Download complete 06:01:11 935e6c44a52c: Verifying Checksum 06:01:11 935e6c44a52c: Download complete 06:01:11 6808be2612f2: Verifying Checksum 06:01:11 6808be2612f2: Download complete 06:01:15 935e6c44a52c: Pull complete 06:01:15 94cc34f8dd06: Pull complete 06:01:15 30dea6a524f1: Pull complete 06:01:15 a2aff8979fd8: Pull complete 06:01:16 6808be2612f2: Pull complete 06:01:17 f25807f1079a: Pull complete 06:01:17 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:01:17 ---> 3b553350e43f 06:01:17 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:01:21 ---> Running in 358a4948cab7 06:01:21 Removing intermediate container 358a4948cab7 06:01:21 ---> 5380e007182b 06:01:21 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:21 ---> Running in b297c7f496ae 06:01:22 Removing intermediate container b297c7f496ae 06:01:22 ---> df6569a92a1f 06:01:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:01:22 ---> Running in bfaaae156c5f 06:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:22 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:01:22 (2/8) Installing libedit (20221030.3.1-r0) 06:01:22 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:01:22 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:01:22 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:01:22 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:01:22 (7/8) Installing openssh-server (9.1_p1-r2) 06:01:22 (8/8) Installing openssh (9.1_p1-r2) 06:01:22 Executing busybox-1.35.0-r29.trigger 06:01:22 OK: 270 MiB in 61 packages 06:01:23 Removing intermediate container bfaaae156c5f 06:01:23 ---> c36381d0227d 06:01:23 Step 6/10 : WORKDIR /device-modbus-go 06:01:23 ---> Running in 1847db28b477 06:01:23 Removing intermediate container 1847db28b477 06:01:23 ---> 3f9b5791c72d 06:01:23 Step 7/10 : COPY go.mod vendor* ./ 06:01:23 ---> 74ad1c77b836 06:01:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:23 ---> Running in 27d8883c629a 06:01:23 Still waiting to schedule task 06:01:23 ‘prd-centos7-blackbox-4c-2g-8594’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:01:23 ‘prd-centos7-blackbox-4c-2g-8595’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:01:23 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9141’ is offline 06:02:10 Removing intermediate container 27d8883c629a 06:02:10 ---> a9da313886c5 06:02:10 Step 9/10 : COPY . . 06:02:10 ---> b81e27dddad8 06:02:10 Step 10/10 : RUN ${MAKE} 06:02:10 ---> Running in ebf16039951f 06:02:10 noop 06:02:10 Removing intermediate container ebf16039951f 06:02:10 ---> 480fb53fc7f2 06:02:10 Successfully built 480fb53fc7f2 06:02:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:10 + docker inspect -f . ci-base-image-x86_64 06:02:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:10 prd-ubuntu20.04-docker-8c-8g-9140 does not seem to be running inside a container 06:02:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-459 -v /w/workspace/xfoundry_device-modbus-go_PR-459:/w/workspace/xfoundry_device-modbus-go_PR-459:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-459@tmp:/w/workspace/xfoundry_device-modbus-go_PR-459@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:02:11 $ docker top 1c8c684324ed4220ec143779e6181d5f0e51edfa73dd7b56f117b466e9655fc6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:11 + go version 06:02:11 go version go1.20.2 linux/amd64 [Pipeline] } 06:02:11 $ docker stop --time=1 1c8c684324ed4220ec143779e6181d5f0e51edfa73dd7b56f117b466e9655fc6 06:02:12 $ docker rm -f --volumes 1c8c684324ed4220ec143779e6181d5f0e51edfa73dd7b56f117b466e9655fc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:13 + docker inspect -f . ci-base-image-x86_64 06:02:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:13 prd-ubuntu20.04-docker-8c-8g-9140 does not seem to be running inside a container 06:02:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-459 -v /w/workspace/xfoundry_device-modbus-go_PR-459:/w/workspace/xfoundry_device-modbus-go_PR-459:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-459@tmp:/w/workspace/xfoundry_device-modbus-go_PR-459@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:02:13 $ docker top 52049136e89ae35f43b753c55270c37943e805cfa906a75700f5055d28545203 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:14 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-459 [Pipeline] fileExists [Pipeline] sh 06:02:14 + make test 06:02:14 go test ./... -coverprofile=coverage.out 06:02:19 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:02:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:02:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements 06:02:34 go vet ./... 06:02:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:02:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:02:38 ./bin/test-attribution-txt.sh [Pipeline] echo 06:02:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:02:38 $ docker stop --time=1 52049136e89ae35f43b753c55270c37943e805cfa906a75700f5055d28545203 06:02:41 $ docker rm -f --volumes 52049136e89ae35f43b753c55270c37943e805cfa906a75700f5055d28545203 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:43 + ls -al . 06:02:43 total 180 06:02:43 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 06:02 . 06:02:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:00 .. 06:02:43 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 06:00 .dockerignore 06:02:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 06:01 .git 06:02:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:00 .github 06:02:43 -rw-rw-r-- 1 jenkins jenkins 331 Apr 20 06:00 .gitignore 06:02:43 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 06:00 .golangci.yml 06:02:43 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 06:01 .semver 06:02:43 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 20 06:00 Attribution.txt 06:02:43 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 20 06:00 CHANGELOG.md 06:02:43 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 20 06:00 Dockerfile 06:02:43 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 06:00 GOVERNANCE.md 06:02:43 -rw-rw-r-- 1 jenkins jenkins 680 Apr 20 06:00 Jenkinsfile 06:02:43 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 06:00 LICENSE 06:02:43 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 20 06:00 Makefile 06:02:43 -rw-rw-r-- 1 jenkins jenkins 622 Apr 20 06:00 OWNERS.md 06:02:43 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 20 06:00 README.md 06:02:43 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 06:01 VERSION 06:02:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:00 bin 06:02:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:00 cmd 06:02:43 -rw-r--r-- 1 jenkins jenkins 24160 Apr 20 06:02 coverage.out 06:02:43 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 20 06:00 go.mod 06:02:43 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 20 06:00 go.sum 06:02:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:00 internal 06:02:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:00 simulator 06:02:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:00 snap 06:02:43 -rw-rw-r-- 1 jenkins jenkins 229 Apr 20 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:43 + 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=4aae816fa3bc7ed15c0c146ae454eb567e00d77d --label arch=amd64 --label version=0.0.0 . 06:02:43 Sending build context to Docker daemon 6.481MB 06:02:43 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:02:43 Step 2/22 : FROM ${BASE} AS builder 06:02:43 ---> 480fb53fc7f2 06:02:43 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:02:43 ---> Running in b5c1520d0592 06:02:43 Removing intermediate container b5c1520d0592 06:02:43 ---> 58176cdb8a2b 06:02:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:43 ---> Running in 811725cbe650 06:02:43 Removing intermediate container 811725cbe650 06:02:43 ---> 452e167d21cb 06:02:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:02:43 ---> Running in f35536426cec 06:02:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:02:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:02:44 OK: 270 MiB in 61 packages 06:02:44 Removing intermediate container f35536426cec 06:02:44 ---> a38442c5111b 06:02:44 Step 6/22 : WORKDIR /device-modbus-go 06:02:44 ---> Running in c0d0330d2239 06:02:44 Removing intermediate container c0d0330d2239 06:02:44 ---> 4096e65b9586 06:02:44 Step 7/22 : COPY go.mod vendor* ./ 06:02:45 ---> ffffac64cc08 06:02:45 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:45 ---> Running in 098b217dd8e7 06:02:45 Removing intermediate container 098b217dd8e7 06:02:45 ---> c31084f8da2a 06:02:45 Step 9/22 : COPY . . 06:02:46 ---> cab03d96b048 06:02:46 Step 10/22 : RUN ${MAKE} 06:02:46 ---> Running in a992d626f73a 06:02:46 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:03:08 Removing intermediate container a992d626f73a 06:03:08 ---> 3d18f7938f97 06:03:08 Step 11/22 : FROM alpine:3.17 06:03:08 3.17: Pulling from library/alpine 06:03:08 f56be85fc22e: Pulling fs layer 06:03:08 f56be85fc22e: Verifying Checksum 06:03:08 f56be85fc22e: Download complete 06:03:08 f56be85fc22e: Pull complete 06:03:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:03:08 Status: Downloaded newer image for alpine:3.17 06:03:08 ---> 9ed4aefc74f6 06:03:08 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:03:08 ---> Running in 57bc4f3ad3ea 06:03:08 Removing intermediate container 57bc4f3ad3ea 06:03:08 ---> dc7b62d345b6 06:03:08 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:03:08 ---> Running in 57e3131fc59e 06:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:03:08 (1/1) Installing dumb-init (1.2.5-r2) 06:03:08 Executing busybox-1.35.0-r29.trigger 06:03:08 OK: 7 MiB in 16 packages 06:03:08 Removing intermediate container 57e3131fc59e 06:03:08 ---> 86be05e90870 06:03:08 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:03:08 ---> 021f578d4722 06:03:08 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:03:08 ---> 68c7fe878874 06:03:08 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:03:08 ---> d195a7e2e191 06:03:08 Step 17/22 : EXPOSE 59901 06:03:08 ---> Running in c590767b05c2 06:03:08 Removing intermediate container c590767b05c2 06:03:08 ---> 4460e4245fea 06:03:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:03:08 ---> Running in a04403a50667 06:03:08 Removing intermediate container a04403a50667 06:03:08 ---> 4a72e6760bff 06:03:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:03:08 ---> Running in a479f96c6fd6 06:03:08 Removing intermediate container a479f96c6fd6 06:03:08 ---> 7b4a3df4cbe1 06:03:08 Step 20/22 : LABEL arch=amd64 06:03:08 ---> Running in a3b4c2a2b87c 06:03:08 Removing intermediate container a3b4c2a2b87c 06:03:08 ---> aae310f4109e 06:03:08 Step 21/22 : LABEL git_sha=4aae816fa3bc7ed15c0c146ae454eb567e00d77d 06:03:08 ---> Running in 5def9193a9dd 06:03:08 Removing intermediate container 5def9193a9dd 06:03:08 ---> 41286c115363 06:03:08 Step 22/22 : LABEL version=0.0.0 06:03:08 ---> Running in 08298f470c49 06:03:08 Removing intermediate container 08298f470c49 06:03:08 ---> a2efad2551b8 06:03:08 [Warning] One or more build-args [ARCH] were not consumed 06:03:08 Successfully built a2efad2551b8 06:03:08 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:03:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:09 06:03:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:09 latest: Pulling from edgex-lftools-log-publisher 06:03:09 5eb5b503b376: Pulling fs layer 06:03:09 5c69ac0246d0: Pulling fs layer 06:03:09 ec43610c2a17: Pulling fs layer 06:03:09 3a2ae6a8a46f: Pulling fs layer 06:03:09 33b1e0a273af: Pulling fs layer 06:03:09 5d3b04190fa2: Pulling fs layer 06:03:09 2f39f015ded8: Pulling fs layer 06:03:09 3a2ae6a8a46f: Waiting 06:03:09 33b1e0a273af: Waiting 06:03:09 5d3b04190fa2: Waiting 06:03:09 2f39f015ded8: Waiting 06:03:09 5c69ac0246d0: Download complete 06:03:09 3a2ae6a8a46f: Verifying Checksum 06:03:09 3a2ae6a8a46f: Download complete 06:03:09 33b1e0a273af: Verifying Checksum 06:03:09 33b1e0a273af: Download complete 06:03:09 ec43610c2a17: Verifying Checksum 06:03:09 ec43610c2a17: Download complete 06:03:09 5d3b04190fa2: Verifying Checksum 06:03:09 5d3b04190fa2: Download complete 06:03:09 5eb5b503b376: Verifying Checksum 06:03:09 5eb5b503b376: Download complete 06:03:10 2f39f015ded8: Download complete 06:03:10 5eb5b503b376: Pull complete 06:03:11 5c69ac0246d0: Pull complete 06:03:11 ec43610c2a17: Pull complete 06:03:11 3a2ae6a8a46f: Pull complete 06:03:11 33b1e0a273af: Pull complete 06:03:11 5d3b04190fa2: Pull complete 06:03:15 2f39f015ded8: Pull complete 06:03:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:03:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:16 prd-ubuntu20.04-docker-8c-8g-9140 does not seem to be running inside a container 06:03:16 $ 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-459 -v /w/workspace/xfoundry_device-modbus-go_PR-459:/w/workspace/xfoundry_device-modbus-go_PR-459:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-459@tmp:/w/workspace/xfoundry_device-modbus-go_PR-459@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:03:19 $ docker top 3bf839291115bf6a5aebc4caea983de3fe813050ca452e327f3ba7d74f018bb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:19 ---> job-cost.sh 06:03:19 lf-activate-venv: SKIPPING 06:03:19 INFO: No Stack... 06:03:19 INFO: Retrieving Pricing Info for: v3-standard-8 06:03:20 INFO: Archiving Costs [Pipeline] sh 06:03:20 + cat /w/workspace/xfoundry_device-modbus-go_PR-459/archives/cost.csv 06:03:20 + cut -d, -f6 [Pipeline] lock 06:03:20 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-459-1-stack-cost] 06:03:20 Resource [jenkins-edgexfoundry-device-modbus-go-PR-459-1-stack-cost] did not exist. Created. 06:03:20 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-459-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:20 + echo total: 0.2199999988079071 [Pipeline] stash 06:03:20 Stashed 1 file(s) [Pipeline] } 06:03:20 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-459-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:03:21 $ docker stop --time=1 3bf839291115bf6a5aebc4caea983de3fe813050ca452e327f3ba7d74f018bb8 06:03:22 $ docker rm -f --volumes 3bf839291115bf6a5aebc4caea983de3fe813050ca452e327f3ba7d74f018bb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9143 in /w/workspace/xfoundry_device-modbus-go_PR-459 [Pipeline] { [Pipeline] ws 06:03:58 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:03:59 Selected Git installation does not exist. Using Default 06:03:59 The recommended git tool is: NONE 06:04:05 using credential edgex-jenkins-ssh 06:04:05 Cloning the remote Git repository 06:04:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:04:05 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:04:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:04:05 > git --version # timeout=10 06:04:05 > git --version # 'git version 2.25.1' 06:04:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:04:08 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:04:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:04:10 Merging remotes/origin/main commit 1a68168e1b466f81fb38e733dbe2211c06120b2a into PR head commit 4aae816fa3bc7ed15c0c146ae454eb567e00d77d 06:04:10 Merge succeeded, producing 4aae816fa3bc7ed15c0c146ae454eb567e00d77d 06:04:10 Checking out Revision 4aae816fa3bc7ed15c0c146ae454eb567e00d77d (PR-459) 06:04:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:04:09 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:04:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:04:10 > git config core.sparsecheckout # timeout=10 06:04:10 > git checkout -f 4aae816fa3bc7ed15c0c146ae454eb567e00d77d # timeout=10 06:04:10 > git remote # timeout=10 06:04:10 > git config --get remote.origin.url # timeout=10 06:04:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:10 > git merge 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 06:04:10 > git rev-parse HEAD^{commit} # timeout=10 06:04:10 > git config core.sparsecheckout # timeout=10 06:04:10 > git checkout -f 4aae816fa3bc7ed15c0c146ae454eb567e00d77d # timeout=10 06:04:10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 06:04:10 > git --version # timeout=10 06:04:10 > git --version # 'git version 2.25.1' 06:04:11 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:04:12 % Total % Received % Xferd Average Speed Time Time Time Current 06:04:12 Dload Upload Total Spent Left Speed 06:04:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 06:04:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:04:13 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 06:04:13 /etc/docker/daemon.new 06:04:13 { 06:04:13 "registry-mirrors": [ 06:04:13 "https://nexus3.edgexfoundry.org:10001" 06:04:13 ], 06:04:13 "bip": "10.250.0.254/24", 06:04:13 "hosts": [ 06:04:13 "tcp://0.0.0.0:5555", 06:04:13 "unix:///var/run/docker.sock" 06:04:13 ], 06:04:13 "mtu": 1458, 06:04:13 "selinux-enabled": true, 06:04:13 "seccomp-profile": "/etc/docker/seccomp.json" 06:04:13 } [Pipeline] sh 06:04:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:04:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:32 provisioning config files... 06:04:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8881933824249389272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:32 ---> docker-login.sh 06:04:32 nexus3.edgexfoundry.org:10001 06:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:33 Configure a credential helper to remove this warning. See 06:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:33 06:04:33 Login Succeeded 06:04:33 nexus3.edgexfoundry.org:10002 06:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:33 Configure a credential helper to remove this warning. See 06:04:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:33 06:04:33 Login Succeeded 06:04:33 nexus3.edgexfoundry.org:10003 06:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:34 Configure a credential helper to remove this warning. See 06:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:34 06:04:34 Login Succeeded 06:04:34 nexus3.edgexfoundry.org:10004 06:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:34 Configure a credential helper to remove this warning. See 06:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:34 06:04:34 Login Succeeded 06:04:34 docker.io 06:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:34 Configure a credential helper to remove this warning. See 06:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:34 06:04:34 Login Succeeded 06:04:34 ---> docker-login.sh ends [Pipeline] } 06:04:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:35 ========================================================= 06:04:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:04:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:35 + 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:04:36 Sending build context to Docker daemon 3.372MB 06:04:36 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:04:36 Step 2/10 : FROM ${BASE} AS builder 06:04:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:04:36 af6eaf76a39c: Pulling fs layer 06:04:36 55522c791124: Pulling fs layer 06:04:36 ce5c4a1c91eb: Pulling fs layer 06:04:36 169dfbe0d373: Pulling fs layer 06:04:36 e1ff8fa3b103: Pulling fs layer 06:04:36 52ebb69f0ebf: Pulling fs layer 06:04:36 5abe8eddf0d5: Pulling fs layer 06:04:36 169dfbe0d373: Waiting 06:04:36 e1ff8fa3b103: Waiting 06:04:36 5abe8eddf0d5: Waiting 06:04:36 52ebb69f0ebf: Waiting 06:04:36 55522c791124: Verifying Checksum 06:04:36 55522c791124: Download complete 06:04:36 169dfbe0d373: Download complete 06:04:36 e1ff8fa3b103: Verifying Checksum 06:04:36 e1ff8fa3b103: Download complete 06:04:36 af6eaf76a39c: Verifying Checksum 06:04:37 af6eaf76a39c: Pull complete 06:04:37 5abe8eddf0d5: Verifying Checksum 06:04:37 5abe8eddf0d5: Download complete 06:04:38 55522c791124: Pull complete 06:04:38 ce5c4a1c91eb: Verifying Checksum 06:04:38 ce5c4a1c91eb: Download complete 06:04:38 52ebb69f0ebf: Verifying Checksum 06:04:38 52ebb69f0ebf: Download complete 06:04:51 ce5c4a1c91eb: Pull complete 06:04:51 169dfbe0d373: Pull complete 06:04:51 e1ff8fa3b103: Pull complete 06:04:58 52ebb69f0ebf: Pull complete 06:04:59 5abe8eddf0d5: Pull complete 06:04:59 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:05:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:05:00 ---> 6cb57ee374ae 06:05:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:05:01 ---> Running in 9c8a441e7a3c 06:05:01 Removing intermediate container 9c8a441e7a3c 06:05:01 ---> 1430d4e693dc 06:05:01 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:01 ---> Running in d3c3a666ad3f 06:05:01 Removing intermediate container d3c3a666ad3f 06:05:01 ---> fd0f11a35cad 06:05:01 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:05:01 ---> Running in 47c1304062d3 06:05:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:05:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:05:04 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:05:04 (2/8) Installing libedit (20221030.3.1-r0) 06:05:04 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:05:04 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:05:04 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:05:04 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:05:04 (7/8) Installing openssh-server (9.1_p1-r2) 06:05:04 (8/8) Installing openssh (9.1_p1-r2) 06:05:04 Executing busybox-1.35.0-r29.trigger 06:05:04 OK: 270 MiB in 61 packages 06:05:06 Removing intermediate container 47c1304062d3 06:05:06 ---> b0b7d8fa3af3 06:05:06 Step 6/10 : WORKDIR /device-modbus-go 06:05:06 ---> Running in 8274e389b702 06:05:06 Removing intermediate container 8274e389b702 06:05:06 ---> dccc68d626ed 06:05:06 Step 7/10 : COPY go.mod vendor* ./ 06:05:07 ---> 45765fc968d0 06:05:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:07 ---> Running in b58bf73be482 06:06:30 Removing intermediate container b58bf73be482 06:06:30 ---> a5409cbdcb23 06:06:30 Step 9/10 : COPY . . 06:06:30 ---> efd7c7a5c1af 06:06:30 Step 10/10 : RUN ${MAKE} 06:06:30 ---> Running in cb404510d434 06:06:30 noop 06:06:30 Removing intermediate container cb404510d434 06:06:30 ---> f97491a29961 06:06:30 Successfully built f97491a29961 06:06:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:31 + docker inspect -f . ci-base-image-arm64 06:06:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:31 prd-ubuntu20.04-docker-arm64-4c-16g-9143 does not seem to be running inside a container 06:06:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:06:33 $ docker top 23b610525f23de05b6f3130fda33fab13ae38b9831d4524a5443a8b768306d9e -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:33 + go version 06:06:33 go version go1.20.2 linux/arm64 [Pipeline] } 06:06:34 $ docker stop --time=1 23b610525f23de05b6f3130fda33fab13ae38b9831d4524a5443a8b768306d9e 06:06:37 $ docker rm -f --volumes 23b610525f23de05b6f3130fda33fab13ae38b9831d4524a5443a8b768306d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:38 + docker inspect -f . ci-base-image-arm64 06:06:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:38 prd-ubuntu20.04-docker-arm64-4c-16g-9143 does not seem to be running inside a container 06:06:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:06:39 $ docker top 0d8721f824f2568405429dc82a64ccc3ba2218a286a2bc35c872c5f35a36a155 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:40 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:06:41 + make test 06:06:41 go test ./... -coverprofile=coverage.out 06:07:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:09:42 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:09:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.4% of statements 06:09:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:09:42 go vet ./... 06:10:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:10:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:10:00 ./bin/test-attribution-txt.sh [Pipeline] echo 06:10:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:10:00 $ docker stop --time=1 0d8721f824f2568405429dc82a64ccc3ba2218a286a2bc35c872c5f35a36a155 06:10:02 $ docker rm -f --volumes 0d8721f824f2568405429dc82a64ccc3ba2218a286a2bc35c872c5f35a36a155 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:10:03 Warning: overwriting stash ‘coverage-report’ 06:10:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:05 + ls -al . 06:10:05 total 176 06:10:05 drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 06:06 . 06:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:04 .. 06:10:05 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 06:04 .dockerignore 06:10:05 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 06:04 .git 06:10:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:04 .github 06:10:05 -rw-rw-r-- 1 jenkins jenkins 331 Apr 20 06:04 .gitignore 06:10:05 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 06:04 .golangci.yml 06:10:05 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 20 06:04 Attribution.txt 06:10:05 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 20 06:04 CHANGELOG.md 06:10:05 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 20 06:04 Dockerfile 06:10:05 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 06:04 GOVERNANCE.md 06:10:05 -rw-rw-r-- 1 jenkins jenkins 680 Apr 20 06:04 Jenkinsfile 06:10:05 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 06:04 LICENSE 06:10:05 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 20 06:04 Makefile 06:10:05 -rw-rw-r-- 1 jenkins jenkins 622 Apr 20 06:04 OWNERS.md 06:10:05 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 20 06:04 README.md 06:10:05 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 06:01 VERSION 06:10:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:04 bin 06:10:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:04 cmd 06:10:05 -rw-r--r-- 1 jenkins jenkins 24160 Apr 20 06:09 coverage.out 06:10:05 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 20 06:04 go.mod 06:10:05 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 20 06:04 go.sum 06:10:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 06:04 internal 06:10:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 06:04 simulator 06:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 06:04 snap 06:10:05 -rw-rw-r-- 1 jenkins jenkins 229 Apr 20 06:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:05 + 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=4aae816fa3bc7ed15c0c146ae454eb567e00d77d --label arch=arm64 --label version=0.0.0 . 06:10:06 Sending build context to Docker daemon 3.397MB 06:10:06 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:10:06 Step 2/22 : FROM ${BASE} AS builder 06:10:06 ---> f97491a29961 06:10:06 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:10:06 ---> Running in b6438073f28a 06:10:06 Removing intermediate container b6438073f28a 06:10:06 ---> 5436996dd826 06:10:06 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:10:06 ---> Running in 764ed7dc550a 06:10:06 Removing intermediate container 764ed7dc550a 06:10:06 ---> 40564c73d931 06:10:06 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:10:06 ---> Running in 2afe11eb9552 06:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:10:09 OK: 270 MiB in 61 packages 06:10:10 Removing intermediate container 2afe11eb9552 06:10:10 ---> b0328f5eb66d 06:10:10 Step 6/22 : WORKDIR /device-modbus-go 06:10:10 ---> Running in b1563a6bdeac 06:10:10 Removing intermediate container b1563a6bdeac 06:10:10 ---> f9936f58d7d7 06:10:10 Step 7/22 : COPY go.mod vendor* ./ 06:10:12 ---> 0885223eae27 06:10:12 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:12 ---> Running in 8c7c41f75454 06:10:15 Removing intermediate container 8c7c41f75454 06:10:15 ---> ac00862edcd7 06:10:15 Step 9/22 : COPY . . 06:10:16 ---> d0dca3f399b7 06:10:16 Step 10/22 : RUN ${MAKE} 06:10:16 ---> Running in f20a0bda7481 06:10:17 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:12:38 Removing intermediate container f20a0bda7481 06:12:38 ---> 97ab9d738385 06:12:38 Step 11/22 : FROM alpine:3.17 06:12:38 3.17: Pulling from library/alpine 06:12:38 c41833b44d91: Pulling fs layer 06:12:38 c41833b44d91: Verifying Checksum 06:12:38 c41833b44d91: Download complete 06:12:38 c41833b44d91: Pull complete 06:12:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:12:38 Status: Downloaded newer image for alpine:3.17 06:12:38 ---> 51e60588ff2c 06:12:38 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:12:38 ---> Running in af65613178c2 06:12:38 Removing intermediate container af65613178c2 06:12:38 ---> 9afd0e68ae9a 06:12:38 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:12:38 ---> Running in 6ae0e6597e35 06:12:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:12:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:12:38 (1/1) Installing dumb-init (1.2.5-r2) 06:12:38 Executing busybox-1.35.0-r29.trigger 06:12:38 OK: 8 MiB in 16 packages 06:12:38 Removing intermediate container 6ae0e6597e35 06:12:38 ---> cf272f002c67 06:12:38 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:12:38 ---> d2d92e5518ac 06:12:38 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:12:38 ---> 45f3044cdbab 06:12:38 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:12:39 ---> a63cab6104a2 06:12:39 Step 17/22 : EXPOSE 59901 06:12:39 ---> Running in d36626cc6a69 06:12:39 Removing intermediate container d36626cc6a69 06:12:39 ---> cafd97815737 06:12:39 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:12:39 ---> Running in f688f119e059 06:12:39 Removing intermediate container f688f119e059 06:12:39 ---> e4f4a0bba42a 06:12:39 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:12:39 ---> Running in 3865e9db3785 06:12:40 Removing intermediate container 3865e9db3785 06:12:40 ---> 13c241772940 06:12:40 Step 20/22 : LABEL arch=arm64 06:12:40 ---> Running in e241f26c378d 06:12:40 Removing intermediate container e241f26c378d 06:12:40 ---> 8066c195be9f 06:12:40 Step 21/22 : LABEL git_sha=4aae816fa3bc7ed15c0c146ae454eb567e00d77d 06:12:40 ---> Running in 95a1dffa8fc3 06:12:40 Removing intermediate container 95a1dffa8fc3 06:12:40 ---> f27558c7b2d6 06:12:40 Step 22/22 : LABEL version=0.0.0 06:12:40 ---> Running in 4e6dfa506ac2 06:12:41 Removing intermediate container 4e6dfa506ac2 06:12:41 ---> 99b2c07363c4 06:12:41 [Warning] One or more build-args [ARCH] were not consumed 06:12:41 Successfully built 99b2c07363c4 06:12:41 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:12:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:41 06:12:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:42 arm64: Pulling from edgex-lftools-log-publisher 06:12:42 8998bd30e6a1: Pulling fs layer 06:12:42 04944245beec: Pulling fs layer 06:12:42 699f458cf7ca: Pulling fs layer 06:12:42 765212b225bb: Pulling fs layer 06:12:42 f23df028b6ca: Pulling fs layer 06:12:42 d65c8cfc05b1: Pulling fs layer 06:12:42 2437ff75d9bd: Pulling fs layer 06:12:42 765212b225bb: Waiting 06:12:42 f23df028b6ca: Waiting 06:12:42 d65c8cfc05b1: Waiting 06:12:42 2437ff75d9bd: Waiting 06:12:42 04944245beec: Verifying Checksum 06:12:42 04944245beec: Download complete 06:12:42 765212b225bb: Verifying Checksum 06:12:42 765212b225bb: Download complete 06:12:42 f23df028b6ca: Verifying Checksum 06:12:42 f23df028b6ca: Download complete 06:12:42 d65c8cfc05b1: Verifying Checksum 06:12:42 d65c8cfc05b1: Download complete 06:12:42 699f458cf7ca: Verifying Checksum 06:12:42 699f458cf7ca: Download complete 06:12:43 8998bd30e6a1: Verifying Checksum 06:12:43 8998bd30e6a1: Download complete 06:12:45 2437ff75d9bd: Verifying Checksum 06:12:45 2437ff75d9bd: Download complete 06:12:47 8998bd30e6a1: Pull complete 06:12:47 04944245beec: Pull complete 06:12:49 699f458cf7ca: Pull complete 06:12:49 765212b225bb: Pull complete 06:12:50 f23df028b6ca: Pull complete 06:12:50 d65c8cfc05b1: Pull complete 06:13:05 2437ff75d9bd: Pull complete 06:13:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:13:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:13:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:05 prd-ubuntu20.04-docker-arm64-4c-16g-9143 does not seem to be running inside a container 06:13:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:13:08 $ docker top 41f0c832d4d06832041566339826d79023dbea48b5ce0acf4e1783d5629b9548 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:08 ---> job-cost.sh 06:13:08 lf-activate-venv: SKIPPING 06:13:08 INFO: No Stack... 06:13:09 INFO: Retrieving Pricing Info for: v3-standard-4 06:13:10 INFO: Archiving Costs [Pipeline] sh 06:13:10 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:13:10 + cut -d, -f6 [Pipeline] lock 06:13:10 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-459-1-stack-cost] 06:13:10 Resource [jenkins-edgexfoundry-device-modbus-go-PR-459-1-stack-cost] did not exist. Created. 06:13:10 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-459-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:13:11 /w/workspace/device-modbus-go/1@tmp/durable-a5dabe86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:13:11 + echo total: 0.10999999940395355 [Pipeline] stash 06:13:11 Warning: overwriting stash ‘stack-cost’ 06:13:11 Stashed 1 file(s) [Pipeline] } 06:13:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-459-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:13:11 $ docker stop --time=1 41f0c832d4d06832041566339826d79023dbea48b5ce0acf4e1783d5629b9548 06:13:13 $ docker rm -f --volumes 41f0c832d4d06832041566339826d79023dbea48b5ce0acf4e1783d5629b9548 [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:13:14 provisioning config files... 06:13:14 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-459@tmp/config18191802259358240059tmp [Pipeline] { [Pipeline] sh 06:13:14 + set +x 06:13:14 + curl -s https://codecov.io/bash 06:13:14 + bash -s -- 06:13:14 06:13:14 _____ _ 06:13:14 / ____| | | 06:13:14 | | ___ __| | ___ ___ _____ __ 06:13:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:13:14 | |___| (_) | (_| | __/ (_| (_) \ V / 06:13:14 \_____\___/ \__,_|\___|\___\___/ \_/ 06:13:14 Bash-1.0.6 06:13:14 06:13:14 06:13:14 ==> git version 2.25.1 found 06:13:14 ==> 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:13:14 Release-Date: 2020-01-08 06:13:14 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:13:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:13:14 ==> Jenkins CI detected. 06:13:14 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-459 06:13:14 project root: . 06:13:14 --> token set from env 06:13:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:13:14 ==> Running gcov in . (disable via -X gcov) 06:13:14 ==> Python coveragepy not found 06:13:14 ==> Searching for coverage reports in: 06:13:14 + . 06:13:14 -> Found 1 reports 06:13:14 ==> Detecting git/mercurial file structure 06:13:14 ==> Reading reports 06:13:14 + ./coverage.out bytes=24160 06:13:14 ==> Appending adjustments 06:13:14 https://docs.codecov.io/docs/fixing-reports 06:13:14 + Found adjustments 06:13:14 ==> Gzipping contents 06:13:14 4.0K /tmp/codecov.DVDNEh.gz 06:13:14 ==> Uploading reports 06:13:14 url: https://codecov.io 06:13:14 query: branch=PR-459&commit=4aae816fa3bc7ed15c0c146ae454eb567e00d77d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-459%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=459&job=&cmd_args= 06:13:14 -> Pinging Codecov 06:13:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-459&commit=4aae816fa3bc7ed15c0c146ae454eb567e00d77d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-459%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=459&job=&cmd_args= 06:13:14 -> Uploading to 06:13:14 https://storage.googleapis.com/codecov/v4/raw/2023-04-20/55DBCA73C666E3227836607328DD7E49/4aae816fa3bc7ed15c0c146ae454eb567e00d77d/57d07dbb-114d-4bbb-b285-20f69b9d593f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230420T061314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4574ad003fe36dc328d8746d09e9854275ab3af6a1f5f8924cabdf6b650e097a 06:13:14 % Total % Received % Xferd Average Speed Time Time Time Current 06:13:14 Dload Upload Total Spent Left Speed 06:13:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18597 --:--:-- --:--:-- --:--:-- 18597 06:13:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/4aae816fa3bc7ed15c0c146ae454eb567e00d77d [Pipeline] } 06:13:15 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:13:16 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-459/archives ] 06:13:16 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-459/archives 06:13:16 total 16 06:13:16 drwxr-xr-x 3 root root 4096 Apr 20 06:03 . 06:13:16 drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 06:03 .. 06:13:16 drwxr-xr-x 2 root root 4096 Apr 20 06:03 cost 06:13:16 -rw-r--r-- 1 root root 88 Apr 20 06:03 cost.csv 06:13:16 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-459/archives 06:13:16 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-459/archives 06:13:16 total 16 06:13:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 06:03 . 06:13:16 drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 06:03 .. 06:13:16 drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 06:03 cost 06:13:16 -rw-r--r-- 1 jenkins jenkins 88 Apr 20 06:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:13:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:13:18 ---> package-listing.sh 06:13:18 ++ tr '[:upper:]' '[:lower:]' 06:13:18 ++ facter osfamily 06:13:18 + OS_FAMILY=debian 06:13:18 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-459 06:13:18 + START_PACKAGES=/tmp/packages_start.txt 06:13:18 + END_PACKAGES=/tmp/packages_end.txt 06:13:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:13:18 + PACKAGES=/tmp/packages_start.txt 06:13:18 + '[' /w/workspace/xfoundry_device-modbus-go_PR-459 ']' 06:13:18 + PACKAGES=/tmp/packages_end.txt 06:13:18 + case "${OS_FAMILY}" in 06:13:18 + dpkg -l 06:13:18 + grep '^ii' 06:13:18 + '[' -f /tmp/packages_start.txt ']' 06:13:18 + '[' -f /tmp/packages_end.txt ']' 06:13:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:13:18 + '[' /w/workspace/xfoundry_device-modbus-go_PR-459 ']' 06:13:18 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-459/archives/ 06:13:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-459/archives/ [Pipeline] echo 06:13:18 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-459/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:13:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:19 prd-ubuntu20.04-docker-8c-8g-9140 does not seem to be running inside a container 06:13:19 $ 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-459/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-459 -v /w/workspace/xfoundry_device-modbus-go_PR-459:/w/workspace/xfoundry_device-modbus-go_PR-459:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-459@tmp:/w/workspace/xfoundry_device-modbus-go_PR-459@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:13:19 $ docker top ec7f5dd80cb37684f38d1bc0e01cdf30d0919f838f3d14b275cad93d7241ddeb -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:20 + touch /tmp/pre-build-complete [Pipeline] sh 06:13:20 + mkdir -p /var/log/sysstat [Pipeline] sh 06:13:20 + ls /var/log/sa-host 06:13:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:20 provisioning config files... 06:13:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-459@tmp/config13830224605441843442tmp [Pipeline] { [Pipeline] echo 06:13:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:13:21 ---> create-netrc.sh [Pipeline] } 06:13:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:13:21 ---> python-tools-install.sh [Pipeline] echo 06:13:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:13:22 ---> sudo-logs.sh 06:13:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:13:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:13:22 ---> job-cost.sh 06:13:22 lf-activate-venv: SKIPPING 06:13:22 DEBUG: total: 0.2199999988079071 06:13:22 INFO: Retrieving Stack Cost... 06:13:22 INFO: Retrieving Pricing Info for: v3-standard-8 06:13:23 INFO: Archiving Costs [Pipeline] echo 06:13:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:13:23 ---> logs-deploy.sh 06:13:23 lf-activate-venv: SKIPPING 06:13:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-459/1 06:13:23 INFO: archiving workspace using pattern(s): 06:13:24 Archives upload complete. 06:13:24 INFO: archiving logs to Nexus