Pull request #415 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 11c6e2d006034a333972faf4f7351e142fd3b397+f1793b94bf4ff8773907545100fb172936c87502 (002815e392febf7de61e8b8cba9cdff8a1b683a0) 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-ssh454674650620755292.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4623009409336024995.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-415/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-415/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12370701213080746344.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-415/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1954265829634046446.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11686413716105742621.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-415/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-415/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5294673901656765712.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-6504 in /w/workspace/xfoundry_device-modbus-go_PR-415 [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-415 # 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/415/head:refs/remotes/origin/PR-415 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f1793b94bf4ff8773907545100fb172936c87502 into PR head commit 11c6e2d006034a333972faf4f7351e142fd3b397 Merge succeeded, producing 11c6e2d006034a333972faf4f7351e142fd3b397 Checking out Revision 11c6e2d006034a333972faf4f7351e142fd3b397 (PR-415) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:35:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f 11c6e2d006034a333972faf4f7351e142fd3b397 # 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 f1793b94bf4ff8773907545100fb172936c87502 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11c6e2d006034a333972faf4f7351e142fd3b397 # timeout=10 [Pipeline] { [Pipeline] withCredentials 21:35:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:35:46 ========================================================= 21:35:46 EdgeX Global Pipelines Version Info 21:35:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:35:47 ------------------- 21:35:47 stable info: 21:35:47 ------------------- 21:35:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:35:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:35:47 Message: update stable to v1.0.244 21:35:47 ------------------- 21:35:47 experimental info: 21:35:47 ------------------- 21:35:47 Commited By: **** collab-it+edgex@linuxfoundation.org 21:35:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:35:47 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:35:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:35:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:35:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:35:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-415 [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-415 [Pipeline] echo 21:35:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-415 [Pipeline] echo 21:35:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11c6e2d006034a333972faf4f7351e142fd3b397 [Pipeline] echo 21:35:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11c6e2d [Pipeline] echo 21:35:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:35:49 provisioning config files... 21:35:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-415@tmp/config11644501629083784193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:49 ---> docker-login.sh 21:35:49 nexus3.edgexfoundry.org:10001 21:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:49 Configure a credential helper to remove this warning. See 21:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:49 21:35:49 Login Succeeded 21:35:49 nexus3.edgexfoundry.org:10002 21:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:49 Configure a credential helper to remove this warning. See 21:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:49 21:35:49 Login Succeeded 21:35:49 nexus3.edgexfoundry.org:10003 21:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:50 Configure a credential helper to remove this warning. See 21:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:50 21:35:50 Login Succeeded 21:35:50 nexus3.edgexfoundry.org:10004 21:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:50 Configure a credential helper to remove this warning. See 21:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:50 21:35:50 Login Succeeded 21:35:50 docker.io 21:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:50 Configure a credential helper to remove this warning. See 21:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:50 21:35:50 Login Succeeded 21:35:50 ---> docker-login.sh ends [Pipeline] } 21:35:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:35:51 + git rev-list -1 --merges 11c6e2d006034a333972faf4f7351e142fd3b397~1..11c6e2d006034a333972faf4f7351e142fd3b397 [Pipeline] echo 21:35:51 -----------> git rev-list -1 --merges 11c6e2d006034a333972faf4f7351e142fd3b397~1..11c6e2d006034a333972faf4f7351e142fd3b397 11c6e2d006034a333972faf4f7351e142fd3b397 [false] [Pipeline] sh 21:35:51 + git log --format=format:%s -1 11c6e2d006034a333972faf4f7351e142fd3b397 [Pipeline] echo 21:35:51 ========================================================= 21:35:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:35:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:35:52 + git log --format=format:%s -1 11c6e2d006034a333972faf4f7351e142fd3b397 [Pipeline] echo 21:35:52 [semverPrep] GIT_COMMIT: 11c6e2d006034a333972faf4f7351e142fd3b397, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:35:52 [semverPrep] This is not a build commit. [Pipeline] sh 21:35:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:35:52 + grep -v github /etc/ssh/ssh_known_hosts 21:35:52 + [ -e /tmp/ssh_known_hosts ] 21:35:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:35:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:35:52 + sudo tee -a /etc/ssh/ssh_known_hosts 21:35:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:35:52 21:35:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:35:53 0.1.4: Pulling from edgex-devops/py-git-semver 21:35:53 b85a868b505f: Pulling fs layer 21:35:53 e2be974225ed: Pulling fs layer 21:35:53 339a4e72a1f5: Pulling fs layer 21:35:53 988bab9f4d93: Pulling fs layer 21:35:53 1469e6f7b9e6: Pulling fs layer 21:35:53 eaf3925da568: Pulling fs layer 21:35:53 bab4dde63d76: Pulling fs layer 21:35:53 bde34c3a00c8: Pulling fs layer 21:35:53 b352a97aabf1: Pulling fs layer 21:35:53 4872d77fe225: Pulling fs layer 21:35:53 5851b861e8e6: Pulling fs layer 21:35:53 988bab9f4d93: Waiting 21:35:53 eaf3925da568: Waiting 21:35:53 4872d77fe225: Waiting 21:35:53 b352a97aabf1: Waiting 21:35:53 5851b861e8e6: Waiting 21:35:53 bde34c3a00c8: Waiting 21:35:53 1469e6f7b9e6: Waiting 21:35:53 bab4dde63d76: Waiting 21:35:53 e2be974225ed: Download complete 21:35:53 988bab9f4d93: Download complete 21:35:53 1469e6f7b9e6: Verifying Checksum 21:35:53 1469e6f7b9e6: Download complete 21:35:53 eaf3925da568: Verifying Checksum 21:35:53 eaf3925da568: Download complete 21:35:53 339a4e72a1f5: Verifying Checksum 21:35:53 339a4e72a1f5: Download complete 21:35:53 bde34c3a00c8: Download complete 21:35:53 b352a97aabf1: Verifying Checksum 21:35:53 b352a97aabf1: Download complete 21:35:53 4872d77fe225: Verifying Checksum 21:35:53 4872d77fe225: Download complete 21:35:53 b85a868b505f: Verifying Checksum 21:35:53 b85a868b505f: Download complete 21:35:53 5851b861e8e6: Download complete 21:35:54 bab4dde63d76: Verifying Checksum 21:35:54 bab4dde63d76: Download complete 21:35:55 b85a868b505f: Pull complete 21:35:55 e2be974225ed: Pull complete 21:35:55 339a4e72a1f5: Pull complete 21:35:55 988bab9f4d93: Pull complete 21:35:56 1469e6f7b9e6: Pull complete 21:35:56 eaf3925da568: Pull complete 21:35:58 bab4dde63d76: Pull complete 21:35:58 bde34c3a00c8: Pull complete 21:35:58 b352a97aabf1: Pull complete 21:35:58 4872d77fe225: Pull complete 21:35:58 5851b861e8e6: Pull complete 21:35:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:35:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:35:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:58 prd-ubuntu20.04-docker-8c-8g-6504 does not seem to be running inside a container 21:35:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-415 -v /w/workspace/xfoundry_device-modbus-go_PR-415:/w/workspace/xfoundry_device-modbus-go_PR-415:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-415@tmp:/w/workspace/xfoundry_device-modbus-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:36:00 $ docker top 58b4802ded56c78d9bc258af31168ca6a17d2ed4046768d3b65bdac0f055c138 -eo pid,comm 21:36:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:36:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:01 [ssh-agent] Looking for ssh-agent implementation... 21:36:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:01 $ docker exec 58b4802ded56c78d9bc258af31168ca6a17d2ed4046768d3b65bdac0f055c138 ssh-agent 21:36:01 SSH_AUTH_SOCK=/tmp/ssh-eDLHKnBIb1Qy/agent.32 21:36:01 SSH_AGENT_PID=38 21:36:01 Running ssh-add (command line suppressed) 21:36:01 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-415@tmp/private_key_11643276967896558160.key (/w/workspace/xfoundry_device-modbus-go_PR-415@tmp/private_key_11643276967896558160.key) 21:36:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:01 + git tag --points-at HEAD [Pipeline] } 21:36:01 $ docker exec --env ******** --env ******** 58b4802ded56c78d9bc258af31168ca6a17d2ed4046768d3b65bdac0f055c138 ssh-agent -k 21:36:01 unset SSH_AUTH_SOCK; 21:36:01 unset SSH_AGENT_PID; 21:36:01 echo Agent pid 38 killed; 21:36:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:36:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:01 [ssh-agent] Looking for ssh-agent implementation... 21:36:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:02 $ docker exec 58b4802ded56c78d9bc258af31168ca6a17d2ed4046768d3b65bdac0f055c138 ssh-agent 21:36:02 SSH_AUTH_SOCK=/tmp/ssh-1zcmdMFt48sS/agent.70 21:36:02 SSH_AGENT_PID=76 21:36:02 Running ssh-add (command line suppressed) 21:36:02 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-415@tmp/private_key_8514455334422868576.key (/w/workspace/xfoundry_device-modbus-go_PR-415@tmp/private_key_8514455334422868576.key) 21:36:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:02 + git semver init 21:36:02 2023-02-17 21:36:02,856 [run_init] DEBUG init version:0.0.0 force:False 21:36:02 2023-02-17 21:36:02,857 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-415/.semver 21:36:02 2023-02-17 21:36:02,857 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-415/.semver 21:36:02 2023-02-17 21:36:02,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-415/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-415, universal_newlines=False, shell=None, istream=None) 21:36:03 2023-02-17 21:36:03,838 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-415/.git/info/exclude 21:36:03 2023-02-17 21:36:03,838 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-415/.semver/PR-415 with force:False 21:36:03 2023-02-17 21:36:03,838 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-415/.semver/PR-415 21:36:03 2023-02-17 21:36:03,843 [execute] INFO git cat-file --batch-check 21:36:03 2023-02-17 21:36:03,844 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-415/.semver, universal_newlines=False, shell=None, istream=) 21:36:03 2023-02-17 21:36:03,851 [execute] INFO git cat-file --batch 21:36:03 2023-02-17 21:36:03,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-415/.semver, universal_newlines=False, shell=None, istream=) 21:36:04 2023-02-17 21:36:03,857 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-415/.semver/PR-415 21:36:04 0.0.0 [Pipeline] } 21:36:04 $ docker exec --env ******** --env ******** 58b4802ded56c78d9bc258af31168ca6a17d2ed4046768d3b65bdac0f055c138 ssh-agent -k 21:36:04 unset SSH_AUTH_SOCK; 21:36:04 unset SSH_AGENT_PID; 21:36:04 echo Agent pid 76 killed; 21:36:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:04 + git semver [Pipeline] } 21:36:04 $ docker stop --time=1 58b4802ded56c78d9bc258af31168ca6a17d2ed4046768d3b65bdac0f055c138 21:36:06 $ docker rm -f --volumes 58b4802ded56c78d9bc258af31168ca6a17d2ed4046768d3b65bdac0f055c138 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:36:06 Stashed 1 file(s) [Pipeline] echo 21:36:06 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:07 provisioning config files... 21:36:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-415@tmp/config8445358988259751621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:07 ---> docker-login.sh 21:36:07 nexus3.edgexfoundry.org:10001 21:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:07 Configure a credential helper to remove this warning. See 21:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:07 21:36:07 Login Succeeded 21:36:07 nexus3.edgexfoundry.org:10002 21:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:07 Configure a credential helper to remove this warning. See 21:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:07 21:36:07 Login Succeeded 21:36:07 nexus3.edgexfoundry.org:10003 21:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:08 Configure a credential helper to remove this warning. See 21:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:08 21:36:08 Login Succeeded 21:36:08 nexus3.edgexfoundry.org:10004 21:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:08 Configure a credential helper to remove this warning. See 21:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:08 21:36:08 Login Succeeded 21:36:08 docker.io 21:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:08 Configure a credential helper to remove this warning. See 21:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:08 21:36:08 Login Succeeded 21:36:08 ---> docker-login.sh ends [Pipeline] } 21:36:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:36:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:08 ========================================================= 21:36:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:36:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:36:09 Sending build context to Docker daemon 6.385MB 21:36:09 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:36:09 Step 2/10 : FROM ${BASE} AS builder 21:36:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:36:09 213ec9aee27d: Pulling fs layer 21:36:09 4583459ba037: Pulling fs layer 21:36:09 93c1e223e6f2: Pulling fs layer 21:36:09 53926ce57604: Pulling fs layer 21:36:09 21b2b0c7a3f4: Pulling fs layer 21:36:09 22ff95d597cd: Pulling fs layer 21:36:09 12d6caf4c0d1: Pulling fs layer 21:36:09 96b7cbca73a9: Pulling fs layer 21:36:09 a7acece74701: Pulling fs layer 21:36:09 21b2b0c7a3f4: Waiting 21:36:09 a7acece74701: Waiting 21:36:09 22ff95d597cd: Waiting 21:36:09 96b7cbca73a9: Waiting 21:36:09 12d6caf4c0d1: Waiting 21:36:09 53926ce57604: Waiting 21:36:09 93c1e223e6f2: Verifying Checksum 21:36:09 93c1e223e6f2: Download complete 21:36:09 4583459ba037: Verifying Checksum 21:36:09 4583459ba037: Download complete 21:36:09 21b2b0c7a3f4: Verifying Checksum 21:36:09 21b2b0c7a3f4: Download complete 21:36:09 22ff95d597cd: Verifying Checksum 21:36:09 22ff95d597cd: Download complete 21:36:09 213ec9aee27d: Verifying Checksum 21:36:09 213ec9aee27d: Download complete 21:36:09 12d6caf4c0d1: Verifying Checksum 21:36:09 12d6caf4c0d1: Download complete 21:36:09 213ec9aee27d: Pull complete 21:36:09 4583459ba037: Pull complete 21:36:09 93c1e223e6f2: Pull complete 21:36:11 53926ce57604: Verifying Checksum 21:36:11 53926ce57604: Download complete 21:36:11 a7acece74701: Verifying Checksum 21:36:11 a7acece74701: Download complete 21:36:11 96b7cbca73a9: Verifying Checksum 21:36:11 96b7cbca73a9: Download complete 21:36:15 53926ce57604: Pull complete 21:36:15 21b2b0c7a3f4: Pull complete 21:36:15 22ff95d597cd: Pull complete 21:36:15 12d6caf4c0d1: Pull complete 21:36:17 96b7cbca73a9: Pull complete 21:36:18 a7acece74701: Pull complete 21:36:18 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:36:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:36:18 ---> db6d94c90886 21:36:18 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:36:22 Still waiting to schedule task 21:36:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:36:22 ---> Running in ad6d68f7376e 21:36:22 Removing intermediate container ad6d68f7376e 21:36:22 ---> 746394973b3c 21:36:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:36:22 ---> Running in 53537906e49e 21:36:22 Removing intermediate container 53537906e49e 21:36:22 ---> c7883c4a0382 21:36:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:36:22 ---> Running in 3d5d7f517dd3 21:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:36:22 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:36:22 (2/8) Installing libedit (20210910.3.1-r0) 21:36:22 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:36:22 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:36:22 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:36:22 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:36:22 (7/8) Installing openssh-server (9.0_p1-r2) 21:36:22 (8/8) Installing openssh (9.0_p1-r2) 21:36:22 Executing busybox-1.35.0-r17.trigger 21:36:22 OK: 217 MiB in 59 packages 21:36:23 Removing intermediate container 3d5d7f517dd3 21:36:23 ---> a8c219021643 21:36:23 Step 6/10 : WORKDIR /device-modbus-go 21:36:23 ---> Running in e6bff857a9de 21:36:23 Removing intermediate container e6bff857a9de 21:36:23 ---> cd3ac626c740 21:36:23 Step 7/10 : COPY go.mod vendor* ./ 21:36:23 ---> ce804a6eac08 21:36:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:23 ---> Running in 09e4e0460406 21:37:02 Removing intermediate container 09e4e0460406 21:37:02 ---> 554a27797c18 21:37:02 Step 9/10 : COPY . . 21:37:02 ---> 2c1c5ef6797a 21:37:02 Step 10/10 : RUN ${MAKE} 21:37:02 ---> Running in b253af50ec42 21:37:02 noop 21:37:02 Removing intermediate container b253af50ec42 21:37:02 ---> 91e5c25a8e78 21:37:02 Successfully built 91e5c25a8e78 21:37:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:03 + docker inspect -f . ci-base-image-x86_64 21:37:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:03 prd-ubuntu20.04-docker-8c-8g-6504 does not seem to be running inside a container 21:37:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-415 -v /w/workspace/xfoundry_device-modbus-go_PR-415:/w/workspace/xfoundry_device-modbus-go_PR-415:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-415@tmp:/w/workspace/xfoundry_device-modbus-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:37:03 $ docker top 6012d6b148261a967da29b10446e9a3bf682899a99b98bdbfc680cc37b45a755 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:03 + go version 21:37:03 go version go1.18.7 linux/amd64 [Pipeline] } 21:37:03 $ docker stop --time=1 6012d6b148261a967da29b10446e9a3bf682899a99b98bdbfc680cc37b45a755 21:37:05 $ docker rm -f --volumes 6012d6b148261a967da29b10446e9a3bf682899a99b98bdbfc680cc37b45a755 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:05 + docker inspect -f . ci-base-image-x86_64 21:37:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:06 prd-ubuntu20.04-docker-8c-8g-6504 does not seem to be running inside a container 21:37:06 $ 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-415 -v /w/workspace/xfoundry_device-modbus-go_PR-415:/w/workspace/xfoundry_device-modbus-go_PR-415:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-415@tmp:/w/workspace/xfoundry_device-modbus-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:37:06 $ docker top 470eff1cc56ccb57330e1f19b34c85cd655fc46f611385e73beccbbd98e028a1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:06 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-415 [Pipeline] fileExists [Pipeline] sh 21:37:07 + make test 21:37:07 go test ./... -coverprofile=coverage.out 21:37:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:37:17 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:37:17 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements 21:37:23 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:37:23 go vet ./... 21:37:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:37:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:37:27 ./bin/test-attribution-txt.sh [Pipeline] echo 21:37:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:37:27 $ docker stop --time=1 470eff1cc56ccb57330e1f19b34c85cd655fc46f611385e73beccbbd98e028a1 21:37:29 $ docker rm -f --volumes 470eff1cc56ccb57330e1f19b34c85cd655fc46f611385e73beccbbd98e028a1 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:37:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:37:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:31 + ls -al . 21:37:31 total 184 21:37:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 21:37 . 21:37:31 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:35 .. 21:37:31 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 21:35 .dockerignore 21:37:31 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:37 .git 21:37:31 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:35 .github 21:37:31 -rw-rw-r-- 1 jenkins jenkins 331 Feb 17 21:35 .gitignore 21:37:31 -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 21:35 .golangci.yml 21:37:31 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:36 .semver 21:37:31 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 17 21:35 Attribution.txt 21:37:31 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 17 21:35 CHANGELOG.md 21:37:31 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 17 21:35 Dockerfile 21:37:31 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:35 GOVERNANCE.md 21:37:31 -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 21:35 Jenkinsfile 21:37:31 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 21:35 LICENSE 21:37:31 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 17 21:35 Makefile 21:37:31 -rw-rw-r-- 1 jenkins jenkins 622 Feb 17 21:35 OWNERS.md 21:37:31 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 17 21:35 README.md 21:37:31 -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 21:36 VERSION 21:37:31 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:35 bin 21:37:31 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:35 cmd 21:37:31 -rw-r--r-- 1 jenkins jenkins 23241 Feb 17 21:37 coverage.out 21:37:31 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 17 21:35 go.mod 21:37:31 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 17 21:35 go.sum 21:37:31 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:35 internal 21:37:31 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:35 simulator 21:37:31 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:35 snap 21:37:31 -rw-rw-r-- 1 jenkins jenkins 229 Feb 17 21:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:31 + 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=11c6e2d006034a333972faf4f7351e142fd3b397 --label arch=amd64 --label version=0.0.0 . 21:37:31 Sending build context to Docker daemon 6.409MB 21:37:31 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 21:37:31 Step 2/22 : FROM ${BASE} AS builder 21:37:31 ---> 91e5c25a8e78 21:37:31 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:37:32 ---> Running in 5c646fe2fb67 21:37:32 Removing intermediate container 5c646fe2fb67 21:37:32 ---> 461396093e22 21:37:32 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:32 ---> Running in 8ada2bee9b1e 21:37:32 Removing intermediate container 8ada2bee9b1e 21:37:32 ---> ee9ad53ab05f 21:37:32 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:37:32 ---> Running in 1880a527220a 21:37:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:37:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:37:32 OK: 217 MiB in 59 packages 21:37:33 Removing intermediate container 1880a527220a 21:37:33 ---> a66a1442b858 21:37:33 Step 6/22 : WORKDIR /device-modbus-go 21:37:33 ---> Running in fd8bfbf30875 21:37:33 Removing intermediate container fd8bfbf30875 21:37:33 ---> 6aff64088870 21:37:33 Step 7/22 : COPY go.mod vendor* ./ 21:37:33 ---> b6e7be2e15a5 21:37:33 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:33 ---> Running in a5ec32f2ef87 21:37:34 Removing intermediate container a5ec32f2ef87 21:37:34 ---> 7244ff75a15a 21:37:34 Step 9/22 : COPY . . 21:37:34 ---> 1af04b97d177 21:37:34 Step 10/22 : RUN ${MAKE} 21:37:34 ---> Running in 0bb55333e8e4 21:37:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:37:57 Removing intermediate container 0bb55333e8e4 21:37:57 ---> 8ee01b14962e 21:37:57 Step 11/22 : FROM alpine:3.14 21:37:57 3.14: Pulling from library/alpine 21:37:57 d261077062b2: Pulling fs layer 21:37:57 d261077062b2: Verifying Checksum 21:37:57 d261077062b2: Download complete 21:37:57 d261077062b2: Pull complete 21:37:57 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 21:37:57 Status: Downloaded newer image for alpine:3.14 21:37:57 ---> 6dff1269bc79 21:37:57 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:37:57 ---> Running in 31bf6a7af8e4 21:37:57 Removing intermediate container 31bf6a7af8e4 21:37:57 ---> 78e2b9e1fc14 21:37:57 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:37:57 ---> Running in 4efd52ede25f 21:37:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:37:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:37:57 (1/1) Installing dumb-init (1.2.5-r1) 21:37:57 Executing busybox-1.33.1-r8.trigger 21:37:57 OK: 6 MiB in 15 packages 21:37:58 Removing intermediate container 4efd52ede25f 21:37:58 ---> 767aef6571be 21:37:58 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:37:58 ---> ce8e9a930fb6 21:37:58 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:37:59 ---> 89ed4cb8842c 21:37:59 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:37:59 ---> f8d4a8321c31 21:37:59 Step 17/22 : EXPOSE 59901 21:37:59 ---> Running in 8c3d19729897 21:37:59 Removing intermediate container 8c3d19729897 21:37:59 ---> 012dfce7b347 21:37:59 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:37:59 ---> Running in 2994da6673f1 21:37:59 Removing intermediate container 2994da6673f1 21:37:59 ---> 393ea1349f17 21:37:59 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:37:59 ---> Running in 074c64cb7cb3 21:37:59 Removing intermediate container 074c64cb7cb3 21:37:59 ---> 8c39aeaf18b8 21:37:59 Step 20/22 : LABEL arch=amd64 21:37:59 ---> Running in bb1059df1e0d 21:37:59 Removing intermediate container bb1059df1e0d 21:37:59 ---> 1c2a00099607 21:37:59 Step 21/22 : LABEL git_sha=11c6e2d006034a333972faf4f7351e142fd3b397 21:37:59 ---> Running in 848366908b2d 21:37:59 Removing intermediate container 848366908b2d 21:37:59 ---> 6053b5dade14 21:37:59 Step 22/22 : LABEL version=0.0.0 21:37:59 ---> Running in 5131049857b4 21:37:59 Removing intermediate container 5131049857b4 21:37:59 ---> f6acbe10e10d 21:37:59 [Warning] One or more build-args [ARCH] were not consumed 21:37:59 Successfully built f6acbe10e10d 21:37:59 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:00 21:38:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:01 latest: Pulling from edgex-lftools-log-publisher 21:38:01 5eb5b503b376: Pulling fs layer 21:38:01 5c69ac0246d0: Pulling fs layer 21:38:01 ec43610c2a17: Pulling fs layer 21:38:01 3a2ae6a8a46f: Pulling fs layer 21:38:01 33b1e0a273af: Pulling fs layer 21:38:01 5d3b04190fa2: Pulling fs layer 21:38:01 2f39f015ded8: Pulling fs layer 21:38:01 33b1e0a273af: Waiting 21:38:01 3a2ae6a8a46f: Waiting 21:38:01 2f39f015ded8: Waiting 21:38:01 5d3b04190fa2: Waiting 21:38:01 5c69ac0246d0: Download complete 21:38:01 3a2ae6a8a46f: Verifying Checksum 21:38:01 3a2ae6a8a46f: Download complete 21:38:01 33b1e0a273af: Verifying Checksum 21:38:01 33b1e0a273af: Download complete 21:38:01 5d3b04190fa2: Verifying Checksum 21:38:01 5d3b04190fa2: Download complete 21:38:01 ec43610c2a17: Verifying Checksum 21:38:01 ec43610c2a17: Download complete 21:38:01 5eb5b503b376: Verifying Checksum 21:38:01 5eb5b503b376: Download complete 21:38:03 5eb5b503b376: Pull complete 21:38:03 2f39f015ded8: Verifying Checksum 21:38:03 2f39f015ded8: Download complete 21:38:03 5c69ac0246d0: Pull complete 21:38:03 ec43610c2a17: Pull complete 21:38:03 3a2ae6a8a46f: Pull complete 21:38:03 33b1e0a273af: Pull complete 21:38:03 5d3b04190fa2: Pull complete 21:38:09 2f39f015ded8: Pull complete 21:38:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:38:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:09 prd-ubuntu20.04-docker-8c-8g-6504 does not seem to be running inside a container 21:38:09 $ 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-415 -v /w/workspace/xfoundry_device-modbus-go_PR-415:/w/workspace/xfoundry_device-modbus-go_PR-415:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-415@tmp:/w/workspace/xfoundry_device-modbus-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:38:13 $ docker top 3fd5dabfdf16af561f9560d02c1a0bb09870db3d30c53903900be77b16e1a97f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:13 ---> job-cost.sh 21:38:13 lf-activate-venv: SKIPPING 21:38:13 INFO: No Stack... 21:38:14 INFO: Retrieving Pricing Info for: v3-standard-8 21:38:14 INFO: Archiving Costs [Pipeline] sh 21:38:14 + cat /w/workspace/xfoundry_device-modbus-go_PR-415/archives/cost.csv 21:38:14 + cut -d, -f6 [Pipeline] lock 21:38:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-415-1-stack-cost] 21:38:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-415-1-stack-cost] did not exist. Created. 21:38:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:15 + echo total: 0.2199999988079071 [Pipeline] stash 21:38:15 Stashed 1 file(s) [Pipeline] } 21:38:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-415-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:38:15 $ docker stop --time=1 3fd5dabfdf16af561f9560d02c1a0bb09870db3d30c53903900be77b16e1a97f 21:38:16 $ docker rm -f --volumes 3fd5dabfdf16af561f9560d02c1a0bb09870db3d30c53903900be77b16e1a97f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:38:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6507 in /w/workspace/xfoundry_device-modbus-go_PR-415 [Pipeline] { [Pipeline] ws 21:38:21 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 21:38:21 Selected Git installation does not exist. Using Default 21:38:21 The recommended git tool is: NONE 21:38:27 using credential edgex-jenkins-ssh 21:38:27 Cloning the remote Git repository 21:38:28 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:38:28 > git init /w/workspace/device-modbus-go/1 # timeout=10 21:38:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:38:28 > git --version # timeout=10 21:38:28 > git --version # 'git version 2.25.1' 21:38:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:38:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:38:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:38:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/415/head:refs/remotes/origin/PR-415 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:38:31 Merging remotes/origin/main commit f1793b94bf4ff8773907545100fb172936c87502 into PR head commit 11c6e2d006034a333972faf4f7351e142fd3b397 21:38:31 Merge succeeded, producing 11c6e2d006034a333972faf4f7351e142fd3b397 21:38:31 Checking out Revision 11c6e2d006034a333972faf4f7351e142fd3b397 (PR-415) 21:38:31 > git config core.sparsecheckout # timeout=10 21:38:31 > git checkout -f 11c6e2d006034a333972faf4f7351e142fd3b397 # timeout=10 21:38:31 > git remote # timeout=10 21:38:31 > git config --get remote.origin.url # timeout=10 21:38:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:31 > git merge f1793b94bf4ff8773907545100fb172936c87502 # timeout=10 21:38:31 > git rev-parse HEAD^{commit} # timeout=10 21:38:31 > git config core.sparsecheckout # timeout=10 21:38:31 > git checkout -f 11c6e2d006034a333972faf4f7351e142fd3b397 # timeout=10 21:38:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:38:32 > git --version # timeout=10 21:38:32 > git --version # 'git version 2.25.1' 21:38:32 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:38:33 % Total % Received % Xferd Average Speed Time Time Time Current 21:38:33 Dload Upload Total Spent Left Speed 21:38:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 21:38:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:38:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:38:34 + sudo tee /etc/docker/daemon.new 21:38:34 { 21:38:34 "registry-mirrors": [ 21:38:34 "https://nexus3.edgexfoundry.org:10001" 21:38:34 ], 21:38:34 "bip": "10.250.0.254/24", 21:38:34 "hosts": [ 21:38:34 "tcp://0.0.0.0:5555", 21:38:34 "unix:///var/run/docker.sock" 21:38:34 ], 21:38:34 "mtu": 1458, 21:38:34 "selinux-enabled": true, 21:38:34 "seccomp-profile": "/etc/docker/seccomp.json" 21:38:34 } [Pipeline] sh 21:38:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:38:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:53 provisioning config files... 21:38:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6410716947042861568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:53 ---> docker-login.sh 21:38:53 nexus3.edgexfoundry.org:10001 21:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:54 Configure a credential helper to remove this warning. See 21:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:54 21:38:54 Login Succeeded 21:38:54 nexus3.edgexfoundry.org:10002 21:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:55 Configure a credential helper to remove this warning. See 21:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:55 21:38:55 Login Succeeded 21:38:55 nexus3.edgexfoundry.org:10003 21:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:55 Configure a credential helper to remove this warning. See 21:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:55 21:38:55 Login Succeeded 21:38:55 nexus3.edgexfoundry.org:10004 21:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:55 Configure a credential helper to remove this warning. See 21:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:55 21:38:55 Login Succeeded 21:38:55 docker.io 21:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:56 Configure a credential helper to remove this warning. See 21:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:56 21:38:56 Login Succeeded 21:38:56 ---> docker-login.sh ends [Pipeline] } 21:38:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:56 ========================================================= 21:38:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:38:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:38:57 Sending build context to Docker daemon 3.324MB 21:38:57 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:38:57 Step 2/10 : FROM ${BASE} AS builder 21:38:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:38:57 9b18e9b68314: Pulling fs layer 21:38:57 35d82f9e3411: Pulling fs layer 21:38:57 e16973657156: Pulling fs layer 21:38:57 fc693d55d65f: Pulling fs layer 21:38:57 7e9fc2657dce: Pulling fs layer 21:38:57 fc693d55d65f: Waiting 21:38:57 dda99020689f: Pulling fs layer 21:38:57 7e9fc2657dce: Waiting 21:38:57 db1c61fa0a46: Pulling fs layer 21:38:57 891c053d2c06: Pulling fs layer 21:38:57 dda99020689f: Waiting 21:38:57 db1c61fa0a46: Waiting 21:38:57 891c053d2c06: Waiting 21:38:57 e16973657156: Download complete 21:38:57 35d82f9e3411: Verifying Checksum 21:38:57 35d82f9e3411: Download complete 21:38:57 7e9fc2657dce: Verifying Checksum 21:38:57 7e9fc2657dce: Download complete 21:38:57 dda99020689f: Verifying Checksum 21:38:57 dda99020689f: Download complete 21:38:57 9b18e9b68314: Verifying Checksum 21:38:58 9b18e9b68314: Pull complete 21:38:58 891c053d2c06: Verifying Checksum 21:38:58 891c053d2c06: Download complete 21:38:59 35d82f9e3411: Pull complete 21:38:59 e16973657156: Pull complete 21:39:00 db1c61fa0a46: Verifying Checksum 21:39:00 db1c61fa0a46: Download complete 21:39:00 fc693d55d65f: Verifying Checksum 21:39:00 fc693d55d65f: Download complete 21:39:12 fc693d55d65f: Pull complete 21:39:12 7e9fc2657dce: Pull complete 21:39:12 dda99020689f: Pull complete 21:39:18 db1c61fa0a46: Pull complete 21:39:19 891c053d2c06: Pull complete 21:39:19 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:39:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:39:19 ---> f96f9c87975a 21:39:19 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:39:22 ---> Running in 721faf93f37f 21:39:22 Removing intermediate container 721faf93f37f 21:39:22 ---> 217de8450878 21:39:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:22 ---> Running in aafe32fcf347 21:39:22 Removing intermediate container aafe32fcf347 21:39:22 ---> cccc0ef871e1 21:39:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:39:22 ---> Running in 98ad4632de4b 21:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:39:25 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:39:25 (2/8) Installing libedit (20210910.3.1-r0) 21:39:25 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:39:25 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:39:25 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:39:25 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:39:25 (7/8) Installing openssh-server (9.0_p1-r2) 21:39:25 (8/8) Installing openssh (9.0_p1-r2) 21:39:25 Executing busybox-1.35.0-r17.trigger 21:39:25 OK: 228 MiB in 59 packages 21:39:26 Removing intermediate container 98ad4632de4b 21:39:26 ---> 3bd4896ba82e 21:39:26 Step 6/10 : WORKDIR /device-modbus-go 21:39:26 ---> Running in 1aa598b5130a 21:39:26 Removing intermediate container 1aa598b5130a 21:39:26 ---> 3f858bc605a3 21:39:26 Step 7/10 : COPY go.mod vendor* ./ 21:39:27 ---> 2eac10035a84 21:39:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:27 ---> Running in ce71b6c46306 21:40:48 Removing intermediate container ce71b6c46306 21:40:48 ---> 3566a01c2a21 21:40:48 Step 9/10 : COPY . . 21:40:48 ---> 3c5d52eb1585 21:40:48 Step 10/10 : RUN ${MAKE} 21:40:48 ---> Running in f5900ba04049 21:40:48 noop 21:40:48 Removing intermediate container f5900ba04049 21:40:48 ---> ce88f458aae7 21:40:48 Successfully built ce88f458aae7 21:40:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:49 + docker inspect -f . ci-base-image-arm64 21:40:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:49 prd-ubuntu20.04-docker-arm64-4c-16g-6507 does not seem to be running inside a container 21:40:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:40:50 $ docker top e4b7221e189f5369ce4cf446bb096292a4e4fee6020cb2e2b88bf95d095afe5c -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:51 + go version 21:40:51 go version go1.18.7 linux/arm64 [Pipeline] } 21:40:52 $ docker stop --time=1 e4b7221e189f5369ce4cf446bb096292a4e4fee6020cb2e2b88bf95d095afe5c 21:40:53 $ docker rm -f --volumes e4b7221e189f5369ce4cf446bb096292a4e4fee6020cb2e2b88bf95d095afe5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:54 + docker inspect -f . ci-base-image-arm64 21:40:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:54 prd-ubuntu20.04-docker-arm64-4c-16g-6507 does not seem to be running inside a container 21:40:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:40:56 $ docker top 990f350d7702daed47458cac4f2e159e2a0bf6006bd373b5557779cb21c84d53 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:57 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 21:40:57 + make test 21:40:57 go test ./... -coverprofile=coverage.out 21:40:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:42:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:42:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.7% of statements 21:42:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:42:36 go vet ./... 21:43:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:43:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:43:08 ./bin/test-attribution-txt.sh [Pipeline] echo 21:43:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:43:08 $ docker stop --time=1 990f350d7702daed47458cac4f2e159e2a0bf6006bd373b5557779cb21c84d53 21:43:10 $ docker rm -f --volumes 990f350d7702daed47458cac4f2e159e2a0bf6006bd373b5557779cb21c84d53 [Pipeline] // withDockerContainer [Pipeline] sh 21:43:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:43:11 Warning: overwriting stash ‘coverage-report’ 21:43:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:43:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:43:13 + ls -al . 21:43:13 total 180 21:43:13 drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 21:40 . 21:43:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:38 .. 21:43:13 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 21:38 .dockerignore 21:43:13 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:38 .git 21:43:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:38 .github 21:43:13 -rw-rw-r-- 1 jenkins jenkins 331 Feb 17 21:38 .gitignore 21:43:13 -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 21:38 .golangci.yml 21:43:13 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 17 21:38 Attribution.txt 21:43:13 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 17 21:38 CHANGELOG.md 21:43:13 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 17 21:38 Dockerfile 21:43:13 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:38 GOVERNANCE.md 21:43:13 -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 21:38 Jenkinsfile 21:43:13 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 21:38 LICENSE 21:43:13 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 17 21:38 Makefile 21:43:13 -rw-rw-r-- 1 jenkins jenkins 622 Feb 17 21:38 OWNERS.md 21:43:13 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 17 21:38 README.md 21:43:13 -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 21:36 VERSION 21:43:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:38 bin 21:43:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:38 cmd 21:43:13 -rw-r--r-- 1 jenkins jenkins 23241 Feb 17 21:42 coverage.out 21:43:13 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 17 21:38 go.mod 21:43:13 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 17 21:38 go.sum 21:43:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:38 internal 21:43:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:38 simulator 21:43:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:38 snap 21:43:13 -rw-rw-r-- 1 jenkins jenkins 229 Feb 17 21:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:13 + 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=11c6e2d006034a333972faf4f7351e142fd3b397 --label arch=arm64 --label version=0.0.0 . 21:43:14 Sending build context to Docker daemon 3.348MB 21:43:14 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 21:43:14 Step 2/22 : FROM ${BASE} AS builder 21:43:14 ---> ce88f458aae7 21:43:14 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:43:14 ---> Running in 137802e745b5 21:43:14 Removing intermediate container 137802e745b5 21:43:14 ---> 4e0609898b60 21:43:14 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:43:14 ---> Running in eb84fb96e766 21:43:14 Removing intermediate container eb84fb96e766 21:43:14 ---> b469b1a7632f 21:43:14 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:43:15 ---> Running in 7cedb1a1a7f3 21:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:43:17 OK: 228 MiB in 59 packages 21:43:18 Removing intermediate container 7cedb1a1a7f3 21:43:18 ---> 13cd29941c2c 21:43:18 Step 6/22 : WORKDIR /device-modbus-go 21:43:18 ---> Running in e7f8d4403d93 21:43:18 Removing intermediate container e7f8d4403d93 21:43:18 ---> acd1020a5a59 21:43:18 Step 7/22 : COPY go.mod vendor* ./ 21:43:19 ---> ac3eeb449c0b 21:43:19 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:43:19 ---> Running in 1036cf43d9aa 21:43:21 Removing intermediate container 1036cf43d9aa 21:43:21 ---> 1cdc436f8edf 21:43:21 Step 9/22 : COPY . . 21:43:22 ---> 07c35d9af63e 21:43:22 Step 10/22 : RUN ${MAKE} 21:43:22 ---> Running in c9cdf6e5e968 21:43:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:45:45 Removing intermediate container c9cdf6e5e968 21:45:45 ---> b34950c7dff6 21:45:45 Step 11/22 : FROM alpine:3.14 21:45:45 3.14: Pulling from library/alpine 21:45:45 6f0e733d82e2: Pulling fs layer 21:45:45 6f0e733d82e2: Download complete 21:45:45 6f0e733d82e2: Pull complete 21:45:45 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 21:45:45 Status: Downloaded newer image for alpine:3.14 21:45:45 ---> bf97f6347a60 21:45:45 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:45:45 ---> Running in 44ad434c2542 21:45:45 Removing intermediate container 44ad434c2542 21:45:45 ---> ae2251f8dc68 21:45:45 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:45:45 ---> Running in 5f9401be1107 21:45:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:45:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:45:45 (1/1) Installing dumb-init (1.2.5-r1) 21:45:45 Executing busybox-1.33.1-r8.trigger 21:45:45 OK: 6 MiB in 15 packages 21:45:45 Removing intermediate container 5f9401be1107 21:45:45 ---> 70cc3d9db450 21:45:45 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:45:45 ---> 7c794c5983fc 21:45:45 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:45:45 ---> 688fd3b1b2fc 21:45:45 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:45:45 ---> c42168626bce 21:45:45 Step 17/22 : EXPOSE 59901 21:45:45 ---> Running in ee1a6628b1c5 21:45:45 Removing intermediate container ee1a6628b1c5 21:45:45 ---> efac516d596f 21:45:45 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:45:45 ---> Running in 3485d78ee677 21:45:45 Removing intermediate container 3485d78ee677 21:45:45 ---> 14ce41bb0e3c 21:45:45 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:45:45 ---> Running in 6f7415f6427b 21:45:45 Removing intermediate container 6f7415f6427b 21:45:45 ---> d0a5c6f4d8b3 21:45:45 Step 20/22 : LABEL arch=arm64 21:45:45 ---> Running in fbba9d984034 21:45:45 Removing intermediate container fbba9d984034 21:45:45 ---> 8eadaf9b377c 21:45:45 Step 21/22 : LABEL git_sha=11c6e2d006034a333972faf4f7351e142fd3b397 21:45:45 ---> Running in 7515eae47a17 21:45:45 Removing intermediate container 7515eae47a17 21:45:45 ---> f83b2292896c 21:45:45 Step 22/22 : LABEL version=0.0.0 21:45:45 ---> Running in 4e480e49be77 21:45:45 Removing intermediate container 4e480e49be77 21:45:45 ---> c441d6c47edb 21:45:45 [Warning] One or more build-args [ARCH] were not consumed 21:45:45 Successfully built c441d6c47edb 21:45:45 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:45:46 21:45:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:45:47 arm64: Pulling from edgex-lftools-log-publisher 21:45:47 8998bd30e6a1: Pulling fs layer 21:45:47 04944245beec: Pulling fs layer 21:45:47 699f458cf7ca: Pulling fs layer 21:45:47 765212b225bb: Pulling fs layer 21:45:47 f23df028b6ca: Pulling fs layer 21:45:47 d65c8cfc05b1: Pulling fs layer 21:45:47 2437ff75d9bd: Pulling fs layer 21:45:47 f23df028b6ca: Waiting 21:45:47 d65c8cfc05b1: Waiting 21:45:47 765212b225bb: Waiting 21:45:47 2437ff75d9bd: Waiting 21:45:47 04944245beec: Verifying Checksum 21:45:47 04944245beec: Download complete 21:45:47 765212b225bb: Download complete 21:45:47 f23df028b6ca: Verifying Checksum 21:45:47 f23df028b6ca: Download complete 21:45:47 d65c8cfc05b1: Verifying Checksum 21:45:47 d65c8cfc05b1: Download complete 21:45:47 699f458cf7ca: Verifying Checksum 21:45:47 699f458cf7ca: Download complete 21:45:47 8998bd30e6a1: Verifying Checksum 21:45:47 8998bd30e6a1: Download complete 21:45:49 2437ff75d9bd: Verifying Checksum 21:45:49 2437ff75d9bd: Download complete 21:45:52 8998bd30e6a1: Pull complete 21:45:52 04944245beec: Pull complete 21:45:53 699f458cf7ca: Pull complete 21:45:54 765212b225bb: Pull complete 21:45:55 f23df028b6ca: Pull complete 21:45:55 d65c8cfc05b1: Pull complete 21:46:10 2437ff75d9bd: Pull complete 21:46:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:46:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:46:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:46:10 prd-ubuntu20.04-docker-arm64-4c-16g-6507 does not seem to be running inside a container 21:46:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:46:13 $ docker top 8393f6d067d446f623e4e7f0ddf4667dbb9780a459252968e63e522bff3cbff0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:14 ---> job-cost.sh 21:46:14 lf-activate-venv: SKIPPING 21:46:14 INFO: No Stack... 21:46:17 INFO: Retrieving Pricing Info for: v3-standard-4 21:46:18 INFO: Archiving Costs [Pipeline] sh 21:46:18 + cut -d, -f6 21:46:18 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 21:46:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-415-1-stack-cost] 21:46:18 Resource [jenkins-edgexfoundry-device-modbus-go-PR-415-1-stack-cost] did not exist. Created. 21:46:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:46:19 /w/workspace/device-modbus-go/1@tmp/durable-11999128/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:46:20 + echo total: 0.10999999940395355 [Pipeline] stash 21:46:20 Warning: overwriting stash ‘stack-cost’ 21:46:20 Stashed 1 file(s) [Pipeline] } 21:46:20 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-415-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:46:20 $ docker stop --time=1 8393f6d067d446f623e4e7f0ddf4667dbb9780a459252968e63e522bff3cbff0 21:46:21 $ docker rm -f --volumes 8393f6d067d446f623e4e7f0ddf4667dbb9780a459252968e63e522bff3cbff0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:46:22 provisioning config files... 21:46:22 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-415@tmp/config367076683653641770tmp [Pipeline] { [Pipeline] sh 21:46:23 + set +x 21:46:23 + bash -s -- 21:46:23 + curl -s https://codecov.io/bash 21:46:23 21:46:23 _____ _ 21:46:23 / ____| | | 21:46:23 | | ___ __| | ___ ___ _____ __ 21:46:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:46:23 | |___| (_) | (_| | __/ (_| (_) \ V / 21:46:23 \_____\___/ \__,_|\___|\___\___/ \_/ 21:46:23 Bash-1.0.6 21:46:23 21:46:23 21:46:23 ==> git version 2.25.1 found 21:46:23 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:46:23 Release-Date: 2020-01-08 21:46:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:46:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:46:23 ==> Jenkins CI detected. 21:46:23 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-415 21:46:23 project root: . 21:46:23 --> token set from env 21:46:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:46:23 ==> Running gcov in . (disable via -X gcov) 21:46:23 ==> Python coveragepy not found 21:46:23 ==> Searching for coverage reports in: 21:46:23 + . 21:46:23 -> Found 1 reports 21:46:23 ==> Detecting git/mercurial file structure 21:46:23 ==> Reading reports 21:46:23 + ./coverage.out bytes=23241 21:46:23 ==> Appending adjustments 21:46:23 https://docs.codecov.io/docs/fixing-reports 21:46:23 + Found adjustments 21:46:23 ==> Gzipping contents 21:46:23 4.0K /tmp/codecov.quZWUi.gz 21:46:23 ==> Uploading reports 21:46:23 url: https://codecov.io 21:46:23 query: branch=PR-415&commit=11c6e2d006034a333972faf4f7351e142fd3b397&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=415&job=&cmd_args= 21:46:23 -> Pinging Codecov 21:46:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-415&commit=11c6e2d006034a333972faf4f7351e142fd3b397&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=415&job=&cmd_args= 21:46:23 -> Uploading to 21:46:23 https://storage.googleapis.com/codecov/v4/raw/2023-02-17/55DBCA73C666E3227836607328DD7E49/11c6e2d006034a333972faf4f7351e142fd3b397/1f5d7c47-8eba-463d-a13d-9275e6baa6a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T214623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0d76da45e1bd518cc0e871215ae4c97571dcc23d0be1e4a42bfe16bb87e203b 21:46:23 % Total % Received % Xferd Average Speed Time Time Time Current 21:46:23 Dload Upload Total Spent Left Speed 21:46:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3881 0 0 100 3881 0 17561 --:--:-- --:--:-- --:--:-- 17481 100 3881 0 0 100 3881 0 13429 --:--:-- --:--:-- --:--:-- 13382 21:46:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/11c6e2d006034a333972faf4f7351e142fd3b397 [Pipeline] } 21:46:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:46:25 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-415/archives ] 21:46:25 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-415/archives 21:46:25 total 16 21:46:25 drwxr-xr-x 3 root root 4096 Feb 17 21:38 . 21:46:25 drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 21:38 .. 21:46:25 drwxr-xr-x 2 root root 4096 Feb 17 21:38 cost 21:46:25 -rw-r--r-- 1 root root 88 Feb 17 21:38 cost.csv 21:46:25 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-415/archives 21:46:25 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-415/archives 21:46:25 total 16 21:46:25 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:38 . 21:46:25 drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 21:38 .. 21:46:25 drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 21:38 cost 21:46:25 -rw-r--r-- 1 jenkins jenkins 88 Feb 17 21:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:46:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:46:26 ---> package-listing.sh 21:46:26 ++ facter osfamily 21:46:26 ++ tr '[:upper:]' '[:lower:]' 21:46:27 + OS_FAMILY=debian 21:46:27 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-415 21:46:27 + START_PACKAGES=/tmp/packages_start.txt 21:46:27 + END_PACKAGES=/tmp/packages_end.txt 21:46:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:46:27 + PACKAGES=/tmp/packages_start.txt 21:46:27 + '[' /w/workspace/xfoundry_device-modbus-go_PR-415 ']' 21:46:27 + PACKAGES=/tmp/packages_end.txt 21:46:27 + case "${OS_FAMILY}" in 21:46:27 + dpkg -l 21:46:27 + grep '^ii' 21:46:27 + '[' -f /tmp/packages_start.txt ']' 21:46:27 + '[' -f /tmp/packages_end.txt ']' 21:46:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:46:27 + '[' /w/workspace/xfoundry_device-modbus-go_PR-415 ']' 21:46:27 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-415/archives/ 21:46:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-415/archives/ [Pipeline] echo 21:46:27 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-415/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:46:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:46:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:46:28 prd-ubuntu20.04-docker-8c-8g-6504 does not seem to be running inside a container 21:46:28 $ 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-415/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-415 -v /w/workspace/xfoundry_device-modbus-go_PR-415:/w/workspace/xfoundry_device-modbus-go_PR-415:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-415@tmp:/w/workspace/xfoundry_device-modbus-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:46:28 $ docker top c2b7564f94a48b2a5330480826202eb9e53f1b1d652e72975162626bb145075d -eo pid,comm [Pipeline] { [Pipeline] sh 21:46:28 + touch /tmp/pre-build-complete [Pipeline] sh 21:46:29 + mkdir -p /var/log/sysstat [Pipeline] sh 21:46:29 + ls /var/log/sa-host 21:46:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:46:29 provisioning config files... 21:46:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-415@tmp/config4936482844090946810tmp [Pipeline] { [Pipeline] echo 21:46:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:46:30 ---> create-netrc.sh [Pipeline] } 21:46:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:46:30 ---> python-tools-install.sh [Pipeline] echo 21:46:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:46:30 ---> sudo-logs.sh 21:46:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:46:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:46:31 ---> job-cost.sh 21:46:31 lf-activate-venv: SKIPPING 21:46:31 DEBUG: total: 0.2199999988079071 21:46:31 INFO: Retrieving Stack Cost... 21:46:31 INFO: Retrieving Pricing Info for: v3-standard-8 21:46:32 INFO: Archiving Costs [Pipeline] echo 21:46:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:46:32 ---> logs-deploy.sh 21:46:32 lf-activate-venv: SKIPPING 21:46:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-415/1 21:46:32 INFO: archiving workspace using pattern(s): 21:46:33 Archives upload complete. 21:46:33 INFO: archiving logs to Nexus