Pull request #448 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 263cfeb3c48c755545a7af7512c3241740e2324c+63f56b440389908500f57809a79af5893e194475 (f45e00d76ca17af41048bb0a385205e3a7d66b7b) 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-ssh10116545227265041988.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15945306858151420424.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-448/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-448/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13058541684467254077.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-448/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18408902678709061604.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15318594985932593047.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-448/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-448/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3398915725845254076.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5991’ Running on prd-ubuntu20.04-docker-8c-8g-6002 in /w/workspace/xfoundry_device-modbus-go_PR-448 [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-448 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit 263cfeb3c48c755545a7af7512c3241740e2324c Merge succeeded, producing 263cfeb3c48c755545a7af7512c3241740e2324c Checking out Revision 263cfeb3c48c755545a7af7512c3241740e2324c (PR-448) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:02:29 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 263cfeb3c48c755545a7af7512c3241740e2324c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 63f56b440389908500f57809a79af5893e194475 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 263cfeb3c48c755545a7af7512c3241740e2324c # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:02:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:02:29 ========================================================= 06:02:29 EdgeX Global Pipelines Version Info 06:02:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:02:30 ------------------- 06:02:30 stable info: 06:02:30 ------------------- 06:02:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:02:30 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 06:02:30 Message: update stable to v1.0.245 06:02:31 ------------------- 06:02:31 experimental info: 06:02:31 ------------------- 06:02:31 Commited By: **** collab-it+edgex@linuxfoundation.org 06:02:31 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 06:02:31 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:02:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:02:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:02:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:02:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:02:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:02:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:02:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-448 [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-448 [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-448 [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 263cfeb3c48c755545a7af7512c3241740e2324c [Pipeline] echo 06:02:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 263cfeb [Pipeline] echo 06:02:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:33 provisioning config files... 06:02:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/config2226215126058731384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:33 ---> docker-login.sh 06:02:33 nexus3.edgexfoundry.org:10001 06:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:33 Configure a credential helper to remove this warning. See 06:02:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:33 06:02:33 Login Succeeded 06:02:33 nexus3.edgexfoundry.org:10002 06:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:33 Configure a credential helper to remove this warning. See 06:02:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:33 06:02:33 Login Succeeded 06:02:34 nexus3.edgexfoundry.org:10003 06:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:34 Configure a credential helper to remove this warning. See 06:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:34 06:02:34 Login Succeeded 06:02:34 nexus3.edgexfoundry.org:10004 06:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:34 Configure a credential helper to remove this warning. See 06:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:34 06:02:34 Login Succeeded 06:02:34 docker.io 06:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:34 Configure a credential helper to remove this warning. See 06:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:34 06:02:34 Login Succeeded 06:02:34 ---> docker-login.sh ends [Pipeline] } 06:02:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:02:35 + git rev-list -1 --merges 263cfeb3c48c755545a7af7512c3241740e2324c~1..263cfeb3c48c755545a7af7512c3241740e2324c [Pipeline] echo 06:02:35 -----------> git rev-list -1 --merges 263cfeb3c48c755545a7af7512c3241740e2324c~1..263cfeb3c48c755545a7af7512c3241740e2324c 263cfeb3c48c755545a7af7512c3241740e2324c [false] [Pipeline] sh 06:02:35 + git log --format=format:%s -1 263cfeb3c48c755545a7af7512c3241740e2324c [Pipeline] echo 06:02:35 ========================================================= 06:02:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:02:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:35 + git log --format=format:%s -1 263cfeb3c48c755545a7af7512c3241740e2324c [Pipeline] echo 06:02:35 [semverPrep] GIT_COMMIT: 263cfeb3c48c755545a7af7512c3241740e2324c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:02:35 [semverPrep] This is not a build commit. [Pipeline] sh 06:02:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:02:36 + grep -v github /etc/ssh/ssh_known_hosts 06:02:36 + [ -e /tmp/ssh_known_hosts ] 06:02:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:02:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:02:36 + sudo tee -a /etc/ssh/ssh_known_hosts 06:02:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:36 06:02:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:37 0.1.4: Pulling from edgex-devops/py-git-semver 06:02:37 b85a868b505f: Pulling fs layer 06:02:37 e2be974225ed: Pulling fs layer 06:02:37 339a4e72a1f5: Pulling fs layer 06:02:37 988bab9f4d93: Pulling fs layer 06:02:37 1469e6f7b9e6: Pulling fs layer 06:02:37 eaf3925da568: Pulling fs layer 06:02:37 bab4dde63d76: Pulling fs layer 06:02:37 bde34c3a00c8: Pulling fs layer 06:02:37 b352a97aabf1: Pulling fs layer 06:02:37 4872d77fe225: Pulling fs layer 06:02:37 5851b861e8e6: Pulling fs layer 06:02:37 988bab9f4d93: Waiting 06:02:37 1469e6f7b9e6: Waiting 06:02:37 eaf3925da568: Waiting 06:02:37 bab4dde63d76: Waiting 06:02:37 bde34c3a00c8: Waiting 06:02:37 b352a97aabf1: Waiting 06:02:37 4872d77fe225: Waiting 06:02:37 5851b861e8e6: Waiting 06:02:37 e2be974225ed: Verifying Checksum 06:02:37 e2be974225ed: Download complete 06:02:37 988bab9f4d93: Download complete 06:02:37 1469e6f7b9e6: Verifying Checksum 06:02:37 1469e6f7b9e6: Download complete 06:02:37 eaf3925da568: Verifying Checksum 06:02:37 eaf3925da568: Download complete 06:02:37 339a4e72a1f5: Verifying Checksum 06:02:37 339a4e72a1f5: Download complete 06:02:37 bde34c3a00c8: Verifying Checksum 06:02:37 bde34c3a00c8: Download complete 06:02:37 b352a97aabf1: Verifying Checksum 06:02:37 b352a97aabf1: Download complete 06:02:37 4872d77fe225: Verifying Checksum 06:02:37 4872d77fe225: Download complete 06:02:37 5851b861e8e6: Verifying Checksum 06:02:37 5851b861e8e6: Download complete 06:02:37 b85a868b505f: Verifying Checksum 06:02:37 b85a868b505f: Download complete 06:02:37 bab4dde63d76: Verifying Checksum 06:02:37 bab4dde63d76: Download complete 06:02:38 b85a868b505f: Pull complete 06:02:39 e2be974225ed: Pull complete 06:02:39 339a4e72a1f5: Pull complete 06:02:39 988bab9f4d93: Pull complete 06:02:39 1469e6f7b9e6: Pull complete 06:02:39 eaf3925da568: Pull complete 06:02:41 bab4dde63d76: Pull complete 06:02:41 bde34c3a00c8: Pull complete 06:02:42 b352a97aabf1: Pull complete 06:02:42 4872d77fe225: Pull complete 06:02:42 5851b861e8e6: Pull complete 06:02:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:42 prd-ubuntu20.04-docker-8c-8g-6002 does not seem to be running inside a container 06:02:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:02:47 $ docker top 9f1c29885bf7d0d6f8ed5e9550661827da2ff648d65cdf70a753a3cf36f3a91e -eo pid,comm 06:02:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:02:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:02:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:02:47 [ssh-agent] Looking for ssh-agent implementation... 06:02:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:02:47 $ docker exec 9f1c29885bf7d0d6f8ed5e9550661827da2ff648d65cdf70a753a3cf36f3a91e ssh-agent 06:02:47 SSH_AUTH_SOCK=/tmp/ssh-D1AC1VsKjcLJ/agent.32 06:02:47 SSH_AGENT_PID=38 06:02:47 Running ssh-add (command line suppressed) 06:02:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-448@tmp/private_key_13465894636856532002.key (/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/private_key_13465894636856532002.key) 06:02:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:02:47 + git tag --points-at HEAD [Pipeline] } 06:02:47 $ docker exec --env ******** --env ******** 9f1c29885bf7d0d6f8ed5e9550661827da2ff648d65cdf70a753a3cf36f3a91e ssh-agent -k 06:02:48 unset SSH_AUTH_SOCK; 06:02:48 unset SSH_AGENT_PID; 06:02:48 echo Agent pid 38 killed; 06:02:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:02:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:02:48 [ssh-agent] Looking for ssh-agent implementation... 06:02:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:02:48 $ docker exec 9f1c29885bf7d0d6f8ed5e9550661827da2ff648d65cdf70a753a3cf36f3a91e ssh-agent 06:02:48 SSH_AUTH_SOCK=/tmp/ssh-AysAMkicOIpg/agent.71 06:02:48 SSH_AGENT_PID=77 06:02:48 Running ssh-add (command line suppressed) 06:02:48 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-448@tmp/private_key_17940719931263306186.key (/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/private_key_17940719931263306186.key) 06:02:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:02:48 + git semver init 06:02:49 2023-03-28 06:02:48,983 [run_init] DEBUG init version:0.0.0 force:False 06:02:49 2023-03-28 06:02:48,984 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-448/.semver 06:02:49 2023-03-28 06:02:48,984 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-448/.semver 06:02:49 2023-03-28 06:02:48,984 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-448/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-448, universal_newlines=False, shell=None, istream=None) 06:02:50 2023-03-28 06:02:49,767 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-448/.git/info/exclude 06:02:50 2023-03-28 06:02:49,767 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-448/.semver/PR-448 with force:False 06:02:50 2023-03-28 06:02:49,767 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-448/.semver/PR-448 06:02:50 2023-03-28 06:02:49,770 [execute] INFO git cat-file --batch-check 06:02:50 2023-03-28 06:02:49,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-448/.semver, universal_newlines=False, shell=None, istream=) 06:02:50 2023-03-28 06:02:49,776 [execute] INFO git cat-file --batch 06:02:50 2023-03-28 06:02:49,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-448/.semver, universal_newlines=False, shell=None, istream=) 06:02:50 2023-03-28 06:02:49,781 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-448/.semver/PR-448 06:02:50 0.0.0 [Pipeline] } 06:02:50 $ docker exec --env ******** --env ******** 9f1c29885bf7d0d6f8ed5e9550661827da2ff648d65cdf70a753a3cf36f3a91e ssh-agent -k 06:02:50 unset SSH_AUTH_SOCK; 06:02:50 unset SSH_AGENT_PID; 06:02:50 echo Agent pid 77 killed; 06:02:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:02:50 + git semver [Pipeline] } 06:02:50 $ docker stop --time=1 9f1c29885bf7d0d6f8ed5e9550661827da2ff648d65cdf70a753a3cf36f3a91e 06:02:52 $ docker rm -f --volumes 9f1c29885bf7d0d6f8ed5e9550661827da2ff648d65cdf70a753a3cf36f3a91e [Pipeline] // withDockerContainer [Pipeline] sh 06:02:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:02:53 Stashed 1 file(s) [Pipeline] echo 06:02:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:54 provisioning config files... 06:02:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/config10407180659902807957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:54 ---> docker-login.sh 06:02:54 nexus3.edgexfoundry.org:10001 06:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:54 Configure a credential helper to remove this warning. See 06:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:54 06:02:54 Login Succeeded 06:02:54 nexus3.edgexfoundry.org:10002 06:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:54 Configure a credential helper to remove this warning. See 06:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:54 06:02:54 Login Succeeded 06:02:54 nexus3.edgexfoundry.org:10003 06:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:54 Configure a credential helper to remove this warning. See 06:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:54 06:02:54 Login Succeeded 06:02:54 nexus3.edgexfoundry.org:10004 06:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:54 Configure a credential helper to remove this warning. See 06:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:54 06:02:54 Login Succeeded 06:02:54 docker.io 06:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:55 Configure a credential helper to remove this warning. See 06:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:55 06:02:55 Login Succeeded 06:02:55 ---> docker-login.sh ends [Pipeline] } 06:02:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:55 ========================================================= 06:02:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:02:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:55 + 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 . 06:02:55 Sending build context to Docker daemon 6.393MB 06:02:55 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:02:55 Step 2/10 : FROM ${BASE} AS builder 06:02:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:02:55 63b65145d645: Pulling fs layer 06:02:55 a2d21d5440eb: Pulling fs layer 06:02:55 935e6c44a52c: Pulling fs layer 06:02:55 94cc34f8dd06: Pulling fs layer 06:02:55 30dea6a524f1: Pulling fs layer 06:02:55 a2aff8979fd8: Pulling fs layer 06:02:55 6808be2612f2: Pulling fs layer 06:02:55 f25807f1079a: Pulling fs layer 06:02:55 a2aff8979fd8: Waiting 06:02:55 6808be2612f2: Waiting 06:02:55 a2d21d5440eb: Download complete 06:02:55 94cc34f8dd06: Verifying Checksum 06:02:55 94cc34f8dd06: Download complete 06:02:56 30dea6a524f1: Download complete 06:02:56 63b65145d645: Verifying Checksum 06:02:56 63b65145d645: Download complete 06:02:56 a2aff8979fd8: Verifying Checksum 06:02:56 a2aff8979fd8: Download complete 06:02:56 63b65145d645: Pull complete 06:02:56 a2d21d5440eb: Pull complete 06:02:56 f25807f1079a: Verifying Checksum 06:02:56 f25807f1079a: Download complete 06:02:56 935e6c44a52c: Verifying Checksum 06:02:56 935e6c44a52c: Download complete 06:02:57 6808be2612f2: Verifying Checksum 06:02:57 6808be2612f2: Download complete 06:03:00 935e6c44a52c: Pull complete 06:03:00 94cc34f8dd06: Pull complete 06:03:00 30dea6a524f1: Pull complete 06:03:00 a2aff8979fd8: Pull complete 06:03:03 6808be2612f2: Pull complete 06:03:03 f25807f1079a: Pull complete 06:03:03 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:03:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:03:03 ---> 3b553350e43f 06:03:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:03:09 Still waiting to schedule task 06:03:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5997’ 06:03:12 ---> Running in 41598a4ca3b1 06:03:12 Removing intermediate container 41598a4ca3b1 06:03:12 ---> 936691730eec 06:03:12 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:12 ---> Running in 06d6770d242a 06:03:12 Removing intermediate container 06d6770d242a 06:03:12 ---> 81c717451391 06:03:12 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:03:12 ---> Running in 121f37026cf8 06:03:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:03:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:03:12 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:03:12 (2/8) Installing libedit (20221030.3.1-r0) 06:03:12 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:03:13 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:03:13 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:03:13 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:03:13 (7/8) Installing openssh-server (9.1_p1-r2) 06:03:13 (8/8) Installing openssh (9.1_p1-r2) 06:03:13 Executing busybox-1.35.0-r29.trigger 06:03:13 OK: 270 MiB in 61 packages 06:03:13 Removing intermediate container 121f37026cf8 06:03:13 ---> 59f2085a8e51 06:03:13 Step 6/10 : WORKDIR /device-modbus-go 06:03:13 ---> Running in e8a92d9475be 06:03:13 Removing intermediate container e8a92d9475be 06:03:13 ---> 0a57636a4ac8 06:03:13 Step 7/10 : COPY go.mod vendor* ./ 06:03:14 ---> 879f613c1564 06:03:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:14 ---> Running in 1caa710cccd6 06:04:00 Removing intermediate container 1caa710cccd6 06:04:00 ---> d1a29d1d7ffb 06:04:00 Step 9/10 : COPY . . 06:04:00 ---> 888d11cb33a5 06:04:00 Step 10/10 : RUN ${MAKE} 06:04:00 ---> Running in c242e66e7772 06:04:00 noop 06:04:00 Removing intermediate container c242e66e7772 06:04:00 ---> bcc75d2a98bb 06:04:00 Successfully built bcc75d2a98bb 06:04:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:01 + docker inspect -f . ci-base-image-x86_64 06:04:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:01 prd-ubuntu20.04-docker-8c-8g-6002 does not seem to be running inside a container 06:04:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:04:01 $ docker top 7f6f24caec057f9b1b9bc5781ceb50195629f27862266276a245a2095d5f2876 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:02 + go version 06:04:02 go version go1.20.2 linux/amd64 [Pipeline] } 06:04:02 $ docker stop --time=1 7f6f24caec057f9b1b9bc5781ceb50195629f27862266276a245a2095d5f2876 06:04:03 $ docker rm -f --volumes 7f6f24caec057f9b1b9bc5781ceb50195629f27862266276a245a2095d5f2876 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:04 + docker inspect -f . ci-base-image-x86_64 06:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:04 prd-ubuntu20.04-docker-8c-8g-6002 does not seem to be running inside a container 06:04:04 $ 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-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:04:04 $ docker top 8d1e5d988c3abdc5047221cb005420c7bcbf7bc30138fd50979c7e7209bfa0d5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:05 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-448 [Pipeline] fileExists [Pipeline] sh 06:04:05 + make test 06:04:05 go test ./... -coverprofile=coverage.out 06:04:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:04:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:04:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements 06:04:26 go vet ./... 06:04:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:04:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:04:30 ./bin/test-attribution-txt.sh [Pipeline] echo 06:04:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:04:30 $ docker stop --time=1 8d1e5d988c3abdc5047221cb005420c7bcbf7bc30138fd50979c7e7209bfa0d5 06:04:34 $ docker rm -f --volumes 8d1e5d988c3abdc5047221cb005420c7bcbf7bc30138fd50979c7e7209bfa0d5 [Pipeline] // withDockerContainer [Pipeline] sh 06:04:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:04:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:04:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:04:35 + ls -al . 06:04:35 total 180 06:04:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 06:04 . 06:04:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 06:02 .. 06:04:35 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 06:02 .dockerignore 06:04:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 06:02 .git 06:04:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 06:02 .github 06:04:35 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 06:02 .gitignore 06:04:35 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 06:02 .golangci.yml 06:04:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 06:02 .semver 06:04:35 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 28 06:02 Attribution.txt 06:04:35 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 06:02 CHANGELOG.md 06:04:35 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 06:02 Dockerfile 06:04:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 06:02 GOVERNANCE.md 06:04:35 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 06:02 Jenkinsfile 06:04:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 06:02 LICENSE 06:04:35 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 06:02 Makefile 06:04:35 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 06:02 OWNERS.md 06:04:35 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 28 06:02 README.md 06:04:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 06:02 VERSION 06:04:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 06:02 bin 06:04:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 06:02 cmd 06:04:35 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 06:04 coverage.out 06:04:35 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 06:02 go.mod 06:04:35 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 06:02 go.sum 06:04:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 06:02 internal 06:04:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 06:02 simulator 06:04:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 06:02 snap 06:04:35 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:36 + 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=263cfeb3c48c755545a7af7512c3241740e2324c --label arch=amd64 --label version=0.0.0 . 06:04:36 Sending build context to Docker daemon 6.417MB 06:04:36 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:04:36 Step 2/22 : FROM ${BASE} AS builder 06:04:36 ---> bcc75d2a98bb 06:04:36 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:04:36 ---> Running in 01df13d42649 06:04:36 Removing intermediate container 01df13d42649 06:04:36 ---> 55c58b334696 06:04:36 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:36 ---> Running in a2918b5197f5 06:04:36 Removing intermediate container a2918b5197f5 06:04:36 ---> d8ef48dd848f 06:04:36 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:04:36 ---> Running in 9539df8e2b34 06:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:04:37 OK: 270 MiB in 61 packages 06:04:37 Removing intermediate container 9539df8e2b34 06:04:37 ---> 1dbc624915c1 06:04:37 Step 6/22 : WORKDIR /device-modbus-go 06:04:37 ---> Running in 072fce64bc40 06:04:37 Removing intermediate container 072fce64bc40 06:04:37 ---> d1131f042e0f 06:04:37 Step 7/22 : COPY go.mod vendor* ./ 06:04:37 ---> 83fcf6ca6b8f 06:04:37 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:37 ---> Running in a5afc223c8fc 06:04:38 Removing intermediate container a5afc223c8fc 06:04:38 ---> e1795533fc29 06:04:38 Step 9/22 : COPY . . 06:04:39 ---> 9aa494be5073 06:04:39 Step 10/22 : RUN ${MAKE} 06:04:39 ---> Running in 70ef09462f34 06:04:39 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 06:05:01 Removing intermediate container 70ef09462f34 06:05:01 ---> b16ed95b9429 06:05:01 Step 11/22 : FROM alpine:3.17 06:05:01 3.17: Pulling from library/alpine 06:05:01 63b65145d645: Already exists 06:05:01 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:05:01 Status: Downloaded newer image for alpine:3.17 06:05:01 ---> b2aa39c304c2 06:05:01 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:05:01 ---> Running in 38615ba13cdd 06:05:01 Removing intermediate container 38615ba13cdd 06:05:01 ---> e683b326227e 06:05:01 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:05:01 ---> Running in 97ecec9ee7de 06:05:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:05:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:05:01 (1/1) Installing dumb-init (1.2.5-r2) 06:05:01 Executing busybox-1.35.0-r29.trigger 06:05:01 OK: 7 MiB in 16 packages 06:05:01 Removing intermediate container 97ecec9ee7de 06:05:01 ---> 0ed7b4044f49 06:05:01 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:05:01 ---> db9231b97f8a 06:05:01 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:05:01 ---> 1c652308b65d 06:05:01 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:05:01 ---> 6b118ee02b35 06:05:01 Step 17/22 : EXPOSE 59901 06:05:01 ---> Running in d85596cd9444 06:05:01 Removing intermediate container d85596cd9444 06:05:01 ---> 3670494dbf4a 06:05:01 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:05:01 ---> Running in f65b2853be9f 06:05:01 Removing intermediate container f65b2853be9f 06:05:01 ---> d85f75fb6299 06:05:01 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:05:01 ---> Running in 4fab285a791b 06:05:01 Removing intermediate container 4fab285a791b 06:05:01 ---> e4b247d0242c 06:05:01 Step 20/22 : LABEL arch=amd64 06:05:01 ---> Running in adcc7eda55f9 06:05:01 Removing intermediate container adcc7eda55f9 06:05:01 ---> cd1cf26bddd0 06:05:01 Step 21/22 : LABEL git_sha=263cfeb3c48c755545a7af7512c3241740e2324c 06:05:01 ---> Running in 7df491bf6df1 06:05:01 Removing intermediate container 7df491bf6df1 06:05:01 ---> 8764a350743e 06:05:01 Step 22/22 : LABEL version=0.0.0 06:05:01 ---> Running in 31deac75d2e4 06:05:01 Removing intermediate container 31deac75d2e4 06:05:01 ---> 6942feb6ec3e 06:05:01 [Warning] One or more build-args [ARCH] were not consumed 06:05:01 Successfully built 6942feb6ec3e 06:05:01 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:02 06:05:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:02 latest: Pulling from edgex-lftools-log-publisher 06:05:02 5eb5b503b376: Pulling fs layer 06:05:02 5c69ac0246d0: Pulling fs layer 06:05:02 ec43610c2a17: Pulling fs layer 06:05:02 3a2ae6a8a46f: Pulling fs layer 06:05:02 33b1e0a273af: Pulling fs layer 06:05:02 5d3b04190fa2: Pulling fs layer 06:05:02 2f39f015ded8: Pulling fs layer 06:05:02 33b1e0a273af: Waiting 06:05:02 5d3b04190fa2: Waiting 06:05:02 2f39f015ded8: Waiting 06:05:02 3a2ae6a8a46f: Waiting 06:05:02 5c69ac0246d0: Download complete 06:05:02 3a2ae6a8a46f: Verifying Checksum 06:05:02 3a2ae6a8a46f: Download complete 06:05:02 33b1e0a273af: Verifying Checksum 06:05:02 33b1e0a273af: Download complete 06:05:02 ec43610c2a17: Verifying Checksum 06:05:02 ec43610c2a17: Download complete 06:05:02 5d3b04190fa2: Verifying Checksum 06:05:02 5d3b04190fa2: Download complete 06:05:02 5eb5b503b376: Verifying Checksum 06:05:02 5eb5b503b376: Download complete 06:05:03 2f39f015ded8: Download complete 06:05:04 5eb5b503b376: Pull complete 06:05:04 5c69ac0246d0: Pull complete 06:05:04 ec43610c2a17: Pull complete 06:05:04 3a2ae6a8a46f: Pull complete 06:05:04 33b1e0a273af: Pull complete 06:05:04 5d3b04190fa2: Pull complete 06:05:09 2f39f015ded8: Pull complete 06:05:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:05:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:09 prd-ubuntu20.04-docker-8c-8g-6002 does not seem to be running inside a container 06:05:09 $ 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-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:05:12 $ docker top 74bcfa8a98abe70163b8709df8baa1fcc2b6aae811ee899d6292e296a55fd87e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:13 ---> job-cost.sh 06:05:13 lf-activate-venv: SKIPPING 06:05:13 INFO: No Stack... 06:05:13 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:14 INFO: Archiving Costs [Pipeline] sh 06:05:14 + cat /w/workspace/xfoundry_device-modbus-go_PR-448/archives/cost.csv 06:05:14 + cut -d, -f6 [Pipeline] lock 06:05:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-448-1-stack-cost] 06:05:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-448-1-stack-cost] did not exist. Created. 06:05:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-448-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:14 + echo total: 0.2199999988079071 [Pipeline] stash 06:05:14 Stashed 1 file(s) [Pipeline] } 06:05:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-448-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:15 $ docker stop --time=1 74bcfa8a98abe70163b8709df8baa1fcc2b6aae811ee899d6292e296a55fd87e 06:05:16 $ docker rm -f --volumes 74bcfa8a98abe70163b8709df8baa1fcc2b6aae811ee899d6292e296a55fd87e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:06:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6010 in /w/workspace/xfoundry_device-modbus-go_PR-448 [Pipeline] { [Pipeline] ws 06:06:19 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:06:19 Selected Git installation does not exist. Using Default 06:06:19 The recommended git tool is: NONE 06:06:29 using credential edgex-jenkins-ssh 06:06:29 Cloning the remote Git repository 06:06:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:06:30 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:06:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:06:30 > git --version # timeout=10 06:06:30 > git --version # 'git version 2.25.1' 06:06:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:31 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:06:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:06:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:06:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:06:33 Merging remotes/origin/main commit 63f56b440389908500f57809a79af5893e194475 into PR head commit 263cfeb3c48c755545a7af7512c3241740e2324c 06:06:33 Merge succeeded, producing 263cfeb3c48c755545a7af7512c3241740e2324c 06:06:33 Checking out Revision 263cfeb3c48c755545a7af7512c3241740e2324c (PR-448) 06:06:34 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:06:34 > git --version # timeout=10 06:06:34 > git --version # 'git version 2.25.1' 06:06:34 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { 06:06:33 > git config core.sparsecheckout # timeout=10 06:06:33 > git checkout -f 263cfeb3c48c755545a7af7512c3241740e2324c # timeout=10 06:06:33 > git remote # timeout=10 06:06:33 > git config --get remote.origin.url # timeout=10 06:06:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:33 > git merge 63f56b440389908500f57809a79af5893e194475 # timeout=10 06:06:33 > git rev-parse HEAD^{commit} # timeout=10 06:06:33 > git config core.sparsecheckout # timeout=10 06:06:33 > git checkout -f 263cfeb3c48c755545a7af7512c3241740e2324c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:06:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:35 Dload Upload Total Spent Left Speed 06:06:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 06:06:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:06:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 06:06:36 sudo tee /etc/docker/daemon.new 06:06:36 { 06:06:36 "registry-mirrors": [ 06:06:36 "https://nexus3.edgexfoundry.org:10001" 06:06:36 ], 06:06:36 "bip": "10.250.0.254/24", 06:06:36 "hosts": [ 06:06:36 "tcp://0.0.0.0:5555", 06:06:36 "unix:///var/run/docker.sock" 06:06:36 ], 06:06:36 "mtu": 1458, 06:06:36 "selinux-enabled": true, 06:06:36 "seccomp-profile": "/etc/docker/seccomp.json" 06:06:36 } [Pipeline] sh 06:06:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:06:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:56 provisioning config files... 06:06:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8035338473767217622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:56 ---> docker-login.sh 06:06:56 nexus3.edgexfoundry.org:10001 06:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:57 Configure a credential helper to remove this warning. See 06:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:57 06:06:57 Login Succeeded 06:06:57 nexus3.edgexfoundry.org:10002 06:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:57 Configure a credential helper to remove this warning. See 06:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:57 06:06:57 Login Succeeded 06:06:57 nexus3.edgexfoundry.org:10003 06:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:58 Configure a credential helper to remove this warning. See 06:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:58 06:06:58 Login Succeeded 06:06:58 nexus3.edgexfoundry.org:10004 06:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:58 Configure a credential helper to remove this warning. See 06:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:58 06:06:58 Login Succeeded 06:06:58 docker.io 06:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:59 Configure a credential helper to remove this warning. See 06:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:59 06:06:59 Login Succeeded 06:06:59 ---> docker-login.sh ends [Pipeline] } 06:06:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:59 ========================================================= 06:06:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:06:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:07:00 Sending build context to Docker daemon 3.336MB 06:07:01 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:07:01 Step 2/10 : FROM ${BASE} AS builder 06:07:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:07:01 af6eaf76a39c: Pulling fs layer 06:07:01 55522c791124: Pulling fs layer 06:07:01 ce5c4a1c91eb: Pulling fs layer 06:07:01 169dfbe0d373: Pulling fs layer 06:07:01 e1ff8fa3b103: Pulling fs layer 06:07:01 52ebb69f0ebf: Pulling fs layer 06:07:01 5abe8eddf0d5: Pulling fs layer 06:07:01 169dfbe0d373: Waiting 06:07:01 e1ff8fa3b103: Waiting 06:07:01 5abe8eddf0d5: Waiting 06:07:01 52ebb69f0ebf: Waiting 06:07:01 55522c791124: Verifying Checksum 06:07:01 55522c791124: Download complete 06:07:01 169dfbe0d373: Verifying Checksum 06:07:01 169dfbe0d373: Download complete 06:07:01 e1ff8fa3b103: Verifying Checksum 06:07:01 e1ff8fa3b103: Download complete 06:07:01 af6eaf76a39c: Verifying Checksum 06:07:01 af6eaf76a39c: Download complete 06:07:02 af6eaf76a39c: Pull complete 06:07:02 5abe8eddf0d5: Verifying Checksum 06:07:02 5abe8eddf0d5: Download complete 06:07:02 55522c791124: Pull complete 06:07:03 ce5c4a1c91eb: Verifying Checksum 06:07:03 ce5c4a1c91eb: Download complete 06:07:03 52ebb69f0ebf: Verifying Checksum 06:07:03 52ebb69f0ebf: Download complete 06:07:16 ce5c4a1c91eb: Pull complete 06:07:16 169dfbe0d373: Pull complete 06:07:16 e1ff8fa3b103: Pull complete 06:07:23 52ebb69f0ebf: Pull complete 06:07:26 5abe8eddf0d5: Pull complete 06:07:26 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:07:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:07:26 ---> 6cb57ee374ae 06:07:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:07:28 ---> Running in 828994a5e637 06:07:28 Removing intermediate container 828994a5e637 06:07:28 ---> ef5db67ace25 06:07:28 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:29 ---> Running in 2ee240f7466a 06:07:29 Removing intermediate container 2ee240f7466a 06:07:29 ---> d3999db08f14 06:07:29 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:07:29 ---> Running in 0f94c34089ed 06:07:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:07:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:07:32 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:07:32 (2/8) Installing libedit (20221030.3.1-r0) 06:07:32 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:07:32 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:07:32 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:07:32 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:07:32 (7/8) Installing openssh-server (9.1_p1-r2) 06:07:32 (8/8) Installing openssh (9.1_p1-r2) 06:07:32 Executing busybox-1.35.0-r29.trigger 06:07:32 OK: 270 MiB in 61 packages 06:07:34 Removing intermediate container 0f94c34089ed 06:07:34 ---> 8940cfc4bcc7 06:07:34 Step 6/10 : WORKDIR /device-modbus-go 06:07:34 ---> Running in f81ef712a373 06:07:34 Removing intermediate container f81ef712a373 06:07:34 ---> 748981c13932 06:07:34 Step 7/10 : COPY go.mod vendor* ./ 06:07:34 ---> 96b7da7cf8f6 06:07:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:34 ---> Running in c014eb79b242 06:08:42 Removing intermediate container c014eb79b242 06:08:42 ---> 4ef8678d8d1c 06:08:42 Step 9/10 : COPY . . 06:08:42 ---> 18a79f63e4a0 06:08:42 Step 10/10 : RUN ${MAKE} 06:08:42 ---> Running in 7ff375e00a03 06:08:42 noop 06:08:42 Removing intermediate container 7ff375e00a03 06:08:42 ---> 471591bcd7c8 06:08:42 Successfully built 471591bcd7c8 06:08:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:43 + docker inspect -f . ci-base-image-arm64 06:08:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:43 prd-ubuntu20.04-docker-arm64-4c-16g-6010 does not seem to be running inside a container 06:08:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:08:46 $ docker top 19dafff9dbb483aa374206302b4dc1cef40c0c45caffc1dbe3db9033d212d5a4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:47 + go version 06:08:47 go version go1.20.2 linux/arm64 [Pipeline] } 06:08:47 $ docker stop --time=1 19dafff9dbb483aa374206302b4dc1cef40c0c45caffc1dbe3db9033d212d5a4 06:08:49 $ docker rm -f --volumes 19dafff9dbb483aa374206302b4dc1cef40c0c45caffc1dbe3db9033d212d5a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:50 + docker inspect -f . ci-base-image-arm64 06:08:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:50 prd-ubuntu20.04-docker-arm64-4c-16g-6010 does not seem to be running inside a container 06:08:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:08:51 $ docker top 8e209beb6e0612926a0504b4dd62e2f8947eed69a491d9d187b8aaff2aedb95d -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:52 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:08:53 + make test 06:08:53 go test ./... -coverprofile=coverage.out 06:09:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:11:39 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:11:39 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 48.0% of statements 06:11:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:11:40 go vet ./... 06:12:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:12:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:12:12 ./bin/test-attribution-txt.sh [Pipeline] echo 06:12:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:12:12 $ docker stop --time=1 8e209beb6e0612926a0504b4dd62e2f8947eed69a491d9d187b8aaff2aedb95d 06:12:14 $ docker rm -f --volumes 8e209beb6e0612926a0504b4dd62e2f8947eed69a491d9d187b8aaff2aedb95d [Pipeline] // withDockerContainer [Pipeline] sh 06:12:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:12:16 Warning: overwriting stash ‘coverage-report’ 06:12:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:12:17 + ls -al . 06:12:17 total 176 06:12:17 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 06:08 . 06:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 06:06 .. 06:12:17 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 06:06 .dockerignore 06:12:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 06:06 .git 06:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 06:06 .github 06:12:17 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 06:06 .gitignore 06:12:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 06:06 .golangci.yml 06:12:17 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 28 06:06 Attribution.txt 06:12:17 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 06:06 CHANGELOG.md 06:12:17 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 06:06 Dockerfile 06:12:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 06:06 GOVERNANCE.md 06:12:17 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 06:06 Jenkinsfile 06:12:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 06:06 LICENSE 06:12:17 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 06:06 Makefile 06:12:17 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 06:06 OWNERS.md 06:12:17 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 28 06:06 README.md 06:12:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 06:02 VERSION 06:12:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 06:06 bin 06:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 06:06 cmd 06:12:17 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 06:11 coverage.out 06:12:17 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 06:06 go.mod 06:12:17 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 06:06 go.sum 06:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 06:06 internal 06:12:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 06:06 simulator 06:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 06:06 snap 06:12:17 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 06:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:17 + 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=263cfeb3c48c755545a7af7512c3241740e2324c --label arch=arm64 --label version=0.0.0 . 06:12:18 Sending build context to Docker daemon 3.361MB 06:12:18 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:12:18 Step 2/22 : FROM ${BASE} AS builder 06:12:18 ---> 471591bcd7c8 06:12:18 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:12:18 ---> Running in 15880a626624 06:12:18 Removing intermediate container 15880a626624 06:12:18 ---> 7350940682c5 06:12:18 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:18 ---> Running in c0fabb4d35cf 06:12:19 Removing intermediate container c0fabb4d35cf 06:12:19 ---> d9beef83bca3 06:12:19 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:12:19 ---> Running in c366bbdff2d3 06:12:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:12:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:12:22 OK: 270 MiB in 61 packages 06:12:23 Removing intermediate container c366bbdff2d3 06:12:23 ---> bf1c4b49c12e 06:12:23 Step 6/22 : WORKDIR /device-modbus-go 06:12:23 ---> Running in 3989d2fdfc49 06:12:23 Removing intermediate container 3989d2fdfc49 06:12:23 ---> 42775b879516 06:12:23 Step 7/22 : COPY go.mod vendor* ./ 06:12:24 ---> 539d1a21a478 06:12:24 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:24 ---> Running in f1c4afadb702 06:12:27 Removing intermediate container f1c4afadb702 06:12:27 ---> 859abbc27b4b 06:12:27 Step 9/22 : COPY . . 06:12:28 ---> cd765e7280fe 06:12:28 Step 10/22 : RUN ${MAKE} 06:12:28 ---> Running in e3ae0c6e66a5 06:12:29 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 06:14:50 Removing intermediate container e3ae0c6e66a5 06:14:50 ---> 4e809b2c13ed 06:14:50 Step 11/22 : FROM alpine:3.17 06:14:50 3.17: Pulling from library/alpine 06:14:50 af6eaf76a39c: Already exists 06:14:50 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:14:50 Status: Downloaded newer image for alpine:3.17 06:14:50 ---> d74e625d9115 06:14:50 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:14:50 ---> Running in aa75b003b14b 06:14:50 Removing intermediate container aa75b003b14b 06:14:50 ---> abd6b30c5546 06:14:50 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:14:50 ---> Running in cc5aea922de0 06:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:14:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:14:50 (1/1) Installing dumb-init (1.2.5-r2) 06:14:50 Executing busybox-1.35.0-r29.trigger 06:14:50 OK: 8 MiB in 16 packages 06:14:50 Removing intermediate container cc5aea922de0 06:14:50 ---> f5ab65097c32 06:14:50 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:14:50 ---> 30e60cd64a9f 06:14:50 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:14:50 ---> 2d8d9b84629e 06:14:50 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:14:50 ---> 8cf8d293767c 06:14:50 Step 17/22 : EXPOSE 59901 06:14:50 ---> Running in 29bfc5fc44d9 06:14:50 Removing intermediate container 29bfc5fc44d9 06:14:50 ---> a0dd02828b06 06:14:50 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:14:50 ---> Running in e0c1d2e9f961 06:14:50 Removing intermediate container e0c1d2e9f961 06:14:50 ---> 3698d410ebc0 06:14:50 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:14:50 ---> Running in dba372a4af8a 06:14:50 Removing intermediate container dba372a4af8a 06:14:50 ---> 70736097a627 06:14:50 Step 20/22 : LABEL arch=arm64 06:14:50 ---> Running in 287665cb66c0 06:14:50 Removing intermediate container 287665cb66c0 06:14:50 ---> b3856671d603 06:14:50 Step 21/22 : LABEL git_sha=263cfeb3c48c755545a7af7512c3241740e2324c 06:14:50 ---> Running in 17d17a6ea558 06:14:50 Removing intermediate container 17d17a6ea558 06:14:50 ---> 03d96b4ee4d7 06:14:50 Step 22/22 : LABEL version=0.0.0 06:14:50 ---> Running in 7569f011277f 06:14:50 Removing intermediate container 7569f011277f 06:14:50 ---> 54935e0d7eba 06:14:50 [Warning] One or more build-args [ARCH] were not consumed 06:14:50 Successfully built 54935e0d7eba 06:14:50 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 06:14:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:51 06:14:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:52 arm64: Pulling from edgex-lftools-log-publisher 06:14:52 8998bd30e6a1: Pulling fs layer 06:14:52 04944245beec: Pulling fs layer 06:14:52 699f458cf7ca: Pulling fs layer 06:14:52 765212b225bb: Pulling fs layer 06:14:52 f23df028b6ca: Pulling fs layer 06:14:52 d65c8cfc05b1: Pulling fs layer 06:14:52 2437ff75d9bd: Pulling fs layer 06:14:52 f23df028b6ca: Waiting 06:14:52 d65c8cfc05b1: Waiting 06:14:52 765212b225bb: Waiting 06:14:52 2437ff75d9bd: Waiting 06:14:52 04944245beec: Verifying Checksum 06:14:52 04944245beec: Download complete 06:14:52 765212b225bb: Download complete 06:14:52 f23df028b6ca: Verifying Checksum 06:14:52 f23df028b6ca: Download complete 06:14:52 d65c8cfc05b1: Verifying Checksum 06:14:52 d65c8cfc05b1: Download complete 06:14:52 699f458cf7ca: Verifying Checksum 06:14:52 699f458cf7ca: Download complete 06:14:52 8998bd30e6a1: Verifying Checksum 06:14:52 8998bd30e6a1: Download complete 06:14:55 2437ff75d9bd: Verifying Checksum 06:14:55 2437ff75d9bd: Download complete 06:14:56 8998bd30e6a1: Pull complete 06:14:57 04944245beec: Pull complete 06:14:58 699f458cf7ca: Pull complete 06:14:59 765212b225bb: Pull complete 06:14:59 f23df028b6ca: Pull complete 06:14:59 d65c8cfc05b1: Pull complete 06:15:14 2437ff75d9bd: Pull complete 06:15:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:15:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:15:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:15 prd-ubuntu20.04-docker-arm64-4c-16g-6010 does not seem to be running inside a container 06:15:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:15:17 $ docker top 5b01ef6ff6cb79f7792a80c14c9f46d749ae60fa9def44d54964747079f9b263 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:18 ---> job-cost.sh 06:15:18 lf-activate-venv: SKIPPING 06:15:18 INFO: No Stack... 06:15:19 INFO: Retrieving Pricing Info for: v3-standard-4 06:15:20 INFO: Archiving Costs [Pipeline] sh 06:15:20 + cut -d, -f6 06:15:20 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 06:15:20 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-448-1-stack-cost] 06:15:20 Resource [jenkins-edgexfoundry-device-modbus-go-PR-448-1-stack-cost] did not exist. Created. 06:15:20 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-448-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:21 /w/workspace/device-modbus-go/1@tmp/durable-bd8e6fb0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:15:22 + echo total: 0.10999999940395355 [Pipeline] stash 06:15:22 Warning: overwriting stash ‘stack-cost’ 06:15:22 Stashed 1 file(s) [Pipeline] } 06:15:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-448-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:15:22 $ docker stop --time=1 5b01ef6ff6cb79f7792a80c14c9f46d749ae60fa9def44d54964747079f9b263 06:15:23 $ docker rm -f --volumes 5b01ef6ff6cb79f7792a80c14c9f46d749ae60fa9def44d54964747079f9b263 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:15:24 provisioning config files... 06:15:24 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/config2605687115613719257tmp [Pipeline] { [Pipeline] sh 06:15:25 + set +x 06:15:25 + bash+ -s -- 06:15:25 curl -s https://codecov.io/bash 06:15:25 06:15:25 _____ _ 06:15:25 / ____| | | 06:15:25 | | ___ __| | ___ ___ _____ __ 06:15:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:15:25 | |___| (_) | (_| | __/ (_| (_) \ V / 06:15:25 \_____\___/ \__,_|\___|\___\___/ \_/ 06:15:25 Bash-1.0.6 06:15:25 06:15:25 06:15:25 ==> git version 2.25.1 found 06:15:25 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:15:25 Release-Date: 2020-01-08 06:15:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:15:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:15:25 ==> Jenkins CI detected. 06:15:25 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-448 06:15:25 project root: . 06:15:25 --> token set from env 06:15:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:15:25 ==> Running gcov in . (disable via -X gcov) 06:15:25 ==> Python coveragepy not found 06:15:25 ==> Searching for coverage reports in: 06:15:25 + . 06:15:25 -> Found 1 reports 06:15:25 ==> Detecting git/mercurial file structure 06:15:25 ==> Reading reports 06:15:25 + ./coverage.out bytes=23739 06:15:25 ==> Appending adjustments 06:15:25 https://docs.codecov.io/docs/fixing-reports 06:15:25 + Found adjustments 06:15:25 ==> Gzipping contents 06:15:25 4.0K /tmp/codecov.NnBLP1.gz 06:15:25 ==> Uploading reports 06:15:25 url: https://codecov.io 06:15:25 query: branch=PR-448&commit=263cfeb3c48c755545a7af7512c3241740e2324c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-448%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=448&job=&cmd_args= 06:15:25 -> Pinging Codecov 06:15:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-448&commit=263cfeb3c48c755545a7af7512c3241740e2324c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-448%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=448&job=&cmd_args= 06:15:25 -> Uploading to 06:15:25 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/55DBCA73C666E3227836607328DD7E49/263cfeb3c48c755545a7af7512c3241740e2324c/81842349-56cd-4b39-9d23-b5e9cb546ff4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T061525Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=541a229a43f7da8d1f0e927826043fc6933d241d60e14e84212744f31cd3297b 06:15:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:15:25 Dload Upload Total Spent Left Speed 06:15:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3902 0 0 100 3902 0 13935 --:--:-- --:--:-- --:--:-- 13886 06:15:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/263cfeb3c48c755545a7af7512c3241740e2324c [Pipeline] } 06:15:25 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 06:15:27 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-448/archives ] 06:15:27 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-448/archives 06:15:27 total 16 06:15:27 drwxr-xr-x 3 root root 4096 Mar 28 06:05 . 06:15:27 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 06:05 .. 06:15:27 drwxr-xr-x 2 root root 4096 Mar 28 06:05 cost 06:15:27 -rw-r--r-- 1 root root 88 Mar 28 06:05 cost.csv 06:15:27 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-448/archives 06:15:27 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-448/archives 06:15:27 total 16 06:15:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 06:05 . 06:15:27 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 06:05 .. 06:15:27 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 06:05 cost 06:15:27 -rw-r--r-- 1 jenkins jenkins 88 Mar 28 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:15:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:28 ---> package-listing.sh 06:15:28 ++ facter osfamily 06:15:28 ++ tr '[:upper:]' '[:lower:]' 06:15:29 + OS_FAMILY=debian 06:15:29 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-448 06:15:29 + START_PACKAGES=/tmp/packages_start.txt 06:15:29 + END_PACKAGES=/tmp/packages_end.txt 06:15:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:29 + PACKAGES=/tmp/packages_start.txt 06:15:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-448 ']' 06:15:29 + PACKAGES=/tmp/packages_end.txt 06:15:29 + case "${OS_FAMILY}" in 06:15:29 + dpkg -l 06:15:29 + grep '^ii' 06:15:29 + '[' -f /tmp/packages_start.txt ']' 06:15:29 + '[' -f /tmp/packages_end.txt ']' 06:15:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-448 ']' 06:15:29 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-448/archives/ 06:15:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-448/archives/ [Pipeline] echo 06:15:29 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-448/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:15:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:30 prd-ubuntu20.04-docker-8c-8g-6002 does not seem to be running inside a container 06:15:30 $ 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-448/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-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:15:30 $ docker top 056fda6cc2c3d717e0f2923aa4a8f044b06178624054c1d43585ff38c4e346bb -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:30 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:31 + mkdir -p /var/log/sysstat [Pipeline] sh 06:15:31 + ls /var/log/sa-host 06:15:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:31 provisioning config files... 06:15:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/config4113703645915278371tmp [Pipeline] { [Pipeline] echo 06:15:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:31 ---> create-netrc.sh [Pipeline] } 06:15:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:15:32 ---> python-tools-install.sh [Pipeline] echo 06:15:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:32 ---> sudo-logs.sh 06:15:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:15:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:33 ---> job-cost.sh 06:15:33 lf-activate-venv: SKIPPING 06:15:33 DEBUG: total: 0.2199999988079071 06:15:33 INFO: Retrieving Stack Cost... 06:15:33 INFO: Retrieving Pricing Info for: v3-standard-8 06:15:33 INFO: Archiving Costs [Pipeline] echo 06:15:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:34 ---> logs-deploy.sh 06:15:34 lf-activate-venv: SKIPPING 06:15:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-448/1 06:15:34 INFO: archiving workspace using pattern(s): 06:15:35 Archives upload complete. 06:15:35 INFO: archiving logs to Nexus