Pull request #500 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 lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 71524b76186fbdc8fe95e20776a6bb92c831bfb7+65be627d22220786ca580fff7b0bf73c9ac4aaab (e9f8115a1c628227ff9c77884a2f1af3d629dd66) 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-ssh491940038621480217.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17277668060258104534.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-500/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-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11359169287902310239.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-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15952664986293672220.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh17497713245807435097.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-500/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-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14644268770731684311.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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-6018 in /w/workspace/xfoundry_device-modbus-go_PR-500 [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-500 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 65be627d22220786ca580fff7b0bf73c9ac4aaab into PR head commit 71524b76186fbdc8fe95e20776a6bb92c831bfb7 Merge succeeded, producing 71524b76186fbdc8fe95e20776a6bb92c831bfb7 Checking out Revision 71524b76186fbdc8fe95e20776a6bb92c831bfb7 (PR-500) > git config core.sparsecheckout # timeout=10 > git checkout -f 71524b76186fbdc8fe95e20776a6bb92c831bfb7 # 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 65be627d22220786ca580fff7b0bf73c9ac4aaab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71524b76186fbdc8fe95e20776a6bb92c831bfb7 # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:59:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:59:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:59:28 ========================================================= 21:59:28 EdgeX Global Pipelines Version Info 21:59:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:59:29 ------------------- 21:59:29 stable info: 21:59:29 ------------------- 21:59:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:59:29 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:59:29 Message: update stable to v1.0.254 21:59:30 ------------------- 21:59:30 experimental info: 21:59:30 ------------------- 21:59:30 Commited By: **** collab-it+edgex@linuxfoundation.org 21:59:30 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:59:30 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71524b7 [Pipeline] echo 21:59:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:32 provisioning config files... 21:59:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/config1079090864645109723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:32 ---> docker-login.sh 21:59:32 nexus3.edgexfoundry.org:10001 21:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:32 Configure a credential helper to remove this warning. See 21:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:32 21:59:32 Login Succeeded 21:59:32 nexus3.edgexfoundry.org:10002 21:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:32 Configure a credential helper to remove this warning. See 21:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:32 21:59:32 Login Succeeded 21:59:32 nexus3.edgexfoundry.org:10003 21:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:32 Configure a credential helper to remove this warning. See 21:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:32 21:59:32 Login Succeeded 21:59:32 nexus3.edgexfoundry.org:10004 21:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:32 Configure a credential helper to remove this warning. See 21:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:32 21:59:32 Login Succeeded 21:59:32 docker.io 21:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:33 Configure a credential helper to remove this warning. See 21:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:33 21:59:33 Login Succeeded 21:59:33 ---> docker-login.sh ends [Pipeline] } 21:59:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:59:33 + git rev-list -1 --merges 71524b76186fbdc8fe95e20776a6bb92c831bfb7~1..71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] echo 21:59:33 -----------> git rev-list -1 --merges 71524b76186fbdc8fe95e20776a6bb92c831bfb7~1..71524b76186fbdc8fe95e20776a6bb92c831bfb7 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [false] [Pipeline] sh 21:59:34 + git log --format=format:%s -1 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] echo 21:59:34 ========================================================= 21:59:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:59:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:59:34 + git log --format=format:%s -1 71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] echo 21:59:34 [semverPrep] GIT_COMMIT: 71524b76186fbdc8fe95e20776a6bb92c831bfb7, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo 21:59:34 [semverPrep] This is not a build commit. [Pipeline] sh 21:59:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:59:35 + grep -v github /etc/ssh/ssh_known_hosts 21:59:35 + [ -e /tmp/ssh_known_hosts ] 21:59:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:59:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:59:35 + sudo tee -a /etc/ssh/ssh_known_hosts 21:59:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:35 21:59:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:35 0.1.4: Pulling from edgex-devops/py-git-semver 21:59:35 b85a868b505f: Pulling fs layer 21:59:35 e2be974225ed: Pulling fs layer 21:59:35 339a4e72a1f5: Pulling fs layer 21:59:35 988bab9f4d93: Pulling fs layer 21:59:35 1469e6f7b9e6: Pulling fs layer 21:59:35 eaf3925da568: Pulling fs layer 21:59:35 bab4dde63d76: Pulling fs layer 21:59:35 bde34c3a00c8: Pulling fs layer 21:59:35 b352a97aabf1: Pulling fs layer 21:59:35 4872d77fe225: Pulling fs layer 21:59:35 5851b861e8e6: Pulling fs layer 21:59:35 bab4dde63d76: Waiting 21:59:35 4872d77fe225: Waiting 21:59:35 5851b861e8e6: Waiting 21:59:35 bde34c3a00c8: Waiting 21:59:35 b352a97aabf1: Waiting 21:59:35 eaf3925da568: Waiting 21:59:35 988bab9f4d93: Waiting 21:59:35 1469e6f7b9e6: Waiting 21:59:35 e2be974225ed: Download complete 21:59:35 988bab9f4d93: Verifying Checksum 21:59:35 988bab9f4d93: Download complete 21:59:35 1469e6f7b9e6: Verifying Checksum 21:59:35 1469e6f7b9e6: Download complete 21:59:36 eaf3925da568: Verifying Checksum 21:59:36 eaf3925da568: Download complete 21:59:36 339a4e72a1f5: Verifying Checksum 21:59:36 339a4e72a1f5: Download complete 21:59:36 bde34c3a00c8: Download complete 21:59:36 b352a97aabf1: Download complete 21:59:36 4872d77fe225: Verifying Checksum 21:59:36 4872d77fe225: Download complete 21:59:36 5851b861e8e6: Verifying Checksum 21:59:36 5851b861e8e6: Download complete 21:59:36 b85a868b505f: Verifying Checksum 21:59:36 b85a868b505f: Download complete 21:59:36 bab4dde63d76: Verifying Checksum 21:59:36 bab4dde63d76: Download complete 21:59:37 b85a868b505f: Pull complete 21:59:37 e2be974225ed: Pull complete 21:59:37 339a4e72a1f5: Pull complete 21:59:37 988bab9f4d93: Pull complete 21:59:38 1469e6f7b9e6: Pull complete 21:59:38 eaf3925da568: Pull complete 21:59:40 bab4dde63d76: Pull complete 21:59:40 bde34c3a00c8: Pull complete 21:59:40 b352a97aabf1: Pull complete 21:59:40 4872d77fe225: Pull complete 21:59:40 5851b861e8e6: Pull complete 21:59:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:59:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:40 prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container 21:59:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:59:43 $ docker top 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf -eo pid,comm 21:59:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:59:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:59:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:59:43 [ssh-agent] Looking for ssh-agent implementation... 21:59:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:59:43 $ docker exec 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf ssh-agent 21:59:43 SSH_AUTH_SOCK=/tmp/ssh-JpqHCVXXR4rt/agent.32 21:59:43 SSH_AGENT_PID=38 21:59:43 Running ssh-add (command line suppressed) 21:59:43 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-500@tmp/private_key_4232504968531862303.key (/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/private_key_4232504968531862303.key) 21:59:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:59:44 + git tag --points-at HEAD [Pipeline] } 21:59:44 $ docker exec --env ******** --env ******** 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf ssh-agent -k 21:59:44 unset SSH_AUTH_SOCK; 21:59:44 unset SSH_AGENT_PID; 21:59:44 echo Agent pid 38 killed; 21:59:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:59:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:59:44 [ssh-agent] Looking for ssh-agent implementation... 21:59:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:59:44 $ docker exec 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf ssh-agent 21:59:44 SSH_AUTH_SOCK=/tmp/ssh-0wPd8pJEn8oW/agent.70 21:59:44 SSH_AGENT_PID=76 21:59:44 Running ssh-add (command line suppressed) 21:59:44 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-500@tmp/private_key_9461037848180656455.key (/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/private_key_9461037848180656455.key) 21:59:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:59:45 + git semver init 21:59:45 2023-09-12 21:59:45,317 [run_init] DEBUG init version:0.0.0 force:False 21:59:45 2023-09-12 21:59:45,318 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-500/.semver 21:59:45 2023-09-12 21:59:45,319 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-500/.semver 21:59:45 2023-09-12 21:59:45,319 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-500/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-500, universal_newlines=False, shell=None, istream=None) 21:59:46 2023-09-12 21:59:46,124 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-500/.git/info/exclude 21:59:46 2023-09-12 21:59:46,125 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-500/.semver/PR-500 with force:False 21:59:46 2023-09-12 21:59:46,125 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-500/.semver/PR-500 21:59:46 2023-09-12 21:59:46,129 [execute] INFO git cat-file --batch-check 21:59:46 2023-09-12 21:59:46,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) 21:59:46 2023-09-12 21:59:46,135 [execute] INFO git cat-file --batch 21:59:46 2023-09-12 21:59:46,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) 21:59:46 2023-09-12 21:59:46,140 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-500/.semver/PR-500 21:59:46 0.0.0 [Pipeline] } 21:59:46 $ docker exec --env ******** --env ******** 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf ssh-agent -k 21:59:46 unset SSH_AUTH_SOCK; 21:59:46 unset SSH_AGENT_PID; 21:59:46 echo Agent pid 76 killed; 21:59:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:59:46 + git semver [Pipeline] } 21:59:47 $ docker stop --time=1 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf 21:59:48 $ docker rm -f --volumes 60256df19b480bc5ee333cb7341f630a0c9b1596cda79d71780b089a8511cacf [Pipeline] // withDockerContainer [Pipeline] sh 21:59:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:59:49 Stashed 1 file(s) [Pipeline] echo 21:59:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:50 provisioning config files... 21:59:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/config12544730224653076331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:50 ---> docker-login.sh 21:59:50 nexus3.edgexfoundry.org:10001 21:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:50 Configure a credential helper to remove this warning. See 21:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:50 21:59:50 Login Succeeded 21:59:50 nexus3.edgexfoundry.org:10002 21:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:50 Configure a credential helper to remove this warning. See 21:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:50 21:59:50 Login Succeeded 21:59:50 nexus3.edgexfoundry.org:10003 21:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:50 Configure a credential helper to remove this warning. See 21:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:50 21:59:50 Login Succeeded 21:59:50 nexus3.edgexfoundry.org:10004 21:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:50 Configure a credential helper to remove this warning. See 21:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:50 21:59:50 Login Succeeded 21:59:50 docker.io 21:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:51 Configure a credential helper to remove this warning. See 21:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:51 21:59:51 Login Succeeded 21:59:51 ---> docker-login.sh ends [Pipeline] } 21:59:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:59:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:51 ========================================================= 21:59:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:59:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:59:51 Sending build context to Docker daemon 6.428MB 21:59:51 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:59:51 Step 2/10 : FROM ${BASE} AS builder 21:59:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:59:51 7264a8db6415: Pulling fs layer 21:59:51 c4d48a809fc2: Pulling fs layer 21:59:51 4f1c88b9dad5: Pulling fs layer 21:59:51 ad3a456e5733: Pulling fs layer 21:59:51 9e4f439ed901: Pulling fs layer 21:59:51 feaf6a47b606: Pulling fs layer 21:59:51 5e8b037d7d82: Pulling fs layer 21:59:51 8ac70367396e: Pulling fs layer 21:59:51 6db16350a2e2: Pulling fs layer 21:59:51 9250d5d63582: Pulling fs layer 21:59:51 ad3a456e5733: Waiting 21:59:51 9250d5d63582: Waiting 21:59:51 6db16350a2e2: Waiting 21:59:51 8ac70367396e: Waiting 21:59:51 9e4f439ed901: Waiting 21:59:51 5e8b037d7d82: Waiting 21:59:51 feaf6a47b606: Waiting 21:59:51 c4d48a809fc2: Download complete 21:59:51 ad3a456e5733: Download complete 21:59:51 9e4f439ed901: Verifying Checksum 21:59:51 9e4f439ed901: Download complete 21:59:51 7264a8db6415: Verifying Checksum 21:59:51 7264a8db6415: Download complete 21:59:52 feaf6a47b606: Verifying Checksum 21:59:52 feaf6a47b606: Download complete 21:59:52 7264a8db6415: Pull complete 21:59:52 c4d48a809fc2: Pull complete 21:59:52 8ac70367396e: Verifying Checksum 21:59:52 8ac70367396e: Download complete 21:59:52 4f1c88b9dad5: Verifying Checksum 21:59:52 4f1c88b9dad5: Download complete 21:59:52 6db16350a2e2: Verifying Checksum 21:59:52 6db16350a2e2: Download complete 21:59:52 5e8b037d7d82: Verifying Checksum 21:59:52 5e8b037d7d82: Download complete 21:59:52 9250d5d63582: Verifying Checksum 21:59:52 9250d5d63582: Download complete 21:59:55 4f1c88b9dad5: Pull complete 21:59:55 ad3a456e5733: Pull complete 21:59:55 9e4f439ed901: Pull complete 21:59:55 feaf6a47b606: Pull complete 21:59:58 5e8b037d7d82: Pull complete 21:59:58 8ac70367396e: Pull complete 21:59:58 6db16350a2e2: Pull complete 21:59:59 9250d5d63582: Pull complete 21:59:59 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 21:59:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:59:59 ---> fa269f55d9b9 21:59:59 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:00:04 Still waiting to schedule task 22:00:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:00:07 ---> Running in cebcbee15103 22:00:07 Removing intermediate container cebcbee15103 22:00:07 ---> 0e944626ca0b 22:00:07 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:00:07 ---> Running in a7dfd3c5f3d9 22:00:07 Removing intermediate container a7dfd3c5f3d9 22:00:07 ---> ea221dc5373d 22:00:07 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:00:07 ---> Running in 8451cc44bf2d 22:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:00:08 (1/8) Installing openssh-keygen (9.3_p2-r0) 22:00:08 (2/8) Installing libedit (20221030.3.1-r1) 22:00:08 (3/8) Installing openssh-client-common (9.3_p2-r0) 22:00:08 (4/8) Installing openssh-client-default (9.3_p2-r0) 22:00:08 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 22:00:08 (6/8) Installing openssh-server-common (9.3_p2-r0) 22:00:08 (7/8) Installing openssh-server (9.3_p2-r0) 22:00:08 (8/8) Installing openssh (9.3_p2-r0) 22:00:08 Executing busybox-1.36.1-r2.trigger 22:00:08 OK: 271 MiB in 64 packages 22:00:08 Removing intermediate container 8451cc44bf2d 22:00:08 ---> 0fe9f90b299c 22:00:08 Step 6/10 : WORKDIR /device-modbus-go 22:00:08 ---> Running in fe4e1cd88972 22:00:08 Removing intermediate container fe4e1cd88972 22:00:08 ---> 4a3d7f7d29d4 22:00:08 Step 7/10 : COPY go.mod vendor* ./ 22:00:08 ---> 3056b0da25b9 22:00:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:00:08 ---> Running in 0eea2b248706 22:00:47 Removing intermediate container 0eea2b248706 22:00:47 ---> 67c78a4d268b 22:00:47 Step 9/10 : COPY . . 22:00:47 ---> 864bafc9de43 22:00:47 Step 10/10 : RUN ${MAKE} 22:00:47 ---> Running in 6657e753450e 22:00:47 noop 22:00:47 Removing intermediate container 6657e753450e 22:00:47 ---> f3550b0414fb 22:00:47 Successfully built f3550b0414fb 22:00:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:48 + docker inspect -f . ci-base-image-x86_64 22:00:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:48 prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container 22:00:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:00:48 $ docker top 581e598687fe22ee1f2c5db1bcc141435d0b6205fff8ee0f93ad481f37a6eb86 -eo pid,comm [Pipeline] { [Pipeline] sh 22:00:49 + go version 22:00:49 go version go1.21.0 linux/amd64 [Pipeline] } 22:00:49 $ docker stop --time=1 581e598687fe22ee1f2c5db1bcc141435d0b6205fff8ee0f93ad481f37a6eb86 22:00:50 $ docker rm -f --volumes 581e598687fe22ee1f2c5db1bcc141435d0b6205fff8ee0f93ad481f37a6eb86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:51 + docker inspect -f . ci-base-image-x86_64 22:00:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:51 prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container 22:00:51 $ 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-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:00:51 $ docker top cbda9bca3fc5cb9ea3be5af26da90f3db3f198e069f4942d4b49348388ae2112 -eo pid,comm [Pipeline] { [Pipeline] sh 22:00:52 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-500 [Pipeline] fileExists [Pipeline] sh 22:00:52 + make test 22:00:52 go test ./... -coverprofile=coverage.out 22:00:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:01:03 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:01:03 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements 22:01:11 go vet ./... 22:01:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:01:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:01:14 ./bin/test-attribution-txt.sh [Pipeline] echo 22:01:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:01:14 $ docker stop --time=1 cbda9bca3fc5cb9ea3be5af26da90f3db3f198e069f4942d4b49348388ae2112 22:01:18 $ docker rm -f --volumes cbda9bca3fc5cb9ea3be5af26da90f3db3f198e069f4942d4b49348388ae2112 [Pipeline] // withDockerContainer [Pipeline] sh 22:01:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:01:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:01:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:01:20 + ls -al . 22:01:20 total 192 22:01:20 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:00 . 22:01:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:59 .. 22:01:20 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 21:59 .dockerignore 22:01:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:01 .git 22:01:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:59 .github 22:01:20 -rw-rw-r-- 1 jenkins jenkins 331 Sep 12 21:59 .gitignore 22:01:20 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:59 .golangci.yml 22:01:20 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:59 .semver 22:01:20 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 12 21:59 Attribution.txt 22:01:20 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 12 21:59 CHANGELOG.md 22:01:20 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 12 21:59 Dockerfile 22:01:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:59 GOVERNANCE.md 22:01:20 -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 21:59 Jenkinsfile 22:01:20 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:59 LICENSE 22:01:20 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 12 21:59 Makefile 22:01:20 -rw-rw-r-- 1 jenkins jenkins 622 Sep 12 21:59 OWNERS.md 22:01:20 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 12 21:59 README.md 22:01:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:59 VERSION 22:01:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:59 bin 22:01:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:59 cmd 22:01:20 -rw-r--r-- 1 jenkins jenkins 24334 Sep 12 22:01 coverage.out 22:01:20 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 12 21:59 go.mod 22:01:20 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 12 21:59 go.sum 22:01:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:59 internal 22:01:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:59 simulator 22:01:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:59 snap 22:01:20 -rw-rw-r-- 1 jenkins jenkins 229 Sep 12 21:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:20 + 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=71524b76186fbdc8fe95e20776a6bb92c831bfb7 --label arch=amd64 --label version=0.0.0 . 22:01:20 Sending build context to Docker daemon 6.453MB 22:01:20 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 22:01:20 Step 2/22 : FROM ${BASE} AS builder 22:01:20 ---> f3550b0414fb 22:01:20 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:01:21 ---> Running in 132525b2510b 22:01:21 Removing intermediate container 132525b2510b 22:01:21 ---> a3c57d42a505 22:01:21 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:01:21 ---> Running in d24eaa995297 22:01:21 Removing intermediate container d24eaa995297 22:01:21 ---> 985e1a09ba3d 22:01:21 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:01:21 ---> Running in 884a74a72ab3 22:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:01:22 OK: 271 MiB in 64 packages 22:01:23 Removing intermediate container 884a74a72ab3 22:01:23 ---> 0bfd5d67b461 22:01:23 Step 6/22 : WORKDIR /device-modbus-go 22:01:23 ---> Running in 90ba6315dddb 22:01:24 Removing intermediate container 90ba6315dddb 22:01:24 ---> 35b50e7b811e 22:01:24 Step 7/22 : COPY go.mod vendor* ./ 22:01:24 ---> 8a6f4f01a7de 22:01:24 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:01:24 ---> Running in c2b3bda9cdbb 22:01:26 Removing intermediate container c2b3bda9cdbb 22:01:26 ---> 705262fdefc0 22:01:26 Step 9/22 : COPY . . 22:01:27 ---> acc3d9a7595d 22:01:27 Step 10/22 : RUN ${MAKE} 22:01:27 ---> Running in cc1ca1c305ef 22:01:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:01:49 Removing intermediate container cc1ca1c305ef 22:01:49 ---> 31d15b89912d 22:01:49 Step 11/22 : FROM alpine:3.18 22:01:49 3.18: Pulling from library/alpine 22:01:49 7264a8db6415: Already exists 22:01:49 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 22:01:49 Status: Downloaded newer image for alpine:3.18 22:01:49 ---> 7e01a0d0a1dc 22:01:49 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:01:49 ---> Running in d1e3e171b266 22:01:49 Removing intermediate container d1e3e171b266 22:01:49 ---> 42f74135c5d7 22:01:49 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:01:49 ---> Running in e61b9651bc2f 22:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:01:49 (1/1) Installing dumb-init (1.2.5-r2) 22:01:49 Executing busybox-1.36.1-r2.trigger 22:01:49 OK: 7 MiB in 16 packages 22:01:49 Removing intermediate container e61b9651bc2f 22:01:49 ---> 29f7bd0de775 22:01:49 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:01:49 ---> 31c496bf3c73 22:01:49 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:01:49 ---> fed6c93729a1 22:01:49 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:01:49 ---> 892a72576492 22:01:49 Step 17/22 : EXPOSE 59901 22:01:49 ---> Running in 6be7c535ff2e 22:01:49 Removing intermediate container 6be7c535ff2e 22:01:49 ---> c5cd900a23a2 22:01:49 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:01:49 ---> Running in ccae690772b0 22:01:49 Removing intermediate container ccae690772b0 22:01:49 ---> 88602956019e 22:01:49 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:01:49 ---> Running in c12c0b977575 22:01:49 Removing intermediate container c12c0b977575 22:01:49 ---> 6b03c3d29c03 22:01:49 Step 20/22 : LABEL arch=amd64 22:01:49 ---> Running in 464c81e36d00 22:01:49 Removing intermediate container 464c81e36d00 22:01:49 ---> 100361d940af 22:01:49 Step 21/22 : LABEL git_sha=71524b76186fbdc8fe95e20776a6bb92c831bfb7 22:01:49 ---> Running in a6dbde2ae1bb 22:01:49 Removing intermediate container a6dbde2ae1bb 22:01:49 ---> 2f728dee5959 22:01:49 Step 22/22 : LABEL version=0.0.0 22:01:49 ---> Running in 0ee65d0120be 22:01:50 Removing intermediate container 0ee65d0120be 22:01:50 ---> 5c581e7de71c 22:01:50 [Warning] One or more build-args [ARCH] were not consumed 22:01:50 Successfully built 5c581e7de71c 22:01:50 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 22:01:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:01:50 22:01:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:01:51 latest: Pulling from edgex-lftools-log-publisher 22:01:51 5eb5b503b376: Pulling fs layer 22:01:51 5c69ac0246d0: Pulling fs layer 22:01:51 ec43610c2a17: Pulling fs layer 22:01:51 3a2ae6a8a46f: Pulling fs layer 22:01:51 33b1e0a273af: Pulling fs layer 22:01:51 5d3b04190fa2: Pulling fs layer 22:01:51 2f39f015ded8: Pulling fs layer 22:01:51 3a2ae6a8a46f: Waiting 22:01:51 33b1e0a273af: Waiting 22:01:51 5d3b04190fa2: Waiting 22:01:51 5c69ac0246d0: Verifying Checksum 22:01:51 5c69ac0246d0: Download complete 22:01:51 3a2ae6a8a46f: Download complete 22:01:51 33b1e0a273af: Verifying Checksum 22:01:51 33b1e0a273af: Download complete 22:01:51 5d3b04190fa2: Verifying Checksum 22:01:51 5d3b04190fa2: Download complete 22:01:51 ec43610c2a17: Verifying Checksum 22:01:51 ec43610c2a17: Download complete 22:01:51 5eb5b503b376: Verifying Checksum 22:01:51 5eb5b503b376: Download complete 22:01:52 2f39f015ded8: Verifying Checksum 22:01:52 2f39f015ded8: Download complete 22:01:53 5eb5b503b376: Pull complete 22:01:53 5c69ac0246d0: Pull complete 22:01:53 ec43610c2a17: Pull complete 22:01:53 3a2ae6a8a46f: Pull complete 22:01:54 33b1e0a273af: Pull complete 22:01:54 5d3b04190fa2: Pull complete 22:02:00 2f39f015ded8: Pull complete 22:02:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:02:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:02:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:00 prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container 22:02:00 $ 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-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:02:05 $ docker top e078d9518b23631b3eb26c5ce3610d7822893ebb6ed5a80c8d3fdc358582c415 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:02:05 ---> job-cost.sh 22:02:05 lf-activate-venv: SKIPPING 22:02:05 INFO: No Stack... 22:02:06 INFO: Retrieving Pricing Info for: v3-standard-8 22:02:06 INFO: Archiving Costs [Pipeline] sh 22:02:06 + cut -d, -f6 22:02:06 + cat /w/workspace/xfoundry_device-modbus-go_PR-500/archives/cost.csv [Pipeline] lock 22:02:06 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] 22:02:06 Resource [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] did not exist. Created. 22:02:06 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:02:07 + echo total: 0.2199999988079071 [Pipeline] stash 22:02:07 Stashed 1 file(s) [Pipeline] } 22:02:07 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:02:07 $ docker stop --time=1 e078d9518b23631b3eb26c5ce3610d7822893ebb6ed5a80c8d3fdc358582c415 22:02:08 $ docker rm -f --volumes e078d9518b23631b3eb26c5ce3610d7822893ebb6ed5a80c8d3fdc358582c415 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:02:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6021 in /w/workspace/xfoundry_device-modbus-go_PR-500 [Pipeline] { [Pipeline] ws 22:02:49 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 22:02:49 Selected Git installation does not exist. Using Default 22:02:49 The recommended git tool is: NONE 22:02:54 using credential edgex-jenkins-ssh 22:02:54 Cloning the remote Git repository 22:02:54 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:02:54 > git init /w/workspace/device-modbus-go/1 # timeout=10 22:02:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:02:55 > git --version # timeout=10 22:02:55 > git --version # 'git version 2.25.1' 22:02:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:02:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:02:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:02:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:02:57 Merging remotes/origin/main commit 65be627d22220786ca580fff7b0bf73c9ac4aaab into PR head commit 71524b76186fbdc8fe95e20776a6bb92c831bfb7 22:02:57 Merge succeeded, producing 71524b76186fbdc8fe95e20776a6bb92c831bfb7 22:02:57 Checking out Revision 71524b76186fbdc8fe95e20776a6bb92c831bfb7 (PR-500) 22:02:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:02:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:02:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:02:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:02:57 > git config core.sparsecheckout # timeout=10 22:02:57 > git checkout -f 71524b76186fbdc8fe95e20776a6bb92c831bfb7 # timeout=10 22:02:57 > git remote # timeout=10 22:02:57 > git config --get remote.origin.url # timeout=10 22:02:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:02:57 > git merge 65be627d22220786ca580fff7b0bf73c9ac4aaab # timeout=10 22:02:57 > git rev-parse HEAD^{commit} # timeout=10 22:02:57 > git config core.sparsecheckout # timeout=10 22:02:57 > git checkout -f 71524b76186fbdc8fe95e20776a6bb92c831bfb7 # timeout=10 22:03:01 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" 22:03:01 > git --version # timeout=10 22:03:01 > git --version # 'git version 2.25.1' 22:03:01 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:03:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:03:02 % Total % Received % Xferd Average Speed Time Time Time Current 22:03:02 Dload Upload Total Spent Left Speed 22:03:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 22:03:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:03:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:03:03 + sudo tee /etc/docker/daemon.new 22:03:03 { 22:03:03 "registry-mirrors": [ 22:03:03 "https://nexus3.edgexfoundry.org:10001" 22:03:03 ], 22:03:03 "bip": "10.250.0.254/24", 22:03:03 "hosts": [ 22:03:03 "tcp://0.0.0.0:5555", 22:03:03 "unix:///var/run/docker.sock" 22:03:03 ], 22:03:03 "mtu": 1458, 22:03:03 "selinux-enabled": true, 22:03:03 "seccomp-profile": "/etc/docker/seccomp.json" 22:03:03 } [Pipeline] sh 22:03:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:03:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:22 provisioning config files... 22:03:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config9502537549341726639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:22 ---> docker-login.sh 22:03:22 nexus3.edgexfoundry.org:10001 22:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:23 Configure a credential helper to remove this warning. See 22:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:23 22:03:23 Login Succeeded 22:03:23 nexus3.edgexfoundry.org:10002 22:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:23 Configure a credential helper to remove this warning. See 22:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:23 22:03:23 Login Succeeded 22:03:23 nexus3.edgexfoundry.org:10003 22:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:24 Configure a credential helper to remove this warning. See 22:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:24 22:03:24 Login Succeeded 22:03:24 nexus3.edgexfoundry.org:10004 22:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:24 Configure a credential helper to remove this warning. See 22:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:24 22:03:24 Login Succeeded 22:03:24 docker.io 22:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:25 Configure a credential helper to remove this warning. See 22:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:25 22:03:25 Login Succeeded 22:03:25 ---> docker-login.sh ends [Pipeline] } 22:03:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:03:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:25 ========================================================= 22:03:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:03:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:03:26 Sending build context to Docker daemon 3.338MB 22:03:26 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 22:03:26 Step 2/10 : FROM ${BASE} AS builder 22:03:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:03:26 9fda8d8052c6: Pulling fs layer 22:03:26 5d54e960e981: Pulling fs layer 22:03:26 c4a7e357bf2a: Pulling fs layer 22:03:26 f0e02332f6b5: Pulling fs layer 22:03:26 66412af1f25a: Pulling fs layer 22:03:26 1baf3a5c0e64: Pulling fs layer 22:03:26 9a37bb91b891: Pulling fs layer 22:03:26 a29adfc67d43: Pulling fs layer 22:03:26 d5de9f91c1a4: Pulling fs layer 22:03:26 1baf3a5c0e64: Waiting 22:03:26 a29adfc67d43: Waiting 22:03:26 9a37bb91b891: Waiting 22:03:26 d5de9f91c1a4: Waiting 22:03:26 66412af1f25a: Waiting 22:03:26 f0e02332f6b5: Waiting 22:03:26 5d54e960e981: Verifying Checksum 22:03:26 5d54e960e981: Download complete 22:03:26 f0e02332f6b5: Verifying Checksum 22:03:26 f0e02332f6b5: Download complete 22:03:26 66412af1f25a: Verifying Checksum 22:03:26 66412af1f25a: Download complete 22:03:26 9fda8d8052c6: Download complete 22:03:27 9a37bb91b891: Verifying Checksum 22:03:27 9a37bb91b891: Download complete 22:03:28 a29adfc67d43: Verifying Checksum 22:03:28 a29adfc67d43: Download complete 22:03:28 9fda8d8052c6: Pull complete 22:03:28 5d54e960e981: Pull complete 22:03:28 d5de9f91c1a4: Verifying Checksum 22:03:28 d5de9f91c1a4: Download complete 22:03:29 c4a7e357bf2a: Verifying Checksum 22:03:29 c4a7e357bf2a: Download complete 22:03:30 1baf3a5c0e64: Verifying Checksum 22:03:30 1baf3a5c0e64: Download complete 22:03:40 c4a7e357bf2a: Pull complete 22:03:40 f0e02332f6b5: Pull complete 22:03:40 66412af1f25a: Pull complete 22:03:47 1baf3a5c0e64: Pull complete 22:03:48 9a37bb91b891: Pull complete 22:03:49 a29adfc67d43: Pull complete 22:03:51 d5de9f91c1a4: Pull complete 22:03:51 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 22:03:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:03:51 ---> 746ca1b523b5 22:03:51 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:03:53 ---> Running in 627e39871a9b 22:03:53 Removing intermediate container 627e39871a9b 22:03:53 ---> 7c17cabb884b 22:03:53 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:03:53 ---> Running in 6452718cce57 22:03:53 Removing intermediate container 6452718cce57 22:03:53 ---> b227abb9e747 22:03:53 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:03:53 ---> Running in 72a9b745f7d2 22:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:03:56 (1/8) Installing openssh-keygen (9.3_p2-r0) 22:03:56 (2/8) Installing libedit (20221030.3.1-r1) 22:03:56 (3/8) Installing openssh-client-common (9.3_p2-r0) 22:03:56 (4/8) Installing openssh-client-default (9.3_p2-r0) 22:03:56 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 22:03:56 (6/8) Installing openssh-server-common (9.3_p2-r0) 22:03:56 (7/8) Installing openssh-server (9.3_p2-r0) 22:03:56 (8/8) Installing openssh (9.3_p2-r0) 22:03:56 Executing busybox-1.36.1-r2.trigger 22:03:56 OK: 274 MiB in 64 packages 22:03:57 Removing intermediate container 72a9b745f7d2 22:03:57 ---> 72ada2802d3e 22:03:57 Step 6/10 : WORKDIR /device-modbus-go 22:03:57 ---> Running in 8afdb00be665 22:03:58 Removing intermediate container 8afdb00be665 22:03:58 ---> 9ceedccfcfb9 22:03:58 Step 7/10 : COPY go.mod vendor* ./ 22:03:58 ---> ae127cd3988e 22:03:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:03:58 ---> Running in 39b96baa3526 22:05:06 Removing intermediate container 39b96baa3526 22:05:06 ---> 9ff89c955b6b 22:05:06 Step 9/10 : COPY . . 22:05:06 ---> f133ae9e1db9 22:05:06 Step 10/10 : RUN ${MAKE} 22:05:06 ---> Running in 24b40163a030 22:05:06 noop 22:05:06 Removing intermediate container 24b40163a030 22:05:06 ---> 5b3346ece8e1 22:05:06 Successfully built 5b3346ece8e1 22:05:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:07 + docker inspect -f . ci-base-image-arm64 22:05:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:07 prd-ubuntu20.04-docker-arm64-4c-16g-6021 does not seem to be running inside a container 22:05:07 $ 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 22:05:08 $ docker top 5bd8b2cc2812c830c657bfc85bea102444aafe81afe958273938b4358c9688f7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:09 + go version 22:05:09 go version go1.21.0 linux/arm64 [Pipeline] } 22:05:09 $ docker stop --time=1 5bd8b2cc2812c830c657bfc85bea102444aafe81afe958273938b4358c9688f7 22:05:11 $ docker rm -f --volumes 5bd8b2cc2812c830c657bfc85bea102444aafe81afe958273938b4358c9688f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:12 + docker inspect -f . ci-base-image-arm64 22:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:12 prd-ubuntu20.04-docker-arm64-4c-16g-6021 does not seem to be running inside a container 22:05:12 $ 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 22:05:14 $ docker top b551c574260a80c36ab999ad1968b19c4abab42dd4b214a5cd143017e1ac7823 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:14 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 22:05:15 + make test 22:05:15 go test ./... -coverprofile=coverage.out 22:05:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:07:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:07:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.9% of statements 22:07:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:07:29 go vet ./... 22:07:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:07:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:07:51 ./bin/test-attribution-txt.sh [Pipeline] echo 22:07:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:07:51 $ docker stop --time=1 b551c574260a80c36ab999ad1968b19c4abab42dd4b214a5cd143017e1ac7823 22:07:53 $ docker rm -f --volumes b551c574260a80c36ab999ad1968b19c4abab42dd4b214a5cd143017e1ac7823 [Pipeline] // withDockerContainer [Pipeline] sh 22:07:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:07:54 Warning: overwriting stash ‘coverage-report’ 22:07:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:07:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:07:56 + ls -al . 22:07:56 total 188 22:07:56 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 22:05 . 22:07:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:02 .. 22:07:56 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 22:02 .dockerignore 22:07:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:02 .git 22:07:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:02 .github 22:07:56 -rw-rw-r-- 1 jenkins jenkins 331 Sep 12 22:02 .gitignore 22:07:56 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:02 .golangci.yml 22:07:56 -rw-rw-r-- 1 jenkins jenkins 11101 Sep 12 22:02 Attribution.txt 22:07:56 -rw-rw-r-- 1 jenkins jenkins 14764 Sep 12 22:02 CHANGELOG.md 22:07:56 -rw-rw-r-- 1 jenkins jenkins 1365 Sep 12 22:02 Dockerfile 22:07:56 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:02 GOVERNANCE.md 22:07:56 -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:02 Jenkinsfile 22:07:56 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:02 LICENSE 22:07:56 -rw-rw-r-- 1 jenkins jenkins 1936 Sep 12 22:02 Makefile 22:07:56 -rw-rw-r-- 1 jenkins jenkins 622 Sep 12 22:02 OWNERS.md 22:07:56 -rw-rw-r-- 1 jenkins jenkins 4578 Sep 12 22:02 README.md 22:07:56 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:59 VERSION 22:07:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:02 bin 22:07:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:02 cmd 22:07:56 -rw-r--r-- 1 jenkins jenkins 24334 Sep 12 22:07 coverage.out 22:07:56 -rw-rw-r-- 1 jenkins jenkins 3940 Sep 12 22:02 go.mod 22:07:56 -rw-rw-r-- 1 jenkins jenkins 34434 Sep 12 22:02 go.sum 22:07:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:02 internal 22:07:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:02 simulator 22:07:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:02 snap 22:07:56 -rw-rw-r-- 1 jenkins jenkins 229 Sep 12 22:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:56 + 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=71524b76186fbdc8fe95e20776a6bb92c831bfb7 --label arch=arm64 --label version=0.0.0 . 22:07:57 Sending build context to Docker daemon 3.363MB 22:07:57 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 22:07:57 Step 2/22 : FROM ${BASE} AS builder 22:07:57 ---> 5b3346ece8e1 22:07:57 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:07:57 ---> Running in 6a05cb7d84f3 22:07:57 Removing intermediate container 6a05cb7d84f3 22:07:57 ---> ae0498f6ea4b 22:07:57 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:07:57 ---> Running in 87ff71b2a73d 22:07:57 Removing intermediate container 87ff71b2a73d 22:07:57 ---> 89dfcadd37b8 22:07:57 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:07:58 ---> Running in 90a2c976a9a0 22:07:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:07:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:08:01 OK: 274 MiB in 64 packages 22:08:02 Removing intermediate container 90a2c976a9a0 22:08:02 ---> 74d90de2f1ab 22:08:02 Step 6/22 : WORKDIR /device-modbus-go 22:08:02 ---> Running in 524e78f6c418 22:08:02 Removing intermediate container 524e78f6c418 22:08:02 ---> 2b32916dc3a2 22:08:02 Step 7/22 : COPY go.mod vendor* ./ 22:08:02 ---> e8c816c6409d 22:08:02 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:08:02 ---> Running in 17120ea78e99 22:08:05 Removing intermediate container 17120ea78e99 22:08:05 ---> 70751e3ce886 22:08:05 Step 9/22 : COPY . . 22:08:06 ---> 619c3c7f0475 22:08:06 Step 10/22 : RUN ${MAKE} 22:08:06 ---> Running in 905eb65e8831 22:08:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:10:29 Removing intermediate container 905eb65e8831 22:10:29 ---> 72718faf43cc 22:10:29 Step 11/22 : FROM alpine:3.18 22:10:29 3.18: Pulling from library/alpine 22:10:29 9fda8d8052c6: Already exists 22:10:29 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 22:10:29 Status: Downloaded newer image for alpine:3.18 22:10:29 ---> f6648c04cd6c 22:10:29 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:10:29 ---> Running in c167b38aea44 22:10:29 Removing intermediate container c167b38aea44 22:10:29 ---> ff2503c308f2 22:10:29 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:10:29 ---> Running in 6c480857d44e 22:10:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:10:31 (1/1) Installing dumb-init (1.2.5-r2) 22:10:31 Executing busybox-1.36.1-r2.trigger 22:10:32 OK: 8 MiB in 16 packages 22:10:32 Removing intermediate container 6c480857d44e 22:10:32 ---> 94e7352c8be8 22:10:32 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:10:34 ---> a988ac010c96 22:10:34 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:10:35 ---> 53044a13507f 22:10:35 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:10:35 ---> 03a89b061887 22:10:35 Step 17/22 : EXPOSE 59901 22:10:35 ---> Running in f4e4f8efe168 22:10:36 Removing intermediate container f4e4f8efe168 22:10:36 ---> 9ee47adaaade 22:10:36 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:10:36 ---> Running in c7ebd369fde2 22:10:36 Removing intermediate container c7ebd369fde2 22:10:36 ---> 0fba15dbef37 22:10:36 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:10:36 ---> Running in 8ecf401893bc 22:10:37 Removing intermediate container 8ecf401893bc 22:10:37 ---> fd23588caf96 22:10:37 Step 20/22 : LABEL arch=arm64 22:10:37 ---> Running in 4296d46393ec 22:10:37 Removing intermediate container 4296d46393ec 22:10:37 ---> 54aaefd6fa8d 22:10:37 Step 21/22 : LABEL git_sha=71524b76186fbdc8fe95e20776a6bb92c831bfb7 22:10:37 ---> Running in 980e9d676b51 22:10:37 Removing intermediate container 980e9d676b51 22:10:37 ---> bf0323290e87 22:10:37 Step 22/22 : LABEL version=0.0.0 22:10:37 ---> Running in f351f02b2f65 22:10:38 Removing intermediate container f351f02b2f65 22:10:38 ---> 820335b22210 22:10:38 [Warning] One or more build-args [ARCH] were not consumed 22:10:38 Successfully built 820335b22210 22:10:38 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 22:10:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:10:39 22:10:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:10:39 arm64: Pulling from edgex-lftools-log-publisher 22:10:39 8998bd30e6a1: Pulling fs layer 22:10:39 04944245beec: Pulling fs layer 22:10:39 699f458cf7ca: Pulling fs layer 22:10:39 765212b225bb: Pulling fs layer 22:10:39 f23df028b6ca: Pulling fs layer 22:10:39 d65c8cfc05b1: Pulling fs layer 22:10:39 2437ff75d9bd: Pulling fs layer 22:10:39 f23df028b6ca: Waiting 22:10:39 2437ff75d9bd: Waiting 22:10:39 d65c8cfc05b1: Waiting 22:10:39 765212b225bb: Waiting 22:10:39 04944245beec: Verifying Checksum 22:10:39 04944245beec: Download complete 22:10:39 765212b225bb: Verifying Checksum 22:10:39 765212b225bb: Download complete 22:10:40 f23df028b6ca: Verifying Checksum 22:10:40 f23df028b6ca: Download complete 22:10:40 d65c8cfc05b1: Verifying Checksum 22:10:40 d65c8cfc05b1: Download complete 22:10:40 699f458cf7ca: Verifying Checksum 22:10:40 699f458cf7ca: Download complete 22:10:40 8998bd30e6a1: Verifying Checksum 22:10:40 8998bd30e6a1: Download complete 22:10:42 2437ff75d9bd: Verifying Checksum 22:10:42 2437ff75d9bd: Download complete 22:10:44 8998bd30e6a1: Pull complete 22:10:44 04944245beec: Pull complete 22:10:46 699f458cf7ca: Pull complete 22:10:46 765212b225bb: Pull complete 22:10:47 f23df028b6ca: Pull complete 22:10:47 d65c8cfc05b1: Pull complete 22:11:02 2437ff75d9bd: Pull complete 22:11:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:11:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:11:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:03 prd-ubuntu20.04-docker-arm64-4c-16g-6021 does not seem to be running inside a container 22:11:03 $ 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 22:11:06 $ docker top bb9ec5f21baf90c6258fda6736e4ab1caa20d5b6c7d94488421e22f6e41bf127 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:07 ---> job-cost.sh 22:11:07 lf-activate-venv: SKIPPING 22:11:07 INFO: No Stack... 22:11:07 INFO: Retrieving Pricing Info for: v3-standard-4 22:11:08 INFO: Archiving Costs [Pipeline] sh 22:11:09 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 22:11:09 + cut -d, -f6 [Pipeline] lock 22:11:09 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] 22:11:09 Resource [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] did not exist. Created. 22:11:09 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:11:09 /w/workspace/device-modbus-go/1@tmp/durable-749501f3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:11:10 + echo total: 0.10999999940395355 [Pipeline] stash 22:11:10 Warning: overwriting stash ‘stack-cost’ 22:11:10 Stashed 1 file(s) [Pipeline] } 22:11:10 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-500-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:11:10 $ docker stop --time=1 bb9ec5f21baf90c6258fda6736e4ab1caa20d5b6c7d94488421e22f6e41bf127 22:11:12 $ docker rm -f --volumes bb9ec5f21baf90c6258fda6736e4ab1caa20d5b6c7d94488421e22f6e41bf127 [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 22:11:13 provisioning config files... 22:11:13 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/config6006079106089189100tmp [Pipeline] { [Pipeline] sh 22:11:13 + set +x 22:11:13 + curl -s https://codecov.io/bash 22:11:13 + bash -s -- 22:11:13 22:11:13 _____ _ 22:11:13 / ____| | | 22:11:13 | | ___ __| | ___ ___ _____ __ 22:11:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:11:13 | |___| (_) | (_| | __/ (_| (_) \ V / 22:11:13 \_____\___/ \__,_|\___|\___\___/ \_/ 22:11:13 Bash-1.0.6 22:11:13 22:11:13 22:11:13 ==> git version 2.25.1 found 22:11:13 ==> 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 22:11:13 Release-Date: 2020-01-08 22:11:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:11:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:11:13 ==> Jenkins CI detected. 22:11:13 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-500 22:11:13 project root: . 22:11:13 --> token set from env 22:11:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:11:13 ==> Running gcov in . (disable via -X gcov) 22:11:13 ==> Python coveragepy not found 22:11:13 ==> Searching for coverage reports in: 22:11:13 + . 22:11:13 -> Found 1 reports 22:11:13 ==> Detecting git/mercurial file structure 22:11:14 ==> Reading reports 22:11:14 + ./coverage.out bytes=24334 22:11:14 ==> Appending adjustments 22:11:14 https://docs.codecov.io/docs/fixing-reports 22:11:14 + Found adjustments 22:11:14 ==> Gzipping contents 22:11:14 4.0K /tmp/codecov.12Og95.gz 22:11:14 ==> Uploading reports 22:11:14 url: https://codecov.io 22:11:14 query: branch=PR-500&commit=71524b76186fbdc8fe95e20776a6bb92c831bfb7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-500%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=500&job=&cmd_args= 22:11:14 -> Pinging Codecov 22:11:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-500&commit=71524b76186fbdc8fe95e20776a6bb92c831bfb7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-500%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=500&job=&cmd_args= 22:11:14 -> Uploading to 22:11:14 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/55DBCA73C666E3227836607328DD7E49/71524b76186fbdc8fe95e20776a6bb92c831bfb7/3672b8b8-ab1b-4a86-9d49-465b86f348ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T221113Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=95bd0e1caacdc3b360e3e67b53f709f33762e4b2d4a1c02823da4c5f1510e41f 22:11:14 % Total % Received % Xferd Average Speed Time Time Time Current 22:11:14 Dload Upload Total Spent Left Speed 22:11:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 19105 --:--:-- --:--:-- --:--:-- 19105 22:11:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/71524b76186fbdc8fe95e20776a6bb92c831bfb7 [Pipeline] } 22:11:14 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 22:11:16 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-500/archives ] 22:11:16 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-500/archives 22:11:16 total 16 22:11:16 drwxr-xr-x 3 root root 4096 Sep 12 22:02 . 22:11:16 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:02 .. 22:11:16 drwxr-xr-x 2 root root 4096 Sep 12 22:02 cost 22:11:16 -rw-r--r-- 1 root root 88 Sep 12 22:02 cost.csv 22:11:16 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-500/archives 22:11:16 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-500/archives 22:11:16 total 16 22:11:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:02 . 22:11:16 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 22:02 .. 22:11:16 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:02 cost 22:11:16 -rw-r--r-- 1 jenkins jenkins 88 Sep 12 22:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:11:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:11:17 ---> package-listing.sh 22:11:17 ++ facter osfamily 22:11:17 ++ tr '[:upper:]' '[:lower:]' 22:11:17 + OS_FAMILY=debian 22:11:17 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-500 22:11:17 + START_PACKAGES=/tmp/packages_start.txt 22:11:17 + END_PACKAGES=/tmp/packages_end.txt 22:11:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:11:17 + PACKAGES=/tmp/packages_start.txt 22:11:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-500 ']' 22:11:17 + PACKAGES=/tmp/packages_end.txt 22:11:17 + case "${OS_FAMILY}" in 22:11:17 + dpkg -l 22:11:17 + grep '^ii' 22:11:17 + '[' -f /tmp/packages_start.txt ']' 22:11:17 + '[' -f /tmp/packages_end.txt ']' 22:11:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:11:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-500 ']' 22:11:17 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-500/archives/ 22:11:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-500/archives/ [Pipeline] echo 22:11:17 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-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:11:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:11:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:18 prd-ubuntu20.04-docker-8c-8g-6018 does not seem to be running inside a container 22:11:18 $ 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-500/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-500 -v /w/workspace/xfoundry_device-modbus-go_PR-500:/w/workspace/xfoundry_device-modbus-go_PR-500:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-500@tmp:/w/workspace/xfoundry_device-modbus-go_PR-500@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 22:11:18 $ docker top bdccd650229123b8fe5a479aea7debd899c72fdd6404d95981574fb678c0d450 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:19 + touch /tmp/pre-build-complete [Pipeline] sh 22:11:19 + mkdir -p /var/log/sysstat [Pipeline] sh 22:11:19 + ls /var/log/sa-host 22:11:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:19 provisioning config files... 22:11:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-500@tmp/config16878141842710008218tmp [Pipeline] { [Pipeline] echo 22:11:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:11:20 ---> create-netrc.sh [Pipeline] } 22:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:11:20 ---> python-tools-install.sh [Pipeline] echo 22:11:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:11:21 ---> sudo-logs.sh 22:11:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:11:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:11:21 ---> job-cost.sh 22:11:21 lf-activate-venv: SKIPPING 22:11:21 DEBUG: total: 0.2199999988079071 22:11:21 INFO: Retrieving Stack Cost... 22:11:21 INFO: Retrieving Pricing Info for: v3-standard-8 22:11:22 INFO: Archiving Costs [Pipeline] echo 22:11:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:11:22 ---> logs-deploy.sh 22:11:22 lf-activate-venv: SKIPPING 22:11:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-500/1 22:11:22 INFO: archiving workspace using pattern(s): 22:11:23 Archives upload complete. 22:11:23 INFO: archiving logs to Nexus