Pull request #480 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ac4121a6a7904df9618b3f379b244e5282c25357+e24262ef9183de1c0c5cd9baee4f648fbf1c66fe (1a9b790cfd2387c38aebb4c2612e7c8dfd2e7156) 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-ssh7786648281272833159.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7452288491716134282.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13791260091385998593.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh7857918954915034785.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-480/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-480/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10578614650130979514.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-15927 in /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-480 # 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 Merging remotes/origin/main commit e24262ef9183de1c0c5cd9baee4f648fbf1c66fe into PR head commit ac4121a6a7904df9618b3f379b244e5282c25357 > 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/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac4121a6a7904df9618b3f379b244e5282c25357 # timeout=10 Merge succeeded, producing ac4121a6a7904df9618b3f379b244e5282c25357 Checking out Revision ac4121a6a7904df9618b3f379b244e5282c25357 (PR-480) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:03:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:03:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:03:42 ========================================================= 19:03:42 EdgeX Global Pipelines Version Info 19:03:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac4121a6a7904df9618b3f379b244e5282c25357 # timeout=10 > git rev-list --no-walk 03409e6d331d0be31f92e98c4f8be8894e9eeba6 # timeout=10 19:03:43 ------------------- 19:03:43 stable info: 19:03:43 ------------------- 19:03:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:03:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:03:43 Message: update stable to v1.0.249 19:03:43 ------------------- 19:03:43 experimental info: 19:03:43 ------------------- 19:03:43 Commited By: **** collab-it+edgex@linuxfoundation.org 19:03:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:03:43 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:03:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-480 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-480 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-480 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac4121a [Pipeline] echo 19:03:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:44 provisioning config files... 19:03:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config15230547386313571339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:44 ---> docker-login.sh 19:03:44 nexus3.edgexfoundry.org:10001 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 nexus3.edgexfoundry.org:10002 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 nexus3.edgexfoundry.org:10003 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 nexus3.edgexfoundry.org:10004 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 docker.io 19:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:45 Configure a credential helper to remove this warning. See 19:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:45 19:03:45 Login Succeeded 19:03:45 ---> docker-login.sh ends [Pipeline] } 19:03:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:03:46 + git rev-list -1 --merges ac4121a6a7904df9618b3f379b244e5282c25357~1..ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] echo 19:03:46 -----------> git rev-list -1 --merges ac4121a6a7904df9618b3f379b244e5282c25357~1..ac4121a6a7904df9618b3f379b244e5282c25357 ac4121a6a7904df9618b3f379b244e5282c25357 [false] [Pipeline] sh 19:03:46 + git log --format=format:%s -1 ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] echo 19:03:46 ========================================================= 19:03:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:03:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:03:46 + git log --format=format:%s -1 ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] echo 19:03:46 [semverPrep] GIT_COMMIT: ac4121a6a7904df9618b3f379b244e5282c25357, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 19:03:46 [semverPrep] This is not a build commit. [Pipeline] sh 19:03:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:03:47 + grep -v github /etc/ssh/ssh_known_hosts 19:03:47 + [ -e /tmp/ssh_known_hosts ] 19:03:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:03:47 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:03:47 sudo tee -a /etc/ssh/ssh_known_hosts 19:03:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:03:47 19:03:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:03:47 0.1.4: Pulling from edgex-devops/py-git-semver 19:03:47 b85a868b505f: Pulling fs layer 19:03:47 e2be974225ed: Pulling fs layer 19:03:47 339a4e72a1f5: Pulling fs layer 19:03:47 988bab9f4d93: Pulling fs layer 19:03:47 1469e6f7b9e6: Pulling fs layer 19:03:47 eaf3925da568: Pulling fs layer 19:03:47 bab4dde63d76: Pulling fs layer 19:03:47 bde34c3a00c8: Pulling fs layer 19:03:47 b352a97aabf1: Pulling fs layer 19:03:47 4872d77fe225: Pulling fs layer 19:03:47 5851b861e8e6: Pulling fs layer 19:03:47 1469e6f7b9e6: Waiting 19:03:47 eaf3925da568: Waiting 19:03:47 bab4dde63d76: Waiting 19:03:47 bde34c3a00c8: Waiting 19:03:47 b352a97aabf1: Waiting 19:03:47 4872d77fe225: Waiting 19:03:47 5851b861e8e6: Waiting 19:03:47 988bab9f4d93: Waiting 19:03:47 e2be974225ed: Download complete 19:03:47 988bab9f4d93: Verifying Checksum 19:03:47 988bab9f4d93: Download complete 19:03:47 339a4e72a1f5: Verifying Checksum 19:03:47 339a4e72a1f5: Download complete 19:03:47 eaf3925da568: Download complete 19:03:47 1469e6f7b9e6: Verifying Checksum 19:03:47 1469e6f7b9e6: Download complete 19:03:47 bde34c3a00c8: Verifying Checksum 19:03:47 bde34c3a00c8: Download complete 19:03:48 b352a97aabf1: Verifying Checksum 19:03:48 4872d77fe225: Verifying Checksum 19:03:48 4872d77fe225: Download complete 19:03:48 5851b861e8e6: Verifying Checksum 19:03:48 5851b861e8e6: Download complete 19:03:48 b85a868b505f: Download complete 19:03:48 bab4dde63d76: Verifying Checksum 19:03:48 bab4dde63d76: Download complete 19:03:49 b85a868b505f: Pull complete 19:03:49 e2be974225ed: Pull complete 19:03:49 339a4e72a1f5: Pull complete 19:03:50 988bab9f4d93: Pull complete 19:03:50 1469e6f7b9e6: Pull complete 19:03:50 eaf3925da568: Pull complete 19:03:52 bab4dde63d76: Pull complete 19:03:52 bde34c3a00c8: Pull complete 19:03:52 b352a97aabf1: Pull complete 19:03:52 4872d77fe225: Pull complete 19:03:52 5851b861e8e6: Pull complete 19:03:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:03:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:03:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:52 prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container 19:03:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:03:54 $ docker top 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd -eo pid,comm 19:03:54 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). 19:03:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:03:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:03:55 [ssh-agent] Looking for ssh-agent implementation... 19:03:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:03:55 $ docker exec 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd ssh-agent 19:03:55 SSH_AUTH_SOCK=/tmp/ssh-wZdDX9dG2cyd/agent.31 19:03:55 SSH_AGENT_PID=38 19:03:55 Running ssh-add (command line suppressed) 19:03:55 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_11769011690233963902.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_11769011690233963902.key) 19:03:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:03:55 + git tag --points-at HEAD [Pipeline] } 19:03:55 $ docker exec --env ******** --env ******** 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd ssh-agent -k 19:03:55 unset SSH_AUTH_SOCK; 19:03:55 unset SSH_AGENT_PID; 19:03:55 echo Agent pid 38 killed; 19:03:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:03:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:03:55 [ssh-agent] Looking for ssh-agent implementation... 19:03:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:03:55 $ docker exec 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd ssh-agent 19:03:56 SSH_AUTH_SOCK=/tmp/ssh-mWdJsjmgAyfj/agent.70 19:03:56 SSH_AGENT_PID=76 19:03:56 Running ssh-add (command line suppressed) 19:03:56 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_2640653347070346271.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_2640653347070346271.key) 19:03:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:03:56 + git semver init 19:03:56 2023-05-17 19:03:56,626 [run_init] DEBUG init version:0.0.0 force:False 19:03:56 2023-05-17 19:03:56,627 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver 19:03:56 2023-05-17 19:03:56,627 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-480/.semver 19:03:56 2023-05-17 19:03:56,628 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-480/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480, universal_newlines=False, shell=None, istream=None) 19:03:57 2023-05-17 19:03:57,365 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.git/info/exclude 19:03:57 2023-05-17 19:03:57,366 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 with force:False 19:03:57 2023-05-17 19:03:57,366 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 19:03:57 2023-05-17 19:03:57,369 [execute] INFO git cat-file --batch-check 19:03:57 2023-05-17 19:03:57,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 19:03:57 2023-05-17 19:03:57,376 [execute] INFO git cat-file --batch 19:03:57 2023-05-17 19:03:57,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) 19:03:57 2023-05-17 19:03:57,381 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 19:03:57 0.0.0 [Pipeline] } 19:03:57 $ docker exec --env ******** --env ******** 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd ssh-agent -k 19:03:57 unset SSH_AUTH_SOCK; 19:03:57 unset SSH_AGENT_PID; 19:03:57 echo Agent pid 76 killed; 19:03:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:03:58 + git semver [Pipeline] } 19:03:58 $ docker stop --time=1 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd 19:03:59 $ docker rm -f --volumes 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd [Pipeline] // withDockerContainer [Pipeline] sh 19:03:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:04:00 Stashed 1 file(s) [Pipeline] echo 19:04:00 [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 19:04:00 provisioning config files... 19:04:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config10498660312519297303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:00 ---> docker-login.sh 19:04:00 nexus3.edgexfoundry.org:10001 19:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:00 Configure a credential helper to remove this warning. See 19:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:00 19:04:00 Login Succeeded 19:04:00 nexus3.edgexfoundry.org:10002 19:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:00 Configure a credential helper to remove this warning. See 19:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:00 19:04:00 Login Succeeded 19:04:00 nexus3.edgexfoundry.org:10003 19:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:00 Configure a credential helper to remove this warning. See 19:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:00 19:04:00 Login Succeeded 19:04:00 nexus3.edgexfoundry.org:10004 19:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:00 Configure a credential helper to remove this warning. See 19:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:00 19:04:00 Login Succeeded 19:04:00 docker.io 19:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:01 Configure a credential helper to remove this warning. See 19:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:01 19:04:01 Login Succeeded 19:04:01 ---> docker-login.sh ends [Pipeline] } 19:04:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:04:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:01 ========================================================= 19:04:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:04:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:04:01 Sending build context to Docker daemon 6.529MB 19:04:01 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:04:01 Step 2/10 : FROM ${BASE} AS builder 19:04:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:04:01 f56be85fc22e: Pulling fs layer 19:04:01 85791d961cd3: Pulling fs layer 19:04:01 d694b5ae8c79: Pulling fs layer 19:04:01 9f32a84ed3da: Pulling fs layer 19:04:01 4d19c01a9841: Pulling fs layer 19:04:01 9325e15d5711: Pulling fs layer 19:04:01 556b6ee489ea: Pulling fs layer 19:04:01 c5a4b2cf53e6: Pulling fs layer 19:04:01 9f32a84ed3da: Waiting 19:04:01 4d19c01a9841: Waiting 19:04:01 9325e15d5711: Waiting 19:04:01 556b6ee489ea: Waiting 19:04:01 c5a4b2cf53e6: Waiting 19:04:01 85791d961cd3: Download complete 19:04:01 9f32a84ed3da: Verifying Checksum 19:04:01 9f32a84ed3da: Download complete 19:04:01 4d19c01a9841: Verifying Checksum 19:04:01 4d19c01a9841: Download complete 19:04:01 f56be85fc22e: Verifying Checksum 19:04:01 f56be85fc22e: Download complete 19:04:01 9325e15d5711: Verifying Checksum 19:04:01 9325e15d5711: Download complete 19:04:01 f56be85fc22e: Pull complete 19:04:02 85791d961cd3: Pull complete 19:04:02 c5a4b2cf53e6: Verifying Checksum 19:04:02 c5a4b2cf53e6: Download complete 19:04:02 d694b5ae8c79: Download complete 19:04:02 556b6ee489ea: Verifying Checksum 19:04:02 556b6ee489ea: Download complete 19:04:05 d694b5ae8c79: Pull complete 19:04:05 9f32a84ed3da: Pull complete 19:04:05 4d19c01a9841: Pull complete 19:04:05 9325e15d5711: Pull complete 19:04:08 556b6ee489ea: Pull complete 19:04:09 c5a4b2cf53e6: Pull complete 19:04:09 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:04:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:04:09 ---> c4be618373d6 19:04:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:04:11 ---> Running in 6c2ae54c152b 19:04:11 Removing intermediate container 6c2ae54c152b 19:04:11 ---> 94a71c1eb6c9 19:04:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:11 ---> Running in 4f7d7955c686 19:04:11 Removing intermediate container 4f7d7955c686 19:04:11 ---> 89a43756b17c 19:04:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:04:12 ---> Running in e5d87744a6f5 19:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:04:12 (1/8) Installing openssh-keygen (9.1_p1-r3) 19:04:12 (2/8) Installing libedit (20221030.3.1-r0) 19:04:12 (3/8) Installing openssh-client-common (9.1_p1-r3) 19:04:12 (4/8) Installing openssh-client-default (9.1_p1-r3) 19:04:12 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 19:04:12 (6/8) Installing openssh-server-common (9.1_p1-r3) 19:04:12 (7/8) Installing openssh-server (9.1_p1-r3) 19:04:12 (8/8) Installing openssh (9.1_p1-r3) 19:04:12 Executing busybox-1.35.0-r29.trigger 19:04:12 OK: 270 MiB in 61 packages 19:04:13 Removing intermediate container e5d87744a6f5 19:04:13 ---> 6b8288a1311c 19:04:13 Step 6/10 : WORKDIR /device-modbus-go 19:04:13 ---> Running in 54763d909e94 19:04:13 Removing intermediate container 54763d909e94 19:04:13 ---> c71a9b319da6 19:04:13 Step 7/10 : COPY go.mod vendor* ./ 19:04:13 ---> 60deab409838 19:04:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:13 ---> Running in db87a2a39b29 19:04:15 Still waiting to schedule task 19:04:15 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:04:40 Removing intermediate container db87a2a39b29 19:04:40 ---> 2ee19d2c7792 19:04:40 Step 9/10 : COPY . . 19:04:40 ---> e75cc200ffe7 19:04:40 Step 10/10 : RUN ${MAKE} 19:04:40 ---> Running in 658d21e7a653 19:04:40 noop 19:04:40 Removing intermediate container 658d21e7a653 19:04:40 ---> cfab70230f3d 19:04:40 Successfully built cfab70230f3d 19:04:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:40 + docker inspect -f . ci-base-image-x86_64 19:04:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:40 prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container 19:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:04:40 $ docker top c1f56ccdfb59fb63c54ec7e0f5eaa91d1ad165b833867534baea377a437379d1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:41 + go version 19:04:41 go version go1.20.2 linux/amd64 [Pipeline] } 19:04:41 $ docker stop --time=1 c1f56ccdfb59fb63c54ec7e0f5eaa91d1ad165b833867534baea377a437379d1 19:04:42 $ docker rm -f --volumes c1f56ccdfb59fb63c54ec7e0f5eaa91d1ad165b833867534baea377a437379d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:42 + docker inspect -f . ci-base-image-x86_64 19:04:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:43 prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container 19:04:43 $ 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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:04:43 $ docker top 6476b3daba9bf7fa6a1a5abb74ba6bc3c07d72c4edbcec07878022838ac48bca -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:43 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] fileExists [Pipeline] sh 19:04:44 + make test 19:04:44 go test ./... -coverprofile=coverage.out 19:04:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:04:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:04:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements 19:05:05 go vet ./... 19:05:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:05:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:05:09 ./bin/test-attribution-txt.sh [Pipeline] echo 19:05:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:05:09 $ docker stop --time=1 6476b3daba9bf7fa6a1a5abb74ba6bc3c07d72c4edbcec07878022838ac48bca 19:05:12 $ docker rm -f --volumes 6476b3daba9bf7fa6a1a5abb74ba6bc3c07d72c4edbcec07878022838ac48bca [Pipeline] // withDockerContainer [Pipeline] sh 19:05:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:05:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:05:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:05:13 + ls -al . 19:05:13 total 184 19:05:13 drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:04 . 19:05:13 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:03 .. 19:05:13 -rw-rw-r-- 1 jenkins jenkins 140 May 17 19:03 .dockerignore 19:05:13 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:03 .git 19:05:13 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:03 .github 19:05:13 -rw-rw-r-- 1 jenkins jenkins 331 May 17 19:03 .gitignore 19:05:13 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:03 .golangci.yml 19:05:13 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:03 .semver 19:05:13 -rw-rw-r-- 1 jenkins jenkins 10132 May 17 19:03 Attribution.txt 19:05:13 -rw-rw-r-- 1 jenkins jenkins 11576 May 17 19:03 CHANGELOG.md 19:05:13 -rw-rw-r-- 1 jenkins jenkins 1365 May 17 19:03 Dockerfile 19:05:13 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:03 GOVERNANCE.md 19:05:13 -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:03 Jenkinsfile 19:05:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:03 LICENSE 19:05:13 -rw-rw-r-- 1 jenkins jenkins 1705 May 17 19:03 Makefile 19:05:13 -rw-rw-r-- 1 jenkins jenkins 622 May 17 19:03 OWNERS.md 19:05:13 -rw-rw-r-- 1 jenkins jenkins 4554 May 17 19:03 README.md 19:05:13 -rw-rw-r-- 1 jenkins jenkins 5 May 17 19:04 VERSION 19:05:13 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:03 bin 19:05:13 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:03 cmd 19:05:13 -rw-r--r-- 1 jenkins jenkins 24160 May 17 19:04 coverage.out 19:05:13 -rw-rw-r-- 1 jenkins jenkins 3453 May 17 19:03 go.mod 19:05:13 -rw-rw-r-- 1 jenkins jenkins 31670 May 17 19:03 go.sum 19:05:13 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:03 internal 19:05:13 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:03 simulator 19:05:13 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:03 snap 19:05:13 -rw-rw-r-- 1 jenkins jenkins 229 May 17 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:14 + 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=ac4121a6a7904df9618b3f379b244e5282c25357 --label arch=amd64 --label version=0.0.0 . 19:05:14 Sending build context to Docker daemon 6.554MB 19:05:14 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 19:05:14 Step 2/22 : FROM ${BASE} AS builder 19:05:14 ---> cfab70230f3d 19:05:14 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:05:14 ---> Running in 58a688c1244d 19:05:14 Removing intermediate container 58a688c1244d 19:05:14 ---> ec99e86d0005 19:05:14 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:05:14 ---> Running in a1ca5d28d087 19:05:14 Removing intermediate container a1ca5d28d087 19:05:14 ---> d47fa88c879d 19:05:14 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:05:14 ---> Running in 1a8a889c64a9 19:05:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:05:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:05:14 OK: 270 MiB in 61 packages 19:05:15 Removing intermediate container 1a8a889c64a9 19:05:15 ---> 0fa962bf053d 19:05:15 Step 6/22 : WORKDIR /device-modbus-go 19:05:15 ---> Running in 3c6221b160c9 19:05:15 Removing intermediate container 3c6221b160c9 19:05:15 ---> 67bcc015aa4d 19:05:15 Step 7/22 : COPY go.mod vendor* ./ 19:05:15 ---> 26719983795a 19:05:15 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:05:15 ---> Running in 1eb6233d0d48 19:05:16 Removing intermediate container 1eb6233d0d48 19:05:16 ---> 5eaea332620c 19:05:16 Step 9/22 : COPY . . 19:05:16 ---> b9dbd6e88cb5 19:05:16 Step 10/22 : RUN ${MAKE} 19:05:16 ---> Running in c46a4105f02f 19:05:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 19:05:38 Removing intermediate container c46a4105f02f 19:05:38 ---> 1527abcdd193 19:05:38 Step 11/22 : FROM alpine:3.17 19:05:38 3.17: Pulling from library/alpine 19:05:38 f56be85fc22e: Already exists 19:05:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:05:38 Status: Downloaded newer image for alpine:3.17 19:05:38 ---> 9ed4aefc74f6 19:05:38 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:05:38 ---> Running in 8a8ea81c024c 19:05:38 Removing intermediate container 8a8ea81c024c 19:05:38 ---> e7b7f080f1ad 19:05:38 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:05:38 ---> Running in 08e05d6ba361 19:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:05:38 (1/1) Installing dumb-init (1.2.5-r2) 19:05:38 Executing busybox-1.35.0-r29.trigger 19:05:38 OK: 7 MiB in 16 packages 19:05:38 Removing intermediate container 08e05d6ba361 19:05:38 ---> 814a6f5cce9e 19:05:38 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:05:38 ---> 339f710daad0 19:05:38 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:05:38 ---> 73308db56bba 19:05:38 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:05:38 ---> 17e2413f20bc 19:05:38 Step 17/22 : EXPOSE 59901 19:05:38 ---> Running in aeb96faf311c 19:05:38 Removing intermediate container aeb96faf311c 19:05:38 ---> 74bf155d60d0 19:05:38 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:05:38 ---> Running in 0fdeb319e364 19:05:38 Removing intermediate container 0fdeb319e364 19:05:38 ---> 1345e4e7cb2b 19:05:38 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:05:38 ---> Running in f3bc6d5b7d03 19:05:38 Removing intermediate container f3bc6d5b7d03 19:05:38 ---> a92223c4ffaf 19:05:38 Step 20/22 : LABEL arch=amd64 19:05:38 ---> Running in db6b02761376 19:05:38 Removing intermediate container db6b02761376 19:05:38 ---> 8649e20203dc 19:05:38 Step 21/22 : LABEL git_sha=ac4121a6a7904df9618b3f379b244e5282c25357 19:05:38 ---> Running in bac9f5e27de4 19:05:38 Removing intermediate container bac9f5e27de4 19:05:38 ---> da097589bad3 19:05:38 Step 22/22 : LABEL version=0.0.0 19:05:38 ---> Running in debcf710af69 19:05:38 Removing intermediate container debcf710af69 19:05:38 ---> dbced6c8aa1d 19:05:38 [Warning] One or more build-args [ARCH] were not consumed 19:05:38 Successfully built dbced6c8aa1d 19:05:38 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:39 19:05:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:41 latest: Pulling from edgex-lftools-log-publisher 19:05:41 5eb5b503b376: Pulling fs layer 19:05:41 5c69ac0246d0: Pulling fs layer 19:05:41 ec43610c2a17: Pulling fs layer 19:05:41 3a2ae6a8a46f: Pulling fs layer 19:05:41 33b1e0a273af: Pulling fs layer 19:05:41 5d3b04190fa2: Pulling fs layer 19:05:41 2f39f015ded8: Pulling fs layer 19:05:41 33b1e0a273af: Waiting 19:05:41 5d3b04190fa2: Waiting 19:05:41 2f39f015ded8: Waiting 19:05:41 3a2ae6a8a46f: Waiting 19:05:41 5c69ac0246d0: Verifying Checksum 19:05:41 5c69ac0246d0: Download complete 19:05:41 3a2ae6a8a46f: Verifying Checksum 19:05:41 3a2ae6a8a46f: Download complete 19:05:41 33b1e0a273af: Verifying Checksum 19:05:41 33b1e0a273af: Download complete 19:05:41 5d3b04190fa2: Download complete 19:05:41 ec43610c2a17: Verifying Checksum 19:05:41 ec43610c2a17: Download complete 19:05:42 5eb5b503b376: Verifying Checksum 19:05:42 5eb5b503b376: Download complete 19:05:43 2f39f015ded8: Download complete 19:05:43 5eb5b503b376: Pull complete 19:05:43 5c69ac0246d0: Pull complete 19:05:43 ec43610c2a17: Pull complete 19:05:44 3a2ae6a8a46f: Pull complete 19:05:44 33b1e0a273af: Pull complete 19:05:44 5d3b04190fa2: Pull complete 19:05:48 2f39f015ded8: Pull complete 19:05:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:05:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:48 prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container 19:05:48 $ 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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:05:51 $ docker top 64703e98fddd32c0a88a4d1820fba6034ab2e62176bd7bc9ffcde86061dcb556 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:52 ---> job-cost.sh 19:05:52 lf-activate-venv: SKIPPING 19:05:52 INFO: No Stack... 19:05:52 INFO: Retrieving Pricing Info for: v3-standard-8 19:05:52 INFO: Archiving Costs [Pipeline] sh 19:05:53 + cat /w/workspace/xfoundry_device-modbus-go_PR-480/archives/cost.csv 19:05:53 + cut -d, -f6 [Pipeline] lock 19:05:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] 19:05:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] did not exist. Created. 19:05:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:05:53 + echo total: 0.2199999988079071 [Pipeline] stash 19:05:53 Stashed 1 file(s) [Pipeline] } 19:05:53 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:05:53 $ docker stop --time=1 64703e98fddd32c0a88a4d1820fba6034ab2e62176bd7bc9ffcde86061dcb556 19:05:54 $ docker rm -f --volumes 64703e98fddd32c0a88a4d1820fba6034ab2e62176bd7bc9ffcde86061dcb556 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:08:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15933 in /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] { [Pipeline] ws 19:08:24 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 19:08:24 Selected Git installation does not exist. Using Default 19:08:24 The recommended git tool is: NONE 19:08:31 using credential edgex-jenkins-ssh 19:08:31 Cloning the remote Git repository 19:08:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 19:08:32 > git init /w/workspace/device-modbus-go/4 # timeout=10 19:08:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:08:32 > git --version # timeout=10 19:08:32 > git --version # 'git version 2.25.1' 19:08:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:08:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:08:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:08:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:08:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:08:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:08:35 using GIT_SSH to set credentials SSH Credentials for GitHub 19:08:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:08:36 Merging remotes/origin/main commit e24262ef9183de1c0c5cd9baee4f648fbf1c66fe into PR head commit ac4121a6a7904df9618b3f379b244e5282c25357 19:08:36 Merge succeeded, producing ac4121a6a7904df9618b3f379b244e5282c25357 19:08:36 Checking out Revision ac4121a6a7904df9618b3f379b244e5282c25357 (PR-480) 19:08:37 Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:36 > git config core.sparsecheckout # timeout=10 19:08:36 > git checkout -f ac4121a6a7904df9618b3f379b244e5282c25357 # timeout=10 19:08:36 > git remote # timeout=10 19:08:36 > git config --get remote.origin.url # timeout=10 19:08:36 using GIT_SSH to set credentials SSH Credentials for GitHub 19:08:36 > git merge e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 19:08:36 > git rev-parse HEAD^{commit} # timeout=10 19:08:36 > git config core.sparsecheckout # timeout=10 19:08:36 > git checkout -f ac4121a6a7904df9618b3f379b244e5282c25357 # timeout=10 19:08:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:08:38 % Total % Received % Xferd Average Speed Time Time Time Current 19:08:38 Dload Upload Total Spent Left Speed 19:08:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh 19:08:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:08:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:08:39 + sudo tee /etc/docker/daemon.new 19:08:39 { 19:08:39 "registry-mirrors": [ 19:08:39 "https://nexus3.edgexfoundry.org:10001" 19:08:39 ], 19:08:39 "bip": "10.250.0.254/24", 19:08:39 "hosts": [ 19:08:39 "tcp://0.0.0.0:5555", 19:08:39 "unix:///var/run/docker.sock" 19:08:39 ], 19:08:39 "mtu": 1458, 19:08:39 "selinux-enabled": true, 19:08:39 "seccomp-profile": "/etc/docker/seccomp.json" 19:08:39 } [Pipeline] sh 19:08:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:08:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:08:58 provisioning config files... 19:08:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config5078012426408184992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:58 ---> docker-login.sh 19:08:58 nexus3.edgexfoundry.org:10001 19:08:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:59 Configure a credential helper to remove this warning. See 19:08:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:59 19:08:59 Login Succeeded 19:08:59 nexus3.edgexfoundry.org:10002 19:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:00 Configure a credential helper to remove this warning. See 19:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:00 19:09:00 Login Succeeded 19:09:00 nexus3.edgexfoundry.org:10003 19:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:00 Configure a credential helper to remove this warning. See 19:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:00 19:09:00 Login Succeeded 19:09:00 nexus3.edgexfoundry.org:10004 19:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:01 Configure a credential helper to remove this warning. See 19:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:01 19:09:01 Login Succeeded 19:09:01 docker.io 19:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:09:01 Configure a credential helper to remove this warning. See 19:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:09:01 19:09:01 Login Succeeded 19:09:01 ---> docker-login.sh ends [Pipeline] } 19:09:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:09:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:09:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:09:02 ========================================================= 19:09:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:09:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:02 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:09:02 Sending build context to Docker daemon 3.417MB 19:09:03 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:09:03 Step 2/10 : FROM ${BASE} AS builder 19:09:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:09:03 c41833b44d91: Pulling fs layer 19:09:03 ed15518f5707: Pulling fs layer 19:09:03 feae8fd75edb: Pulling fs layer 19:09:03 242c74f7c9fa: Pulling fs layer 19:09:03 3cdef696dda3: Pulling fs layer 19:09:03 2ced38df9373: Pulling fs layer 19:09:03 58f1dce35555: Pulling fs layer 19:09:03 242c74f7c9fa: Waiting 19:09:03 3cdef696dda3: Waiting 19:09:03 2ced38df9373: Waiting 19:09:03 58f1dce35555: Waiting 19:09:03 ed15518f5707: Verifying Checksum 19:09:03 ed15518f5707: Download complete 19:09:03 242c74f7c9fa: Download complete 19:09:03 3cdef696dda3: Download complete 19:09:03 c41833b44d91: Verifying Checksum 19:09:03 c41833b44d91: Download complete 19:09:04 c41833b44d91: Pull complete 19:09:05 58f1dce35555: Verifying Checksum 19:09:05 58f1dce35555: Download complete 19:09:05 ed15518f5707: Pull complete 19:09:06 feae8fd75edb: Verifying Checksum 19:09:06 feae8fd75edb: Download complete 19:09:06 2ced38df9373: Verifying Checksum 19:09:06 2ced38df9373: Download complete 19:09:19 feae8fd75edb: Pull complete 19:09:19 242c74f7c9fa: Pull complete 19:09:19 3cdef696dda3: Pull complete 19:09:24 2ced38df9373: Pull complete 19:09:27 58f1dce35555: Pull complete 19:09:27 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:09:27 ---> fadd8f120f05 19:09:27 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:09:29 ---> Running in ccae5a289426 19:09:30 Removing intermediate container ccae5a289426 19:09:30 ---> 7b0e5ab95ab0 19:09:30 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:09:30 ---> Running in 18af3ab0b76a 19:09:30 Removing intermediate container 18af3ab0b76a 19:09:30 ---> 131985d93917 19:09:30 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:09:31 ---> Running in f924bd2c8895 19:09:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:09:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:09:34 (1/8) Installing openssh-keygen (9.1_p1-r3) 19:09:34 (2/8) Installing libedit (20221030.3.1-r0) 19:09:34 (3/8) Installing openssh-client-common (9.1_p1-r3) 19:09:34 (4/8) Installing openssh-client-default (9.1_p1-r3) 19:09:34 (5/8) Installing openssh-sftp-server (9.1_p1-r3) 19:09:34 (6/8) Installing openssh-server-common (9.1_p1-r3) 19:09:34 (7/8) Installing openssh-server (9.1_p1-r3) 19:09:34 (8/8) Installing openssh (9.1_p1-r3) 19:09:34 Executing busybox-1.35.0-r29.trigger 19:09:35 OK: 270 MiB in 61 packages 19:09:36 Removing intermediate container f924bd2c8895 19:09:36 ---> 2f93e6ef9a00 19:09:36 Step 6/10 : WORKDIR /device-modbus-go 19:09:36 ---> Running in 81ee3b8ce347 19:09:36 Removing intermediate container 81ee3b8ce347 19:09:36 ---> ae21ccae4f88 19:09:36 Step 7/10 : COPY go.mod vendor* ./ 19:09:37 ---> 37dff47b1b9d 19:09:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:09:37 ---> Running in f1a8ae958f46 19:10:45 Removing intermediate container f1a8ae958f46 19:10:45 ---> 1161647117c4 19:10:45 Step 9/10 : COPY . . 19:10:45 ---> 10d5cae996a0 19:10:45 Step 10/10 : RUN ${MAKE} 19:10:45 ---> Running in 89d310f5ce3e 19:10:45 noop 19:10:48 Removing intermediate container 89d310f5ce3e 19:10:48 ---> 825d335143cf 19:10:48 Successfully built 825d335143cf 19:10:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:48 + docker inspect -f . ci-base-image-arm64 19:10:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:49 prd-ubuntu20.04-docker-arm64-4c-16g-15933 does not seem to be running inside a container 19:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:10:50 $ docker top 6a26be15ae25ea8b7f43a9ad693fa6b4ec0058ac2265e9394b4ed5e50e5147b6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:51 + go version 19:10:51 go version go1.20.2 linux/arm64 [Pipeline] } 19:10:51 $ docker stop --time=1 6a26be15ae25ea8b7f43a9ad693fa6b4ec0058ac2265e9394b4ed5e50e5147b6 19:10:53 $ docker rm -f --volumes 6a26be15ae25ea8b7f43a9ad693fa6b4ec0058ac2265e9394b4ed5e50e5147b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:53 + docker inspect -f . ci-base-image-arm64 19:10:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:54 prd-ubuntu20.04-docker-arm64-4c-16g-15933 does not seem to be running inside a container 19:10:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:10:55 $ docker top 59dcf37c7210276ad3d81b2fde9af263fd3c72ed1881aab87651ae1d2a7f6c7a -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:56 + git config --global --add safe.directory /w/workspace/device-modbus-go/4 [Pipeline] fileExists [Pipeline] sh 19:10:57 + make test 19:10:57 go test ./... -coverprofile=coverage.out 19:11:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:14:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:14:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.090s coverage: 47.4% of statements 19:14:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:14:14 go vet ./... 19:14:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:14:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:14:36 ./bin/test-attribution-txt.sh [Pipeline] echo 19:14:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:14:36 $ docker stop --time=1 59dcf37c7210276ad3d81b2fde9af263fd3c72ed1881aab87651ae1d2a7f6c7a 19:14:38 $ docker rm -f --volumes 59dcf37c7210276ad3d81b2fde9af263fd3c72ed1881aab87651ae1d2a7f6c7a [Pipeline] // withDockerContainer [Pipeline] sh 19:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:14:40 Warning: overwriting stash ‘coverage-report’ 19:14:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:14:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:14:41 + ls -al . 19:14:41 total 180 19:14:41 drwxrwxr-x 9 jenkins jenkins 4096 May 17 19:11 . 19:14:41 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 .. 19:14:41 -rw-rw-r-- 1 jenkins jenkins 140 May 17 19:08 .dockerignore 19:14:41 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:08 .git 19:14:41 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 .github 19:14:41 -rw-rw-r-- 1 jenkins jenkins 331 May 17 19:08 .gitignore 19:14:41 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:08 .golangci.yml 19:14:41 -rw-rw-r-- 1 jenkins jenkins 10132 May 17 19:08 Attribution.txt 19:14:41 -rw-rw-r-- 1 jenkins jenkins 11576 May 17 19:08 CHANGELOG.md 19:14:41 -rw-rw-r-- 1 jenkins jenkins 1365 May 17 19:08 Dockerfile 19:14:41 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:08 GOVERNANCE.md 19:14:41 -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:08 Jenkinsfile 19:14:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:08 LICENSE 19:14:41 -rw-rw-r-- 1 jenkins jenkins 1705 May 17 19:08 Makefile 19:14:41 -rw-rw-r-- 1 jenkins jenkins 622 May 17 19:08 OWNERS.md 19:14:41 -rw-rw-r-- 1 jenkins jenkins 4554 May 17 19:08 README.md 19:14:41 -rw-rw-r-- 1 jenkins jenkins 5 May 17 19:04 VERSION 19:14:41 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 bin 19:14:41 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 cmd 19:14:41 -rw-r--r-- 1 jenkins jenkins 24160 May 17 19:14 coverage.out 19:14:41 -rw-rw-r-- 1 jenkins jenkins 3453 May 17 19:08 go.mod 19:14:41 -rw-rw-r-- 1 jenkins jenkins 31670 May 17 19:08 go.sum 19:14:41 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 internal 19:14:41 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 simulator 19:14:41 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 snap 19:14:41 -rw-rw-r-- 1 jenkins jenkins 229 May 17 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:41 + 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=ac4121a6a7904df9618b3f379b244e5282c25357 --label arch=arm64 --label version=0.0.0 . 19:14:42 Sending build context to Docker daemon 3.442MB 19:14:42 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 19:14:42 Step 2/22 : FROM ${BASE} AS builder 19:14:42 ---> 825d335143cf 19:14:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:14:42 ---> Running in a89cb6b1d5bd 19:14:42 Removing intermediate container a89cb6b1d5bd 19:14:42 ---> 9dee11e0a27f 19:14:42 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:14:42 ---> Running in eed630385afa 19:14:43 Removing intermediate container eed630385afa 19:14:43 ---> 8c17f505d981 19:14:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:14:43 ---> Running in 59c6e880a465 19:14:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:14:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:14:46 OK: 270 MiB in 61 packages 19:14:47 Removing intermediate container 59c6e880a465 19:14:47 ---> 0508ba339c89 19:14:47 Step 6/22 : WORKDIR /device-modbus-go 19:14:47 ---> Running in 66f7349d0923 19:14:47 Removing intermediate container 66f7349d0923 19:14:47 ---> 9e232d3d83cf 19:14:47 Step 7/22 : COPY go.mod vendor* ./ 19:14:48 ---> 690b835aed58 19:14:48 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:14:48 ---> Running in 9b7338e76553 19:14:50 Removing intermediate container 9b7338e76553 19:14:50 ---> fdf38380ba00 19:14:50 Step 9/22 : COPY . . 19:14:55 ---> 274214c83193 19:14:55 Step 10/22 : RUN ${MAKE} 19:14:55 ---> Running in d8f0346cff84 19:14:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 19:17:32 Removing intermediate container d8f0346cff84 19:17:32 ---> 12542ffa09fc 19:17:32 Step 11/22 : FROM alpine:3.17 19:17:32 3.17: Pulling from library/alpine 19:17:32 c41833b44d91: Already exists 19:17:32 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:17:32 Status: Downloaded newer image for alpine:3.17 19:17:32 ---> 51e60588ff2c 19:17:32 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:17:32 ---> Running in a2d5697e91b2 19:17:32 Removing intermediate container a2d5697e91b2 19:17:32 ---> 5f68a428927c 19:17:32 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:17:32 ---> Running in 0a43d9ecd9b2 19:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:17:32 (1/1) Installing dumb-init (1.2.5-r2) 19:17:32 Executing busybox-1.35.0-r29.trigger 19:17:32 OK: 8 MiB in 16 packages 19:17:32 Removing intermediate container 0a43d9ecd9b2 19:17:32 ---> f3033289ccf9 19:17:32 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:17:32 ---> 9b37963dd273 19:17:32 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:17:32 ---> 888a72321f52 19:17:32 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:17:32 ---> 3bb70e9d7ed6 19:17:32 Step 17/22 : EXPOSE 59901 19:17:32 ---> Running in 1ad8d3030c9f 19:17:32 Removing intermediate container 1ad8d3030c9f 19:17:32 ---> beba0cbad1c5 19:17:32 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:17:32 ---> Running in 151482ea02a7 19:17:32 Removing intermediate container 151482ea02a7 19:17:32 ---> c5531fcb7335 19:17:32 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:17:32 ---> Running in 8673887709d4 19:17:32 Removing intermediate container 8673887709d4 19:17:32 ---> bd47b1b6aa1f 19:17:32 Step 20/22 : LABEL arch=arm64 19:17:32 ---> Running in fc7c688de5bd 19:17:32 Removing intermediate container fc7c688de5bd 19:17:32 ---> 93b68558f562 19:17:32 Step 21/22 : LABEL git_sha=ac4121a6a7904df9618b3f379b244e5282c25357 19:17:32 ---> Running in 211922f3453f 19:17:32 Removing intermediate container 211922f3453f 19:17:32 ---> a4d4f3f7489f 19:17:32 Step 22/22 : LABEL version=0.0.0 19:17:32 ---> Running in 4dfa05138f32 19:17:32 Removing intermediate container 4dfa05138f32 19:17:32 ---> 3e1c9b63a10f 19:17:32 [Warning] One or more build-args [ARCH] were not consumed 19:17:32 Successfully built 3e1c9b63a10f 19:17:32 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:32 19:17:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:33 arm64: Pulling from edgex-lftools-log-publisher 19:17:33 8998bd30e6a1: Pulling fs layer 19:17:33 04944245beec: Pulling fs layer 19:17:33 699f458cf7ca: Pulling fs layer 19:17:33 765212b225bb: Pulling fs layer 19:17:33 f23df028b6ca: Pulling fs layer 19:17:33 d65c8cfc05b1: Pulling fs layer 19:17:33 2437ff75d9bd: Pulling fs layer 19:17:33 f23df028b6ca: Waiting 19:17:33 d65c8cfc05b1: Waiting 19:17:33 2437ff75d9bd: Waiting 19:17:33 765212b225bb: Waiting 19:17:33 04944245beec: Verifying Checksum 19:17:33 04944245beec: Download complete 19:17:33 765212b225bb: Verifying Checksum 19:17:33 765212b225bb: Download complete 19:17:33 f23df028b6ca: Download complete 19:17:33 d65c8cfc05b1: Verifying Checksum 19:17:33 d65c8cfc05b1: Download complete 19:17:33 699f458cf7ca: Verifying Checksum 19:17:33 699f458cf7ca: Download complete 19:17:34 8998bd30e6a1: Verifying Checksum 19:17:34 8998bd30e6a1: Download complete 19:17:36 2437ff75d9bd: Download complete 19:17:38 8998bd30e6a1: Pull complete 19:17:38 04944245beec: Pull complete 19:17:40 699f458cf7ca: Pull complete 19:17:40 765212b225bb: Pull complete 19:17:40 f23df028b6ca: Pull complete 19:17:41 d65c8cfc05b1: Pull complete 19:17:56 2437ff75d9bd: Pull complete 19:17:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:17:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:56 prd-ubuntu20.04-docker-arm64-4c-16g-15933 does not seem to be running inside a container 19:17:56 $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:17:59 $ docker top e6e320078a7ad397bc0450eaee2f3cf62f2070bf7a03734d1eb355cdb079d77b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:18:00 ---> job-cost.sh 19:18:00 lf-activate-venv: SKIPPING 19:18:00 INFO: No Stack... 19:18:01 INFO: Retrieving Pricing Info for: v3-standard-4 19:18:01 INFO: Archiving Costs [Pipeline] sh 19:18:02 + cat /w/workspace/device-modbus-go/4/archives/cost.csv 19:18:02 + cut -d, -f6 [Pipeline] lock 19:18:02 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] 19:18:02 Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] did not exist. Created. 19:18:02 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:18:03 /w/workspace/device-modbus-go/4@tmp/durable-e19a5a03/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:18:04 + echo total: 0.10999999940395355 [Pipeline] stash 19:18:04 Warning: overwriting stash ‘stack-cost’ 19:18:04 Stashed 1 file(s) [Pipeline] } 19:18:04 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:18:04 $ docker stop --time=1 e6e320078a7ad397bc0450eaee2f3cf62f2070bf7a03734d1eb355cdb079d77b 19:18:05 $ docker rm -f --volumes e6e320078a7ad397bc0450eaee2f3cf62f2070bf7a03734d1eb355cdb079d77b [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 19:18:06 provisioning config files... 19:18:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config5504485414491802559tmp [Pipeline] { [Pipeline] sh 19:18:06 + set +x 19:18:06 + curl -s https://codecov.io/bash 19:18:06 + bash -s -- 19:18:06 19:18:06 _____ _ 19:18:06 / ____| | | 19:18:06 | | ___ __| | ___ ___ _____ __ 19:18:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:18:06 | |___| (_) | (_| | __/ (_| (_) \ V / 19:18:06 \_____\___/ \__,_|\___|\___\___/ \_/ 19:18:06 Bash-1.0.6 19:18:06 19:18:06 19:18:06 ==> git version 2.25.1 found 19:18:06 ==> 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 19:18:06 Release-Date: 2020-01-08 19:18:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:18:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:18:06 ==> Jenkins CI detected. 19:18:06 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-480 19:18:06 project root: . 19:18:06 --> token set from env 19:18:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:18:06 ==> Running gcov in . (disable via -X gcov) 19:18:06 ==> Python coveragepy not found 19:18:06 ==> Searching for coverage reports in: 19:18:06 + . 19:18:06 -> Found 1 reports 19:18:06 ==> Detecting git/mercurial file structure 19:18:06 ==> Reading reports 19:18:06 + ./coverage.out bytes=24160 19:18:06 ==> Appending adjustments 19:18:06 https://docs.codecov.io/docs/fixing-reports 19:18:06 + Found adjustments 19:18:06 ==> Gzipping contents 19:18:06 4.0K /tmp/codecov.eiPLjR.gz 19:18:06 ==> Uploading reports 19:18:06 url: https://codecov.io 19:18:06 query: branch=PR-480&commit=ac4121a6a7904df9618b3f379b244e5282c25357&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 19:18:06 -> Pinging Codecov 19:18:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-480&commit=ac4121a6a7904df9618b3f379b244e5282c25357&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= 19:18:06 -> Uploading to 19:18:06 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/55DBCA73C666E3227836607328DD7E49/ac4121a6a7904df9618b3f379b244e5282c25357/38ae32e8-1266-4088-9abc-4e3d4c5cf902.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T191806Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d689c49bdb1393613c95a50e47186d503c998c573c7ab5af1eaa21477cb77e77 19:18:06 % Total % Received % Xferd Average Speed Time Time Time Current 19:18:06 Dload Upload Total Spent Left Speed 19:18:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16081 --:--:-- --:--:-- --:--:-- 16081 19:18:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] } 19:18:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:18:07 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-480/archives ] 19:18:07 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 19:18:07 total 16 19:18:07 drwxr-xr-x 3 root root 4096 May 17 19:05 . 19:18:07 drwxrwxr-x 11 jenkins jenkins 4096 May 17 19:05 .. 19:18:07 drwxr-xr-x 2 root root 4096 May 17 19:05 cost 19:18:07 -rw-r--r-- 1 root root 88 May 17 19:05 cost.csv 19:18:07 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-480/archives 19:18:07 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives 19:18:07 total 16 19:18:07 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:05 . 19:18:07 drwxrwxr-x 11 jenkins jenkins 4096 May 17 19:05 .. 19:18:07 drwxr-xr-x 2 jenkins jenkins 4096 May 17 19:05 cost 19:18:07 -rw-r--r-- 1 jenkins jenkins 88 May 17 19:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:18:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:18:09 ---> package-listing.sh 19:18:09 ++ facter osfamily 19:18:09 ++ tr '[:upper:]' '[:lower:]' 19:18:09 + OS_FAMILY=debian 19:18:09 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-480 19:18:09 + START_PACKAGES=/tmp/packages_start.txt 19:18:09 + END_PACKAGES=/tmp/packages_end.txt 19:18:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:18:09 + PACKAGES=/tmp/packages_start.txt 19:18:09 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 19:18:09 + PACKAGES=/tmp/packages_end.txt 19:18:09 + case "${OS_FAMILY}" in 19:18:09 + dpkg -l 19:18:09 + grep '^ii' 19:18:09 + '[' -f /tmp/packages_start.txt ']' 19:18:09 + '[' -f /tmp/packages_end.txt ']' 19:18:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:18:09 + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' 19:18:09 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ 19:18:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ [Pipeline] echo 19:18:09 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-480/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:18:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:18:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:10 prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container 19:18:10 $ 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-480/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-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:18:10 $ docker top 8feb012e6e705698a83c9582a3aae82cf4c441e8187433c054d0715945affd51 -eo pid,comm [Pipeline] { [Pipeline] sh 19:18:10 + touch /tmp/pre-build-complete [Pipeline] sh 19:18:11 + mkdir -p /var/log/sysstat [Pipeline] sh 19:18:11 + ls /var/log/sa-host 19:18:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:18:11 provisioning config files... 19:18:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config1295375638871533222tmp [Pipeline] { [Pipeline] echo 19:18:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:18:11 ---> create-netrc.sh [Pipeline] } 19:18:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:18:12 ---> python-tools-install.sh [Pipeline] echo 19:18:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:18:12 ---> sudo-logs.sh 19:18:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:18:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:18:12 ---> job-cost.sh 19:18:12 lf-activate-venv: SKIPPING 19:18:12 DEBUG: total: 0.2199999988079071 19:18:12 INFO: Retrieving Stack Cost... 19:18:12 INFO: Retrieving Pricing Info for: v3-standard-8 19:18:13 INFO: Archiving Costs [Pipeline] echo 19:18:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:18:13 ---> logs-deploy.sh 19:18:13 lf-activate-venv: SKIPPING 19:18:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-480/4 19:18:13 INFO: archiving workspace using pattern(s): 19:18:14 Archives upload complete. 19:18:15 INFO: archiving logs to Nexus