Pull request #457 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1+640aa887e9955506bed08a06d24af596cf944b9d (b68f4fd7293565e80a38f2dc603bbf620b9f342b) 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-ssh11744806577024229773.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-ssh3960582147079960799.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-457/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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5691741462103164963.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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3847381586557852213.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-ssh6639425476077612505.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-457/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-457/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15454138080634563822.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8870 in /w/workspace/xfoundry_device-modbus-go_PR-457 [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-457 # 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/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 640aa887e9955506bed08a06d24af596cf944b9d into PR head commit 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 Merge succeeded, producing 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 Checking out Revision 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 (PR-457) > git config core.sparsecheckout # timeout=10 > git checkout -f 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 # 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 640aa887e9955506bed08a06d24af596cf944b9d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 # timeout=10 Commit message: "build(deps): bump device-sdk-go version" 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 05:13:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:13:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:13:22 ========================================================= 05:13:22 EdgeX Global Pipelines Version Info 05:13:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:13:23 ------------------- 05:13:23 stable info: 05:13:23 ------------------- 05:13:23 Commited By: Bill Mahoney bill.mahoney@intel.com 05:13:23 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:13:23 Message: update stable to v1.0.248 05:13:24 ------------------- 05:13:24 experimental info: 05:13:24 ------------------- 05:13:24 Commited By: **** collab-it+edgex@linuxfoundation.org 05:13:24 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:13:24 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:13:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-457 [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-457 [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-457 [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cfbd64 [Pipeline] echo 05:13:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:25 provisioning config files... 05:13:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/config11445560149921017192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:26 ---> docker-login.sh 05:13:26 nexus3.edgexfoundry.org:10001 05:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:26 Configure a credential helper to remove this warning. See 05:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:26 05:13:26 Login Succeeded 05:13:26 nexus3.edgexfoundry.org:10002 05:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:26 Configure a credential helper to remove this warning. See 05:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:26 05:13:26 Login Succeeded 05:13:26 nexus3.edgexfoundry.org:10003 05:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:26 Configure a credential helper to remove this warning. See 05:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:26 05:13:26 Login Succeeded 05:13:26 nexus3.edgexfoundry.org:10004 05:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:26 Configure a credential helper to remove this warning. See 05:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:26 05:13:26 Login Succeeded 05:13:26 docker.io 05:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:27 Configure a credential helper to remove this warning. See 05:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:27 05:13:27 Login Succeeded 05:13:27 ---> docker-login.sh ends [Pipeline] } 05:13:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:13:27 + git rev-list -1 --merges 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1~1..1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] echo 05:13:27 -----------> git rev-list -1 --merges 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1~1..1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [false] [Pipeline] sh 05:13:28 + git log --format=format:%s -1 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] echo 05:13:28 ========================================================= 05:13:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:13:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:28 + git log --format=format:%s -1 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] echo 05:13:28 [semverPrep] GIT_COMMIT: 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1, Commit Message: build(deps): bump device-sdk-go version [Pipeline] echo 05:13:28 [semverPrep] This is not a build commit. [Pipeline] sh 05:13:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:13:29 + grep -v github /etc/ssh/ssh_known_hosts 05:13:29 + [ -e /tmp/ssh_known_hosts ] 05:13:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:13:29 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:13:29 sudo tee -a /etc/ssh/ssh_known_hosts 05:13:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:29 05:13:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:29 0.1.4: Pulling from edgex-devops/py-git-semver 05:13:29 b85a868b505f: Pulling fs layer 05:13:29 e2be974225ed: Pulling fs layer 05:13:29 339a4e72a1f5: Pulling fs layer 05:13:29 988bab9f4d93: Pulling fs layer 05:13:29 1469e6f7b9e6: Pulling fs layer 05:13:29 eaf3925da568: Pulling fs layer 05:13:29 bab4dde63d76: Pulling fs layer 05:13:29 bde34c3a00c8: Pulling fs layer 05:13:29 b352a97aabf1: Pulling fs layer 05:13:29 4872d77fe225: Pulling fs layer 05:13:29 5851b861e8e6: Pulling fs layer 05:13:29 988bab9f4d93: Waiting 05:13:29 4872d77fe225: Waiting 05:13:29 eaf3925da568: Waiting 05:13:29 1469e6f7b9e6: Waiting 05:13:29 b352a97aabf1: Waiting 05:13:29 5851b861e8e6: Waiting 05:13:29 bab4dde63d76: Waiting 05:13:29 bde34c3a00c8: Waiting 05:13:29 e2be974225ed: Verifying Checksum 05:13:29 e2be974225ed: Download complete 05:13:29 988bab9f4d93: Download complete 05:13:30 1469e6f7b9e6: Verifying Checksum 05:13:30 1469e6f7b9e6: Download complete 05:13:30 339a4e72a1f5: Verifying Checksum 05:13:30 339a4e72a1f5: Download complete 05:13:30 eaf3925da568: Download complete 05:13:30 bde34c3a00c8: Verifying Checksum 05:13:30 b352a97aabf1: Download complete 05:13:30 4872d77fe225: Verifying Checksum 05:13:30 4872d77fe225: Download complete 05:13:30 5851b861e8e6: Download complete 05:13:30 b85a868b505f: Verifying Checksum 05:13:30 b85a868b505f: Download complete 05:13:30 bab4dde63d76: Verifying Checksum 05:13:30 bab4dde63d76: Download complete 05:13:31 b85a868b505f: Pull complete 05:13:31 e2be974225ed: Pull complete 05:13:32 339a4e72a1f5: Pull complete 05:13:32 988bab9f4d93: Pull complete 05:13:32 1469e6f7b9e6: Pull complete 05:13:32 eaf3925da568: Pull complete 05:13:34 bab4dde63d76: Pull complete 05:13:34 bde34c3a00c8: Pull complete 05:13:34 b352a97aabf1: Pull complete 05:13:34 4872d77fe225: Pull complete 05:13:34 5851b861e8e6: Pull complete 05:13:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:35 prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container 05:13:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@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-devops/py-git-semver:0.1.4 cat 05:13:36 $ docker top e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:13:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:36 [ssh-agent] Looking for ssh-agent implementation... 05:13:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:36 $ docker exec e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 ssh-agent 05:13:36 SSH_AUTH_SOCK=/tmp/ssh-qBRoaQqB4sCw/agent.32 05:13:36 SSH_AGENT_PID=38 05:13:36 Running ssh-add (command line suppressed) 05:13:36 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-457@tmp/private_key_11816909362377069043.key (/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/private_key_11816909362377069043.key) 05:13:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:37 + git tag --points-at HEAD [Pipeline] } 05:13:37 $ docker exec --env ******** --env ******** e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 ssh-agent -k 05:13:37 unset SSH_AUTH_SOCK; 05:13:37 unset SSH_AGENT_PID; 05:13:37 echo Agent pid 38 killed; 05:13:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:13:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:37 [ssh-agent] Looking for ssh-agent implementation... 05:13:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:37 $ docker exec e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 ssh-agent 05:13:37 SSH_AUTH_SOCK=/tmp/ssh-G8KKrt9u1jhD/agent.71 05:13:37 SSH_AGENT_PID=77 05:13:37 Running ssh-add (command line suppressed) 05:13:37 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-457@tmp/private_key_17509052337093067452.key (/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/private_key_17509052337093067452.key) 05:13:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:38 + git semver init 05:13:38 2023-04-18 05:13:38,439 [run_init] DEBUG init version:0.0.0 force:False 05:13:38 2023-04-18 05:13:38,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-457/.semver 05:13:38 2023-04-18 05:13:38,440 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-457/.semver 05:13:38 2023-04-18 05:13:38,441 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-457/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-457, universal_newlines=False, shell=None, istream=None) 05:13:39 2023-04-18 05:13:39,246 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-457/.git/info/exclude 05:13:39 2023-04-18 05:13:39,247 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-457/.semver/PR-457 with force:False 05:13:39 2023-04-18 05:13:39,247 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-457/.semver/PR-457 05:13:39 2023-04-18 05:13:39,251 [execute] INFO git cat-file --batch-check 05:13:39 2023-04-18 05:13:39,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-457/.semver, universal_newlines=False, shell=None, istream=) 05:13:39 2023-04-18 05:13:39,258 [execute] INFO git cat-file --batch 05:13:39 2023-04-18 05:13:39,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-457/.semver, universal_newlines=False, shell=None, istream=) 05:13:39 2023-04-18 05:13:39,264 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-457/.semver/PR-457 05:13:39 0.0.0 [Pipeline] } 05:13:39 $ docker exec --env ******** --env ******** e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 ssh-agent -k 05:13:39 unset SSH_AUTH_SOCK; 05:13:39 unset SSH_AGENT_PID; 05:13:39 echo Agent pid 77 killed; 05:13:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:13:40 + git semver [Pipeline] } 05:13:40 $ docker stop --time=1 e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 05:13:41 $ docker rm -f --volumes e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 [Pipeline] // withDockerContainer [Pipeline] sh 05:13:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:13:42 Stashed 1 file(s) [Pipeline] echo 05:13:42 [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 05:13:42 provisioning config files... 05:13:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/config2249362790364799004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8868 in /w/workspace/xfoundry_device-modbus-go_PR-457 [Pipeline] { [Pipeline] ws 05:13:43 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:13:43 Selected Git installation does not exist. Using Default 05:13:43 The recommended git tool is: NONE 05:13:43 ---> docker-login.sh 05:13:43 nexus3.edgexfoundry.org:10001 05:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:43 Configure a credential helper to remove this warning. See 05:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:43 05:13:43 Login Succeeded 05:13:43 nexus3.edgexfoundry.org:10002 05:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:43 Configure a credential helper to remove this warning. See 05:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:43 05:13:43 Login Succeeded 05:13:43 nexus3.edgexfoundry.org:10003 05:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:43 Configure a credential helper to remove this warning. See 05:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:43 05:13:43 Login Succeeded 05:13:43 nexus3.edgexfoundry.org:10004 05:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:43 Configure a credential helper to remove this warning. See 05:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:43 05:13:43 Login Succeeded 05:13:43 docker.io 05:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:43 Configure a credential helper to remove this warning. See 05:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:43 05:13:43 Login Succeeded 05:13:43 ---> docker-login.sh ends [Pipeline] } 05:13:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:13:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:44 ========================================================= 05:13:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:13:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:44 + 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 . 05:13:44 Sending build context to Docker daemon 6.471MB 05:13:44 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:13:44 Step 2/10 : FROM ${BASE} AS builder 05:13:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:13:44 63b65145d645: Pulling fs layer 05:13:44 a2d21d5440eb: Pulling fs layer 05:13:44 935e6c44a52c: Pulling fs layer 05:13:44 94cc34f8dd06: Pulling fs layer 05:13:44 30dea6a524f1: Pulling fs layer 05:13:44 a2aff8979fd8: Pulling fs layer 05:13:44 6808be2612f2: Pulling fs layer 05:13:44 f25807f1079a: Pulling fs layer 05:13:44 30dea6a524f1: Waiting 05:13:44 94cc34f8dd06: Waiting 05:13:44 f25807f1079a: Waiting 05:13:44 6808be2612f2: Waiting 05:13:44 a2d21d5440eb: Download complete 05:13:44 94cc34f8dd06: Verifying Checksum 05:13:44 94cc34f8dd06: Download complete 05:13:44 30dea6a524f1: Verifying Checksum 05:13:44 30dea6a524f1: Download complete 05:13:44 63b65145d645: Verifying Checksum 05:13:44 63b65145d645: Download complete 05:13:44 a2aff8979fd8: Verifying Checksum 05:13:44 a2aff8979fd8: Download complete 05:13:44 63b65145d645: Pull complete 05:13:45 f25807f1079a: Verifying Checksum 05:13:45 f25807f1079a: Download complete 05:13:45 a2d21d5440eb: Pull complete 05:13:45 935e6c44a52c: Verifying Checksum 05:13:45 935e6c44a52c: Download complete 05:13:45 6808be2612f2: Verifying Checksum 05:13:45 6808be2612f2: Download complete 05:13:48 935e6c44a52c: Pull complete 05:13:48 94cc34f8dd06: Pull complete 05:13:48 30dea6a524f1: Pull complete 05:13:49 using credential edgex-jenkins-ssh 05:13:49 a2aff8979fd8: Pull complete 05:13:49 Cloning the remote Git repository 05:13:49 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:13:49 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:13:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:13:49 > git --version # timeout=10 05:13:49 > git --version # 'git version 2.25.1' 05:13:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:13:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:13:51 6808be2612f2: Pull complete 05:13:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:13:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:13:52 f25807f1079a: Pull complete 05:13:52 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:13:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:13:52 ---> 3b553350e43f 05:13:52 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:13:52 Merging remotes/origin/main commit 640aa887e9955506bed08a06d24af596cf944b9d into PR head commit 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 05:13:53 Merge succeeded, producing 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 05:13:53 Checking out Revision 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 (PR-457) 05:13:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:13:52 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:13:52 using GIT_SSH to set credentials SSH Credentials for GitHub 05:13:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:13:52 > git config core.sparsecheckout # timeout=10 05:13:52 > git checkout -f 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 # timeout=10 05:13:52 > git remote # timeout=10 05:13:52 > git config --get remote.origin.url # timeout=10 05:13:52 using GIT_SSH to set credentials SSH Credentials for GitHub 05:13:52 > git merge 640aa887e9955506bed08a06d24af596cf944b9d # timeout=10 05:13:52 > git rev-parse HEAD^{commit} # timeout=10 05:13:53 > git config core.sparsecheckout # timeout=10 05:13:53 > git checkout -f 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 # timeout=10 05:13:54 ---> Running in b4baeaad60b4 05:13:54 Removing intermediate container b4baeaad60b4 05:13:54 ---> 5673b31957eb 05:13:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:54 ---> Running in 2ba19ebd2db9 05:13:54 Removing intermediate container 2ba19ebd2db9 05:13:54 ---> 8f7fc4effe23 05:13:54 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:13:54 ---> Running in a95da9bad6bf 05:13:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:13:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:13:54 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:13:54 (2/8) Installing libedit (20221030.3.1-r0) 05:13:54 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:13:54 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:13:54 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:13:54 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:13:54 (7/8) Installing openssh-server (9.1_p1-r2) 05:13:54 (8/8) Installing openssh (9.1_p1-r2) 05:13:54 Executing busybox-1.35.0-r29.trigger 05:13:54 OK: 270 MiB in 61 packages 05:13:55 Removing intermediate container a95da9bad6bf 05:13:55 ---> 5ae27afc6548 05:13:55 Step 6/10 : WORKDIR /device-modbus-go 05:13:55 ---> Running in bde0979fdfb8 05:13:55 Removing intermediate container bde0979fdfb8 05:13:55 ---> 1d0cb1598576 05:13:55 Step 7/10 : COPY go.mod vendor* ./ 05:13:55 ---> a400670d4a9f 05:13:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:55 ---> Running in f8563ba4b661 05:13:56 Commit message: "build(deps): bump device-sdk-go version" 05:13:56 > git --version # timeout=10 05:13:56 > git --version # 'git version 2.25.1' 05:13:56 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:13:57 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:57 Dload Upload Total Spent Left Speed 05:13:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 05:13:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:13:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:13:59 + sudo tee /etc/docker/daemon.new 05:13:59 { 05:13:59 "registry-mirrors": [ 05:13:59 "https://nexus3.edgexfoundry.org:10001" 05:13:59 ], 05:13:59 "bip": "10.250.0.254/24", 05:13:59 "hosts": [ 05:13:59 "tcp://0.0.0.0:5555", 05:13:59 "unix:///var/run/docker.sock" 05:13:59 ], 05:13:59 "mtu": 1458, 05:13:59 "selinux-enabled": true, 05:13:59 "seccomp-profile": "/etc/docker/seccomp.json" 05:13:59 } [Pipeline] sh 05:13:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:13:59 + sudo service docker restart 05:14:17 Removing intermediate container f8563ba4b661 05:14:17 ---> c5729b087859 05:14:17 Step 9/10 : COPY . . 05:14:17 ---> 1f1babeddf17 05:14:17 Step 10/10 : RUN ${MAKE} 05:14:17 ---> Running in f8b0e947fe58 05:14:17 noop 05:14:17 Removing intermediate container f8b0e947fe58 05:14:17 ---> bc6c73932606 05:14:17 Successfully built bc6c73932606 05:14:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:17 + docker inspect -f . ci-base-image-x86_64 05:14:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:17 prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container 05:14:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:14:18 $ docker top c2b2327c8725cdab20e4a429ae89a29086eb19638456f74500717cd168ab561f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider 05:14:18 provisioning config files... 05:14:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2004734427673120033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:18 + go version 05:14:18 go version go1.20.2 linux/amd64 [Pipeline] } 05:14:18 $ docker stop --time=1 c2b2327c8725cdab20e4a429ae89a29086eb19638456f74500717cd168ab561f 05:14:18 ---> docker-login.sh 05:14:18 nexus3.edgexfoundry.org:10001 05:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:19 Configure a credential helper to remove this warning. See 05:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:19 05:14:19 Login Succeeded 05:14:19 nexus3.edgexfoundry.org:10002 05:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:20 $ docker rm -f --volumes c2b2327c8725cdab20e4a429ae89a29086eb19638456f74500717cd168ab561f 05:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:20 Configure a credential helper to remove this warning. See 05:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:20 05:14:20 Login Succeeded 05:14:20 nexus3.edgexfoundry.org:10003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 05:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:20 Configure a credential helper to remove this warning. See 05:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:20 05:14:20 Login Succeeded 05:14:20 nexus3.edgexfoundry.org:10004 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:20 + docker inspect -f . ci-base-image-x86_64 05:14:20 . [Pipeline] } 05:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:20 Configure a credential helper to remove this warning. See 05:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:20 05:14:20 Login Succeeded 05:14:20 docker.io [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:20 prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container 05:14:21 $ 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-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:21 $ docker top 85419ce5566602d20eb9d9c3c81017df9048aa993700ba7a6dbdbf5e226f1f0d -eo pid,comm [Pipeline] { 05:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:21 Configure a credential helper to remove this warning. See 05:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:21 05:14:21 Login Succeeded 05:14:21 ---> docker-login.sh ends [Pipeline] } 05:14:21 Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:14:21 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-457 [Pipeline] fileExists [Pipeline] sh [Pipeline] echo 05:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:14:22 ========================================================= 05:14:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:14:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix 05:14:22 + make test 05:14:22 go test ./... -coverprofile=coverage.out [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:22 + 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 . 05:14:22 Sending build context to Docker daemon 3.394MB 05:14:22 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:14:22 Step 2/10 : FROM ${BASE} AS builder 05:14:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:14:23 af6eaf76a39c: Pulling fs layer 05:14:23 55522c791124: Pulling fs layer 05:14:23 ce5c4a1c91eb: Pulling fs layer 05:14:23 169dfbe0d373: Pulling fs layer 05:14:23 e1ff8fa3b103: Pulling fs layer 05:14:23 52ebb69f0ebf: Pulling fs layer 05:14:23 5abe8eddf0d5: Pulling fs layer 05:14:23 e1ff8fa3b103: Waiting 05:14:23 52ebb69f0ebf: Waiting 05:14:23 5abe8eddf0d5: Waiting 05:14:23 169dfbe0d373: Waiting 05:14:23 55522c791124: Verifying Checksum 05:14:23 55522c791124: Download complete 05:14:23 169dfbe0d373: Verifying Checksum 05:14:23 169dfbe0d373: Download complete 05:14:23 e1ff8fa3b103: Verifying Checksum 05:14:23 e1ff8fa3b103: Download complete 05:14:23 af6eaf76a39c: Download complete 05:14:24 af6eaf76a39c: Pull complete 05:14:24 5abe8eddf0d5: Verifying Checksum 05:14:24 5abe8eddf0d5: Download complete 05:14:24 55522c791124: Pull complete 05:14:25 ce5c4a1c91eb: Verifying Checksum 05:14:25 ce5c4a1c91eb: Download complete 05:14:25 52ebb69f0ebf: Verifying Checksum 05:14:25 52ebb69f0ebf: Download complete 05:14:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:14:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:14:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements 05:14:38 ce5c4a1c91eb: Pull complete 05:14:38 169dfbe0d373: Pull complete 05:14:38 e1ff8fa3b103: Pull complete 05:14:42 go vet ./... 05:14:44 52ebb69f0ebf: Pull complete 05:14:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:14:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:14:45 ./bin/test-attribution-txt.sh [Pipeline] echo 05:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:14:45 $ docker stop --time=1 85419ce5566602d20eb9d9c3c81017df9048aa993700ba7a6dbdbf5e226f1f0d 05:14:47 $ docker rm -f --volumes 85419ce5566602d20eb9d9c3c81017df9048aa993700ba7a6dbdbf5e226f1f0d [Pipeline] // withDockerContainer [Pipeline] sh 05:14:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:14:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:14:48 5abe8eddf0d5: Pull complete 05:14:48 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:14:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:14:48 ---> 6cb57ee374ae 05:14:48 Step 3/10 : ARG ADD_BUILD_TAGS="" [Pipeline] sh 05:14:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:14:49 + ls -al . 05:14:49 total 180 05:14:49 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:14 . 05:14:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:13 .. 05:14:49 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:13 .dockerignore 05:14:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:13 .git 05:14:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 .github 05:14:49 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:13 .gitignore 05:14:49 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:13 .golangci.yml 05:14:49 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:13 .semver 05:14:49 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 05:13 Attribution.txt 05:14:49 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 05:13 CHANGELOG.md 05:14:49 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 05:13 Dockerfile 05:14:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:13 GOVERNANCE.md 05:14:49 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:13 Jenkinsfile 05:14:49 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:13 LICENSE 05:14:49 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 05:13 Makefile 05:14:49 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:13 OWNERS.md 05:14:49 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 05:13 README.md 05:14:49 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:13 VERSION 05:14:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:13 bin 05:14:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 cmd 05:14:49 -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 05:14 coverage.out 05:14:49 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 05:13 go.mod 05:14:49 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 18 05:13 go.sum 05:14:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 internal 05:14:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:13 simulator 05:14:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:13 snap 05:14:49 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:49 + 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=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 --label arch=amd64 --label version=0.0.0 . 05:14:49 Sending build context to Docker daemon 6.496MB 05:14:49 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:14:49 Step 2/22 : FROM ${BASE} AS builder 05:14:49 ---> bc6c73932606 05:14:49 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:14:49 ---> Running in fa738b57e2b0 05:14:49 Removing intermediate container fa738b57e2b0 05:14:49 ---> 7cad879d1f8b 05:14:49 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:14:49 ---> Running in 2dc33a2f67dc 05:14:49 Removing intermediate container 2dc33a2f67dc 05:14:49 ---> 60457f995efe 05:14:49 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:14:49 ---> Running in 21efd9edec88 05:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:14:50 ---> Running in 4ac94867e17d 05:14:50 Removing intermediate container 4ac94867e17d 05:14:50 ---> e0a511694a42 05:14:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:14:50 ---> Running in 6c8ae7f0d11a 05:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:14:50 OK: 270 MiB in 61 packages 05:14:50 Removing intermediate container 6c8ae7f0d11a 05:14:50 ---> fc1e42845d08 05:14:50 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:14:50 ---> Running in 31b99685ed7e 05:14:50 Removing intermediate container 21efd9edec88 05:14:50 ---> 937ec1d61e5a 05:14:50 Step 6/22 : WORKDIR /device-modbus-go 05:14:50 ---> Running in b5349cc3174f 05:14:50 Removing intermediate container b5349cc3174f 05:14:50 ---> 1403403396b5 05:14:50 Step 7/22 : COPY go.mod vendor* ./ 05:14:50 ---> 27ab4e49402a 05:14:50 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:50 ---> Running in e03ddb5cb32c 05:14:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:14:51 Removing intermediate container e03ddb5cb32c 05:14:51 ---> 8db168fa1592 05:14:51 Step 9/22 : COPY . . 05:14:52 ---> 70143d544718 05:14:52 Step 10/22 : RUN ${MAKE} 05:14:52 ---> Running in 9bff0984eafc 05:14:52 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 05:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:14:53 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:14:53 (2/8) Installing libedit (20221030.3.1-r0) 05:14:53 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:14:53 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:14:53 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:14:53 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:14:53 (7/8) Installing openssh-server (9.1_p1-r2) 05:14:53 (8/8) Installing openssh (9.1_p1-r2) 05:14:53 Executing busybox-1.35.0-r29.trigger 05:14:53 OK: 270 MiB in 61 packages 05:14:54 Removing intermediate container 31b99685ed7e 05:14:54 ---> f5af5b327cfa 05:14:54 Step 6/10 : WORKDIR /device-modbus-go 05:14:55 ---> Running in 6c8351035749 05:14:55 Removing intermediate container 6c8351035749 05:14:55 ---> 970ca905447f 05:14:55 Step 7/10 : COPY go.mod vendor* ./ 05:14:55 ---> 14f19b02cf61 05:14:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:55 ---> Running in 29b3f3cea44d 05:15:10 Removing intermediate container 9bff0984eafc 05:15:10 ---> faf8a1047baf 05:15:10 Step 11/22 : FROM alpine:3.17 05:15:10 3.17: Pulling from library/alpine 05:15:10 f56be85fc22e: Pulling fs layer 05:15:10 f56be85fc22e: Verifying Checksum 05:15:10 f56be85fc22e: Download complete 05:15:10 f56be85fc22e: Pull complete 05:15:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:15:10 Status: Downloaded newer image for alpine:3.17 05:15:10 ---> 9ed4aefc74f6 05:15:10 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:15:10 ---> Running in 0f1e9ee186b7 05:15:10 Removing intermediate container 0f1e9ee186b7 05:15:10 ---> 823f5135596e 05:15:10 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:15:10 ---> Running in 3c3b14760013 05:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:15:10 (1/1) Installing dumb-init (1.2.5-r2) 05:15:10 Executing busybox-1.35.0-r29.trigger 05:15:10 OK: 7 MiB in 16 packages 05:15:10 Removing intermediate container 3c3b14760013 05:15:10 ---> 4d6193b6d072 05:15:10 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:15:10 ---> 3b6956433dd3 05:15:10 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:15:10 ---> 2bcd35868884 05:15:10 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:15:10 ---> 7a3a9b95825f 05:15:10 Step 17/22 : EXPOSE 59901 05:15:10 ---> Running in 1a8964f52bbd 05:15:10 Removing intermediate container 1a8964f52bbd 05:15:10 ---> a86d5e4fda77 05:15:10 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:15:10 ---> Running in a7ef450260a6 05:15:10 Removing intermediate container a7ef450260a6 05:15:10 ---> 2ae5755262de 05:15:10 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:15:10 ---> Running in 86a56c43fa67 05:15:11 Removing intermediate container 86a56c43fa67 05:15:11 ---> 27d54db50729 05:15:11 Step 20/22 : LABEL arch=amd64 05:15:11 ---> Running in b27234b6def2 05:15:11 Removing intermediate container b27234b6def2 05:15:11 ---> 44553780d532 05:15:11 Step 21/22 : LABEL git_sha=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 05:15:11 ---> Running in 95cc544daa82 05:15:11 Removing intermediate container 95cc544daa82 05:15:11 ---> b279f7506c17 05:15:11 Step 22/22 : LABEL version=0.0.0 05:15:11 ---> Running in e4da5c5a331f 05:15:11 Removing intermediate container e4da5c5a331f 05:15:11 ---> 7d942894d056 05:15:11 [Warning] One or more build-args [ARCH] were not consumed 05:15:11 Successfully built 7d942894d056 05:15:11 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 05:15:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:12 05:15:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:12 latest: Pulling from edgex-lftools-log-publisher 05:15:12 5eb5b503b376: Pulling fs layer 05:15:12 5c69ac0246d0: Pulling fs layer 05:15:12 ec43610c2a17: Pulling fs layer 05:15:12 3a2ae6a8a46f: Pulling fs layer 05:15:12 33b1e0a273af: Pulling fs layer 05:15:12 5d3b04190fa2: Pulling fs layer 05:15:12 2f39f015ded8: Pulling fs layer 05:15:12 3a2ae6a8a46f: Waiting 05:15:12 33b1e0a273af: Waiting 05:15:12 2f39f015ded8: Waiting 05:15:12 5d3b04190fa2: Waiting 05:15:12 5c69ac0246d0: Verifying Checksum 05:15:12 5c69ac0246d0: Download complete 05:15:12 3a2ae6a8a46f: Verifying Checksum 05:15:12 3a2ae6a8a46f: Download complete 05:15:12 33b1e0a273af: Verifying Checksum 05:15:12 33b1e0a273af: Download complete 05:15:12 ec43610c2a17: Verifying Checksum 05:15:12 ec43610c2a17: Download complete 05:15:12 5d3b04190fa2: Verifying Checksum 05:15:12 5eb5b503b376: Verifying Checksum 05:15:12 5eb5b503b376: Download complete 05:15:13 2f39f015ded8: Download complete 05:15:13 5eb5b503b376: Pull complete 05:15:13 5c69ac0246d0: Pull complete 05:15:14 ec43610c2a17: Pull complete 05:15:14 3a2ae6a8a46f: Pull complete 05:15:14 33b1e0a273af: Pull complete 05:15:14 5d3b04190fa2: Pull complete 05:15:19 2f39f015ded8: Pull complete 05:15:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:15:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:19 prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container 05:15:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:15:21 $ docker top c0d05926f28c633430d73535c5ff1e2742a886c7e01615fad1426b6f07fc821b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:21 ---> job-cost.sh 05:15:21 lf-activate-venv: SKIPPING 05:15:21 INFO: No Stack... 05:15:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:22 INFO: Archiving Costs [Pipeline] sh 05:15:23 + cat /w/workspace/xfoundry_device-modbus-go_PR-457/archives/cost.csv 05:15:23 + cut -d, -f6 [Pipeline] lock 05:15:23 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] 05:15:23 Resource [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] did not exist. Created. 05:15:23 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:23 + echo total: 0.2199999988079071 [Pipeline] stash 05:15:23 Stashed 1 file(s) [Pipeline] } 05:15:23 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:23 $ docker stop --time=1 c0d05926f28c633430d73535c5ff1e2742a886c7e01615fad1426b6f07fc821b 05:15:24 $ docker rm -f --volumes c0d05926f28c633430d73535c5ff1e2742a886c7e01615fad1426b6f07fc821b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:16:03 Removing intermediate container 29b3f3cea44d 05:16:03 ---> 8837cb7ea928 05:16:03 Step 9/10 : COPY . . 05:16:03 ---> 9407c3b4222f 05:16:03 Step 10/10 : RUN ${MAKE} 05:16:03 ---> Running in c28708d10705 05:16:03 noop 05:16:03 Removing intermediate container c28708d10705 05:16:03 ---> 6f5c6d070542 05:16:03 Successfully built 6f5c6d070542 05:16:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:04 + docker inspect -f . ci-base-image-arm64 05:16:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:04 prd-ubuntu20.04-docker-arm64-4c-16g-8868 does not seem to be running inside a container 05:16:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:16:07 $ docker top 0c0dfab9256e6a6eddb01f6157dd5b494235c0d40c32fc59853a2bcbeba2668d -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:08 + go version 05:16:08 go version go1.20.2 linux/arm64 [Pipeline] } 05:16:08 $ docker stop --time=1 0c0dfab9256e6a6eddb01f6157dd5b494235c0d40c32fc59853a2bcbeba2668d 05:16:09 $ docker rm -f --volumes 0c0dfab9256e6a6eddb01f6157dd5b494235c0d40c32fc59853a2bcbeba2668d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:10 + docker inspect -f . ci-base-image-arm64 05:16:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:11 prd-ubuntu20.04-docker-arm64-4c-16g-8868 does not seem to be running inside a container 05:16:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:16:12 $ docker top 463fdd2cd2a1205c66fff83e071887700d4683c44da5315ca46a9d5e45d8714a -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:12 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:16:13 + make test 05:16:13 go test ./... -coverprofile=coverage.out 05:16:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:18:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:18:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.073s coverage: 47.4% of statements 05:18:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:18:37 go vet ./... 05:18:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:18:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:18:56 ./bin/test-attribution-txt.sh [Pipeline] echo 05:18:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:18:56 $ docker stop --time=1 463fdd2cd2a1205c66fff83e071887700d4683c44da5315ca46a9d5e45d8714a 05:18:58 $ docker rm -f --volumes 463fdd2cd2a1205c66fff83e071887700d4683c44da5315ca46a9d5e45d8714a [Pipeline] // withDockerContainer [Pipeline] sh 05:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:18:59 Warning: overwriting stash ‘coverage-report’ 05:19:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:00 + ls -al . 05:19:00 total 176 05:19:00 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 05:16 . 05:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:13 .. 05:19:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:13 .dockerignore 05:19:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:13 .git 05:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 .github 05:19:00 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:13 .gitignore 05:19:00 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:13 .golangci.yml 05:19:00 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 05:13 Attribution.txt 05:19:00 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 05:13 CHANGELOG.md 05:19:00 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 05:13 Dockerfile 05:19:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:13 GOVERNANCE.md 05:19:00 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:13 Jenkinsfile 05:19:00 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:13 LICENSE 05:19:00 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 05:13 Makefile 05:19:00 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:13 OWNERS.md 05:19:00 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 05:13 README.md 05:19:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:13 VERSION 05:19:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:13 bin 05:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 cmd 05:19:00 -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 05:18 coverage.out 05:19:00 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 05:13 go.mod 05:19:00 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 18 05:13 go.sum 05:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 internal 05:19:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:13 simulator 05:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:13 snap 05:19:00 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:01 + 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=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 --label arch=arm64 --label version=0.0.0 . 05:19:01 Sending build context to Docker daemon 3.419MB 05:19:01 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:19:01 Step 2/22 : FROM ${BASE} AS builder 05:19:01 ---> 6f5c6d070542 05:19:01 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:19:01 ---> Running in 3ae36428c6bc 05:19:02 Removing intermediate container 3ae36428c6bc 05:19:02 ---> a01cbb226356 05:19:02 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:19:02 ---> Running in 71b1f1f8ae4f 05:19:02 Removing intermediate container 71b1f1f8ae4f 05:19:02 ---> 89cdeb7fb0ab 05:19:02 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:19:02 ---> Running in c2208acd4cea 05:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:19:05 OK: 270 MiB in 61 packages 05:19:06 Removing intermediate container c2208acd4cea 05:19:06 ---> 94cfb80635a8 05:19:06 Step 6/22 : WORKDIR /device-modbus-go 05:19:06 ---> Running in d76c4c6feaa3 05:19:06 Removing intermediate container d76c4c6feaa3 05:19:06 ---> 7a094c6cffee 05:19:06 Step 7/22 : COPY go.mod vendor* ./ 05:19:07 ---> 1db2bb2dbe29 05:19:07 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:07 ---> Running in 52f68acbe443 05:19:10 Removing intermediate container 52f68acbe443 05:19:10 ---> 69cefb51648a 05:19:10 Step 9/22 : COPY . . 05:19:10 ---> 65d663bf992c 05:19:10 Step 10/22 : RUN ${MAKE} 05:19:10 ---> Running in 6c6cf4493dbc 05:19:11 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 05:21:18 Removing intermediate container 6c6cf4493dbc 05:21:18 ---> 05fb4a5fb781 05:21:18 Step 11/22 : FROM alpine:3.17 05:21:18 3.17: Pulling from library/alpine 05:21:18 c41833b44d91: Pulling fs layer 05:21:18 c41833b44d91: Verifying Checksum 05:21:18 c41833b44d91: Download complete 05:21:18 c41833b44d91: Pull complete 05:21:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:21:18 Status: Downloaded newer image for alpine:3.17 05:21:18 ---> 51e60588ff2c 05:21:18 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:21:18 ---> Running in de7d9ada7d78 05:21:18 Removing intermediate container de7d9ada7d78 05:21:18 ---> 3bdff89819b6 05:21:18 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:21:18 ---> Running in 7c9a152f2077 05:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:21:18 (1/1) Installing dumb-init (1.2.5-r2) 05:21:18 Executing busybox-1.35.0-r29.trigger 05:21:18 OK: 8 MiB in 16 packages 05:21:18 Removing intermediate container 7c9a152f2077 05:21:18 ---> 14bdbdd8b044 05:21:18 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:21:19 ---> c58123597f86 05:21:19 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:21:19 ---> 6ed628c88b57 05:21:19 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:21:19 ---> ac27dbd1182a 05:21:19 Step 17/22 : EXPOSE 59901 05:21:20 ---> Running in 84011c5d5c78 05:21:20 Removing intermediate container 84011c5d5c78 05:21:20 ---> 43d9f4ca59de 05:21:20 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:21:20 ---> Running in e17d4a739c22 05:21:20 Removing intermediate container e17d4a739c22 05:21:20 ---> 48a7d45ec31c 05:21:20 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:21:20 ---> Running in 6e8ee978928a 05:21:21 Removing intermediate container 6e8ee978928a 05:21:21 ---> 9162859b8cc9 05:21:21 Step 20/22 : LABEL arch=arm64 05:21:21 ---> Running in e985dd9727a8 05:21:21 Removing intermediate container e985dd9727a8 05:21:21 ---> 3168ae7a93ae 05:21:21 Step 21/22 : LABEL git_sha=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 05:21:21 ---> Running in aeb1d8027f30 05:21:21 Removing intermediate container aeb1d8027f30 05:21:21 ---> bc9c5c0c45ab 05:21:21 Step 22/22 : LABEL version=0.0.0 05:21:21 ---> Running in 13c24977134c 05:21:22 Removing intermediate container 13c24977134c 05:21:22 ---> e2ccb482d5cc 05:21:22 [Warning] One or more build-args [ARCH] were not consumed 05:21:22 Successfully built e2ccb482d5cc 05:21:22 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 05:21:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:21:22 05:21:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:21:23 arm64: Pulling from edgex-lftools-log-publisher 05:21:23 8998bd30e6a1: Pulling fs layer 05:21:23 04944245beec: Pulling fs layer 05:21:23 699f458cf7ca: Pulling fs layer 05:21:23 765212b225bb: Pulling fs layer 05:21:23 f23df028b6ca: Pulling fs layer 05:21:23 d65c8cfc05b1: Pulling fs layer 05:21:23 2437ff75d9bd: Pulling fs layer 05:21:23 765212b225bb: Waiting 05:21:23 d65c8cfc05b1: Waiting 05:21:23 2437ff75d9bd: Waiting 05:21:23 04944245beec: Verifying Checksum 05:21:23 04944245beec: Download complete 05:21:23 765212b225bb: Download complete 05:21:23 f23df028b6ca: Verifying Checksum 05:21:23 f23df028b6ca: Download complete 05:21:23 d65c8cfc05b1: Verifying Checksum 05:21:23 d65c8cfc05b1: Download complete 05:21:23 699f458cf7ca: Verifying Checksum 05:21:23 699f458cf7ca: Download complete 05:21:24 8998bd30e6a1: Verifying Checksum 05:21:24 8998bd30e6a1: Download complete 05:21:26 2437ff75d9bd: Verifying Checksum 05:21:26 2437ff75d9bd: Download complete 05:21:27 8998bd30e6a1: Pull complete 05:21:28 04944245beec: Pull complete 05:21:29 699f458cf7ca: Pull complete 05:21:29 765212b225bb: Pull complete 05:21:29 f23df028b6ca: Pull complete 05:21:30 d65c8cfc05b1: Pull complete 05:21:42 2437ff75d9bd: Pull complete 05:21:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:21:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:21:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:42 prd-ubuntu20.04-docker-arm64-4c-16g-8868 does not seem to be running inside a container 05:21:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:21:45 $ docker top 5b7c3f87e2c746bc89f13d602a77d0583d3d8adfe0e89c06f09cfd5791e1e320 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:45 ---> job-cost.sh 05:21:46 lf-activate-venv: SKIPPING 05:21:46 INFO: No Stack... 05:21:46 INFO: Retrieving Pricing Info for: v3-standard-4 05:21:47 INFO: Archiving Costs [Pipeline] sh 05:21:47 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:21:47 + cut -d, -f6 [Pipeline] lock 05:21:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] 05:21:47 Resource [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] did not exist. Created. 05:21:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:21:48 /w/workspace/device-modbus-go/1@tmp/durable-d4ae4df3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:21:48 + echo total: 0.10999999940395355 [Pipeline] stash 05:21:48 Warning: overwriting stash ‘stack-cost’ 05:21:48 Stashed 1 file(s) [Pipeline] } 05:21:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:21:49 $ docker stop --time=1 5b7c3f87e2c746bc89f13d602a77d0583d3d8adfe0e89c06f09cfd5791e1e320 05:21:50 $ docker rm -f --volumes 5b7c3f87e2c746bc89f13d602a77d0583d3d8adfe0e89c06f09cfd5791e1e320 [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 05:21:51 provisioning config files... 05:21:51 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/config16572839154908027179tmp [Pipeline] { [Pipeline] sh 05:21:51 + set +x 05:21:51 + bash -s -- 05:21:51 + curl -s https://codecov.io/bash 05:21:51 05:21:51 _____ _ 05:21:51 / ____| | | 05:21:51 | | ___ __| | ___ ___ _____ __ 05:21:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:21:51 | |___| (_) | (_| | __/ (_| (_) \ V / 05:21:51 \_____\___/ \__,_|\___|\___\___/ \_/ 05:21:51 Bash-1.0.6 05:21:51 05:21:51 05:21:51 ==> git version 2.25.1 found 05:21:51 ==> 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 05:21:51 Release-Date: 2020-01-08 05:21:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:21:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:21:51 ==> Jenkins CI detected. 05:21:51 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-457 05:21:51 project root: . 05:21:51 --> token set from env 05:21:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:21:51 ==> Running gcov in . (disable via -X gcov) 05:21:51 ==> Python coveragepy not found 05:21:51 ==> Searching for coverage reports in: 05:21:51 + . 05:21:51 -> Found 1 reports 05:21:51 ==> Detecting git/mercurial file structure 05:21:52 ==> Reading reports 05:21:52 + ./coverage.out bytes=24160 05:21:52 ==> Appending adjustments 05:21:52 https://docs.codecov.io/docs/fixing-reports 05:21:52 + Found adjustments 05:21:52 ==> Gzipping contents 05:21:52 4.0K /tmp/codecov.folAhK.gz 05:21:52 ==> Uploading reports 05:21:52 url: https://codecov.io 05:21:52 query: branch=PR-457&commit=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=457&job=&cmd_args= 05:21:52 -> Pinging Codecov 05:21:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-457&commit=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=457&job=&cmd_args= 05:21:52 -> Uploading to 05:21:52 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/55DBCA73C666E3227836607328DD7E49/1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1/721df356-35cc-4021-9c4b-ee6cc28ff26b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T052152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c30b7877d0c7dc76bcd5dafc2eb9cc8d429c9638396834f2c2bedade6bdfd6af 05:21:52 % Total % Received % Xferd Average Speed Time Time Time Current 05:21:52 Dload Upload Total Spent Left Speed 05:21:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16987 --:--:-- --:--:-- --:--:-- 16987 05:21:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] } 05:21:52 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 05:21:54 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-457/archives ] 05:21:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-457/archives 05:21:54 total 16 05:21:54 drwxr-xr-x 3 root root 4096 Apr 18 05:15 . 05:21:54 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:15 .. 05:21:54 drwxr-xr-x 2 root root 4096 Apr 18 05:15 cost 05:21:54 -rw-r--r-- 1 root root 88 Apr 18 05:15 cost.csv 05:21:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-457/archives 05:21:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-457/archives 05:21:54 total 16 05:21:54 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:15 . 05:21:54 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:15 .. 05:21:54 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:15 cost 05:21:54 -rw-r--r-- 1 jenkins jenkins 88 Apr 18 05:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:21:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:21:55 ---> package-listing.sh 05:21:55 ++ facter osfamily 05:21:55 ++ tr '[:upper:]' '[:lower:]' 05:21:55 + OS_FAMILY=debian 05:21:55 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-457 05:21:55 + START_PACKAGES=/tmp/packages_start.txt 05:21:55 + END_PACKAGES=/tmp/packages_end.txt 05:21:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:21:55 + PACKAGES=/tmp/packages_start.txt 05:21:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-457 ']' 05:21:55 + PACKAGES=/tmp/packages_end.txt 05:21:55 + case "${OS_FAMILY}" in 05:21:55 + dpkg -l 05:21:55 + grep '^ii' 05:21:55 + '[' -f /tmp/packages_start.txt ']' 05:21:55 + '[' -f /tmp/packages_end.txt ']' 05:21:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:21:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-457 ']' 05:21:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-457/archives/ 05:21:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-457/archives/ [Pipeline] echo 05:21:55 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-457/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:21:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:56 prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container 05:21:56 $ 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-457/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-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:21:57 $ docker top 5aac78109c2068af7e80d5b1585482630a39689f1e321133e0bdf5f6b90e2708 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:57 + touch /tmp/pre-build-complete [Pipeline] sh 05:21:57 + mkdir -p /var/log/sysstat [Pipeline] sh 05:21:58 + ls /var/log/sa-host 05:21:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:58 provisioning config files... 05:21:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/config9195053402121879191tmp [Pipeline] { [Pipeline] echo 05:21:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:21:58 ---> create-netrc.sh [Pipeline] } 05:21:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:21:59 ---> python-tools-install.sh [Pipeline] echo 05:21:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:21:59 ---> sudo-logs.sh 05:21:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:21:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:21:59 ---> job-cost.sh 05:21:59 lf-activate-venv: SKIPPING 05:21:59 DEBUG: total: 0.2199999988079071 05:21:59 INFO: Retrieving Stack Cost... 05:22:00 INFO: Retrieving Pricing Info for: v3-standard-8 05:22:00 INFO: Archiving Costs [Pipeline] echo 05:22:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:22:01 ---> logs-deploy.sh 05:22:01 lf-activate-venv: SKIPPING 05:22:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-457/1 05:22:01 INFO: archiving workspace using pattern(s): 05:22:01 Archives upload complete. 05:22:01 INFO: archiving logs to Nexus