Pull request #474 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0+b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 (337e4a982a0dddd6703a006f152188dfc412a651) 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-ssh1910980876953686191.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7969772456403504696.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-474/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-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12080733677176268118.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-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11475567416833706087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh4512333942490230203.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-474/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-474/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5650341027082249691.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14708 in /w/workspace/xfoundry_device-modbus-go_PR-474 [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-474 # 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 Merging remotes/origin/main commit b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 into PR head commit 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 Merge succeeded, producing 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 Checking out Revision 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 (PR-474) > 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/474/head:refs/remotes/origin/PR-474 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 # 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 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 # timeout=10 Commit message: "fix: change autoEvents keys to camelCase" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:46:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:46:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:46:49 ========================================================= 15:46:49 EdgeX Global Pipelines Version Info 15:46:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:46:50 ------------------- 15:46:50 stable info: 15:46:50 ------------------- 15:46:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:46:50 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:46:50 Message: update stable to v1.0.249 15:46:51 ------------------- 15:46:51 experimental info: 15:46:51 ------------------- 15:46:51 Commited By: **** collab-it+edgex@linuxfoundation.org 15:46:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:46:51 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:46:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-474 [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-474 [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-474 [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 41675dc [Pipeline] echo 15:46:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:52 provisioning config files... 15:46:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-474@tmp/config1078276744913134389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:53 ---> docker-login.sh 15:46:53 nexus3.edgexfoundry.org:10001 15:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:53 Configure a credential helper to remove this warning. See 15:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:53 15:46:53 Login Succeeded 15:46:53 nexus3.edgexfoundry.org:10002 15:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:53 Configure a credential helper to remove this warning. See 15:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:53 15:46:53 Login Succeeded 15:46:53 nexus3.edgexfoundry.org:10003 15:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:53 Configure a credential helper to remove this warning. See 15:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:53 15:46:53 Login Succeeded 15:46:53 nexus3.edgexfoundry.org:10004 15:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:53 Configure a credential helper to remove this warning. See 15:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:53 15:46:53 Login Succeeded 15:46:53 docker.io 15:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:54 Configure a credential helper to remove this warning. See 15:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:54 15:46:54 Login Succeeded 15:46:54 ---> docker-login.sh ends [Pipeline] } 15:46:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:46:54 + git rev-list -1 --merges 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0~1..41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 [Pipeline] echo 15:46:54 -----------> git rev-list -1 --merges 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0~1..41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 [false] [Pipeline] sh 15:46:55 + git log --format=format:%s -1 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 [Pipeline] echo 15:46:55 ========================================================= 15:46:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:46:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:46:55 + git log --format=format:%s -1 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 [Pipeline] echo 15:46:55 [semverPrep] GIT_COMMIT: 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0, Commit Message: fix: change autoEvents keys to camelCase [Pipeline] echo 15:46:55 [semverPrep] This is not a build commit. [Pipeline] sh 15:46:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:46:56 + grep -v github /etc/ssh/ssh_known_hosts 15:46:56 + [ -e /tmp/ssh_known_hosts ] 15:46:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:46:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:46:56 + sudo tee -a /etc/ssh/ssh_known_hosts 15:46:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:46:56 15:46:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:46:57 0.1.4: Pulling from edgex-devops/py-git-semver 15:46:57 b85a868b505f: Pulling fs layer 15:46:57 e2be974225ed: Pulling fs layer 15:46:57 339a4e72a1f5: Pulling fs layer 15:46:57 988bab9f4d93: Pulling fs layer 15:46:57 1469e6f7b9e6: Pulling fs layer 15:46:57 eaf3925da568: Pulling fs layer 15:46:57 bab4dde63d76: Pulling fs layer 15:46:57 bde34c3a00c8: Pulling fs layer 15:46:57 b352a97aabf1: Pulling fs layer 15:46:57 4872d77fe225: Pulling fs layer 15:46:57 5851b861e8e6: Pulling fs layer 15:46:57 988bab9f4d93: Waiting 15:46:57 bde34c3a00c8: Waiting 15:46:57 bab4dde63d76: Waiting 15:46:57 eaf3925da568: Waiting 15:46:57 1469e6f7b9e6: Waiting 15:46:57 5851b861e8e6: Waiting 15:46:57 b352a97aabf1: Waiting 15:46:57 e2be974225ed: Verifying Checksum 15:46:57 e2be974225ed: Download complete 15:46:57 988bab9f4d93: Verifying Checksum 15:46:57 988bab9f4d93: Download complete 15:46:57 1469e6f7b9e6: Verifying Checksum 15:46:57 1469e6f7b9e6: Download complete 15:46:57 339a4e72a1f5: Download complete 15:46:57 eaf3925da568: Download complete 15:46:57 bde34c3a00c8: Verifying Checksum 15:46:57 bde34c3a00c8: Download complete 15:46:57 b352a97aabf1: Verifying Checksum 15:46:57 b352a97aabf1: Download complete 15:46:57 4872d77fe225: Download complete 15:46:57 5851b861e8e6: Verifying Checksum 15:46:57 5851b861e8e6: Download complete 15:46:57 b85a868b505f: Download complete 15:46:57 bab4dde63d76: Download complete 15:46:58 b85a868b505f: Pull complete 15:46:58 e2be974225ed: Pull complete 15:46:59 339a4e72a1f5: Pull complete 15:46:59 988bab9f4d93: Pull complete 15:46:59 1469e6f7b9e6: Pull complete 15:46:59 eaf3925da568: Pull complete 15:47:01 bab4dde63d76: Pull complete 15:47:01 bde34c3a00c8: Pull complete 15:47:01 b352a97aabf1: Pull complete 15:47:01 4872d77fe225: Pull complete 15:47:01 5851b861e8e6: Pull complete 15:47:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:47:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:47:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:01 prd-ubuntu20.04-docker-8c-8g-14708 does not seem to be running inside a container 15:47:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-474 -v /w/workspace/xfoundry_device-modbus-go_PR-474:/w/workspace/xfoundry_device-modbus-go_PR-474:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-474@tmp:/w/workspace/xfoundry_device-modbus-go_PR-474@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:47:03 $ docker top 88b2f5ece6f65fd47212c24dda034dae08f0c91f383e7d0068209150ee9b859c -eo pid,comm 15:47:03 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). 15:47:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:04 [ssh-agent] Looking for ssh-agent implementation... 15:47:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:04 $ docker exec 88b2f5ece6f65fd47212c24dda034dae08f0c91f383e7d0068209150ee9b859c ssh-agent 15:47:04 SSH_AUTH_SOCK=/tmp/ssh-aDp6zew6BRZF/agent.32 15:47:04 SSH_AGENT_PID=39 15:47:04 Running ssh-add (command line suppressed) 15:47:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-474@tmp/private_key_8561465429259482112.key (/w/workspace/xfoundry_device-modbus-go_PR-474@tmp/private_key_8561465429259482112.key) 15:47:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:04 + git tag --points-at HEAD [Pipeline] } 15:47:04 $ docker exec --env ******** --env ******** 88b2f5ece6f65fd47212c24dda034dae08f0c91f383e7d0068209150ee9b859c ssh-agent -k 15:47:04 unset SSH_AUTH_SOCK; 15:47:04 unset SSH_AGENT_PID; 15:47:04 echo Agent pid 39 killed; 15:47:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:47:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:05 [ssh-agent] Looking for ssh-agent implementation... 15:47:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:05 $ docker exec 88b2f5ece6f65fd47212c24dda034dae08f0c91f383e7d0068209150ee9b859c ssh-agent 15:47:05 SSH_AUTH_SOCK=/tmp/ssh-iIyCc3YZ7eTM/agent.71 15:47:05 SSH_AGENT_PID=77 15:47:05 Running ssh-add (command line suppressed) 15:47:05 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-474@tmp/private_key_5446151354349540481.key (/w/workspace/xfoundry_device-modbus-go_PR-474@tmp/private_key_5446151354349540481.key) 15:47:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:05 + git semver init 15:47:06 2023-05-09 15:47:05,989 [run_init] DEBUG init version:0.0.0 force:False 15:47:06 2023-05-09 15:47:05,990 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-474/.semver 15:47:06 2023-05-09 15:47:05,991 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-474/.semver 15:47:06 2023-05-09 15:47:05,991 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-474/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-474, universal_newlines=False, shell=None, istream=None) 15:47:07 2023-05-09 15:47:07,031 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-474/.git/info/exclude 15:47:07 2023-05-09 15:47:07,031 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-474/.semver/PR-474 with force:False 15:47:07 2023-05-09 15:47:07,031 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-474/.semver/PR-474 15:47:07 2023-05-09 15:47:07,036 [execute] INFO git cat-file --batch-check 15:47:07 2023-05-09 15:47:07,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-474/.semver, universal_newlines=False, shell=None, istream=) 15:47:07 2023-05-09 15:47:07,042 [execute] INFO git cat-file --batch 15:47:07 2023-05-09 15:47:07,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-474/.semver, universal_newlines=False, shell=None, istream=) 15:47:07 2023-05-09 15:47:07,047 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-474/.semver/PR-474 15:47:07 0.0.0 [Pipeline] } 15:47:07 $ docker exec --env ******** --env ******** 88b2f5ece6f65fd47212c24dda034dae08f0c91f383e7d0068209150ee9b859c ssh-agent -k 15:47:07 unset SSH_AUTH_SOCK; 15:47:07 unset SSH_AGENT_PID; 15:47:07 echo Agent pid 77 killed; 15:47:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:07 + git semver [Pipeline] } 15:47:08 $ docker stop --time=1 88b2f5ece6f65fd47212c24dda034dae08f0c91f383e7d0068209150ee9b859c 15:47:09 $ docker rm -f --volumes 88b2f5ece6f65fd47212c24dda034dae08f0c91f383e7d0068209150ee9b859c [Pipeline] // withDockerContainer [Pipeline] sh 15:47:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:47:10 Stashed 1 file(s) [Pipeline] echo 15:47:10 [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 15:47:10 provisioning config files... 15:47:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-474@tmp/config299722269638140292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:11 ---> docker-login.sh 15:47:11 nexus3.edgexfoundry.org:10001 15:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:11 Configure a credential helper to remove this warning. See 15:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:11 15:47:11 Login Succeeded 15:47:11 nexus3.edgexfoundry.org:10002 15:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:11 Configure a credential helper to remove this warning. See 15:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:11 15:47:11 Login Succeeded 15:47:11 nexus3.edgexfoundry.org:10003 15:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:11 Configure a credential helper to remove this warning. See 15:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:11 15:47:11 Login Succeeded 15:47:11 nexus3.edgexfoundry.org:10004 15:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:11 Configure a credential helper to remove this warning. See 15:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:11 15:47:11 Login Succeeded 15:47:11 docker.io 15:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:11 Configure a credential helper to remove this warning. See 15:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:11 15:47:11 Login Succeeded 15:47:11 ---> docker-login.sh ends [Pipeline] } 15:47:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:47:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:47:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:47:12 ========================================================= 15:47:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:47:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:47:12 Sending build context to Docker daemon 6.498MB 15:47:12 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:47:12 Step 2/10 : FROM ${BASE} AS builder 15:47:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:47:12 f56be85fc22e: Pulling fs layer 15:47:12 85791d961cd3: Pulling fs layer 15:47:12 d694b5ae8c79: Pulling fs layer 15:47:12 9f32a84ed3da: Pulling fs layer 15:47:12 4d19c01a9841: Pulling fs layer 15:47:12 9325e15d5711: Pulling fs layer 15:47:12 556b6ee489ea: Pulling fs layer 15:47:12 c5a4b2cf53e6: Pulling fs layer 15:47:12 4d19c01a9841: Waiting 15:47:12 9325e15d5711: Waiting 15:47:12 556b6ee489ea: Waiting 15:47:12 c5a4b2cf53e6: Waiting 15:47:12 9f32a84ed3da: Waiting 15:47:12 85791d961cd3: Verifying Checksum 15:47:12 85791d961cd3: Download complete 15:47:12 9f32a84ed3da: Verifying Checksum 15:47:12 9f32a84ed3da: Download complete 15:47:12 4d19c01a9841: Verifying Checksum 15:47:12 4d19c01a9841: Download complete 15:47:12 f56be85fc22e: Verifying Checksum 15:47:12 f56be85fc22e: Download complete 15:47:12 9325e15d5711: Verifying Checksum 15:47:12 9325e15d5711: Download complete 15:47:12 f56be85fc22e: Pull complete 15:47:13 85791d961cd3: Pull complete 15:47:13 c5a4b2cf53e6: Verifying Checksum 15:47:13 c5a4b2cf53e6: Download complete 15:47:13 d694b5ae8c79: Verifying Checksum 15:47:13 d694b5ae8c79: Download complete 15:47:13 556b6ee489ea: Verifying Checksum 15:47:13 556b6ee489ea: Download complete 15:47:16 d694b5ae8c79: Pull complete 15:47:16 9f32a84ed3da: Pull complete 15:47:16 4d19c01a9841: Pull complete 15:47:16 9325e15d5711: Pull complete 15:47:19 556b6ee489ea: Pull complete 15:47:20 c5a4b2cf53e6: Pull complete 15:47:20 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 15:47:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:47:20 ---> c4be618373d6 15:47:20 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:47:22 ---> Running in 7bd6d34bf952 15:47:23 Removing intermediate container 7bd6d34bf952 15:47:23 ---> 3ce16e0c4f35 15:47:23 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:47:23 ---> Running in 757562a6d455 15:47:23 Removing intermediate container 757562a6d455 15:47:23 ---> 3147518757d1 15:47:23 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:47:23 ---> Running in d26cf88d2e40 15:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:47:23 (1/8) Installing openssh-keygen (9.1_p1-r2) 15:47:23 (2/8) Installing libedit (20221030.3.1-r0) 15:47:23 (3/8) Installing openssh-client-common (9.1_p1-r2) 15:47:23 (4/8) Installing openssh-client-default (9.1_p1-r2) 15:47:23 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 15:47:23 (6/8) Installing openssh-server-common (9.1_p1-r2) 15:47:23 (7/8) Installing openssh-server (9.1_p1-r2) 15:47:23 (8/8) Installing openssh (9.1_p1-r2) 15:47:23 Executing busybox-1.35.0-r29.trigger 15:47:23 OK: 270 MiB in 61 packages 15:47:24 Removing intermediate container d26cf88d2e40 15:47:24 ---> 00a224e9a817 15:47:24 Step 6/10 : WORKDIR /device-modbus-go 15:47:24 ---> Running in 402805e30a8c 15:47:24 Removing intermediate container 402805e30a8c 15:47:24 ---> 9f6671ef78f3 15:47:24 Step 7/10 : COPY go.mod vendor* ./ 15:47:24 ---> 01013799bf97 15:47:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:47:24 ---> Running in 5a42e9e45d23 15:47:25 Still waiting to schedule task 15:47:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14707’ 15:48:03 Removing intermediate container 5a42e9e45d23 15:48:03 ---> 34734a739533 15:48:03 Step 9/10 : COPY . . 15:48:03 ---> d2e8f646517e 15:48:03 Step 10/10 : RUN ${MAKE} 15:48:03 ---> Running in 59d856804d28 15:48:03 noop 15:48:03 Removing intermediate container 59d856804d28 15:48:03 ---> e27286f556b4 15:48:03 Successfully built e27286f556b4 15:48:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:03 + docker inspect -f . ci-base-image-x86_64 15:48:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:04 prd-ubuntu20.04-docker-8c-8g-14708 does not seem to be running inside a container 15:48:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-474 -v /w/workspace/xfoundry_device-modbus-go_PR-474:/w/workspace/xfoundry_device-modbus-go_PR-474:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-474@tmp:/w/workspace/xfoundry_device-modbus-go_PR-474@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:48:04 $ docker top 96ca6bf17e12bbb24f5aac5566a79a9ae26a5ce5e7a2d4fef0f6f8f9cb9c390c -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:04 + go version 15:48:04 go version go1.20.2 linux/amd64 [Pipeline] } 15:48:04 $ docker stop --time=1 96ca6bf17e12bbb24f5aac5566a79a9ae26a5ce5e7a2d4fef0f6f8f9cb9c390c 15:48:06 $ docker rm -f --volumes 96ca6bf17e12bbb24f5aac5566a79a9ae26a5ce5e7a2d4fef0f6f8f9cb9c390c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:06 + docker inspect -f . ci-base-image-x86_64 15:48:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:07 prd-ubuntu20.04-docker-8c-8g-14708 does not seem to be running inside a container 15:48:07 $ 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-474 -v /w/workspace/xfoundry_device-modbus-go_PR-474:/w/workspace/xfoundry_device-modbus-go_PR-474:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-474@tmp:/w/workspace/xfoundry_device-modbus-go_PR-474@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:48:07 $ docker top 719f0424f37fdd4db0ed50e6021754c1f18e2843113b3c7da336eb16fcc0c9de -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:07 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-474 [Pipeline] fileExists [Pipeline] sh 15:48:08 + make test 15:48:08 go test ./... -coverprofile=coverage.out 15:48:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:48:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:48:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 15:48:30 go vet ./... 15:48:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:48:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:48:33 ./bin/test-attribution-txt.sh [Pipeline] echo 15:48:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:48:33 $ docker stop --time=1 719f0424f37fdd4db0ed50e6021754c1f18e2843113b3c7da336eb16fcc0c9de 15:48:36 $ docker rm -f --volumes 719f0424f37fdd4db0ed50e6021754c1f18e2843113b3c7da336eb16fcc0c9de [Pipeline] // withDockerContainer [Pipeline] sh 15:48:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:48:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:48:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:48:37 + ls -al . 15:48:37 total 180 15:48:37 drwxrwxr-x 10 jenkins jenkins 4096 May 9 15:48 . 15:48:37 drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:46 .. 15:48:37 -rw-rw-r-- 1 jenkins jenkins 140 May 9 15:46 .dockerignore 15:48:37 drwxrwxr-x 8 jenkins jenkins 4096 May 9 15:47 .git 15:48:37 drwxrwxr-x 3 jenkins jenkins 4096 May 9 15:46 .github 15:48:37 -rw-rw-r-- 1 jenkins jenkins 331 May 9 15:46 .gitignore 15:48:37 -rw-rw-r-- 1 jenkins jenkins 41 May 9 15:46 .golangci.yml 15:48:37 drwxr-xr-x 3 jenkins jenkins 4096 May 9 15:47 .semver 15:48:37 -rw-rw-r-- 1 jenkins jenkins 10132 May 9 15:46 Attribution.txt 15:48:37 -rw-rw-r-- 1 jenkins jenkins 11576 May 9 15:46 CHANGELOG.md 15:48:37 -rw-rw-r-- 1 jenkins jenkins 1365 May 9 15:46 Dockerfile 15:48:37 -rw-rw-r-- 1 jenkins jenkins 677 May 9 15:46 GOVERNANCE.md 15:48:37 -rw-rw-r-- 1 jenkins jenkins 680 May 9 15:46 Jenkinsfile 15:48:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 15:46 LICENSE 15:48:37 -rw-rw-r-- 1 jenkins jenkins 1705 May 9 15:46 Makefile 15:48:37 -rw-rw-r-- 1 jenkins jenkins 622 May 9 15:46 OWNERS.md 15:48:37 -rw-rw-r-- 1 jenkins jenkins 4045 May 9 15:46 README.md 15:48:37 -rw-rw-r-- 1 jenkins jenkins 5 May 9 15:47 VERSION 15:48:37 drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:46 bin 15:48:37 drwxrwxr-x 3 jenkins jenkins 4096 May 9 15:46 cmd 15:48:37 -rw-r--r-- 1 jenkins jenkins 24160 May 9 15:48 coverage.out 15:48:37 -rw-rw-r-- 1 jenkins jenkins 3453 May 9 15:46 go.mod 15:48:37 -rw-rw-r-- 1 jenkins jenkins 31670 May 9 15:46 go.sum 15:48:37 drwxrwxr-x 3 jenkins jenkins 4096 May 9 15:46 internal 15:48:37 drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:46 simulator 15:48:37 drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:46 snap 15:48:37 -rw-rw-r-- 1 jenkins jenkins 229 May 9 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:38 + 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=41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 --label arch=amd64 --label version=0.0.0 . 15:48:38 Sending build context to Docker daemon 6.523MB 15:48:38 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 15:48:38 Step 2/22 : FROM ${BASE} AS builder 15:48:38 ---> e27286f556b4 15:48:38 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:48:38 ---> Running in 641300b2d5bc 15:48:38 Removing intermediate container 641300b2d5bc 15:48:38 ---> ab01355f6fcc 15:48:38 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:48:38 ---> Running in 00e6b60f73c3 15:48:38 Removing intermediate container 00e6b60f73c3 15:48:38 ---> 176bb6d649de 15:48:38 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:48:38 ---> Running in aeb45003dc10 15:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:48:38 OK: 270 MiB in 61 packages 15:48:39 Removing intermediate container aeb45003dc10 15:48:39 ---> 21fdac1c42b9 15:48:39 Step 6/22 : WORKDIR /device-modbus-go 15:48:39 ---> Running in 6a0f2853ce48 15:48:39 Removing intermediate container 6a0f2853ce48 15:48:39 ---> 715cc4559fd1 15:48:39 Step 7/22 : COPY go.mod vendor* ./ 15:48:39 ---> d85e8243d690 15:48:39 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:48:39 ---> Running in 3a7f29ca379a 15:48:40 Removing intermediate container 3a7f29ca379a 15:48:40 ---> 5588bcdbf5ef 15:48:40 Step 9/22 : COPY . . 15:48:40 ---> 929c270bfa6e 15:48:40 Step 10/22 : RUN ${MAKE} 15:48:40 ---> Running in 7b5d71b66fff 15:48:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 15:48:58 Removing intermediate container 7b5d71b66fff 15:48:58 ---> be14096df5dc 15:48:58 Step 11/22 : FROM alpine:3.17 15:48:59 3.17: Pulling from library/alpine 15:48:59 f56be85fc22e: Already exists 15:48:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:48:59 Status: Downloaded newer image for alpine:3.17 15:48:59 ---> 9ed4aefc74f6 15:48:59 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:48:59 ---> Running in db021ed08377 15:48:59 Removing intermediate container db021ed08377 15:48:59 ---> af014c2f6302 15:48:59 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:48:59 ---> Running in 13f672340f53 15:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:49:00 (1/1) Installing dumb-init (1.2.5-r2) 15:49:00 Executing busybox-1.35.0-r29.trigger 15:49:00 OK: 7 MiB in 16 packages 15:49:00 Removing intermediate container 13f672340f53 15:49:00 ---> fa9cd6459c46 15:49:00 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:49:01 ---> 2275ea22e62f 15:49:01 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:49:01 ---> 4f03f7528213 15:49:01 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:49:01 ---> 5f441190a24b 15:49:01 Step 17/22 : EXPOSE 59901 15:49:01 ---> Running in 51cfe4d6a32c 15:49:01 Removing intermediate container 51cfe4d6a32c 15:49:01 ---> 3542ce0aab7f 15:49:01 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:49:01 ---> Running in b75777dc855a 15:49:01 Removing intermediate container b75777dc855a 15:49:01 ---> 7151d8903cba 15:49:01 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:49:01 ---> Running in 420260303d3d 15:49:01 Removing intermediate container 420260303d3d 15:49:01 ---> 2f27ac08941d 15:49:01 Step 20/22 : LABEL arch=amd64 15:49:01 ---> Running in f313bf4fdda8 15:49:01 Removing intermediate container f313bf4fdda8 15:49:01 ---> bae1437b91ac 15:49:01 Step 21/22 : LABEL git_sha=41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 15:49:01 ---> Running in 4bf82dca8088 15:49:01 Removing intermediate container 4bf82dca8088 15:49:01 ---> c682b70c7c41 15:49:01 Step 22/22 : LABEL version=0.0.0 15:49:01 ---> Running in 54d88abd2f1e 15:49:01 Removing intermediate container 54d88abd2f1e 15:49:01 ---> ac9f3c9e2725 15:49:01 [Warning] One or more build-args [ARCH] were not consumed 15:49:01 Successfully built ac9f3c9e2725 15:49:01 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 15:49:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:02 15:49:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:03 latest: Pulling from edgex-lftools-log-publisher 15:49:03 5eb5b503b376: Pulling fs layer 15:49:03 5c69ac0246d0: Pulling fs layer 15:49:03 ec43610c2a17: Pulling fs layer 15:49:03 3a2ae6a8a46f: Pulling fs layer 15:49:03 33b1e0a273af: Pulling fs layer 15:49:03 5d3b04190fa2: Pulling fs layer 15:49:03 3a2ae6a8a46f: Waiting 15:49:03 33b1e0a273af: Waiting 15:49:03 2f39f015ded8: Pulling fs layer 15:49:03 2f39f015ded8: Waiting 15:49:03 5c69ac0246d0: Verifying Checksum 15:49:03 5c69ac0246d0: Download complete 15:49:03 3a2ae6a8a46f: Verifying Checksum 15:49:03 3a2ae6a8a46f: Download complete 15:49:03 33b1e0a273af: Verifying Checksum 15:49:03 33b1e0a273af: Download complete 15:49:03 5d3b04190fa2: Verifying Checksum 15:49:03 5d3b04190fa2: Download complete 15:49:03 ec43610c2a17: Verifying Checksum 15:49:03 ec43610c2a17: Download complete 15:49:03 5eb5b503b376: Verifying Checksum 15:49:03 5eb5b503b376: Download complete 15:49:04 2f39f015ded8: Download complete 15:49:04 5eb5b503b376: Pull complete 15:49:04 5c69ac0246d0: Pull complete 15:49:05 ec43610c2a17: Pull complete 15:49:05 3a2ae6a8a46f: Pull complete 15:49:05 33b1e0a273af: Pull complete 15:49:05 5d3b04190fa2: Pull complete 15:49:09 2f39f015ded8: Pull complete 15:49:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:49:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:10 prd-ubuntu20.04-docker-8c-8g-14708 does not seem to be running inside a container 15:49: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/xfoundry_device-modbus-go_PR-474 -v /w/workspace/xfoundry_device-modbus-go_PR-474:/w/workspace/xfoundry_device-modbus-go_PR-474:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-474@tmp:/w/workspace/xfoundry_device-modbus-go_PR-474@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:49:12 $ docker top 2766652e98409452660ea899165b6ef90b4c9bfc555f8c5936d4e304af2002e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:12 ---> job-cost.sh 15:49:12 lf-activate-venv: SKIPPING 15:49:12 INFO: No Stack... 15:49:13 INFO: Retrieving Pricing Info for: v3-standard-8 15:49:13 INFO: Archiving Costs [Pipeline] sh 15:49:14 + cat /w/workspace/xfoundry_device-modbus-go_PR-474/archives/cost.csv 15:49:14 + cut -d, -f6 [Pipeline] lock 15:49:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-474-1-stack-cost] 15:49:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-474-1-stack-cost] did not exist. Created. 15:49:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-474-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:49:14 + echo total: 0.2199999988079071 [Pipeline] stash 15:49:14 Stashed 1 file(s) [Pipeline] } 15:49:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-474-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:49:14 $ docker stop --time=1 2766652e98409452660ea899165b6ef90b4c9bfc555f8c5936d4e304af2002e1 15:49:15 $ docker rm -f --volumes 2766652e98409452660ea899165b6ef90b4c9bfc555f8c5936d4e304af2002e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:50:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14709 in /w/workspace/xfoundry_device-modbus-go_PR-474 [Pipeline] { [Pipeline] ws 15:50:21 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 15:50:21 Selected Git installation does not exist. Using Default 15:50:21 The recommended git tool is: NONE 15:50:27 using credential edgex-jenkins-ssh 15:50:27 Cloning the remote Git repository 15:50:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:50:27 > git init /w/workspace/device-modbus-go/1 # timeout=10 15:50:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:50:27 > git --version # timeout=10 15:50:27 > git --version # 'git version 2.25.1' 15:50:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:50:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:50:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:50:30 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:50:30 Merging remotes/origin/main commit b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 into PR head commit 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 15:50:31 Merge succeeded, producing 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 15:50:31 Checking out Revision 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 (PR-474) 15:50:30 > git config core.sparsecheckout # timeout=10 15:50:30 > git checkout -f 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 # timeout=10 15:50:30 > git remote # timeout=10 15:50:30 > git config --get remote.origin.url # timeout=10 15:50:30 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:30 > git merge b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 # timeout=10 15:50:31 > git rev-parse HEAD^{commit} # timeout=10 15:50:31 > git config core.sparsecheckout # timeout=10 15:50:31 > git checkout -f 41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 # timeout=10 15:50:34 Commit message: "fix: change autoEvents keys to camelCase" 15:50:34 > git --version # timeout=10 15:50:34 > git --version # 'git version 2.25.1' 15:50:34 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:50:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:50:35 % Total % Received % Xferd Average Speed Time Time Time Current 15:50:35 Dload Upload Total Spent Left Speed 15:50:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 15:50:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:50:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:50:36 + sudo tee /etc/docker/daemon.new 15:50:36 { 15:50:36 "registry-mirrors": [ 15:50:36 "https://nexus3.edgexfoundry.org:10001" 15:50:36 ], 15:50:36 "bip": "10.250.0.254/24", 15:50:36 "hosts": [ 15:50:36 "tcp://0.0.0.0:5555", 15:50:36 "unix:///var/run/docker.sock" 15:50:36 ], 15:50:36 "mtu": 1458, 15:50:36 "selinux-enabled": true, 15:50:36 "seccomp-profile": "/etc/docker/seccomp.json" 15:50:36 } [Pipeline] sh 15:50:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:50:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:50:56 provisioning config files... 15:50:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config15156175600084978356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:56 ---> docker-login.sh 15:50:56 nexus3.edgexfoundry.org:10001 15:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:57 Configure a credential helper to remove this warning. See 15:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:57 15:50:57 Login Succeeded 15:50:57 nexus3.edgexfoundry.org:10002 15:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:57 Configure a credential helper to remove this warning. See 15:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:57 15:50:57 Login Succeeded 15:50:57 nexus3.edgexfoundry.org:10003 15:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:57 Configure a credential helper to remove this warning. See 15:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:57 15:50:57 Login Succeeded 15:50:57 nexus3.edgexfoundry.org:10004 15:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:58 Configure a credential helper to remove this warning. See 15:50:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:58 15:50:58 Login Succeeded 15:50:58 docker.io 15:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:59 Configure a credential helper to remove this warning. See 15:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:59 15:50:59 Login Succeeded 15:50:59 ---> docker-login.sh ends [Pipeline] } 15:50:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:50:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:50:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:50:59 ========================================================= 15:50:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:50:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:51:00 Sending build context to Docker daemon 3.401MB 15:51:00 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:51:00 Step 2/10 : FROM ${BASE} AS builder 15:51:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:51:00 c41833b44d91: Pulling fs layer 15:51:00 ed15518f5707: Pulling fs layer 15:51:00 feae8fd75edb: Pulling fs layer 15:51:00 242c74f7c9fa: Pulling fs layer 15:51:00 3cdef696dda3: Pulling fs layer 15:51:00 2ced38df9373: Pulling fs layer 15:51:00 58f1dce35555: Pulling fs layer 15:51:00 3cdef696dda3: Waiting 15:51:00 242c74f7c9fa: Waiting 15:51:00 58f1dce35555: Waiting 15:51:00 ed15518f5707: Verifying Checksum 15:51:00 ed15518f5707: Download complete 15:51:00 242c74f7c9fa: Verifying Checksum 15:51:00 242c74f7c9fa: Download complete 15:51:00 3cdef696dda3: Verifying Checksum 15:51:00 3cdef696dda3: Download complete 15:51:00 c41833b44d91: Verifying Checksum 15:51:00 c41833b44d91: Download complete 15:51:01 c41833b44d91: Pull complete 15:51:02 58f1dce35555: Verifying Checksum 15:51:02 58f1dce35555: Download complete 15:51:02 ed15518f5707: Pull complete 15:51:03 feae8fd75edb: Verifying Checksum 15:51:03 feae8fd75edb: Download complete 15:51:03 2ced38df9373: Verifying Checksum 15:51:03 2ced38df9373: Download complete 15:51:15 feae8fd75edb: Pull complete 15:51:15 242c74f7c9fa: Pull complete 15:51:15 3cdef696dda3: Pull complete 15:51:21 2ced38df9373: Pull complete 15:51:23 58f1dce35555: Pull complete 15:51:23 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 15:51:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:51:23 ---> fadd8f120f05 15:51:23 Step 3/10 : ARG ADD_BUILD_TAGS="" 15:51:25 ---> Running in 9081303f681d 15:51:25 Removing intermediate container 9081303f681d 15:51:25 ---> ede65a2a7617 15:51:25 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:51:26 ---> Running in 22d65e64d5ab 15:51:26 Removing intermediate container 22d65e64d5ab 15:51:26 ---> c73fc9aa1c61 15:51:26 Step 5/10 : RUN apk add --update --no-cache make git openssh 15:51:26 ---> Running in d61f817b8a1b 15:51:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:51:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:51:29 (1/8) Installing openssh-keygen (9.1_p1-r2) 15:51:29 (2/8) Installing libedit (20221030.3.1-r0) 15:51:29 (3/8) Installing openssh-client-common (9.1_p1-r2) 15:51:29 (4/8) Installing openssh-client-default (9.1_p1-r2) 15:51:29 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 15:51:29 (6/8) Installing openssh-server-common (9.1_p1-r2) 15:51:29 (7/8) Installing openssh-server (9.1_p1-r2) 15:51:29 (8/8) Installing openssh (9.1_p1-r2) 15:51:29 Executing busybox-1.35.0-r29.trigger 15:51:29 OK: 270 MiB in 61 packages 15:51:31 Removing intermediate container d61f817b8a1b 15:51:31 ---> 354a2aadc2de 15:51:31 Step 6/10 : WORKDIR /device-modbus-go 15:51:31 ---> Running in bcc424831c8d 15:51:31 Removing intermediate container bcc424831c8d 15:51:31 ---> b81529dd9e26 15:51:31 Step 7/10 : COPY go.mod vendor* ./ 15:51:33 ---> 02707398d599 15:51:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:51:33 ---> Running in d191446d769f 15:52:41 Removing intermediate container d191446d769f 15:52:41 ---> c54799fdaffd 15:52:41 Step 9/10 : COPY . . 15:52:42 ---> 561cf3f2fb89 15:52:42 Step 10/10 : RUN ${MAKE} 15:52:42 ---> Running in 4be249fed7ea 15:52:42 noop 15:52:43 Removing intermediate container 4be249fed7ea 15:52:43 ---> 3098cd1d7acf 15:52:43 Successfully built 3098cd1d7acf 15:52:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:44 + docker inspect -f . ci-base-image-arm64 15:52:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:44 prd-ubuntu20.04-docker-arm64-4c-16g-14709 does not seem to be running inside a container 15:52:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:52:45 $ docker top 83c6c588790e01b09af0976eea8f00589baff92a3d2eed4c5c3449a78dcd3401 -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:46 + go version 15:52:46 go version go1.20.2 linux/arm64 [Pipeline] } 15:52:46 $ docker stop --time=1 83c6c588790e01b09af0976eea8f00589baff92a3d2eed4c5c3449a78dcd3401 15:52:48 $ docker rm -f --volumes 83c6c588790e01b09af0976eea8f00589baff92a3d2eed4c5c3449a78dcd3401 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:48 + docker inspect -f . ci-base-image-arm64 15:52:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:49 prd-ubuntu20.04-docker-arm64-4c-16g-14709 does not seem to be running inside a container 15:52:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:52:50 $ docker top e2175e773f29b65c4059825b40195433f5f95c3938261ca730745ce0da1ddc14 -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:50 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 15:52:51 + make test 15:52:51 go test ./... -coverprofile=coverage.out 15:53:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:55:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:55:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.4% of statements 15:55:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:55:15 go vet ./... 15:55:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:55:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:55:37 ./bin/test-attribution-txt.sh [Pipeline] echo 15:55:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:55:38 $ docker stop --time=1 e2175e773f29b65c4059825b40195433f5f95c3938261ca730745ce0da1ddc14 15:55:39 $ docker rm -f --volumes e2175e773f29b65c4059825b40195433f5f95c3938261ca730745ce0da1ddc14 [Pipeline] // withDockerContainer [Pipeline] sh 15:55:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:55:41 Warning: overwriting stash ‘coverage-report’ 15:55:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:55:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:55:42 + ls -al . 15:55:42 total 176 15:55:42 drwxrwxr-x 9 jenkins jenkins 4096 May 9 15:52 . 15:55:42 drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:50 .. 15:55:42 -rw-rw-r-- 1 jenkins jenkins 140 May 9 15:50 .dockerignore 15:55:42 drwxrwxr-x 8 jenkins jenkins 4096 May 9 15:50 .git 15:55:42 drwxrwxr-x 3 jenkins jenkins 4096 May 9 15:50 .github 15:55:42 -rw-rw-r-- 1 jenkins jenkins 331 May 9 15:50 .gitignore 15:55:42 -rw-rw-r-- 1 jenkins jenkins 41 May 9 15:50 .golangci.yml 15:55:42 -rw-rw-r-- 1 jenkins jenkins 10132 May 9 15:50 Attribution.txt 15:55:42 -rw-rw-r-- 1 jenkins jenkins 11576 May 9 15:50 CHANGELOG.md 15:55:42 -rw-rw-r-- 1 jenkins jenkins 1365 May 9 15:50 Dockerfile 15:55:42 -rw-rw-r-- 1 jenkins jenkins 677 May 9 15:50 GOVERNANCE.md 15:55:42 -rw-rw-r-- 1 jenkins jenkins 680 May 9 15:50 Jenkinsfile 15:55:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 15:50 LICENSE 15:55:42 -rw-rw-r-- 1 jenkins jenkins 1705 May 9 15:50 Makefile 15:55:42 -rw-rw-r-- 1 jenkins jenkins 622 May 9 15:50 OWNERS.md 15:55:42 -rw-rw-r-- 1 jenkins jenkins 4045 May 9 15:50 README.md 15:55:42 -rw-rw-r-- 1 jenkins jenkins 5 May 9 15:47 VERSION 15:55:42 drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:50 bin 15:55:42 drwxrwxr-x 3 jenkins jenkins 4096 May 9 15:50 cmd 15:55:42 -rw-r--r-- 1 jenkins jenkins 24160 May 9 15:55 coverage.out 15:55:42 -rw-rw-r-- 1 jenkins jenkins 3453 May 9 15:50 go.mod 15:55:42 -rw-rw-r-- 1 jenkins jenkins 31670 May 9 15:50 go.sum 15:55:42 drwxrwxr-x 3 jenkins jenkins 4096 May 9 15:50 internal 15:55:42 drwxrwxr-x 2 jenkins jenkins 4096 May 9 15:50 simulator 15:55:42 drwxrwxr-x 4 jenkins jenkins 4096 May 9 15:50 snap 15:55:42 -rw-rw-r-- 1 jenkins jenkins 229 May 9 15:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:43 + 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=41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 --label arch=arm64 --label version=0.0.0 . 15:55:43 Sending build context to Docker daemon 3.426MB 15:55:43 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 15:55:43 Step 2/22 : FROM ${BASE} AS builder 15:55:43 ---> 3098cd1d7acf 15:55:43 Step 3/22 : ARG ADD_BUILD_TAGS="" 15:55:46 ---> Running in b0fa2aafe9b3 15:55:46 Removing intermediate container b0fa2aafe9b3 15:55:46 ---> cef92978ca2d 15:55:46 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:55:46 ---> Running in 950bf7fb1dc4 15:55:46 Removing intermediate container 950bf7fb1dc4 15:55:46 ---> 7a73fa4da451 15:55:46 Step 5/22 : RUN apk add --update --no-cache make git openssh 15:55:46 ---> Running in 276ea12b19ff 15:55:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:55:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:55:49 OK: 270 MiB in 61 packages 15:55:50 Removing intermediate container 276ea12b19ff 15:55:50 ---> efd4026e4a22 15:55:50 Step 6/22 : WORKDIR /device-modbus-go 15:55:50 ---> Running in 27d7dc36a56e 15:55:50 Removing intermediate container 27d7dc36a56e 15:55:50 ---> ef98fe4eee25 15:55:50 Step 7/22 : COPY go.mod vendor* ./ 15:55:51 ---> e7b5acd23463 15:55:51 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:55:51 ---> Running in 64d963f34047 15:55:53 Removing intermediate container 64d963f34047 15:55:53 ---> 2e2d11e96e30 15:55:53 Step 9/22 : COPY . . 15:55:54 ---> b103c047a01e 15:55:54 Step 10/22 : RUN ${MAKE} 15:55:54 ---> Running in a1f448a9aaba 15:55:55 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 15:58:17 Removing intermediate container a1f448a9aaba 15:58:17 ---> 909316c74dbe 15:58:17 Step 11/22 : FROM alpine:3.17 15:58:17 3.17: Pulling from library/alpine 15:58:17 c41833b44d91: Already exists 15:58:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:58:17 Status: Downloaded newer image for alpine:3.17 15:58:17 ---> 51e60588ff2c 15:58:17 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:58:17 ---> Running in e7e2e4c7eccb 15:58:17 Removing intermediate container e7e2e4c7eccb 15:58:17 ---> 8b3fcc9466f4 15:58:17 Step 13/22 : RUN apk add --update --no-cache dumb-init 15:58:17 ---> Running in 8ad3058ebd92 15:58:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:58:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:58:17 (1/1) Installing dumb-init (1.2.5-r2) 15:58:17 Executing busybox-1.35.0-r29.trigger 15:58:17 OK: 8 MiB in 16 packages 15:58:17 Removing intermediate container 8ad3058ebd92 15:58:17 ---> de5612b99f0c 15:58:17 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 15:58:17 ---> a0a50e522b26 15:58:17 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 15:58:17 ---> db167fa0430f 15:58:17 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:58:17 ---> f2623bd73d21 15:58:17 Step 17/22 : EXPOSE 59901 15:58:17 ---> Running in e700ffac0a88 15:58:17 Removing intermediate container e700ffac0a88 15:58:17 ---> 8d3e246ea4fc 15:58:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 15:58:17 ---> Running in 3cc7680650ba 15:58:17 Removing intermediate container 3cc7680650ba 15:58:17 ---> e929ba09f046 15:58:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:58:17 ---> Running in 6a0f09230d63 15:58:17 Removing intermediate container 6a0f09230d63 15:58:17 ---> cb372e0e566a 15:58:17 Step 20/22 : LABEL arch=arm64 15:58:17 ---> Running in 534deda7c8ed 15:58:17 Removing intermediate container 534deda7c8ed 15:58:17 ---> 9ca363b104ef 15:58:17 Step 21/22 : LABEL git_sha=41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 15:58:17 ---> Running in f38de097a935 15:58:17 Removing intermediate container f38de097a935 15:58:17 ---> 261c8642f5d5 15:58:17 Step 22/22 : LABEL version=0.0.0 15:58:17 ---> Running in b3300bb895e3 15:58:17 Removing intermediate container b3300bb895e3 15:58:17 ---> d2d4aa24d6af 15:58:17 [Warning] One or more build-args [ARCH] were not consumed 15:58:17 Successfully built d2d4aa24d6af 15:58:17 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 15:58:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:18 15:58:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:18 arm64: Pulling from edgex-lftools-log-publisher 15:58:18 8998bd30e6a1: Pulling fs layer 15:58:18 04944245beec: Pulling fs layer 15:58:18 699f458cf7ca: Pulling fs layer 15:58:18 765212b225bb: Pulling fs layer 15:58:18 f23df028b6ca: Pulling fs layer 15:58:18 d65c8cfc05b1: Pulling fs layer 15:58:18 2437ff75d9bd: Pulling fs layer 15:58:18 f23df028b6ca: Waiting 15:58:18 d65c8cfc05b1: Waiting 15:58:18 2437ff75d9bd: Waiting 15:58:18 765212b225bb: Waiting 15:58:19 04944245beec: Verifying Checksum 15:58:19 04944245beec: Download complete 15:58:19 765212b225bb: Verifying Checksum 15:58:19 765212b225bb: Download complete 15:58:19 f23df028b6ca: Verifying Checksum 15:58:19 f23df028b6ca: Download complete 15:58:19 d65c8cfc05b1: Verifying Checksum 15:58:19 d65c8cfc05b1: Download complete 15:58:19 699f458cf7ca: Verifying Checksum 15:58:19 699f458cf7ca: Download complete 15:58:19 8998bd30e6a1: Verifying Checksum 15:58:19 8998bd30e6a1: Download complete 15:58:22 2437ff75d9bd: Verifying Checksum 15:58:22 2437ff75d9bd: Download complete 15:58:24 8998bd30e6a1: Pull complete 15:58:24 04944245beec: Pull complete 15:58:25 699f458cf7ca: Pull complete 15:58:25 765212b225bb: Pull complete 15:58:26 f23df028b6ca: Pull complete 15:58:27 d65c8cfc05b1: Pull complete 15:58:42 2437ff75d9bd: Pull complete 15:58:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:42 prd-ubuntu20.04-docker-arm64-4c-16g-14709 does not seem to be running inside a container 15:58:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:58:45 $ docker top d5add9a8897280835fc48d48969207e546ed97a547731ded01c268c4d6041196 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:46 ---> job-cost.sh 15:58:46 lf-activate-venv: SKIPPING 15:58:46 INFO: No Stack... 15:58:46 INFO: Retrieving Pricing Info for: v3-standard-4 15:58:47 INFO: Archiving Costs [Pipeline] sh 15:58:48 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 15:58:48 + cut -d, -f6 [Pipeline] lock 15:58:48 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-474-1-stack-cost] 15:58:48 Resource [jenkins-edgexfoundry-device-modbus-go-PR-474-1-stack-cost] did not exist. Created. 15:58:48 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-474-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:58:48 /w/workspace/device-modbus-go/1@tmp/durable-5aaacdf2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:58:49 + echo total: 0.10999999940395355 [Pipeline] stash 15:58:49 Warning: overwriting stash ‘stack-cost’ 15:58:49 Stashed 1 file(s) [Pipeline] } 15:58:49 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-474-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:58:49 $ docker stop --time=1 d5add9a8897280835fc48d48969207e546ed97a547731ded01c268c4d6041196 15:58:50 $ docker rm -f --volumes d5add9a8897280835fc48d48969207e546ed97a547731ded01c268c4d6041196 [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 15:58:51 provisioning config files... 15:58:51 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-474@tmp/config7889710185694960286tmp [Pipeline] { [Pipeline] sh 15:58:52 + set +x 15:58:52 + curl -s https://codecov.io/bash 15:58:52 + bash -s -- 15:58:52 15:58:52 _____ _ 15:58:52 / ____| | | 15:58:52 | | ___ __| | ___ ___ _____ __ 15:58:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:58:52 | |___| (_) | (_| | __/ (_| (_) \ V / 15:58:52 \_____\___/ \__,_|\___|\___\___/ \_/ 15:58:52 Bash-1.0.6 15:58:52 15:58:52 15:58:52 ==> git version 2.25.1 found 15:58:52 ==> 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 15:58:52 Release-Date: 2020-01-08 15:58:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:58:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:58:52 ==> Jenkins CI detected. 15:58:52 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-474 15:58:52 project root: . 15:58:52 --> token set from env 15:58:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:58:52 ==> Running gcov in . (disable via -X gcov) 15:58:52 ==> Python coveragepy not found 15:58:52 ==> Searching for coverage reports in: 15:58:52 + . 15:58:52 -> Found 1 reports 15:58:52 ==> Detecting git/mercurial file structure 15:58:52 ==> Reading reports 15:58:52 + ./coverage.out bytes=24160 15:58:52 ==> Appending adjustments 15:58:52 https://docs.codecov.io/docs/fixing-reports 15:58:52 + Found adjustments 15:58:52 ==> Gzipping contents 15:58:52 4.0K /tmp/codecov.iDNP6M.gz 15:58:52 ==> Uploading reports 15:58:52 url: https://codecov.io 15:58:52 query: branch=PR-474&commit=41675dc23b25ea45f5c0b30b1d0a480d2f42aac0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=474&job=&cmd_args= 15:58:52 -> Pinging Codecov 15:58:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-474&commit=41675dc23b25ea45f5c0b30b1d0a480d2f42aac0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=474&job=&cmd_args= 15:58:52 -> Uploading to 15:58:52 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/55DBCA73C666E3227836607328DD7E49/41675dc23b25ea45f5c0b30b1d0a480d2f42aac0/7476c48d-9cc2-4bc9-9bb6-69d2e55b9825.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T155852Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=68ec148a05725a0efaec84cde8f94751741d0c24fbb1b9c61893caebee108644 15:58:52 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:52 Dload Upload Total Spent Left Speed 15:58:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18000 --:--:-- --:--:-- --:--:-- 18082 15:58:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/41675dc23b25ea45f5c0b30b1d0a480d2f42aac0 [Pipeline] } 15:58:53 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 15:58:54 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-474/archives ] 15:58:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-474/archives 15:58:54 total 16 15:58:54 drwxr-xr-x 3 root root 4096 May 9 15:49 . 15:58:54 drwxrwxr-x 11 jenkins jenkins 4096 May 9 15:49 .. 15:58:54 drwxr-xr-x 2 root root 4096 May 9 15:49 cost 15:58:54 -rw-r--r-- 1 root root 88 May 9 15:49 cost.csv 15:58:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-474/archives 15:58:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-474/archives 15:58:54 total 16 15:58:54 drwxr-xr-x 3 jenkins jenkins 4096 May 9 15:49 . 15:58:54 drwxrwxr-x 11 jenkins jenkins 4096 May 9 15:49 .. 15:58:54 drwxr-xr-x 2 jenkins jenkins 4096 May 9 15:49 cost 15:58:54 -rw-r--r-- 1 jenkins jenkins 88 May 9 15:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:58:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:58:56 ---> package-listing.sh 15:58:56 ++ facter osfamily 15:58:56 ++ tr '[:upper:]' '[:lower:]' 15:58:56 + OS_FAMILY=debian 15:58:56 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-474 15:58:56 + START_PACKAGES=/tmp/packages_start.txt 15:58:56 + END_PACKAGES=/tmp/packages_end.txt 15:58:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:58:56 + PACKAGES=/tmp/packages_start.txt 15:58:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-474 ']' 15:58:56 + PACKAGES=/tmp/packages_end.txt 15:58:56 + case "${OS_FAMILY}" in 15:58:56 + dpkg -l 15:58:56 + grep '^ii' 15:58:56 + '[' -f /tmp/packages_start.txt ']' 15:58:56 + '[' -f /tmp/packages_end.txt ']' 15:58:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:58:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-474 ']' 15:58:56 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-474/archives/ 15:58:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-474/archives/ [Pipeline] echo 15:58:56 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-474/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:58:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:58:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:57 prd-ubuntu20.04-docker-8c-8g-14708 does not seem to be running inside a container 15:58:57 $ 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-474/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-474 -v /w/workspace/xfoundry_device-modbus-go_PR-474:/w/workspace/xfoundry_device-modbus-go_PR-474:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-474@tmp:/w/workspace/xfoundry_device-modbus-go_PR-474@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:58:57 $ docker top 77c0e5cfe609274af7c37ab5cbcb62ac5c52fbf15c39bb44fbda112639dde348 -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:57 + touch /tmp/pre-build-complete [Pipeline] sh 15:58:58 + mkdir -p /var/log/sysstat [Pipeline] sh 15:58:58 + ls /var/log/sa-host 15:58:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:58 provisioning config files... 15:58:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-474@tmp/config15763534559840898526tmp [Pipeline] { [Pipeline] echo 15:58:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:58:59 ---> create-netrc.sh [Pipeline] } 15:58:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:58:59 ---> python-tools-install.sh [Pipeline] echo 15:58:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:58:59 ---> sudo-logs.sh 15:58:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:58:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:59:00 ---> job-cost.sh 15:59:00 lf-activate-venv: SKIPPING 15:59:00 DEBUG: total: 0.2199999988079071 15:59:00 INFO: Retrieving Stack Cost... 15:59:00 INFO: Retrieving Pricing Info for: v3-standard-8 15:59:01 INFO: Archiving Costs [Pipeline] echo 15:59:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:59:01 ---> logs-deploy.sh 15:59:01 lf-activate-venv: SKIPPING 15:59:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-474/1 15:59:01 INFO: archiving workspace using pattern(s): 15:59:02 Archives upload complete. 15:59:02 INFO: archiving logs to Nexus