Pull request #563 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3250edf9d943bf9ba44667de315b11b782178186+b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c (60806d21723294fd4d492d0a54ddf7910ec95396) 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-ssh16635373063983812015.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-ssh5113869709348577679.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-563/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-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9333470957200498367.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-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16255297669471080469.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-ssh11400622168870543151.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-563/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-563/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16739653470104796398.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6726 in /w/workspace/xfoundry_device-modbus-go_PR-563 [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-563 # 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/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c into PR head commit 3250edf9d943bf9ba44667de315b11b782178186 Merge succeeded, producing 3250edf9d943bf9ba44667de315b11b782178186 Checking out Revision 3250edf9d943bf9ba44667de315b11b782178186 (PR-563) 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 3250edf9d943bf9ba44667de315b11b782178186 # 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 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3250edf9d943bf9ba44667de315b11b782178186 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:01:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:01:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:01:28 ========================================================= 06:01:28 EdgeX Global Pipelines Version Info 06:01:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:01:29 ------------------- 06:01:29 stable info: 06:01:29 ------------------- 06:01:29 Commited By: Ginny Guan ginny@iotechsys.com 06:01:29 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:01:29 Message: update stable to v1.0.260 06:01:30 ------------------- 06:01:30 experimental info: 06:01:30 ------------------- 06:01:30 Commited By: Ginny Guan ginny@iotechsys.com 06:01:30 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:01:30 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:01:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:01:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-563 [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-563 [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-563 [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3250edf [Pipeline] echo 06:01:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:32 provisioning config files... 06:01:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/config4268474042276997434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:33 ---> ****-login.sh 06:01:33 nexus3.edgexfoundry.org:10001 06:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:33 Configure a credential helper to remove this warning. See 06:01:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:33 06:01:33 Login Succeeded 06:01:33 nexus3.edgexfoundry.org:10002 06:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:33 Configure a credential helper to remove this warning. See 06:01:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:33 06:01:33 Login Succeeded 06:01:33 nexus3.edgexfoundry.org:10003 06:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:33 Configure a credential helper to remove this warning. See 06:01:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:33 06:01:33 Login Succeeded 06:01:33 nexus3.edgexfoundry.org:10004 06:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:33 Configure a credential helper to remove this warning. See 06:01:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:33 06:01:33 Login Succeeded 06:01:33 ****.io 06:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:34 Configure a credential helper to remove this warning. See 06:01:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:34 06:01:34 Login Succeeded 06:01:34 ---> ****-login.sh ends [Pipeline] } 06:01:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:01:34 + git rev-list -1 --merges 3250edf9d943bf9ba44667de315b11b782178186~1..3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] echo 06:01:34 -----------> git rev-list -1 --merges 3250edf9d943bf9ba44667de315b11b782178186~1..3250edf9d943bf9ba44667de315b11b782178186 3250edf9d943bf9ba44667de315b11b782178186 [false] [Pipeline] sh 06:01:35 + git log --format=format:%s -1 3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] echo 06:01:35 ========================================================= 06:01:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:01:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:35 + git log --format=format:%s -1 3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] echo 06:01:35 [semverPrep] GIT_COMMIT: 3250edf9d943bf9ba44667de315b11b782178186, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:01:35 [semverPrep] This is not a build commit. [Pipeline] sh 06:01:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:01:36 + grep -v github /etc/ssh/ssh_known_hosts 06:01:36 + [ -e /tmp/ssh_known_hosts ] 06:01:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:01:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:01:36 + sudo tee -a /etc/ssh/ssh_known_hosts 06:01:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:01:36 06:01:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:01:37 0.1.4: Pulling from edgex-devops/py-git-semver 06:01:37 b85a868b505f: Pulling fs layer 06:01:37 e2be974225ed: Pulling fs layer 06:01:37 339a4e72a1f5: Pulling fs layer 06:01:37 988bab9f4d93: Pulling fs layer 06:01:37 1469e6f7b9e6: Pulling fs layer 06:01:37 eaf3925da568: Pulling fs layer 06:01:37 bab4dde63d76: Pulling fs layer 06:01:37 bde34c3a00c8: Pulling fs layer 06:01:37 b352a97aabf1: Pulling fs layer 06:01:37 4872d77fe225: Pulling fs layer 06:01:37 5851b861e8e6: Pulling fs layer 06:01:37 eaf3925da568: Waiting 06:01:37 bab4dde63d76: Waiting 06:01:37 1469e6f7b9e6: Waiting 06:01:37 988bab9f4d93: Waiting 06:01:37 5851b861e8e6: Waiting 06:01:37 4872d77fe225: Waiting 06:01:37 bde34c3a00c8: Waiting 06:01:37 b352a97aabf1: Waiting 06:01:37 e2be974225ed: Download complete 06:01:37 988bab9f4d93: Verifying Checksum 06:01:37 988bab9f4d93: Download complete 06:01:37 1469e6f7b9e6: Verifying Checksum 06:01:37 1469e6f7b9e6: Download complete 06:01:37 339a4e72a1f5: Verifying Checksum 06:01:37 339a4e72a1f5: Download complete 06:01:37 eaf3925da568: Verifying Checksum 06:01:37 eaf3925da568: Download complete 06:01:37 bde34c3a00c8: Verifying Checksum 06:01:37 bde34c3a00c8: Download complete 06:01:37 b352a97aabf1: Verifying Checksum 06:01:37 b352a97aabf1: Download complete 06:01:37 4872d77fe225: Verifying Checksum 06:01:37 4872d77fe225: Download complete 06:01:37 5851b861e8e6: Download complete 06:01:37 b85a868b505f: Verifying Checksum 06:01:37 b85a868b505f: Download complete 06:01:37 bab4dde63d76: Verifying Checksum 06:01:37 bab4dde63d76: Download complete 06:01:38 b85a868b505f: Pull complete 06:01:38 e2be974225ed: Pull complete 06:01:39 339a4e72a1f5: Pull complete 06:01:39 988bab9f4d93: Pull complete 06:01:39 1469e6f7b9e6: Pull complete 06:01:39 eaf3925da568: Pull complete 06:01:41 bab4dde63d76: Pull complete 06:01:41 bde34c3a00c8: Pull complete 06:01:41 b352a97aabf1: Pull complete 06:01:41 4872d77fe225: Pull complete 06:01:41 5851b861e8e6: Pull complete 06:01:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:01:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:41 prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container 06:01:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:01:44 $ docker top 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 -eo pid,comm 06:01:44 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). 06:01:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:01:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:44 [ssh-agent] Looking for ssh-agent implementation... 06:01:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:44 $ docker exec 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 ssh-agent 06:01:45 SSH_AUTH_SOCK=/tmp/ssh-nt5ncoJoZGMK/agent.32 06:01:45 SSH_AGENT_PID=38 06:01:45 Running ssh-add (command line suppressed) 06:01:45 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-563@tmp/private_key_7878276983838117680.key (/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/private_key_7878276983838117680.key) 06:01:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:45 + git tag --points-at HEAD [Pipeline] } 06:01:45 $ docker exec --env ******** --env ******** 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 ssh-agent -k 06:01:45 unset SSH_AUTH_SOCK; 06:01:45 unset SSH_AGENT_PID; 06:01:45 echo Agent pid 38 killed; 06:01:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:01:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:45 [ssh-agent] Looking for ssh-agent implementation... 06:01:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:45 $ docker exec 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 ssh-agent 06:01:45 SSH_AUTH_SOCK=/tmp/ssh-aScDnnRLwRmn/agent.72 06:01:45 SSH_AGENT_PID=78 06:01:45 Running ssh-add (command line suppressed) 06:01:46 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-563@tmp/private_key_12383587312281240587.key (/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/private_key_12383587312281240587.key) 06:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:46 + git semver init 06:01:46 2024-07-30 06:01:46,603 [run_init] DEBUG init version:0.0.0 force:False 06:01:46 2024-07-30 06:01:46,604 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-563/.semver 06:01:46 2024-07-30 06:01:46,605 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-563/.semver 06:01:46 2024-07-30 06:01:46,605 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-563/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-563, universal_newlines=False, shell=None, istream=None) 06:01:47 2024-07-30 06:01:47,594 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-563/.git/info/exclude 06:01:47 2024-07-30 06:01:47,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-563/.semver/PR-563 with force:False 06:01:47 2024-07-30 06:01:47,595 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-563/.semver/PR-563 06:01:47 2024-07-30 06:01:47,597 [execute] INFO git cat-file --batch-check 06:01:47 2024-07-30 06:01:47,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-563/.semver, universal_newlines=False, shell=None, istream=) 06:01:47 2024-07-30 06:01:47,604 [execute] INFO git cat-file --batch 06:01:47 2024-07-30 06:01:47,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-563/.semver, universal_newlines=False, shell=None, istream=) 06:01:47 2024-07-30 06:01:47,608 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-563/.semver/PR-563 06:01:47 0.0.0 [Pipeline] } 06:01:47 $ docker exec --env ******** --env ******** 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 ssh-agent -k 06:01:47 unset SSH_AUTH_SOCK; 06:01:47 unset SSH_AGENT_PID; 06:01:47 echo Agent pid 78 killed; 06:01:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:01:48 + git semver [Pipeline] } 06:01:48 $ docker stop --time=1 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 06:01:49 $ docker rm -f --volumes 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:01:50 Stashed 1 file(s) [Pipeline] echo 06:01:50 [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 06:01:51 provisioning config files... 06:01:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/config3747488472031549845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:51 ---> ****-login.sh 06:01:51 nexus3.edgexfoundry.org:10001 06:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:51 Configure a credential helper to remove this warning. See 06:01:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:51 06:01:51 Login Succeeded 06:01:51 nexus3.edgexfoundry.org:10002 06:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:51 Configure a credential helper to remove this warning. See 06:01:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:51 06:01:51 Login Succeeded 06:01:51 nexus3.edgexfoundry.org:10003 06:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:51 Configure a credential helper to remove this warning. See 06:01:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:51 06:01:51 Login Succeeded 06:01:51 nexus3.edgexfoundry.org:10004 06:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:51 Configure a credential helper to remove this warning. See 06:01:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:51 06:01:51 Login Succeeded 06:01:51 ****.io 06:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:01:52 Configure a credential helper to remove this warning. See 06:01:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:01:52 06:01:52 Login Succeeded 06:01:52 ---> ****-login.sh ends [Pipeline] } 06:01:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:01:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:01:52 ========================================================= 06:01:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:01:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:53 + 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 . 06:01:53 Sending build context to Docker daemon 17.89MB 06:01:53 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:01:53 Step 2/10 : FROM ${BASE} AS builder 06:01:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:01:53 619be1103602: Pulling fs layer 06:01:53 7862e08f4a3e: Pulling fs layer 06:01:53 5df492c9dc93: Pulling fs layer 06:01:53 7629e6793208: Pulling fs layer 06:01:53 4f4fb700ef54: Pulling fs layer 06:01:53 fb5054dd5b73: Pulling fs layer 06:01:53 eeca6798cff9: Pulling fs layer 06:01:53 aa269ceb94a6: Pulling fs layer 06:01:53 ada007ff1a6a: Pulling fs layer 06:01:53 4f4fb700ef54: Waiting 06:01:53 fb5054dd5b73: Waiting 06:01:53 aa269ceb94a6: Waiting 06:01:53 eeca6798cff9: Waiting 06:01:53 7629e6793208: Waiting 06:01:53 ada007ff1a6a: Waiting 06:01:53 7862e08f4a3e: Download complete 06:01:53 7629e6793208: Verifying Checksum 06:01:53 7629e6793208: Download complete 06:01:53 4f4fb700ef54: Verifying Checksum 06:01:53 4f4fb700ef54: Download complete 06:01:53 fb5054dd5b73: Verifying Checksum 06:01:53 fb5054dd5b73: Download complete 06:01:53 619be1103602: Verifying Checksum 06:01:53 619be1103602: Download complete 06:01:53 eeca6798cff9: Verifying Checksum 06:01:53 eeca6798cff9: Download complete 06:01:53 619be1103602: Pull complete 06:01:53 ada007ff1a6a: Verifying Checksum 06:01:53 ada007ff1a6a: Download complete 06:01:53 7862e08f4a3e: Pull complete 06:01:53 5df492c9dc93: Verifying Checksum 06:01:53 5df492c9dc93: Download complete 06:01:54 aa269ceb94a6: Verifying Checksum 06:01:54 aa269ceb94a6: Download complete 06:01:56 5df492c9dc93: Pull complete 06:01:56 7629e6793208: Pull complete 06:01:56 4f4fb700ef54: Pull complete 06:01:56 fb5054dd5b73: Pull complete 06:01:56 eeca6798cff9: Pull complete 06:01:59 aa269ceb94a6: Pull complete 06:01:59 ada007ff1a6a: Pull complete 06:01:59 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:01:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:01:59 ---> f489d0715acc 06:01:59 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:02:04 ---> Running in 198b2d2531c7 06:02:04 Removing intermediate container 198b2d2531c7 06:02:04 ---> a03f2ac6cae4 06:02:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:04 ---> Running in d70e37bf9887 06:02:04 Removing intermediate container d70e37bf9887 06:02:04 ---> 6db9ae1a65e4 06:02:04 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:02:04 ---> Running in 89cd3d6ab34c 06:02:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:02:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:02:05 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:02:05 (2/8) Installing libedit (20221030.3.1-r1) 06:02:05 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:02:05 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:02:05 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:02:05 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:02:05 (7/8) Installing openssh-server (9.3_p2-r2) 06:02:05 (8/8) Installing openssh (9.3_p2-r2) 06:02:05 Executing busybox-1.36.1-r5.trigger 06:02:05 OK: 270 MiB in 60 packages 06:02:05 Removing intermediate container 89cd3d6ab34c 06:02:05 ---> f260731bf144 06:02:05 Step 6/10 : WORKDIR /device-modbus-go 06:02:06 Still waiting to schedule task 06:02:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:02:06 ---> Running in 1e9cca072087 06:02:06 Removing intermediate container 1e9cca072087 06:02:06 ---> cf1717107382 06:02:06 Step 7/10 : COPY go.mod vendor* ./ 06:02:06 ---> 360fa9e006a7 06:02:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:06 ---> Running in 9db7ec0c78f0 06:03:13 Removing intermediate container 9db7ec0c78f0 06:03:13 ---> 69b0cb0d3c69 06:03:13 Step 9/10 : COPY . . 06:03:13 ---> 87152d5eeaa7 06:03:13 Step 10/10 : RUN ${MAKE} 06:03:13 ---> Running in ac24766827b9 06:03:13 noop 06:03:13 Removing intermediate container ac24766827b9 06:03:13 ---> ee1f6770151a 06:03:13 Successfully built ee1f6770151a 06:03:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:14 + docker inspect -f . ci-base-image-x86_64 06:03:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:14 prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container 06:03:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:03:14 $ docker top 9b37fba65dee37fdbd9ab99f608a72244fde63940dc495411bd0d4da349a64e2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:15 + go version 06:03:15 go version go1.21.9 linux/amd64 [Pipeline] } 06:03:15 $ docker stop --time=1 9b37fba65dee37fdbd9ab99f608a72244fde63940dc495411bd0d4da349a64e2 06:03:16 $ docker rm -f --volumes 9b37fba65dee37fdbd9ab99f608a72244fde63940dc495411bd0d4da349a64e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:17 + docker inspect -f . ci-base-image-x86_64 06:03:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:17 prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container 06:03:17 $ 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-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:03:17 $ docker top 6ab22ce0654f98e7b46de5b5a0ea0d964a414060e0daf12b515f55a29791c69c -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:18 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-563 [Pipeline] fileExists [Pipeline] sh 06:03:18 + make test 06:03:18 go test ./... -coverprofile=coverage.out 06:03:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:03:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6727 in /w/workspace/xfoundry_device-modbus-go_PR-563 [Pipeline] { [Pipeline] ws 06:03:33 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:03:36 The recommended git tool is: git 06:03:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:03:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements 06:03:40 using credential edgex-jenkins-ssh 06:03:41 Cloning the remote Git repository 06:03:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:03:41 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:03:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:41 > git --version # timeout=10 06:03:41 > git --version # 'git version 2.25.1' 06:03:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:43 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:44 Merging remotes/origin/main commit b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c into PR head commit 3250edf9d943bf9ba44667de315b11b782178186 06:03:44 Merge succeeded, producing 3250edf9d943bf9ba44667de315b11b782178186 06:03:44 Checking out Revision 3250edf9d943bf9ba44667de315b11b782178186 (PR-563) 06:03:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:03:44 > git config core.sparsecheckout # timeout=10 06:03:44 > git checkout -f 3250edf9d943bf9ba44667de315b11b782178186 # timeout=10 06:03:44 > git remote # timeout=10 06:03:44 > git config --get remote.origin.url # timeout=10 06:03:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:44 > git merge b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c # timeout=10 06:03:44 > git rev-parse HEAD^{commit} # timeout=10 06:03:44 > git config core.sparsecheckout # timeout=10 06:03:44 > git checkout -f 3250edf9d943bf9ba44667de315b11b782178186 # timeout=10 06:03:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:03:45 > git --version # timeout=10 06:03:45 > git --version # 'git version 2.25.1' 06:03:45 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 06:03:48 go vet ./... 06:03:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:03:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:03:54 ./bin/test-attribution-txt.sh 06:03:54 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:03:59 $ docker stop --time=1 6ab22ce0654f98e7b46de5b5a0ea0d964a414060e0daf12b515f55a29791c69c 06:04:02 $ docker rm -f --volumes 6ab22ce0654f98e7b46de5b5a0ea0d964a414060e0daf12b515f55a29791c69c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 06:04:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash 06:04:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:04:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:04:03 % Total % Received % Xferd Average Speed Time Time Time Current 06:04:03 Dload Upload Total Spent Left Speed 06:04:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 124k 0 --:--:-- --:--:-- --:--:-- 124k [Pipeline] sh [Pipeline] sh 06:04:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:04:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:04:04 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:04:04 sudo tee /etc/docker/daemon.new 06:04:04 { 06:04:04 "registry-mirrors": [ 06:04:04 "https://nexus3.edgexfoundry.org:10001" 06:04:04 ], 06:04:04 "bip": "10.250.0.254/24", 06:04:04 "hosts": [ 06:04:04 "tcp://0.0.0.0:5555", 06:04:04 "unix:///var/run/docker.sock" 06:04:04 ], 06:04:04 "mtu": 1458, 06:04:04 "selinux-enabled": true, 06:04:04 "seccomp-profile": "/etc/docker/seccomp.json" 06:04:04 } [Pipeline] sh 06:04:04 + ls -al . 06:04:04 total 272 06:04:04 drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 06:03 . 06:04:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 06:01 .. 06:04:04 -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 06:01 .dockerignore 06:04:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 06:03 .git 06:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:01 .github 06:04:04 -rw-rw-r-- 1 jenkins jenkins 266 Jul 30 06:01 .gitignore 06:04:04 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 06:01 .golangci.yml 06:04:04 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 06:01 .semver 06:04:04 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 30 06:01 Attribution.txt 06:04:04 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 30 06:01 CHANGELOG.md 06:04:04 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 30 06:01 Dockerfile 06:04:04 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 06:01 GOVERNANCE.md 06:04:04 -rw-rw-r-- 1 jenkins jenkins 658 Jul 30 06:01 Jenkinsfile 06:04:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 06:01 LICENSE 06:04:04 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 30 06:01 Makefile 06:04:04 -rw-rw-r-- 1 jenkins jenkins 622 Jul 30 06:01 OWNERS.md 06:04:04 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 30 06:01 README.md 06:04:04 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 06:01 VERSION 06:04:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 06:01 bin 06:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:01 cmd 06:04:04 -rw-r--r-- 1 jenkins jenkins 24601 Jul 30 06:03 coverage.out 06:04:04 -rw-rw-r-- 1 jenkins jenkins 7185 Jul 30 06:01 go.mod 06:04:04 -rw-rw-r-- 1 jenkins jenkins 102015 Jul 30 06:01 go.sum 06:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:01 internal 06:04:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 06:01 simulator 06:04:04 -rw-rw-r-- 1 jenkins jenkins 229 Jul 30 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:04:05 + 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=3250edf9d943bf9ba44667de315b11b782178186 --label arch=amd64 --label version=0.0.0 . 06:04:05 Sending build context to Docker daemon 17.91MB 06:04:05 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:04:05 Step 2/23 : FROM ${BASE} AS builder 06:04:05 ---> ee1f6770151a 06:04:05 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:04:05 + sudo service docker restart 06:04:05 ---> Running in 1a97f5e9385d 06:04:05 Removing intermediate container 1a97f5e9385d 06:04:05 ---> 2b6be08c6f46 06:04:05 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:05 ---> Running in f57a99978db4 06:04:05 Removing intermediate container f57a99978db4 06:04:05 ---> 997fca046161 06:04:05 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:04:05 ---> Running in a8783527f974 06:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:04:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:04:06 OK: 270 MiB in 60 packages 06:04:06 Removing intermediate container a8783527f974 06:04:06 ---> 7ab7ab9091b5 06:04:06 Step 6/23 : WORKDIR /device-modbus-go 06:04:06 ---> Running in ec069856fd9c 06:04:06 Removing intermediate container ec069856fd9c 06:04:06 ---> 810305e4c9e0 06:04:06 Step 7/23 : COPY go.mod vendor* ./ 06:04:06 ---> acd23cde6a9a 06:04:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:06 ---> Running in 77335ba4a270 06:04:07 Removing intermediate container 77335ba4a270 06:04:07 ---> 995333a2079e 06:04:07 Step 9/23 : COPY . . 06:04:08 ---> 73533704acba 06:04:08 Step 10/23 : RUN ${MAKE} 06:04:08 ---> Running in fcb1bd1dc2fe 06:04:08 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.28" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:23 provisioning config files... 06:04:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14428921342064204383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:24 ---> ****-login.sh 06:04:24 nexus3.edgexfoundry.org:10001 06:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:24 Configure a credential helper to remove this warning. See 06:04:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:24 06:04:24 Login Succeeded 06:04:24 nexus3.edgexfoundry.org:10002 06:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:25 Configure a credential helper to remove this warning. See 06:04:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:25 06:04:25 Login Succeeded 06:04:25 nexus3.edgexfoundry.org:10003 06:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:25 Configure a credential helper to remove this warning. See 06:04:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:25 06:04:25 Login Succeeded 06:04:25 nexus3.edgexfoundry.org:10004 06:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:25 Configure a credential helper to remove this warning. See 06:04:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:25 06:04:25 Login Succeeded 06:04:25 ****.io 06:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:26 Configure a credential helper to remove this warning. See 06:04:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:26 06:04:26 Login Succeeded 06:04:26 ---> ****-login.sh ends [Pipeline] } 06:04:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:04:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:04:26 ========================================================= 06:04:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:04:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:27 + 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 . 06:04:27 Sending build context to Docker daemon 9.09MB 06:04:27 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:04:27 Step 2/10 : FROM ${BASE} AS builder 06:04:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:04:27 c6b39de5b339: Pulling fs layer 06:04:27 a69c41024577: Pulling fs layer 06:04:27 d6de4b400683: Pulling fs layer 06:04:27 35cb2a7552d0: Pulling fs layer 06:04:27 4f4fb700ef54: Pulling fs layer 06:04:27 464afbd9ba4c: Pulling fs layer 06:04:27 00f215d4a9da: Pulling fs layer 06:04:27 d496ad576159: Pulling fs layer 06:04:27 4f4fb700ef54: Waiting 06:04:27 464afbd9ba4c: Waiting 06:04:27 00f215d4a9da: Waiting 06:04:27 d496ad576159: Waiting 06:04:27 35cb2a7552d0: Waiting 06:04:27 a69c41024577: Verifying Checksum 06:04:27 a69c41024577: Download complete 06:04:27 35cb2a7552d0: Verifying Checksum 06:04:27 35cb2a7552d0: Download complete 06:04:27 4f4fb700ef54: Verifying Checksum 06:04:27 4f4fb700ef54: Download complete 06:04:27 c6b39de5b339: Download complete 06:04:27 464afbd9ba4c: Verifying Checksum 06:04:27 464afbd9ba4c: Download complete 06:04:28 d496ad576159: Verifying Checksum 06:04:28 d496ad576159: Download complete 06:04:28 c6b39de5b339: Pull complete 06:04:29 a69c41024577: Pull complete 06:04:29 d6de4b400683: Download complete 06:04:31 00f215d4a9da: Verifying Checksum 06:04:31 00f215d4a9da: Download complete 06:04:40 Removing intermediate container fcb1bd1dc2fe 06:04:40 ---> 9209e7535e07 06:04:40 Step 11/23 : FROM alpine:3.18 06:04:40 3.18: Pulling from library/alpine 06:04:40 930bdd4d222e: Pulling fs layer 06:04:40 930bdd4d222e: Verifying Checksum 06:04:40 930bdd4d222e: Download complete 06:04:40 930bdd4d222e: Pull complete 06:04:40 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:04:40 Status: Downloaded newer image for alpine:3.18 06:04:40 ---> 18f865063206 06:04:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:04:40 ---> Running in 12eaff6e6bb4 06:04:40 Removing intermediate container 12eaff6e6bb4 06:04:40 ---> c0c222637afd 06:04:40 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:04:40 ---> Running in 640d0419a774 06:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:04:41 (1/1) Installing dumb-init (1.2.5-r2) 06:04:41 Executing busybox-1.36.1-r7.trigger 06:04:41 OK: 7 MiB in 16 packages 06:04:41 Removing intermediate container 640d0419a774 06:04:41 ---> 004e8bb00efa 06:04:41 Step 14/23 : RUN apk --no-cache upgrade 06:04:41 ---> Running in 935bcd5a4559 06:04:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:04:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:04:42 OK: 7 MiB in 16 packages 06:04:42 Removing intermediate container 935bcd5a4559 06:04:42 ---> ecaa76a704e9 06:04:42 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:04:43 d6de4b400683: Pull complete 06:04:43 35cb2a7552d0: Pull complete 06:04:43 4f4fb700ef54: Pull complete 06:04:43 464afbd9ba4c: Pull complete 06:04:43 ---> 53c3d8eb2ff6 06:04:43 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:04:43 ---> 1484da657c27 06:04:43 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:04:43 ---> bd6f03f9853d 06:04:43 Step 18/23 : EXPOSE 59901 06:04:43 ---> Running in 04c52db1b5b4 06:04:43 Removing intermediate container 04c52db1b5b4 06:04:43 ---> fce66fa870df 06:04:43 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:04:43 ---> Running in 6464ba2cf882 06:04:44 Removing intermediate container 6464ba2cf882 06:04:44 ---> 90bfe4796d89 06:04:44 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:04:44 ---> Running in f9c96a05cb2a 06:04:44 Removing intermediate container f9c96a05cb2a 06:04:44 ---> 8057803dd1ab 06:04:44 Step 21/23 : LABEL arch=amd64 06:04:44 ---> Running in 63e603bdae4a 06:04:44 Removing intermediate container 63e603bdae4a 06:04:44 ---> 9c15b675e160 06:04:44 Step 22/23 : LABEL git_sha=3250edf9d943bf9ba44667de315b11b782178186 06:04:44 ---> Running in 83b62c69774d 06:04:44 Removing intermediate container 83b62c69774d 06:04:44 ---> 48c2ca97459e 06:04:44 Step 23/23 : LABEL version=0.0.0 06:04:44 ---> Running in 7ae793803ef9 06:04:44 Removing intermediate container 7ae793803ef9 06:04:44 ---> 93109dc3896d 06:04:44 [Warning] One or more build-args [ARCH] were not consumed 06:04:44 Successfully built 93109dc3896d 06:04:44 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 06:04:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:45 06:04:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:45 latest: Pulling from edgex-lftools-log-publisher 06:04:45 5eb5b503b376: Pulling fs layer 06:04:45 5c69ac0246d0: Pulling fs layer 06:04:45 ec43610c2a17: Pulling fs layer 06:04:45 3a2ae6a8a46f: Pulling fs layer 06:04:45 33b1e0a273af: Pulling fs layer 06:04:45 5d3b04190fa2: Pulling fs layer 06:04:45 2f39f015ded8: Pulling fs layer 06:04:45 33b1e0a273af: Waiting 06:04:45 5d3b04190fa2: Waiting 06:04:45 2f39f015ded8: Waiting 06:04:45 5c69ac0246d0: Download complete 06:04:45 3a2ae6a8a46f: Download complete 06:04:45 33b1e0a273af: Verifying Checksum 06:04:45 33b1e0a273af: Download complete 06:04:45 ec43610c2a17: Verifying Checksum 06:04:45 ec43610c2a17: Download complete 06:04:45 5d3b04190fa2: Verifying Checksum 06:04:45 5d3b04190fa2: Download complete 06:04:46 5eb5b503b376: Verifying Checksum 06:04:46 5eb5b503b376: Download complete 06:04:46 2f39f015ded8: Download complete 06:04:47 5eb5b503b376: Pull complete 06:04:47 5c69ac0246d0: Pull complete 06:04:47 ec43610c2a17: Pull complete 06:04:47 3a2ae6a8a46f: Pull complete 06:04:47 33b1e0a273af: Pull complete 06:04:47 5d3b04190fa2: Pull complete 06:04:51 00f215d4a9da: Pull complete 06:04:52 2f39f015ded8: Pull complete 06:04:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:04:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:04:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:52 prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container 06:04:52 $ 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-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:04:53 d496ad576159: Pull complete 06:04:53 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:04:53 ---> f246e2811388 06:04:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:04:54 ---> Running in 5052e16bed00 06:04:54 Removing intermediate container 5052e16bed00 06:04:54 ---> 90ce23a28d9a 06:04:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:54 ---> Running in a88638db9065 06:04:55 Removing intermediate container a88638db9065 06:04:55 ---> ef9308b3d9ab 06:04:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:04:55 ---> Running in 1f2f69e8a992 06:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:04:56 $ docker top c8fcd8e859d5e53e5371c8eb55243bca55e2ef86f84df1aa3085e8d722934133 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:57 ---> job-cost.sh 06:04:57 lf-activate-venv: SKIPPING 06:04:57 INFO: No Stack... 06:04:57 INFO: Retrieving Pricing Info for: v3-standard-8 06:04:57 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:04:57 (2/8) Installing libedit (20221030.3.1-r1) 06:04:57 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:04:57 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:04:57 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:04:57 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:04:57 INFO: Archiving Costs [Pipeline] sh 06:04:57 (7/8) Installing openssh-server (9.3_p2-r2) 06:04:57 (8/8) Installing openssh (9.3_p2-r2) 06:04:57 Executing busybox-1.36.1-r5.trigger 06:04:57 OK: 272 MiB in 60 packages 06:04:58 + cat /w/workspace/xfoundry_device-modbus-go_PR-563/archives/cost.csv 06:04:58 + cut -d, -f6 [Pipeline] lock 06:04:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] 06:04:58 Resource [jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] did not exist. Created. 06:04:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:04:58 + echo total: 0.2199999988079071 [Pipeline] stash 06:04:58 Stashed 1 file(s) [Pipeline] } 06:04:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [Pipeline] // lock 06:04:58 Removing intermediate container 1f2f69e8a992 06:04:58 ---> cff359a7fcb2 06:04:58 Step 6/10 : WORKDIR /device-modbus-go [Pipeline] } 06:04:58 $ docker stop --time=1 c8fcd8e859d5e53e5371c8eb55243bca55e2ef86f84df1aa3085e8d722934133 06:04:59 ---> Running in 7d075a5ea081 06:04:59 Removing intermediate container 7d075a5ea081 06:04:59 ---> 3850a97299d8 06:04:59 Step 7/10 : COPY go.mod vendor* ./ 06:05:00 ---> a0593320a8de 06:05:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:00 ---> Running in 7dc0827aa322 06:05:00 $ docker rm -f --volumes c8fcd8e859d5e53e5371c8eb55243bca55e2ef86f84df1aa3085e8d722934133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:06:51 Removing intermediate container 7dc0827aa322 06:06:51 ---> 45a4493ba151 06:06:51 Step 9/10 : COPY . . 06:06:51 ---> fabd8b0f4400 06:06:51 Step 10/10 : RUN ${MAKE} 06:06:51 ---> Running in ed1952ca8191 06:06:51 noop 06:06:51 Removing intermediate container ed1952ca8191 06:06:51 ---> c2eca3faf8eb 06:06:51 Successfully built c2eca3faf8eb 06:06:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:52 + docker inspect -f . ci-base-image-arm64 06:06:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:52 prd-ubuntu20.04-docker-arm64-4c-16g-6727 does not seem to be running inside a container 06:06:52 $ 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 06:06:53 $ docker top c4e8304e37d96f1ca0c36c608bd1ae32dd225f1580f2afa810afe44b4043b3ed -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:54 + go version 06:06:54 go version go1.21.9 linux/arm64 [Pipeline] } 06:06:54 $ docker stop --time=1 c4e8304e37d96f1ca0c36c608bd1ae32dd225f1580f2afa810afe44b4043b3ed 06:06:56 $ docker rm -f --volumes c4e8304e37d96f1ca0c36c608bd1ae32dd225f1580f2afa810afe44b4043b3ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:57 + docker inspect -f . ci-base-image-arm64 06:06:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:57 prd-ubuntu20.04-docker-arm64-4c-16g-6727 does not seem to be running inside a container 06:06:57 $ 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 06:06:58 $ docker top eed84b71caa710029d5b0a9d735477dfd626af3c514f63aa6040bd1b8e0b9c6d -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:59 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:06:59 + make test 06:06:59 go test ./... -coverprofile=coverage.out 06:07:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:10:42 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:10:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.048s coverage: 47.9% of statements 06:10:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:10:42 go vet ./... 06:11:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:11:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:11:29 ./bin/test-attribution-txt.sh 06:11:29 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:11:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:11:29 $ docker stop --time=1 eed84b71caa710029d5b0a9d735477dfd626af3c514f63aa6040bd1b8e0b9c6d 06:11:31 $ docker rm -f --volumes eed84b71caa710029d5b0a9d735477dfd626af3c514f63aa6040bd1b8e0b9c6d [Pipeline] // withDockerContainer [Pipeline] sh 06:11:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:11:32 Warning: overwriting stash ‘coverage-report’ 06:11:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:34 + ls -al . 06:11:34 total 268 06:11:34 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 06:07 . 06:11:34 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 06:03 .. 06:11:34 -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 06:03 .dockerignore 06:11:34 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 06:03 .git 06:11:34 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:03 .github 06:11:34 -rw-rw-r-- 1 jenkins jenkins 266 Jul 30 06:03 .gitignore 06:11:34 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 06:03 .golangci.yml 06:11:34 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 30 06:03 Attribution.txt 06:11:34 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 30 06:03 CHANGELOG.md 06:11:34 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 30 06:03 Dockerfile 06:11:34 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 06:03 GOVERNANCE.md 06:11:34 -rw-rw-r-- 1 jenkins jenkins 658 Jul 30 06:03 Jenkinsfile 06:11:34 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 06:03 LICENSE 06:11:34 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 30 06:03 Makefile 06:11:34 -rw-rw-r-- 1 jenkins jenkins 622 Jul 30 06:03 OWNERS.md 06:11:34 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 30 06:03 README.md 06:11:34 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 06:01 VERSION 06:11:34 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 06:03 bin 06:11:34 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:03 cmd 06:11:34 -rw-r--r-- 1 jenkins jenkins 24601 Jul 30 06:10 coverage.out 06:11:34 -rw-rw-r-- 1 jenkins jenkins 7185 Jul 30 06:03 go.mod 06:11:34 -rw-rw-r-- 1 jenkins jenkins 102015 Jul 30 06:03 go.sum 06:11:34 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:03 internal 06:11:34 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 06:03 simulator 06:11:34 -rw-rw-r-- 1 jenkins jenkins 229 Jul 30 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:34 + 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=3250edf9d943bf9ba44667de315b11b782178186 --label arch=arm64 --label version=0.0.0 . 06:11:34 Sending build context to Docker daemon 9.115MB 06:11:34 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:11:34 Step 2/23 : FROM ${BASE} AS builder 06:11:34 ---> c2eca3faf8eb 06:11:34 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:11:34 ---> Running in c1f942e70d3c 06:11:35 Removing intermediate container c1f942e70d3c 06:11:35 ---> 9e589d418739 06:11:35 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:35 ---> Running in 8daab4c1691e 06:11:35 Removing intermediate container 8daab4c1691e 06:11:35 ---> 773335980310 06:11:35 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:11:35 ---> Running in ba7f6df517d1 06:11:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:11:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:11:37 OK: 272 MiB in 60 packages 06:11:38 Removing intermediate container ba7f6df517d1 06:11:38 ---> 3c8fac651d08 06:11:38 Step 6/23 : WORKDIR /device-modbus-go 06:11:38 ---> Running in ab0534869b7d 06:11:39 Removing intermediate container ab0534869b7d 06:11:39 ---> 720ce7c8ef36 06:11:39 Step 7/23 : COPY go.mod vendor* ./ 06:11:39 ---> 913f662801cf 06:11:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:39 ---> Running in 7ab27fa682e5 06:11:41 Removing intermediate container 7ab27fa682e5 06:11:41 ---> 9f3cf8cea6b0 06:11:41 Step 9/23 : COPY . . 06:11:43 ---> 76941cefcf43 06:11:43 Step 10/23 : RUN ${MAKE} 06:11:43 ---> Running in 3a0c361b2e06 06:11: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.28" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:15:05 Removing intermediate container 3a0c361b2e06 06:15:05 ---> 65b82038c206 06:15:05 Step 11/23 : FROM alpine:3.18 06:15:05 3.18: Pulling from library/alpine 06:15:05 4983c3fe2029: Pulling fs layer 06:15:05 4983c3fe2029: Verifying Checksum 06:15:05 4983c3fe2029: Download complete 06:15:05 4983c3fe2029: Pull complete 06:15:05 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:15:05 Status: Downloaded newer image for alpine:3.18 06:15:05 ---> a0237000ae83 06:15:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:15:05 ---> Running in d5a724dd42b7 06:15:05 Removing intermediate container d5a724dd42b7 06:15:05 ---> c1fb188d66fa 06:15:05 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:15:05 ---> Running in 8e01786f5292 06:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:15:05 (1/1) Installing dumb-init (1.2.5-r2) 06:15:05 Executing busybox-1.36.1-r7.trigger 06:15:05 OK: 8 MiB in 16 packages 06:15:05 Removing intermediate container 8e01786f5292 06:15:05 ---> 3752670d47d4 06:15:05 Step 14/23 : RUN apk --no-cache upgrade 06:15:05 ---> Running in d363ed450bd2 06:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:15:05 OK: 8 MiB in 16 packages 06:15:06 Removing intermediate container d363ed450bd2 06:15:06 ---> 1586e8b89a0f 06:15:06 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:15:07 ---> fbfedb2d457f 06:15:07 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:15:08 ---> f572af79bde8 06:15:08 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:15:08 ---> 99d569ef1f3b 06:15:08 Step 18/23 : EXPOSE 59901 06:15:08 ---> Running in 148396856b13 06:15:09 Removing intermediate container 148396856b13 06:15:09 ---> 993ebc93cdf5 06:15:09 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:15:09 ---> Running in 841388040f59 06:15:09 Removing intermediate container 841388040f59 06:15:09 ---> 88062a7fe53c 06:15:09 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:15:09 ---> Running in 801f528313c5 06:15:09 Removing intermediate container 801f528313c5 06:15:09 ---> 6c87cf5d9953 06:15:09 Step 21/23 : LABEL arch=arm64 06:15:09 ---> Running in c00cda11159b 06:15:10 Removing intermediate container c00cda11159b 06:15:10 ---> 19da039affd2 06:15:10 Step 22/23 : LABEL git_sha=3250edf9d943bf9ba44667de315b11b782178186 06:15:10 ---> Running in 16301065bc68 06:15:10 Removing intermediate container 16301065bc68 06:15:10 ---> a1fee598a6de 06:15:10 Step 23/23 : LABEL version=0.0.0 06:15:10 ---> Running in 6828f059a3cb 06:15:10 Removing intermediate container 6828f059a3cb 06:15:10 ---> 492a12da05ed 06:15:10 [Warning] One or more build-args [ARCH] were not consumed 06:15:10 Successfully built 492a12da05ed 06:15:10 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 06:15:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:11 06:15:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:12 arm64: Pulling from edgex-lftools-log-publisher 06:15:12 8998bd30e6a1: Pulling fs layer 06:15:12 04944245beec: Pulling fs layer 06:15:12 699f458cf7ca: Pulling fs layer 06:15:12 765212b225bb: Pulling fs layer 06:15:12 f23df028b6ca: Pulling fs layer 06:15:12 d65c8cfc05b1: Pulling fs layer 06:15:12 2437ff75d9bd: Pulling fs layer 06:15:12 f23df028b6ca: Waiting 06:15:12 d65c8cfc05b1: Waiting 06:15:12 2437ff75d9bd: Waiting 06:15:12 765212b225bb: Waiting 06:15:12 04944245beec: Verifying Checksum 06:15:12 04944245beec: Download complete 06:15:12 765212b225bb: Verifying Checksum 06:15:12 765212b225bb: Download complete 06:15:12 f23df028b6ca: Verifying Checksum 06:15:12 f23df028b6ca: Download complete 06:15:12 d65c8cfc05b1: Verifying Checksum 06:15:12 d65c8cfc05b1: Download complete 06:15:12 699f458cf7ca: Verifying Checksum 06:15:12 699f458cf7ca: Download complete 06:15:13 8998bd30e6a1: Verifying Checksum 06:15:13 8998bd30e6a1: Download complete 06:15:15 2437ff75d9bd: Verifying Checksum 06:15:15 2437ff75d9bd: Download complete 06:15:17 8998bd30e6a1: Pull complete 06:15:18 04944245beec: Pull complete 06:15:19 699f458cf7ca: Pull complete 06:15:19 765212b225bb: Pull complete 06:15:20 f23df028b6ca: Pull complete 06:15:21 d65c8cfc05b1: Pull complete 06:15:39 2437ff75d9bd: Pull complete 06:15:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:15:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:39 prd-ubuntu20.04-docker-arm64-4c-16g-6727 does not seem to be running inside a container 06:15:39 $ 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 06:15:42 $ docker top bb35e503d6f157a9e4be94aa5ae74a835a48c6c45d42aca68dda508ceb62e0d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:43 ---> job-cost.sh 06:15:43 lf-activate-venv: SKIPPING 06:15:43 INFO: No Stack... 06:15:43 INFO: Retrieving Pricing Info for: v3-standard-4 06:15:44 INFO: Archiving Costs [Pipeline] sh 06:15:45 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:15:45 + cut -d, -f6 [Pipeline] lock 06:15:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] 06:15:45 Resource [jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] did not exist. Created. 06:15:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:45 /w/workspace/device-modbus-go/1@tmp/durable-f381bfb3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:15:46 + echo total: 0.10999999940395355 [Pipeline] stash 06:15:46 Warning: overwriting stash ‘stack-cost’ 06:15:46 Stashed 1 file(s) [Pipeline] } 06:15:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:15:46 $ docker stop --time=1 bb35e503d6f157a9e4be94aa5ae74a835a48c6c45d42aca68dda508ceb62e0d5 06:15:48 $ docker rm -f --volumes bb35e503d6f157a9e4be94aa5ae74a835a48c6c45d42aca68dda508ceb62e0d5 [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 06:15:49 provisioning config files... 06:15:49 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/config6380788348791073975tmp [Pipeline] { [Pipeline] sh 06:15:49 + set +x 06:15:49 + + bash -s -- 06:15:49 curl -s https://codecov.io/bash 06:15:49 06:15:49 _____ _ 06:15:49 / ____| | | 06:15:49 | | ___ __| | ___ ___ _____ __ 06:15:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:15:49 | |___| (_) | (_| | __/ (_| (_) \ V / 06:15:49 \_____\___/ \__,_|\___|\___\___/ \_/ 06:15:49 Bash-1.0.6 06:15:49 06:15:49 06:15:49 ==> git version 2.25.1 found 06:15:49 ==> 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 06:15:49 Release-Date: 2020-01-08 06:15:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:15:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:15:49 ==> Jenkins CI detected. 06:15:49 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-563 06:15:49 project root: . 06:15:49 --> token set from env 06:15:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:15:49 ==> Running gcov in . (disable via -X gcov) 06:15:49 ==> Python coveragepy not found 06:15:49 ==> Searching for coverage reports in: 06:15:49 + . 06:15:49 -> Found 1 reports 06:15:49 ==> Detecting git/mercurial file structure 06:15:49 ==> Reading reports 06:15:49 + ./coverage.out bytes=24601 06:15:49 ==> Appending adjustments 06:15:49 https://docs.codecov.io/docs/fixing-reports 06:15:49 + Found adjustments 06:15:49 ==> Gzipping contents 06:15:49 4.0K /tmp/codecov.QVXPX1.gz 06:15:49 ==> Uploading reports 06:15:49 url: https://codecov.io 06:15:49 query: branch=PR-563&commit=3250edf9d943bf9ba44667de315b11b782178186&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=563&job=&cmd_args= 06:15:49 -> Pinging Codecov 06:15:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-563&commit=3250edf9d943bf9ba44667de315b11b782178186&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=563&job=&cmd_args= 06:15:49 -> Uploading to 06:15:49 https://storage.googleapis.com/codecov/v4/raw/2024-07-30/55DBCA73C666E3227836607328DD7E49/3250edf9d943bf9ba44667de315b11b782178186/5e26f6c5-1417-4fb9-9ba6-c27af899b9fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T061549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db971cc6203ad35c254c846ffc3d95c7898ab74d07b621dbf30a9bfbf10859cb 06:15:50 % Total % Received % Xferd Average Speed Time Time Time Current 06:15:50 Dload Upload Total Spent Left Speed 06:15:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16283 --:--:-- --:--:-- --:--:-- 16283 06:15:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] } 06:15:50 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 06:15:52 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-563/archives ] 06:15:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-563/archives 06:15:52 total 16 06:15:52 drwxr-xr-x 3 root root 4096 Jul 30 06:04 . 06:15:52 drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 06:04 .. 06:15:52 drwxr-xr-x 2 root root 4096 Jul 30 06:04 cost 06:15:52 -rw-r--r-- 1 root root 88 Jul 30 06:04 cost.csv 06:15:52 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-563/archives 06:15:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-563/archives 06:15:52 total 16 06:15:52 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 06:04 . 06:15:52 drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 06:04 .. 06:15:52 drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 06:04 cost 06:15:52 -rw-r--r-- 1 jenkins jenkins 88 Jul 30 06:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:15:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:53 ---> package-listing.sh 06:15:53 ++ facter osfamily 06:15:53 ++ tr '[:upper:]' '[:lower:]' 06:15:53 + OS_FAMILY=debian 06:15:53 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-563 06:15:53 + START_PACKAGES=/tmp/packages_start.txt 06:15:53 + END_PACKAGES=/tmp/packages_end.txt 06:15:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:53 + PACKAGES=/tmp/packages_start.txt 06:15:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-563 ']' 06:15:53 + PACKAGES=/tmp/packages_end.txt 06:15:53 + case "${OS_FAMILY}" in 06:15:53 + dpkg -l 06:15:53 + grep '^ii' 06:15:53 + '[' -f /tmp/packages_start.txt ']' 06:15:53 + '[' -f /tmp/packages_end.txt ']' 06:15:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:53 + '[' /w/workspace/xfoundry_device-modbus-go_PR-563 ']' 06:15:53 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-563/archives/ 06:15:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-563/archives/ [Pipeline] echo 06:15: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-563/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:15:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:55 prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container 06:15:55 $ 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-563/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-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@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 06:15:55 $ docker top 81e6862deb92c1adbb3a9432f6eec76bb24aed31bd6d72fa4ef872ae45b2699e -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:55 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:55 + mkdir -p /var/log/sysstat [Pipeline] sh 06:15:56 + ls /var/log/sa-host 06:15:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:56 provisioning config files... 06:15:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/config14620916577341294958tmp [Pipeline] { [Pipeline] echo 06:15:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:56 ---> create-netrc.sh [Pipeline] } 06:15:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:15:57 ---> python-tools-install.sh [Pipeline] echo 06:15:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:57 ---> sudo-logs.sh 06:15:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:15:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:58 ---> job-cost.sh 06:15:58 lf-activate-venv: SKIPPING 06:15:58 DEBUG: total: 0.2199999988079071 06:15:58 INFO: Retrieving Stack Cost... 06:15:58 INFO: Retrieving Pricing Info for: v3-standard-8 06:15:58 INFO: Archiving Costs [Pipeline] echo 06:15:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:59 ---> logs-deploy.sh 06:15:59 lf-activate-venv: SKIPPING 06:15:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-563/1 06:15:59 INFO: archiving workspace using pattern(s): 06:16:00 Archives upload complete. 06:16:00 INFO: archiving logs to Nexus