Pull request #555 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13+13e477b7e225234a84aaaa3becdbd9ca8ce93d09 (ec8caacd284a7635f610bdec8205a18e357089ce) 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-ssh16814130483972820169.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh9140342775111902508.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 590556114a56c6d90cc8043840e039c2f74196dc 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-555/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-555/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5914600293707673668.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-555/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10646067823784453777.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh12420146483457661848.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-555/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-555/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4244288119155105593.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 590556114a56c6d90cc8043840e039c2f74196dc 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] ========================================================= [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 Running on prd-ubuntu20.04-docker-8c-8g-4328 in /w/workspace/xfoundry_device-modbus-go_PR-555 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-555 # 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/555/head:refs/remotes/origin/PR-555 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 into PR head commit d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 Merge succeeded, producing d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 Checking out Revision d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 (PR-555) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 # 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 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:31:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:31:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:31:40 ========================================================= 05:31:40 EdgeX Global Pipelines Version Info 05:31:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:31:41 ------------------- 05:31:41 stable info: 05:31:41 ------------------- 05:31:41 Commited By: Ginny Guan ginny@iotechsys.com 05:31:41 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:31:41 Message: update stable to v1.0.260 05:31:41 ------------------- 05:31:41 experimental info: 05:31:41 ------------------- 05:31:41 Commited By: Ginny Guan ginny@iotechsys.com 05:31:41 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:31:41 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:31:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-555 [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-555 [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-555 [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] echo 05:31:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6c06c3 [Pipeline] echo 05:31:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:44 provisioning config files... 05:31:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/config12105406317058443230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:44 ---> ****-login.sh 05:31:44 nexus3.edgexfoundry.org:10001 05:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:46 Configure a credential helper to remove this warning. See 05:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:46 05:31:46 Login Succeeded 05:31:46 nexus3.edgexfoundry.org:10002 05:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:46 Configure a credential helper to remove this warning. See 05:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:46 05:31:46 Login Succeeded 05:31:46 nexus3.edgexfoundry.org:10003 05:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:46 Configure a credential helper to remove this warning. See 05:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:46 05:31:46 Login Succeeded 05:31:46 nexus3.edgexfoundry.org:10004 05:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:46 Configure a credential helper to remove this warning. See 05:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:46 05:31:46 Login Succeeded 05:31:46 ****.io 05:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:31:46 Configure a credential helper to remove this warning. See 05:31:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:31:46 05:31:46 Login Succeeded 05:31:46 ---> ****-login.sh ends [Pipeline] } 05:31:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:31:47 + git rev-list -1 --merges d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13~1..d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] echo 05:31:47 -----------> git rev-list -1 --merges d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13~1..d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [false] [Pipeline] sh 05:31:47 + git log --format=format:%s -1 d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] echo 05:31:47 ========================================================= 05:31:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:31:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:48 + git log --format=format:%s -1 d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] echo 05:31:48 [semverPrep] GIT_COMMIT: d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:31:48 [semverPrep] This is not a build commit. [Pipeline] sh 05:31:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:48 + grep -v github /etc/ssh/ssh_known_hosts 05:31:48 + [ -e /tmp/ssh_known_hosts ] 05:31:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:31:48 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:31:48 sudo tee -a /etc/ssh/ssh_known_hosts 05:31:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:49 05:31:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:49 0.1.4: Pulling from edgex-devops/py-git-semver 05:31:49 b85a868b505f: Pulling fs layer 05:31:49 e2be974225ed: Pulling fs layer 05:31:49 339a4e72a1f5: Pulling fs layer 05:31:49 988bab9f4d93: Pulling fs layer 05:31:49 1469e6f7b9e6: Pulling fs layer 05:31:49 eaf3925da568: Pulling fs layer 05:31:49 bab4dde63d76: Pulling fs layer 05:31:49 bde34c3a00c8: Pulling fs layer 05:31:49 b352a97aabf1: Pulling fs layer 05:31:49 4872d77fe225: Pulling fs layer 05:31:49 5851b861e8e6: Pulling fs layer 05:31:49 988bab9f4d93: Waiting 05:31:49 1469e6f7b9e6: Waiting 05:31:49 bde34c3a00c8: Waiting 05:31:49 b352a97aabf1: Waiting 05:31:49 bab4dde63d76: Waiting 05:31:49 eaf3925da568: Waiting 05:31:49 4872d77fe225: Waiting 05:31:49 e2be974225ed: Verifying Checksum 05:31:49 e2be974225ed: Download complete 05:31:49 988bab9f4d93: Verifying Checksum 05:31:49 988bab9f4d93: Download complete 05:31:49 1469e6f7b9e6: Verifying Checksum 05:31:49 1469e6f7b9e6: Download complete 05:31:49 eaf3925da568: Download complete 05:31:49 339a4e72a1f5: Verifying Checksum 05:31:49 339a4e72a1f5: Download complete 05:31:49 bde34c3a00c8: Download complete 05:31:49 b352a97aabf1: Verifying Checksum 05:31:49 b352a97aabf1: Download complete 05:31:49 4872d77fe225: Verifying Checksum 05:31:49 4872d77fe225: Download complete 05:31:49 5851b861e8e6: Verifying Checksum 05:31:49 5851b861e8e6: Download complete 05:31:49 b85a868b505f: Verifying Checksum 05:31:49 b85a868b505f: Download complete 05:31:50 bab4dde63d76: Verifying Checksum 05:31:50 bab4dde63d76: Download complete 05:31:51 b85a868b505f: Pull complete 05:31:51 e2be974225ed: Pull complete 05:31:51 339a4e72a1f5: Pull complete 05:31:51 988bab9f4d93: Pull complete 05:31:52 1469e6f7b9e6: Pull complete 05:31:52 eaf3925da568: Pull complete 05:31:53 bab4dde63d76: Pull complete 05:31:53 bde34c3a00c8: Pull complete 05:31:53 b352a97aabf1: Pull complete 05:31:54 4872d77fe225: Pull complete 05:31:54 5851b861e8e6: Pull complete 05:31:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:31:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:54 prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container 05:31:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:31:56 $ docker top 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a -eo pid,comm 05:31:56 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). 05:31:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:56 [ssh-agent] Looking for ssh-agent implementation... 05:31:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:56 $ docker exec 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a ssh-agent 05:31:56 SSH_AUTH_SOCK=/tmp/ssh-6erDiyq5h2sp/agent.32 05:31:56 SSH_AGENT_PID=37 05:31:56 Running ssh-add (command line suppressed) 05:31:56 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-555@tmp/private_key_4500443465430151040.key (/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/private_key_4500443465430151040.key) 05:31:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:56 + git tag --points-at HEAD [Pipeline] } 05:31:57 $ docker exec --env ******** --env ******** 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a ssh-agent -k 05:31:57 unset SSH_AUTH_SOCK; 05:31:57 unset SSH_AGENT_PID; 05:31:57 echo Agent pid 37 killed; 05:31:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:31:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:57 [ssh-agent] Looking for ssh-agent implementation... 05:31:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:57 $ docker exec 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a ssh-agent 05:31:57 SSH_AUTH_SOCK=/tmp/ssh-Ha9cI5cSKpDQ/agent.70 05:31:57 SSH_AGENT_PID=76 05:31:57 Running ssh-add (command line suppressed) 05:31:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-555@tmp/private_key_9013109162275270634.key (/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/private_key_9013109162275270634.key) 05:31:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:57 + git semver init 05:31:58 2024-06-25 05:31:58,164 [run_init] DEBUG init version:0.0.0 force:False 05:31:58 2024-06-25 05:31:58,165 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-555/.semver 05:31:58 2024-06-25 05:31:58,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-555/.semver 05:31:58 2024-06-25 05:31:58,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-555/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-555, universal_newlines=False, shell=None, istream=None) 05:31:59 2024-06-25 05:31:59,081 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-555/.git/info/exclude 05:31:59 2024-06-25 05:31:59,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-555/.semver/PR-555 with force:False 05:31:59 2024-06-25 05:31:59,081 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-555/.semver/PR-555 05:31:59 2024-06-25 05:31:59,086 [execute] INFO git cat-file --batch-check 05:31:59 2024-06-25 05:31:59,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-555/.semver, universal_newlines=False, shell=None, istream=) 05:31:59 2024-06-25 05:31:59,093 [execute] INFO git cat-file --batch 05:31:59 2024-06-25 05:31:59,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-555/.semver, universal_newlines=False, shell=None, istream=) 05:31:59 2024-06-25 05:31:59,098 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-555/.semver/PR-555 05:31:59 0.0.0 [Pipeline] } 05:31:59 $ docker exec --env ******** --env ******** 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a ssh-agent -k 05:31:59 unset SSH_AUTH_SOCK; 05:31:59 unset SSH_AGENT_PID; 05:31:59 echo Agent pid 76 killed; 05:31:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:59 + git semver [Pipeline] } 05:32:00 $ docker stop --time=1 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a 05:32:01 $ docker rm -f --volumes 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a [Pipeline] // withDockerContainer [Pipeline] sh 05:32:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:32:02 Stashed 1 file(s) [Pipeline] echo 05:32:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:32:02 provisioning config files... 05:32:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/config3738975022962168082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:03 ---> ****-login.sh 05:32:03 nexus3.edgexfoundry.org:10001 05:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:03 Configure a credential helper to remove this warning. See 05:32:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:03 05:32:03 Login Succeeded 05:32:03 nexus3.edgexfoundry.org:10002 05:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:03 Configure a credential helper to remove this warning. See 05:32:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:03 05:32:03 Login Succeeded 05:32:03 nexus3.edgexfoundry.org:10003 05:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:03 Configure a credential helper to remove this warning. See 05:32:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:03 05:32:03 Login Succeeded 05:32:03 nexus3.edgexfoundry.org:10004 05:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:03 Configure a credential helper to remove this warning. See 05:32:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:03 05:32:03 Login Succeeded 05:32:03 ****.io 05:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:32:03 Configure a credential helper to remove this warning. See 05:32:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:32:03 05:32:03 Login Succeeded 05:32:03 ---> ****-login.sh ends [Pipeline] } 05:32:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:32:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:32:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:32:04 ========================================================= 05:32:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:32:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:04 + 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 . 05:32:04 Sending build context to Docker daemon 17.82MB 05:32:04 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:32:04 Step 2/10 : FROM ${BASE} AS builder 05:32:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:32:05 619be1103602: Pulling fs layer 05:32:05 7862e08f4a3e: Pulling fs layer 05:32:05 5df492c9dc93: Pulling fs layer 05:32:05 7629e6793208: Pulling fs layer 05:32:05 4f4fb700ef54: Pulling fs layer 05:32:05 fb5054dd5b73: Pulling fs layer 05:32:05 eeca6798cff9: Pulling fs layer 05:32:05 aa269ceb94a6: Pulling fs layer 05:32:05 ada007ff1a6a: Pulling fs layer 05:32:05 fb5054dd5b73: Waiting 05:32:05 eeca6798cff9: Waiting 05:32:05 aa269ceb94a6: Waiting 05:32:05 ada007ff1a6a: Waiting 05:32:05 7629e6793208: Waiting 05:32:05 4f4fb700ef54: Waiting 05:32:05 7862e08f4a3e: Download complete 05:32:05 7629e6793208: Verifying Checksum 05:32:05 7629e6793208: Download complete 05:32:05 4f4fb700ef54: Download complete 05:32:05 fb5054dd5b73: Verifying Checksum 05:32:05 fb5054dd5b73: Download complete 05:32:05 619be1103602: Verifying Checksum 05:32:05 619be1103602: Download complete 05:32:05 eeca6798cff9: Verifying Checksum 05:32:05 eeca6798cff9: Download complete 05:32:05 619be1103602: Pull complete 05:32:05 7862e08f4a3e: Pull complete 05:32:05 ada007ff1a6a: Verifying Checksum 05:32:05 ada007ff1a6a: Download complete 05:32:05 5df492c9dc93: Verifying Checksum 05:32:05 5df492c9dc93: Download complete 05:32:05 aa269ceb94a6: Verifying Checksum 05:32:05 aa269ceb94a6: Download complete 05:32:09 5df492c9dc93: Pull complete 05:32:09 7629e6793208: Pull complete 05:32:09 4f4fb700ef54: Pull complete 05:32:09 fb5054dd5b73: Pull complete 05:32:09 eeca6798cff9: Pull complete 05:32:11 aa269ceb94a6: Pull complete 05:32:11 ada007ff1a6a: Pull complete 05:32:11 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:32:11 ---> f489d0715acc 05:32:11 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:32:13 ---> Running in 147f536286df 05:32:13 Removing intermediate container 147f536286df 05:32:13 ---> 4f2e5a7d9520 05:32:13 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:32:13 ---> Running in 41287711a27f 05:32:13 Removing intermediate container 41287711a27f 05:32:13 ---> e4a7b03f964b 05:32:13 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:32:13 ---> Running in 859c58097d11 05:32:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:32:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:32:14 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:32:14 (2/8) Installing libedit (20221030.3.1-r1) 05:32:14 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:32:14 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:32:14 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:32:14 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:32:14 (7/8) Installing openssh-server (9.3_p2-r1) 05:32:14 (8/8) Installing openssh (9.3_p2-r1) 05:32:14 Executing busybox-1.36.1-r5.trigger 05:32:14 OK: 270 MiB in 60 packages 05:32:14 Removing intermediate container 859c58097d11 05:32:14 ---> 7d97363cc7fc 05:32:14 Step 6/10 : WORKDIR /device-modbus-go 05:32:14 ---> Running in 49bd28c5a6eb 05:32:15 Removing intermediate container 49bd28c5a6eb 05:32:15 ---> dddd6a375706 05:32:15 Step 7/10 : COPY go.mod vendor* ./ 05:32:15 ---> 91e71ce1656f 05:32:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:15 ---> Running in 4f83a3d4cda8 05:32:17 Still waiting to schedule task 05:32:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:33:01 Removing intermediate container 4f83a3d4cda8 05:33:01 ---> 50a8794fc408 05:33:01 Step 9/10 : COPY . . 05:33:01 ---> cd4eb3b9c123 05:33:01 Step 10/10 : RUN ${MAKE} 05:33:01 ---> Running in 25ba72660d4b 05:33:01 noop 05:33:01 Removing intermediate container 25ba72660d4b 05:33:01 ---> d6306bb00ebc 05:33:01 Successfully built d6306bb00ebc 05:33:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:02 + docker inspect -f . ci-base-image-x86_64 05:33:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:02 prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container 05:33:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@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 ******** ci-base-image-x86_64 cat 05:33:02 $ docker top 6c5b540ee0dfa01352c5fe40b42a159a4f371087691228a34f140641b3758d06 -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:03 + go version 05:33:03 go version go1.21.9 linux/amd64 [Pipeline] } 05:33:03 $ docker stop --time=1 6c5b540ee0dfa01352c5fe40b42a159a4f371087691228a34f140641b3758d06 05:33:04 $ docker rm -f --volumes 6c5b540ee0dfa01352c5fe40b42a159a4f371087691228a34f140641b3758d06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:05 + docker inspect -f . ci-base-image-x86_64 05:33:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:05 prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container 05:33:05 $ 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-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@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 ******** ci-base-image-x86_64 cat 05:33:05 $ docker top f6567a48e363da2d2fefcd4dba924d29ae26473f9d92fa5fe6b94310bed7589b -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:06 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-555 [Pipeline] fileExists [Pipeline] sh 05:33:06 + make test 05:33:06 go test ./... -coverprofile=coverage.out 05:33:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:33:30 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:33:30 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements 05:33:38 go vet ./... 05:33:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4329 in /w/workspace/xfoundry_device-modbus-go_PR-555 [Pipeline] { [Pipeline] ws 05:33:44 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:33:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:33:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:33:44 ./bin/test-attribution-txt.sh 05:33:44 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:33:44 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:33:44 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:33:44 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:33:44 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:33:44 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:33:44 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:33:44 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:33:44 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:33:44 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:33:44 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add 05:33:47 The recommended git tool is: git [Pipeline] echo 05:33:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:33:47 $ docker stop --time=1 f6567a48e363da2d2fefcd4dba924d29ae26473f9d92fa5fe6b94310bed7589b 05:33:51 $ docker rm -f --volumes f6567a48e363da2d2fefcd4dba924d29ae26473f9d92fa5fe6b94310bed7589b [Pipeline] // withDockerContainer [Pipeline] sh 05:33:52 using credential edgex-jenkins-ssh 05:33:52 Cloning the remote Git repository 05:33:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:33:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 05:33:52 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:33:52 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:33:52 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:33:52 > git --version # timeout=10 05:33:52 > git --version # 'git version 2.25.1' 05:33:52 using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:33:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:33:53 + ls -al . 05:33:53 total 264 05:33:53 drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 05:33 . 05:33:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 05:31 .. 05:33:53 -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 05:31 .dockerignore 05:33:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 05:33 .git 05:33:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:31 .github 05:33:53 -rw-rw-r-- 1 jenkins jenkins 266 Jun 25 05:31 .gitignore 05:33:53 -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 05:31 .golangci.yml 05:33:53 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 05:31 .semver 05:33:53 -rw-rw-r-- 1 jenkins jenkins 11101 Jun 25 05:31 Attribution.txt 05:33:53 -rw-rw-r-- 1 jenkins jenkins 16388 Jun 25 05:31 CHANGELOG.md 05:33:53 -rw-rw-r-- 1 jenkins jenkins 1474 Jun 25 05:31 Dockerfile 05:33:53 -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 05:31 GOVERNANCE.md 05:33:53 -rw-rw-r-- 1 jenkins jenkins 658 Jun 25 05:31 Jenkinsfile 05:33:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 05:31 LICENSE 05:33:53 -rw-rw-r-- 1 jenkins jenkins 1942 Jun 25 05:31 Makefile 05:33:53 -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 05:31 OWNERS.md 05:33:53 -rw-rw-r-- 1 jenkins jenkins 4463 Jun 25 05:31 README.md 05:33:53 -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 05:32 VERSION 05:33:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 05:31 bin 05:33:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:31 cmd 05:33:53 -rw-r--r-- 1 jenkins jenkins 24601 Jun 25 05:33 coverage.out 05:33:53 -rw-rw-r-- 1 jenkins jenkins 7241 Jun 25 05:31 go.mod 05:33:53 -rw-rw-r-- 1 jenkins jenkins 102291 Jun 25 05:31 go.sum 05:33:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:31 internal 05:33:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 05:31 simulator 05:33:53 -rw-rw-r-- 1 jenkins jenkins 229 Jun 25 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:33:53 + 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=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 --label arch=amd64 --label version=0.0.0 . 05:33:53 Sending build context to Docker daemon 17.85MB 05:33:53 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:33:53 Step 2/23 : FROM ${BASE} AS builder 05:33:53 ---> d6306bb00ebc 05:33:53 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:33:54 ---> Running in ff8fd894b634 05:33:54 Removing intermediate container ff8fd894b634 05:33:54 ---> 715b47c2d79c 05:33:54 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:33:54 ---> Running in 2986c322310f 05:33:54 Removing intermediate container 2986c322310f 05:33:54 ---> f88457a1d2a7 05:33:54 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:33:54 ---> Running in ed1e49ceafc0 05:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:33:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:33:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:33:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:33:55 OK: 270 MiB in 60 packages 05:33:55 Removing intermediate container ed1e49ceafc0 05:33:55 ---> 4a6526c594f4 05:33:55 Step 6/23 : WORKDIR /device-modbus-go 05:33:55 ---> Running in 59d7547dcd99 05:33:55 Removing intermediate container 59d7547dcd99 05:33:55 ---> 5a672c2053a8 05:33:55 Step 7/23 : COPY go.mod vendor* ./ 05:33:55 ---> ff49bd4e1823 05:33:55 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:33:55 ---> Running in 1f41efb4c44d 05:33:55 Merging remotes/origin/main commit 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 into PR head commit d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 05:33:56 Merge succeeded, producing d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 05:33:56 Checking out Revision d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 (PR-555) 05:33:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:33:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:33:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:33:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/555/head:refs/remotes/origin/PR-555 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:33:55 > git config core.sparsecheckout # timeout=10 05:33:56 > git checkout -f d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 # timeout=10 05:33:56 > git remote # timeout=10 05:33:56 > git config --get remote.origin.url # timeout=10 05:33:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:33:56 > git merge 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 05:33:56 > git rev-parse HEAD^{commit} # timeout=10 05:33:56 > git config core.sparsecheckout # timeout=10 05:33:56 > git checkout -f d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 # timeout=10 05:33:56 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:33:56 > git --version # timeout=10 05:33:56 > git --version # 'git version 2.25.1' 05:33:56 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 05:33:59 Removing intermediate container 1f41efb4c44d 05:33:59 ---> 8c832aad725f 05:33:59 Step 9/23 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 05:34:00 ---> 4425a30f0889 05:34:00 Step 10/23 : RUN ${MAKE} [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:34:01 ---> Running in 3d1a75c76bf4 05:34:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:34:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:34:01 Dload Upload Total Spent Left Speed 05:34:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh 05:34:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:34:02 + sudo tee /etc/docker/daemon.new+ 05:34:02 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:34:02 { 05:34:02 "registry-mirrors": [ 05:34:02 "https://nexus3.edgexfoundry.org:10001" 05:34:02 ], 05:34:02 "bip": "10.250.0.254/24", 05:34:02 "hosts": [ 05:34:02 "tcp://0.0.0.0:5555", 05:34:02 "unix:///var/run/docker.sock" 05:34:02 ], 05:34:02 "mtu": 1458, 05:34:02 "selinux-enabled": true, 05:34:02 "seccomp-profile": "/etc/docker/seccomp.json" 05:34:02 } [Pipeline] sh 05:34:02 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:34:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:34:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:34:21 provisioning config files... 05:34:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10671178137003547687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:21 ---> ****-login.sh 05:34:21 nexus3.edgexfoundry.org:10001 05:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:34:22 Configure a credential helper to remove this warning. See 05:34:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:34:22 05:34:22 Login Succeeded 05:34:22 nexus3.edgexfoundry.org:10002 05:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:34:23 Configure a credential helper to remove this warning. See 05:34:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:34:23 05:34:23 Login Succeeded 05:34:23 nexus3.edgexfoundry.org:10003 05:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:34:23 Configure a credential helper to remove this warning. See 05:34:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:34:23 05:34:23 Login Succeeded 05:34:23 nexus3.edgexfoundry.org:10004 05:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:34:23 Configure a credential helper to remove this warning. See 05:34:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:34:23 05:34:23 Login Succeeded 05:34:23 ****.io 05:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:34:24 Configure a credential helper to remove this warning. See 05:34:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:34:24 05:34:24 Login Succeeded 05:34:24 ---> ****-login.sh ends [Pipeline] } 05:34:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:34:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:34:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:34:24 ========================================================= 05:34:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:34:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:25 + 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 . 05:34:25 Sending build context to Docker daemon 9.037MB 05:34:25 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:34:25 Step 2/10 : FROM ${BASE} AS builder 05:34:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:34:25 c6b39de5b339: Pulling fs layer 05:34:25 a69c41024577: Pulling fs layer 05:34:25 d6de4b400683: Pulling fs layer 05:34:25 35cb2a7552d0: Pulling fs layer 05:34:25 4f4fb700ef54: Pulling fs layer 05:34:25 464afbd9ba4c: Pulling fs layer 05:34:25 00f215d4a9da: Pulling fs layer 05:34:25 d496ad576159: Pulling fs layer 05:34:25 464afbd9ba4c: Waiting 05:34:25 00f215d4a9da: Waiting 05:34:25 d496ad576159: Waiting 05:34:25 35cb2a7552d0: Waiting 05:34:25 4f4fb700ef54: Waiting 05:34:25 a69c41024577: Download complete 05:34:25 35cb2a7552d0: Verifying Checksum 05:34:25 35cb2a7552d0: Download complete 05:34:25 4f4fb700ef54: Verifying Checksum 05:34:25 4f4fb700ef54: Download complete 05:34:25 464afbd9ba4c: Download complete 05:34:26 c6b39de5b339: Verifying Checksum 05:34:26 c6b39de5b339: Download complete 05:34:26 d496ad576159: Verifying Checksum 05:34:26 d496ad576159: Download complete 05:34:26 c6b39de5b339: Pull complete 05:34:27 a69c41024577: Pull complete 05:34:27 d6de4b400683: Download complete 05:34:28 00f215d4a9da: Verifying Checksum 05:34:41 d6de4b400683: Pull complete 05:34:41 35cb2a7552d0: Pull complete 05:34:41 4f4fb700ef54: Pull complete 05:34:41 464afbd9ba4c: Pull complete 05:34:41 Removing intermediate container 3d1a75c76bf4 05:34:41 ---> 4b2b9caaba46 05:34:41 Step 11/23 : FROM alpine:3.18 05:34:41 3.18: Pulling from library/alpine 05:34:41 73baa7ef167e: Pulling fs layer 05:34:41 73baa7ef167e: Verifying Checksum 05:34:41 73baa7ef167e: Download complete 05:34:41 73baa7ef167e: Pull complete 05:34:41 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:34:41 Status: Downloaded newer image for alpine:3.18 05:34:41 ---> 8fd7cac70a4a 05:34:41 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:34:41 ---> Running in f10c071c2331 05:34:41 Removing intermediate container f10c071c2331 05:34:41 ---> da62db888736 05:34:41 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:34:41 ---> Running in a97024107958 05:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:34:41 (1/1) Installing dumb-init (1.2.5-r2) 05:34:41 Executing busybox-1.36.1-r7.trigger 05:34:41 OK: 7 MiB in 16 packages 05:34:41 Removing intermediate container a97024107958 05:34:41 ---> d0d0744e51ce 05:34:41 Step 14/23 : RUN apk --no-cache upgrade 05:34:41 ---> Running in fb8a5d00a7ac 05:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:34:41 OK: 7 MiB in 16 packages 05:34:41 Removing intermediate container fb8a5d00a7ac 05:34:41 ---> da518bb681d0 05:34:41 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:34:41 ---> 54995727cc90 05:34:41 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:34:41 ---> 4d3e4ef49869 05:34:41 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:34:41 ---> 86710967f262 05:34:41 Step 18/23 : EXPOSE 59901 05:34:41 ---> Running in 6169d21f9974 05:34:41 Removing intermediate container 6169d21f9974 05:34:41 ---> 768fa4253c0e 05:34:41 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:34:41 ---> Running in 06053f1c87cf 05:34:41 Removing intermediate container 06053f1c87cf 05:34:41 ---> ddd706587a50 05:34:41 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:34:41 ---> Running in aa5a95232e94 05:34:41 Removing intermediate container aa5a95232e94 05:34:41 ---> 211d15825846 05:34:41 Step 21/23 : LABEL arch=amd64 05:34:41 ---> Running in 6c92d43708f4 05:34:41 Removing intermediate container 6c92d43708f4 05:34:41 ---> 2d656e8e83d9 05:34:41 Step 22/23 : LABEL git_sha=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 05:34:41 ---> Running in 38ca259665ba 05:34:41 Removing intermediate container 38ca259665ba 05:34:41 ---> 850d423e867c 05:34:41 Step 23/23 : LABEL version=0.0.0 05:34:41 ---> Running in bfd8934ae6d4 05:34:41 Removing intermediate container bfd8934ae6d4 05:34:41 ---> 312902eb37d8 05:34:41 [Warning] One or more build-args [ARCH] were not consumed 05:34:41 Successfully built 312902eb37d8 05:34:41 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:42 05:34:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:43 latest: Pulling from edgex-lftools-log-publisher 05:34:43 5eb5b503b376: Pulling fs layer 05:34:43 5c69ac0246d0: Pulling fs layer 05:34:43 ec43610c2a17: Pulling fs layer 05:34:43 3a2ae6a8a46f: Pulling fs layer 05:34:43 33b1e0a273af: Pulling fs layer 05:34:43 5d3b04190fa2: Pulling fs layer 05:34:43 2f39f015ded8: Pulling fs layer 05:34:43 5d3b04190fa2: Waiting 05:34:43 2f39f015ded8: Waiting 05:34:43 33b1e0a273af: Waiting 05:34:43 3a2ae6a8a46f: Waiting 05:34:43 5c69ac0246d0: Download complete 05:34:43 3a2ae6a8a46f: Verifying Checksum 05:34:43 3a2ae6a8a46f: Download complete 05:34:43 33b1e0a273af: Verifying Checksum 05:34:43 33b1e0a273af: Download complete 05:34:43 5d3b04190fa2: Verifying Checksum 05:34:43 5d3b04190fa2: Download complete 05:34:43 ec43610c2a17: Verifying Checksum 05:34:43 ec43610c2a17: Download complete 05:34:43 5eb5b503b376: Verifying Checksum 05:34:43 5eb5b503b376: Download complete 05:34:44 2f39f015ded8: Download complete 05:34:44 5eb5b503b376: Pull complete 05:34:44 5c69ac0246d0: Pull complete 05:34:45 ec43610c2a17: Pull complete 05:34:45 3a2ae6a8a46f: Pull complete 05:34:45 33b1e0a273af: Pull complete 05:34:45 5d3b04190fa2: Pull complete 05:34:49 2f39f015ded8: Pull complete 05:34:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:34:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:49 prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container 05:34:49 $ 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-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:34:51 00f215d4a9da: Pull complete 05:34:51 d496ad576159: Pull complete 05:34:51 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:34:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:34:51 ---> f246e2811388 05:34:51 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:34:52 ---> Running in 20702ba71120 05:34:53 Removing intermediate container 20702ba71120 05:34:53 ---> 4abbbd2df5a7 05:34:53 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:34:53 ---> Running in 6e1a1d71dfb1 05:34:53 Removing intermediate container 6e1a1d71dfb1 05:34:53 ---> 69cad11f83e0 05:34:53 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:34:53 ---> Running in 3894b63dbae1 05:34:54 $ docker top cff159ce904ca285257496814e4a448c855226f5a257f76dc3005373b747733c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:54 ---> job-cost.sh 05:34:54 lf-activate-venv: SKIPPING 05:34:54 INFO: No Stack... 05:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:34:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:34:55 INFO: Retrieving Pricing Info for: v3-standard-8 05:34:55 INFO: Archiving Costs [Pipeline] sh 05:34:55 + cat /w/workspace/xfoundry_device-modbus-go_PR-555/archives/cost.csv 05:34:55 + cut -d, -f6 [Pipeline] lock 05:34:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] 05:34:55 Resource [jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] did not exist. Created. 05:34:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:34:56 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:34:56 (2/8) Installing libedit (20221030.3.1-r1) 05:34:56 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:34:56 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:34:56 + echo total: 0.2199999988079071 [Pipeline] stash 05:34:56 Stashed 1 file(s) [Pipeline] } 05:34:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] 05:34:56 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:34:56 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:34:56 (7/8) Installing openssh-server (9.3_p2-r1) 05:34:56 (8/8) Installing openssh (9.3_p2-r1) 05:34:56 Executing busybox-1.36.1-r5.trigger 05:34:56 OK: 272 MiB in 60 packages [Pipeline] // lock [Pipeline] } 05:34:56 $ docker stop --time=1 cff159ce904ca285257496814e4a448c855226f5a257f76dc3005373b747733c 05:34:57 $ docker rm -f --volumes cff159ce904ca285257496814e4a448c855226f5a257f76dc3005373b747733c [Pipeline] // withDockerContainer [Pipeline] } 05:34:57 Removing intermediate container 3894b63dbae1 05:34:57 ---> e8d0280477a7 05:34:57 Step 6/10 : WORKDIR /device-modbus-go 05:34:57 ---> Running in a13d3a48511c 05:34:57 Removing intermediate container a13d3a48511c 05:34:57 ---> 61d9e39f3446 05:34:57 Step 7/10 : COPY go.mod vendor* ./ [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:34:58 ---> ee1f50367b33 05:34:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:34:58 ---> Running in c3ea0f420ce4 05:36:50 Removing intermediate container c3ea0f420ce4 05:36:50 ---> 0376c22411ce 05:36:50 Step 9/10 : COPY . . 05:36:50 ---> 533062fe05a2 05:36:50 Step 10/10 : RUN ${MAKE} 05:36:50 ---> Running in 59d54b39d96a 05:36:50 noop 05:36:50 Removing intermediate container 59d54b39d96a 05:36:50 ---> 78d9196acd37 05:36:50 Successfully built 78d9196acd37 05:36:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:50 + docker inspect -f . ci-base-image-arm64 05:36:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:50 prd-ubuntu20.04-docker-arm64-4c-16g-4329 does not seem to be running inside a container 05:36:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:36:52 $ docker top 693bc88389ca56ef349c37b2d446d4ef8faeb9b8f79ed91f08deb49b0a6b00a2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:36:52 + go version 05:36:52 go version go1.21.9 linux/arm64 [Pipeline] } 05:36:53 $ docker stop --time=1 693bc88389ca56ef349c37b2d446d4ef8faeb9b8f79ed91f08deb49b0a6b00a2 05:36:54 $ docker rm -f --volumes 693bc88389ca56ef349c37b2d446d4ef8faeb9b8f79ed91f08deb49b0a6b00a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:55 + docker inspect -f . ci-base-image-arm64 05:36:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:55 prd-ubuntu20.04-docker-arm64-4c-16g-4329 does not seem to be running inside a container 05:36:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:36:57 $ docker top ce8163eff6223ab200d5de87cab142d4cf55e0b4c1753d7cb50f7f6544599e1e -eo pid,comm [Pipeline] { [Pipeline] sh 05:36:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:36:58 + make test 05:36:58 go test ./... -coverprofile=coverage.out 05:37:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:40:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:40:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 47.9% of statements 05:40:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:40:41 go vet ./... 05:41:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:41:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:41:27 ./bin/test-attribution-txt.sh 05:41:27 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:41:27 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:41:27 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:41:27 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:41:27 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:41:27 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:41:27 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:41:27 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:41:27 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:41:27 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:41:27 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:41:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:41:28 $ docker stop --time=1 ce8163eff6223ab200d5de87cab142d4cf55e0b4c1753d7cb50f7f6544599e1e 05:41:29 $ docker rm -f --volumes ce8163eff6223ab200d5de87cab142d4cf55e0b4c1753d7cb50f7f6544599e1e [Pipeline] // withDockerContainer [Pipeline] sh 05:41:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:41:31 Warning: overwriting stash ‘coverage-report’ 05:41:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:41:32 + ls -al . 05:41:32 total 260 05:41:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 05:37 . 05:41:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 05:33 .. 05:41:32 -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 05:33 .dockerignore 05:41:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 05:34 .git 05:41:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:33 .github 05:41:32 -rw-rw-r-- 1 jenkins jenkins 266 Jun 25 05:33 .gitignore 05:41:32 -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 05:33 .golangci.yml 05:41:32 -rw-rw-r-- 1 jenkins jenkins 11101 Jun 25 05:33 Attribution.txt 05:41:32 -rw-rw-r-- 1 jenkins jenkins 16388 Jun 25 05:33 CHANGELOG.md 05:41:32 -rw-rw-r-- 1 jenkins jenkins 1474 Jun 25 05:33 Dockerfile 05:41:32 -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 05:33 GOVERNANCE.md 05:41:32 -rw-rw-r-- 1 jenkins jenkins 658 Jun 25 05:33 Jenkinsfile 05:41:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 05:33 LICENSE 05:41:32 -rw-rw-r-- 1 jenkins jenkins 1942 Jun 25 05:33 Makefile 05:41:32 -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 05:33 OWNERS.md 05:41:32 -rw-rw-r-- 1 jenkins jenkins 4463 Jun 25 05:33 README.md 05:41:32 -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 05:32 VERSION 05:41:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 05:33 bin 05:41:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:33 cmd 05:41:32 -rw-r--r-- 1 jenkins jenkins 24601 Jun 25 05:40 coverage.out 05:41:32 -rw-rw-r-- 1 jenkins jenkins 7241 Jun 25 05:33 go.mod 05:41:32 -rw-rw-r-- 1 jenkins jenkins 102291 Jun 25 05:33 go.sum 05:41:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:33 internal 05:41:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 05:33 simulator 05:41:32 -rw-rw-r-- 1 jenkins jenkins 229 Jun 25 05:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:33 + 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=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 --label arch=arm64 --label version=0.0.0 . 05:41:33 Sending build context to Docker daemon 9.062MB 05:41:33 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:41:33 Step 2/23 : FROM ${BASE} AS builder 05:41:33 ---> 78d9196acd37 05:41:33 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:41:33 ---> Running in da61e083c6ba 05:41:34 Removing intermediate container da61e083c6ba 05:41:34 ---> 9e41dc35ec25 05:41:34 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:41:34 ---> Running in 76dcb8aaab6b 05:41:34 Removing intermediate container 76dcb8aaab6b 05:41:34 ---> f8aba1b27e7c 05:41:34 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:41:34 ---> Running in e8e8501a1cb1 05:41:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:41:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:41:37 OK: 272 MiB in 60 packages 05:41:38 Removing intermediate container e8e8501a1cb1 05:41:38 ---> 013061a45acd 05:41:38 Step 6/23 : WORKDIR /device-modbus-go 05:41:38 ---> Running in ff342e955fed 05:41:38 Removing intermediate container ff342e955fed 05:41:38 ---> cd8bb1aea021 05:41:38 Step 7/23 : COPY go.mod vendor* ./ 05:41:39 ---> d4ecba02b403 05:41:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:39 ---> Running in 6ab0ebd46599 05:41:41 Removing intermediate container 6ab0ebd46599 05:41:41 ---> 9f0f762da7d7 05:41:41 Step 9/23 : COPY . . 05:41:42 ---> 8fd0e3fae9b3 05:41:42 Step 10/23 : RUN ${MAKE} 05:41:42 ---> Running in 6b6c6039ee70 05:41:43 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:45:05 Removing intermediate container 6b6c6039ee70 05:45:05 ---> 214121f1570b 05:45:05 Step 11/23 : FROM alpine:3.18 05:45:05 3.18: Pulling from library/alpine 05:45:05 5c905c7ebe2f: Pulling fs layer 05:45:05 5c905c7ebe2f: Verifying Checksum 05:45:05 5c905c7ebe2f: Download complete 05:45:05 5c905c7ebe2f: Pull complete 05:45:05 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:45:05 Status: Downloaded newer image for alpine:3.18 05:45:05 ---> dec292d02e07 05:45:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:45:05 ---> Running in 6c2ba17c0c2c 05:45:05 Removing intermediate container 6c2ba17c0c2c 05:45:05 ---> 8a79e590c90e 05:45:05 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:45:05 ---> Running in 5b33eb5a4ef3 05:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:45:05 (1/1) Installing dumb-init (1.2.5-r2) 05:45:05 Executing busybox-1.36.1-r7.trigger 05:45:05 OK: 8 MiB in 16 packages 05:45:05 Removing intermediate container 5b33eb5a4ef3 05:45:05 ---> 411873e23f03 05:45:05 Step 14/23 : RUN apk --no-cache upgrade 05:45:05 ---> Running in 1ec50d0af5f4 05:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:45:05 OK: 8 MiB in 16 packages 05:45:05 Removing intermediate container 1ec50d0af5f4 05:45:05 ---> 348023cbd181 05:45:05 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:45:07 ---> 776bebad45f2 05:45:07 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:45:07 ---> badfbed47b6c 05:45:07 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:45:07 ---> 916c58bdf10a 05:45:07 Step 18/23 : EXPOSE 59901 05:45:07 ---> Running in f51eae58df7e 05:45:07 Removing intermediate container f51eae58df7e 05:45:07 ---> e7fe10a838b0 05:45:07 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:45:08 ---> Running in 37719468ee82 05:45:08 Removing intermediate container 37719468ee82 05:45:08 ---> 136e0637ec77 05:45:08 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:45:08 ---> Running in fa118d4d8daa 05:45:08 Removing intermediate container fa118d4d8daa 05:45:08 ---> 9eec1201a92a 05:45:08 Step 21/23 : LABEL arch=arm64 05:45:08 ---> Running in e15366edacf2 05:45:09 Removing intermediate container e15366edacf2 05:45:09 ---> c18e6670e93d 05:45:09 Step 22/23 : LABEL git_sha=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 05:45:09 ---> Running in c702edd14c70 05:45:09 Removing intermediate container c702edd14c70 05:45:09 ---> 4f09f8ca22cc 05:45:09 Step 23/23 : LABEL version=0.0.0 05:45:09 ---> Running in d82d623addd6 05:45:09 Removing intermediate container d82d623addd6 05:45:09 ---> 0fa7bf949f13 05:45:09 [Warning] One or more build-args [ARCH] were not consumed 05:45:09 Successfully built 0fa7bf949f13 05:45:09 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:45:10 05:45:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:45:11 arm64: Pulling from edgex-lftools-log-publisher 05:45:11 8998bd30e6a1: Pulling fs layer 05:45:11 04944245beec: Pulling fs layer 05:45:11 699f458cf7ca: Pulling fs layer 05:45:11 765212b225bb: Pulling fs layer 05:45:11 f23df028b6ca: Pulling fs layer 05:45:11 d65c8cfc05b1: Pulling fs layer 05:45:11 2437ff75d9bd: Pulling fs layer 05:45:11 765212b225bb: Waiting 05:45:11 f23df028b6ca: Waiting 05:45:11 d65c8cfc05b1: Waiting 05:45:11 2437ff75d9bd: Waiting 05:45:11 04944245beec: Verifying Checksum 05:45:11 04944245beec: Download complete 05:45:11 765212b225bb: Verifying Checksum 05:45:11 765212b225bb: Download complete 05:45:11 f23df028b6ca: Verifying Checksum 05:45:11 f23df028b6ca: Download complete 05:45:11 d65c8cfc05b1: Verifying Checksum 05:45:11 d65c8cfc05b1: Download complete 05:45:11 699f458cf7ca: Verifying Checksum 05:45:11 699f458cf7ca: Download complete 05:45:12 8998bd30e6a1: Verifying Checksum 05:45:12 8998bd30e6a1: Download complete 05:45:14 2437ff75d9bd: Verifying Checksum 05:45:14 2437ff75d9bd: Download complete 05:45:16 8998bd30e6a1: Pull complete 05:45:17 04944245beec: Pull complete 05:45:18 699f458cf7ca: Pull complete 05:45:18 765212b225bb: Pull complete 05:45:19 f23df028b6ca: Pull complete 05:45:19 d65c8cfc05b1: Pull complete 05:45:38 2437ff75d9bd: Pull complete 05:45:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:45:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:45:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:38 prd-ubuntu20.04-docker-arm64-4c-16g-4329 does not seem to be running inside a container 05:45:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:45:41 $ docker top 6e47200a2ba9cad1bc35993b74bedaa9b05876fe7552c220effdf479b7943b9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:42 ---> job-cost.sh 05:45:42 lf-activate-venv: SKIPPING 05:45:42 INFO: No Stack... 05:45:42 INFO: Retrieving Pricing Info for: v3-standard-4 05:45:43 INFO: Archiving Costs [Pipeline] sh 05:45:43 + cut -d, -f6 05:45:43 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:45:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] 05:45:43 Resource [jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] did not exist. Created. 05:45:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:44 /w/workspace/device-modbus-go/1@tmp/durable-638b39aa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:45:45 + echo total: 0.10999999940395355 [Pipeline] stash 05:45:45 Warning: overwriting stash ‘stack-cost’ 05:45:45 Stashed 1 file(s) [Pipeline] } 05:45:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:45:45 $ docker stop --time=1 6e47200a2ba9cad1bc35993b74bedaa9b05876fe7552c220effdf479b7943b9b 05:45:47 $ docker rm -f --volumes 6e47200a2ba9cad1bc35993b74bedaa9b05876fe7552c220effdf479b7943b9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:45:48 provisioning config files... 05:45:48 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/config11157862533341093023tmp [Pipeline] { [Pipeline] sh 05:45:48 + set +x 05:45:48 + bash -s -- 05:45:48 + curl -s https://codecov.io/bash 05:45:48 05:45:48 _____ _ 05:45:48 / ____| | | 05:45:48 | | ___ __| | ___ ___ _____ __ 05:45:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:45:48 | |___| (_) | (_| | __/ (_| (_) \ V / 05:45:48 \_____\___/ \__,_|\___|\___\___/ \_/ 05:45:48 Bash-1.0.6 05:45:48 05:45:48 05:45:48 ==> git version 2.25.1 found 05:45:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:45:48 Release-Date: 2020-01-08 05:45:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:45:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:45:48 ==> Jenkins CI detected. 05:45:48 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-555 05:45:48 project root: . 05:45:48 --> token set from env 05:45:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:45:48 ==> Running gcov in . (disable via -X gcov) 05:45:48 ==> Python coveragepy not found 05:45:48 ==> Searching for coverage reports in: 05:45:48 + . 05:45:48 -> Found 1 reports 05:45:48 ==> Detecting git/mercurial file structure 05:45:48 ==> Reading reports 05:45:49 + ./coverage.out bytes=24601 05:45:49 ==> Appending adjustments 05:45:49 https://docs.codecov.io/docs/fixing-reports 05:45:49 + Found adjustments 05:45:49 ==> Gzipping contents 05:45:49 4.0K /tmp/codecov.7Dy2RF.gz 05:45:49 ==> Uploading reports 05:45:49 url: https://codecov.io 05:45:49 query: branch=PR-555&commit=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-555%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=555&job=&cmd_args= 05:45:49 -> Pinging Codecov 05:45:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-555&commit=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-555%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=555&job=&cmd_args= 05:45:49 -> Uploading to 05:45:49 https://storage.googleapis.com/codecov/v4/raw/2024-06-25/55DBCA73C666E3227836607328DD7E49/d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13/359acf80-64ff-4289-a6ee-104cdedc92c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240625%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240625T054549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10f7883d79e6e0926771f9b9c45900803e789a6b3e87093ddc0d195c6e8ef91f 05:45:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:49 Dload Upload Total Spent Left Speed 05:45:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16708 --:--:-- --:--:-- --:--:-- 16708 05:45:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] } 05:45:49 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:45:51 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-555/archives ] 05:45:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-555/archives 05:45:51 total 16 05:45:51 drwxr-xr-x 3 root root 4096 Jun 25 05:34 . 05:45:51 drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 05:34 .. 05:45:51 drwxr-xr-x 2 root root 4096 Jun 25 05:34 cost 05:45:51 -rw-r--r-- 1 root root 88 Jun 25 05:34 cost.csv 05:45:51 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-555/archives 05:45:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-555/archives 05:45:51 total 16 05:45:51 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 05:34 . 05:45:51 drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 05:34 .. 05:45:51 drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 05:34 cost 05:45:51 -rw-r--r-- 1 jenkins jenkins 88 Jun 25 05:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:45:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:45:52 ---> package-listing.sh 05:45:52 ++ facter osfamily 05:45:52 ++ tr '[:upper:]' '[:lower:]' 05:45:53 + OS_FAMILY=debian 05:45:53 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-555 05:45:53 + START_PACKAGES=/tmp/packages_start.txt 05:45:53 + END_PACKAGES=/tmp/packages_end.txt 05:45:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:45:53 + PACKAGES=/tmp/packages_start.txt 05:45:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-555 ']' 05:45:53 + PACKAGES=/tmp/packages_end.txt 05:45:53 + case "${OS_FAMILY}" in 05:45:53 + dpkg -l 05:45:53 + grep '^ii' 05:45:53 + '[' -f /tmp/packages_start.txt ']' 05:45:53 + '[' -f /tmp/packages_end.txt ']' 05:45:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:45:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-555 ']' 05:45:53 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-555/archives/ 05:45:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-555/archives/ [Pipeline] echo 05:45:53 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-555/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:45:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:54 prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container 05:45:54 $ 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-555/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-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:54 $ docker top dc78c4386d0a7843795174979899e3ba29f17af0eddfc813173efa9422ef03f5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:55 + touch /tmp/pre-build-complete [Pipeline] sh 05:45:55 + mkdir -p /var/log/sysstat [Pipeline] sh 05:45:55 + ls /var/log/sa-host 05:45:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:55 provisioning config files... 05:45:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/config4378229700708949933tmp [Pipeline] { [Pipeline] echo 05:45:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:45:56 ---> create-netrc.sh [Pipeline] } 05:45:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:45:56 ---> python-tools-install.sh [Pipeline] echo 05:45:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:45:57 ---> sudo-logs.sh 05:45:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:45:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:45:57 ---> job-cost.sh 05:45:57 lf-activate-venv: SKIPPING 05:45:57 DEBUG: total: 0.2199999988079071 05:45:57 INFO: Retrieving Stack Cost... 05:45:58 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:58 INFO: Archiving Costs [Pipeline] echo 05:45:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:45:58 ---> logs-deploy.sh 05:45:58 lf-activate-venv: SKIPPING 05:45:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-555/1 05:45:58 INFO: archiving workspace using pattern(s): 05:45:59 Archives upload complete. 05:45:59 INFO: archiving logs to Nexus