Pull request #431 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5567c6f815fc1ff2b079beda3174f5877cc5bdd4+8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d (2731d33f95aa9235a087252111bfd032a6f80843) 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-ssh2232080938784413314.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-ssh11376619338399522515.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-431/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-431/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18342827747923585814.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-431/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5718100598825924292.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-ssh6879641742317625867.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-431/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-431/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15132966593164265781.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-851 in /w/workspace/xfoundry_device-modbus-go_PR-431 [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-431 # 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/431/head:refs/remotes/origin/PR-431 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d into PR head commit 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 Merge succeeded, producing 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 Checking out Revision 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 (PR-431) 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 16:10:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 # 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 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 # timeout=10 [Pipeline] { [Pipeline] withCredentials 16:10:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:10:22 ========================================================= 16:10:22 EdgeX Global Pipelines Version Info 16:10:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:10:22 ------------------- 16:10:22 stable info: 16:10:22 ------------------- 16:10:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:10:22 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:10:22 Message: update stable to v1.0.245 16:10:23 ------------------- 16:10:23 experimental info: 16:10:23 ------------------- 16:10:23 Commited By: **** collab-it+edgex@linuxfoundation.org 16:10:23 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:10:23 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:10:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:10:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:10:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:10:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:10:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:10:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:10:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-431 [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-431 [Pipeline] echo 16:10:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-431 [Pipeline] echo 16:10:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 [Pipeline] echo 16:10:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5567c6f [Pipeline] echo 16:10:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:25 provisioning config files... 16:10:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-431@tmp/config7237862589079629233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:25 ---> docker-login.sh 16:10:25 nexus3.edgexfoundry.org:10001 16:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:31 Configure a credential helper to remove this warning. See 16:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:31 16:10:31 Login Succeeded 16:10:31 nexus3.edgexfoundry.org:10002 16:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:31 Configure a credential helper to remove this warning. See 16:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:31 16:10:31 Login Succeeded 16:10:31 nexus3.edgexfoundry.org:10003 16:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:31 Configure a credential helper to remove this warning. See 16:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:31 16:10:31 Login Succeeded 16:10:31 nexus3.edgexfoundry.org:10004 16:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:31 Configure a credential helper to remove this warning. See 16:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:31 16:10:31 Login Succeeded 16:10:31 docker.io 16:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:31 Configure a credential helper to remove this warning. See 16:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:31 16:10:31 Login Succeeded 16:10:31 ---> docker-login.sh ends [Pipeline] } 16:10:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:10:32 + git rev-list -1 --merges 5567c6f815fc1ff2b079beda3174f5877cc5bdd4~1..5567c6f815fc1ff2b079beda3174f5877cc5bdd4 [Pipeline] echo 16:10:32 -----------> git rev-list -1 --merges 5567c6f815fc1ff2b079beda3174f5877cc5bdd4~1..5567c6f815fc1ff2b079beda3174f5877cc5bdd4 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 [false] [Pipeline] sh 16:10:32 + git log --format=format:%s -1 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 [Pipeline] echo 16:10:32 ========================================================= 16:10:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:10:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:10:33 + git log --format=format:%s -1 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 [Pipeline] echo 16:10:33 [semverPrep] GIT_COMMIT: 5567c6f815fc1ff2b079beda3174f5877cc5bdd4, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 16:10:33 [semverPrep] This is not a build commit. [Pipeline] sh 16:10:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:33 + grep -v github /etc/ssh/ssh_known_hosts 16:10:33 + [ -e /tmp/ssh_known_hosts ] 16:10:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:10:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:10:33 + sudo tee -a /etc/ssh/ssh_known_hosts 16:10:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:34 16:10:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:34 0.1.4: Pulling from edgex-devops/py-git-semver 16:10:34 b85a868b505f: Pulling fs layer 16:10:34 e2be974225ed: Pulling fs layer 16:10:34 339a4e72a1f5: Pulling fs layer 16:10:34 988bab9f4d93: Pulling fs layer 16:10:34 1469e6f7b9e6: Pulling fs layer 16:10:34 eaf3925da568: Pulling fs layer 16:10:34 bab4dde63d76: Pulling fs layer 16:10:34 bde34c3a00c8: Pulling fs layer 16:10:34 b352a97aabf1: Pulling fs layer 16:10:34 4872d77fe225: Pulling fs layer 16:10:34 5851b861e8e6: Pulling fs layer 16:10:34 988bab9f4d93: Waiting 16:10:34 eaf3925da568: Waiting 16:10:34 bab4dde63d76: Waiting 16:10:34 bde34c3a00c8: Waiting 16:10:34 b352a97aabf1: Waiting 16:10:34 1469e6f7b9e6: Waiting 16:10:34 4872d77fe225: Waiting 16:10:34 5851b861e8e6: Waiting 16:10:34 e2be974225ed: Verifying Checksum 16:10:34 e2be974225ed: Download complete 16:10:34 988bab9f4d93: Verifying Checksum 16:10:34 988bab9f4d93: Download complete 16:10:34 1469e6f7b9e6: Verifying Checksum 16:10:34 1469e6f7b9e6: Download complete 16:10:34 eaf3925da568: Verifying Checksum 16:10:34 eaf3925da568: Download complete 16:10:34 339a4e72a1f5: Verifying Checksum 16:10:34 339a4e72a1f5: Download complete 16:10:34 bde34c3a00c8: Verifying Checksum 16:10:34 bde34c3a00c8: Download complete 16:10:34 b352a97aabf1: Download complete 16:10:34 4872d77fe225: Download complete 16:10:34 5851b861e8e6: Verifying Checksum 16:10:34 5851b861e8e6: Download complete 16:10:34 b85a868b505f: Verifying Checksum 16:10:34 b85a868b505f: Download complete 16:10:35 bab4dde63d76: Verifying Checksum 16:10:35 bab4dde63d76: Download complete 16:10:35 b85a868b505f: Pull complete 16:10:35 e2be974225ed: Pull complete 16:10:36 339a4e72a1f5: Pull complete 16:10:36 988bab9f4d93: Pull complete 16:10:36 1469e6f7b9e6: Pull complete 16:10:36 eaf3925da568: Pull complete 16:10:38 bab4dde63d76: Pull complete 16:10:38 bde34c3a00c8: Pull complete 16:10:38 b352a97aabf1: Pull complete 16:10:38 4872d77fe225: Pull complete 16:10:38 5851b861e8e6: Pull complete 16:10:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:38 prd-ubuntu20.04-docker-8c-8g-851 does not seem to be running inside a container 16:10:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-431 -v /w/workspace/xfoundry_device-modbus-go_PR-431:/w/workspace/xfoundry_device-modbus-go_PR-431:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-431@tmp:/w/workspace/xfoundry_device-modbus-go_PR-431@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 16:10:41 $ docker top c609ece93920016d01f0f34b5d608cac679679a20043245536d1482f42e132fc -eo pid,comm 16:10:41 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). 16:10:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:42 [ssh-agent] Looking for ssh-agent implementation... 16:10:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:42 $ docker exec c609ece93920016d01f0f34b5d608cac679679a20043245536d1482f42e132fc ssh-agent 16:10:42 SSH_AUTH_SOCK=/tmp/ssh-yozUOIOvWvTH/agent.32 16:10:42 SSH_AGENT_PID=38 16:10:42 Running ssh-add (command line suppressed) 16:10:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-431@tmp/private_key_11390317289061106848.key (/w/workspace/xfoundry_device-modbus-go_PR-431@tmp/private_key_11390317289061106848.key) 16:10:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:42 + git tag --points-at HEAD [Pipeline] } 16:10:42 $ docker exec --env ******** --env ******** c609ece93920016d01f0f34b5d608cac679679a20043245536d1482f42e132fc ssh-agent -k 16:10:42 unset SSH_AUTH_SOCK; 16:10:42 unset SSH_AGENT_PID; 16:10:42 echo Agent pid 38 killed; 16:10:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:10:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:43 [ssh-agent] Looking for ssh-agent implementation... 16:10:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:43 $ docker exec c609ece93920016d01f0f34b5d608cac679679a20043245536d1482f42e132fc ssh-agent 16:10:43 SSH_AUTH_SOCK=/tmp/ssh-bjP8YngVPmy5/agent.70 16:10:43 SSH_AGENT_PID=76 16:10:43 Running ssh-add (command line suppressed) 16:10:43 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-431@tmp/private_key_3283386822483529162.key (/w/workspace/xfoundry_device-modbus-go_PR-431@tmp/private_key_3283386822483529162.key) 16:10:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:43 + git semver init 16:10:44 2023-03-15 16:10:43,984 [run_init] DEBUG init version:0.0.0 force:False 16:10:44 2023-03-15 16:10:43,985 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-431/.semver 16:10:44 2023-03-15 16:10:43,986 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-431/.semver 16:10:44 2023-03-15 16:10:43,986 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-431/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-431, universal_newlines=False, shell=None, istream=None) 16:10:45 2023-03-15 16:10:44,765 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-431/.git/info/exclude 16:10:45 2023-03-15 16:10:44,765 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-431/.semver/PR-431 with force:False 16:10:45 2023-03-15 16:10:44,765 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-431/.semver/PR-431 16:10:45 2023-03-15 16:10:44,770 [execute] INFO git cat-file --batch-check 16:10:45 2023-03-15 16:10:44,770 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-431/.semver, universal_newlines=False, shell=None, istream=) 16:10:45 2023-03-15 16:10:44,776 [execute] INFO git cat-file --batch 16:10:45 2023-03-15 16:10:44,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-431/.semver, universal_newlines=False, shell=None, istream=) 16:10:45 2023-03-15 16:10:44,781 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-431/.semver/PR-431 16:10:45 0.0.0 [Pipeline] } 16:10:45 $ docker exec --env ******** --env ******** c609ece93920016d01f0f34b5d608cac679679a20043245536d1482f42e132fc ssh-agent -k 16:10:45 unset SSH_AUTH_SOCK; 16:10:45 unset SSH_AGENT_PID; 16:10:45 echo Agent pid 76 killed; 16:10:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:45 + git semver [Pipeline] } 16:10:45 $ docker stop --time=1 c609ece93920016d01f0f34b5d608cac679679a20043245536d1482f42e132fc 16:10:47 $ docker rm -f --volumes c609ece93920016d01f0f34b5d608cac679679a20043245536d1482f42e132fc [Pipeline] // withDockerContainer [Pipeline] sh 16:10:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:10:47 Stashed 1 file(s) [Pipeline] echo 16:10:47 [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 16:10:48 provisioning config files... 16:10:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-431@tmp/config3329721668321984522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:48 ---> docker-login.sh 16:10:48 nexus3.edgexfoundry.org:10001 16:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:48 Configure a credential helper to remove this warning. See 16:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:48 16:10:48 Login Succeeded 16:10:48 nexus3.edgexfoundry.org:10002 16:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:48 Configure a credential helper to remove this warning. See 16:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:48 16:10:48 Login Succeeded 16:10:48 nexus3.edgexfoundry.org:10003 16:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:49 Configure a credential helper to remove this warning. See 16:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:49 16:10:49 Login Succeeded 16:10:49 nexus3.edgexfoundry.org:10004 16:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:49 Configure a credential helper to remove this warning. See 16:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:49 16:10:49 Login Succeeded 16:10:49 docker.io 16:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:49 Configure a credential helper to remove this warning. See 16:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:49 16:10:49 Login Succeeded 16:10:49 ---> docker-login.sh ends [Pipeline] } 16:10:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:10:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:49 ========================================================= 16:10:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:10:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:50 + 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 . 16:10:50 Sending build context to Docker daemon 6.356MB 16:10:50 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 16:10:50 Step 2/10 : FROM ${BASE} AS builder 16:10:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:10:50 63b65145d645: Pulling fs layer 16:10:50 a2d21d5440eb: Pulling fs layer 16:10:50 935e6c44a52c: Pulling fs layer 16:10:50 94cc34f8dd06: Pulling fs layer 16:10:50 30dea6a524f1: Pulling fs layer 16:10:50 a2aff8979fd8: Pulling fs layer 16:10:50 6808be2612f2: Pulling fs layer 16:10:50 f25807f1079a: Pulling fs layer 16:10:50 a2aff8979fd8: Waiting 16:10:50 30dea6a524f1: Waiting 16:10:50 6808be2612f2: Waiting 16:10:50 f25807f1079a: Waiting 16:10:50 94cc34f8dd06: Waiting 16:10:50 a2d21d5440eb: Download complete 16:10:50 94cc34f8dd06: Verifying Checksum 16:10:50 94cc34f8dd06: Download complete 16:10:50 30dea6a524f1: Verifying Checksum 16:10:50 30dea6a524f1: Download complete 16:10:50 63b65145d645: Verifying Checksum 16:10:50 63b65145d645: Download complete 16:10:50 a2aff8979fd8: Verifying Checksum 16:10:50 a2aff8979fd8: Download complete 16:10:50 63b65145d645: Pull complete 16:10:50 a2d21d5440eb: Pull complete 16:10:50 f25807f1079a: Verifying Checksum 16:10:50 f25807f1079a: Download complete 16:10:51 935e6c44a52c: Verifying Checksum 16:10:51 935e6c44a52c: Download complete 16:10:51 6808be2612f2: Verifying Checksum 16:10:51 6808be2612f2: Download complete 16:10:54 935e6c44a52c: Pull complete 16:10:54 94cc34f8dd06: Pull complete 16:10:54 30dea6a524f1: Pull complete 16:10:54 a2aff8979fd8: Pull complete 16:10:56 6808be2612f2: Pull complete 16:10:57 f25807f1079a: Pull complete 16:10:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:10:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:10:57 ---> 3b553350e43f 16:10:57 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:11:02 ---> Running in 8fc43d3699fb 16:11:02 Removing intermediate container 8fc43d3699fb 16:11:02 ---> 11d03edf0b12 16:11:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:11:02 ---> Running in 188e7ef2a150 16:11:02 Removing intermediate container 188e7ef2a150 16:11:02 ---> 7258a7583ac8 16:11:02 Step 5/10 : RUN apk add --update --no-cache make git openssh 16:11:02 ---> Running in 3a5914ee45ad 16:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:11:03 Still waiting to schedule task 16:11:03 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:11:03 (1/8) Installing openssh-keygen (9.1_p1-r2) 16:11:03 (2/8) Installing libedit (20221030.3.1-r0) 16:11:03 (3/8) Installing openssh-client-common (9.1_p1-r2) 16:11:03 (4/8) Installing openssh-client-default (9.1_p1-r2) 16:11:03 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 16:11:03 (6/8) Installing openssh-server-common (9.1_p1-r2) 16:11:03 (7/8) Installing openssh-server (9.1_p1-r2) 16:11:03 (8/8) Installing openssh (9.1_p1-r2) 16:11:03 Executing busybox-1.35.0-r29.trigger 16:11:03 OK: 270 MiB in 61 packages 16:11:03 Removing intermediate container 3a5914ee45ad 16:11:03 ---> bb8a5f78a0ec 16:11:03 Step 6/10 : WORKDIR /device-modbus-go 16:11:03 ---> Running in dc92c6c0c23c 16:11:04 Removing intermediate container dc92c6c0c23c 16:11:04 ---> 3142ff3a2d7c 16:11:04 Step 7/10 : COPY go.mod vendor* ./ 16:11:04 ---> be5555399f3a 16:11:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:11:04 ---> Running in ff7b6158b64a 16:11:36 Removing intermediate container ff7b6158b64a 16:11:36 ---> 1bf67a7f9151 16:11:36 Step 9/10 : COPY . . 16:11:36 ---> d6e19db19056 16:11:36 Step 10/10 : RUN ${MAKE} 16:11:36 ---> Running in 98d9057b5a17 16:11:36 noop 16:11:36 Removing intermediate container 98d9057b5a17 16:11:36 ---> 6018f884e6c7 16:11:36 Successfully built 6018f884e6c7 16:11:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:37 + docker inspect -f . ci-base-image-x86_64 16:11:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:37 prd-ubuntu20.04-docker-8c-8g-851 does not seem to be running inside a container 16:11:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-431 -v /w/workspace/xfoundry_device-modbus-go_PR-431:/w/workspace/xfoundry_device-modbus-go_PR-431:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-431@tmp:/w/workspace/xfoundry_device-modbus-go_PR-431@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 16:11:37 $ docker top fec3b59fbc03934c2082c6247ead19d68ca637adf4d8226d01d1bd65571c943f -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:38 + go version 16:11:38 go version go1.20.2 linux/amd64 [Pipeline] } 16:11:38 $ docker stop --time=1 fec3b59fbc03934c2082c6247ead19d68ca637adf4d8226d01d1bd65571c943f 16:11:39 $ docker rm -f --volumes fec3b59fbc03934c2082c6247ead19d68ca637adf4d8226d01d1bd65571c943f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:40 + docker inspect -f . ci-base-image-x86_64 16:11:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:40 prd-ubuntu20.04-docker-8c-8g-851 does not seem to be running inside a container 16:11:40 $ 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-431 -v /w/workspace/xfoundry_device-modbus-go_PR-431:/w/workspace/xfoundry_device-modbus-go_PR-431:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-431@tmp:/w/workspace/xfoundry_device-modbus-go_PR-431@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 16:11:40 $ docker top 8503bf6a3829ba1ee5df959f297549da8498ca0cecaa188a5cceccf0f288b052 -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:41 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-431 [Pipeline] fileExists [Pipeline] sh 16:11:41 + make test 16:11:41 go test ./... -coverprofile=coverage.out 16:11:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:11:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:11:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements 16:12:02 go vet ./... 16:12:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:12:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:12:05 ./bin/test-attribution-txt.sh [Pipeline] echo 16:12:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:12:05 $ docker stop --time=1 8503bf6a3829ba1ee5df959f297549da8498ca0cecaa188a5cceccf0f288b052 16:12:08 $ docker rm -f --volumes 8503bf6a3829ba1ee5df959f297549da8498ca0cecaa188a5cceccf0f288b052 [Pipeline] // withDockerContainer [Pipeline] sh 16:12:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:12:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:12:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:12:10 + ls -al . 16:12:10 total 180 16:12:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:11 . 16:12:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 .. 16:12:10 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 16:10 .dockerignore 16:12:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:10 .git 16:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 .github 16:12:10 -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 16:10 .gitignore 16:12:10 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:10 .golangci.yml 16:12:10 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:10 .semver 16:12:10 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 16:10 Attribution.txt 16:12:10 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 16:10 CHANGELOG.md 16:12:10 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 16:10 Dockerfile 16:12:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:10 GOVERNANCE.md 16:12:10 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:10 Jenkinsfile 16:12:10 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:10 LICENSE 16:12:10 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 16:10 Makefile 16:12:10 -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 16:10 OWNERS.md 16:12:10 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 16:10 README.md 16:12:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:10 VERSION 16:12:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:10 bin 16:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 cmd 16:12:10 -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 16:11 coverage.out 16:12:10 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 16:10 go.mod 16:12:10 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 16:10 go.sum 16:12:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:10 internal 16:12:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:10 simulator 16:12:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:10 snap 16:12:10 -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 16:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:10 + 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=5567c6f815fc1ff2b079beda3174f5877cc5bdd4 --label arch=amd64 --label version=0.0.0 . 16:12:10 Sending build context to Docker daemon 6.381MB 16:12:10 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 16:12:10 Step 2/22 : FROM ${BASE} AS builder 16:12:10 ---> 6018f884e6c7 16:12:10 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:12:11 ---> Running in 3762ec6f60ec 16:12:11 Removing intermediate container 3762ec6f60ec 16:12:11 ---> 665759ccd3e9 16:12:11 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:12:11 ---> Running in 58263a911e11 16:12:11 Removing intermediate container 58263a911e11 16:12:11 ---> 64b56f870808 16:12:11 Step 5/22 : RUN apk add --update --no-cache make git openssh 16:12:11 ---> Running in 888da6958762 16:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:12:11 OK: 270 MiB in 61 packages 16:12:12 Removing intermediate container 888da6958762 16:12:12 ---> 6c5a07c515e7 16:12:12 Step 6/22 : WORKDIR /device-modbus-go 16:12:12 ---> Running in dfe8f3e13409 16:12:12 Removing intermediate container dfe8f3e13409 16:12:12 ---> 16b9ca91e7d7 16:12:12 Step 7/22 : COPY go.mod vendor* ./ 16:12:12 ---> ecc0bbd93a9d 16:12:12 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:12:12 ---> Running in e1d04d3f9127 16:12:13 Removing intermediate container e1d04d3f9127 16:12:13 ---> 2ee973944e44 16:12:13 Step 9/22 : COPY . . 16:12:13 ---> 5783fe2c0bf2 16:12:13 Step 10/22 : RUN ${MAKE} 16:12:13 ---> Running in ef1c75bb96c4 16:12:13 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 16:12:35 Removing intermediate container ef1c75bb96c4 16:12:35 ---> ccbf78b3d669 16:12:35 Step 11/22 : FROM alpine:3.17 16:12:35 3.17: Pulling from library/alpine 16:12:35 63b65145d645: Already exists 16:12:35 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:12:35 Status: Downloaded newer image for alpine:3.17 16:12:35 ---> b2aa39c304c2 16:12:35 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:12:35 ---> Running in 8254336d4363 16:12:35 Removing intermediate container 8254336d4363 16:12:35 ---> 0f3c137c1436 16:12:35 Step 13/22 : RUN apk add --update --no-cache dumb-init 16:12:35 ---> Running in e0ab27621cc3 16:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:12:35 (1/1) Installing dumb-init (1.2.5-r2) 16:12:35 Executing busybox-1.35.0-r29.trigger 16:12:35 OK: 7 MiB in 16 packages 16:12:35 Removing intermediate container e0ab27621cc3 16:12:35 ---> 942eae610549 16:12:35 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:12:35 ---> 07791754c664 16:12:35 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:12:35 ---> abb1fb64e9bf 16:12:35 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:12:36 ---> 9e3262beda13 16:12:36 Step 17/22 : EXPOSE 59901 16:12:36 ---> Running in 6ffc731477af 16:12:36 Removing intermediate container 6ffc731477af 16:12:36 ---> e6a1ec330f5f 16:12:36 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:12:36 ---> Running in 4478f37291a9 16:12:36 Removing intermediate container 4478f37291a9 16:12:36 ---> b681ae98f3e4 16:12:36 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:12:36 ---> Running in 6bd30bab9d64 16:12:36 Removing intermediate container 6bd30bab9d64 16:12:36 ---> b025f3fb373d 16:12:36 Step 20/22 : LABEL arch=amd64 16:12:36 ---> Running in fead5dd312b9 16:12:36 Removing intermediate container fead5dd312b9 16:12:36 ---> 682bbca590e9 16:12:36 Step 21/22 : LABEL git_sha=5567c6f815fc1ff2b079beda3174f5877cc5bdd4 16:12:36 ---> Running in faa70b5e317c 16:12:36 Removing intermediate container faa70b5e317c 16:12:36 ---> f2b66fc8bf2f 16:12:36 Step 22/22 : LABEL version=0.0.0 16:12:36 ---> Running in acc74feed51b 16:12:36 Removing intermediate container acc74feed51b 16:12:36 ---> 0c801cab2736 16:12:36 [Warning] One or more build-args [ARCH] were not consumed 16:12:36 Successfully built 0c801cab2736 16:12:36 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 16:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:37 16:12:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:37 latest: Pulling from edgex-lftools-log-publisher 16:12:37 5eb5b503b376: Pulling fs layer 16:12:37 5c69ac0246d0: Pulling fs layer 16:12:37 ec43610c2a17: Pulling fs layer 16:12:37 3a2ae6a8a46f: Pulling fs layer 16:12:37 33b1e0a273af: Pulling fs layer 16:12:37 5d3b04190fa2: Pulling fs layer 16:12:37 2f39f015ded8: Pulling fs layer 16:12:37 33b1e0a273af: Waiting 16:12:37 5d3b04190fa2: Waiting 16:12:37 2f39f015ded8: Waiting 16:12:37 3a2ae6a8a46f: Waiting 16:12:37 5c69ac0246d0: Verifying Checksum 16:12:37 5c69ac0246d0: Download complete 16:12:37 3a2ae6a8a46f: Verifying Checksum 16:12:37 3a2ae6a8a46f: Download complete 16:12:38 33b1e0a273af: Verifying Checksum 16:12:38 33b1e0a273af: Download complete 16:12:38 ec43610c2a17: Verifying Checksum 16:12:38 ec43610c2a17: Download complete 16:12:38 5d3b04190fa2: Download complete 16:12:38 5eb5b503b376: Verifying Checksum 16:12:38 5eb5b503b376: Download complete 16:12:38 2f39f015ded8: Download complete 16:12:39 5eb5b503b376: Pull complete 16:12:39 5c69ac0246d0: Pull complete 16:12:39 ec43610c2a17: Pull complete 16:12:39 3a2ae6a8a46f: Pull complete 16:12:40 33b1e0a273af: Pull complete 16:12:40 5d3b04190fa2: Pull complete 16:12:44 2f39f015ded8: Pull complete 16:12:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:12:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:44 prd-ubuntu20.04-docker-8c-8g-851 does not seem to be running inside a container 16:12:44 $ 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-431 -v /w/workspace/xfoundry_device-modbus-go_PR-431:/w/workspace/xfoundry_device-modbus-go_PR-431:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-431@tmp:/w/workspace/xfoundry_device-modbus-go_PR-431@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 16:12:48 $ docker top 39b45b3f1d5b6fda45e737b2b62444312e331e0035af15cdc473e814c2e88b6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:48 ---> job-cost.sh 16:12:48 lf-activate-venv: SKIPPING 16:12:48 INFO: No Stack... 16:12:49 INFO: Retrieving Pricing Info for: v3-standard-8 16:12:49 INFO: Archiving Costs [Pipeline] sh 16:12:50 + cat /w/workspace/xfoundry_device-modbus-go_PR-431/archives/cost.csv 16:12:50 + cut -d, -f6 [Pipeline] lock 16:12:50 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-431-1-stack-cost] 16:12:50 Resource [jenkins-edgexfoundry-device-modbus-go-PR-431-1-stack-cost] did not exist. Created. 16:12:50 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-431-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:12:50 + echo total: 0.2199999988079071 [Pipeline] stash 16:12:50 Stashed 1 file(s) [Pipeline] } 16:12:50 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-431-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:12:50 $ docker stop --time=1 39b45b3f1d5b6fda45e737b2b62444312e331e0035af15cdc473e814c2e88b6e 16:12:51 $ docker rm -f --volumes 39b45b3f1d5b6fda45e737b2b62444312e331e0035af15cdc473e814c2e88b6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:13:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-863 in /w/workspace/xfoundry_device-modbus-go_PR-431 [Pipeline] { [Pipeline] ws 16:13:34 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 16:13:34 Selected Git installation does not exist. Using Default 16:13:34 The recommended git tool is: NONE 16:13:41 using credential edgex-jenkins-ssh 16:13:41 Cloning the remote Git repository 16:13:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:13:42 > git init /w/workspace/device-modbus-go/1 # timeout=10 16:13:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:13:42 > git --version # timeout=10 16:13:42 > git --version # 'git version 2.25.1' 16:13:42 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:43 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:13:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:45 Merging remotes/origin/main commit 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d into PR head commit 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 16:13:46 Merge succeeded, producing 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 16:13:46 Checking out Revision 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 (PR-431) 16:13:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:13:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:13:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/431/head:refs/remotes/origin/PR-431 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:13:45 > git config core.sparsecheckout # timeout=10 16:13:45 > git checkout -f 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 # timeout=10 16:13:45 > git remote # timeout=10 16:13:45 > git config --get remote.origin.url # timeout=10 16:13:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:45 > git merge 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d # timeout=10 16:13:45 > git rev-parse HEAD^{commit} # timeout=10 16:13:46 > git config core.sparsecheckout # timeout=10 16:13:46 > git checkout -f 5567c6f815fc1ff2b079beda3174f5877cc5bdd4 # timeout=10 16:13:46 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 16:13:46 > git --version # timeout=10 16:13:46 > git --version # 'git version 2.25.1' 16:13:46 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:13:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:13:48 % Total % Received % Xferd Average Speed Time Time Time Current 16:13:48 Dload Upload Total Spent Left Speed 16:13:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 16:13:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:13:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:13:49 + sudo tee /etc/docker/daemon.new 16:13:49 { 16:13:49 "registry-mirrors": [ 16:13:49 "https://nexus3.edgexfoundry.org:10001" 16:13:49 ], 16:13:49 "bip": "10.250.0.254/24", 16:13:49 "hosts": [ 16:13:49 "tcp://0.0.0.0:5555", 16:13:49 "unix:///var/run/docker.sock" 16:13:49 ], 16:13:49 "mtu": 1458, 16:13:49 "selinux-enabled": true, 16:13:49 "seccomp-profile": "/etc/docker/seccomp.json" 16:13:49 } [Pipeline] sh 16:13:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:13:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:08 provisioning config files... 16:14:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6035588261032482893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:08 ---> docker-login.sh 16:14:08 nexus3.edgexfoundry.org:10001 16:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:09 Configure a credential helper to remove this warning. See 16:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:09 16:14:09 Login Succeeded 16:14:09 nexus3.edgexfoundry.org:10002 16:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:09 Configure a credential helper to remove this warning. See 16:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:09 16:14:09 Login Succeeded 16:14:09 nexus3.edgexfoundry.org:10003 16:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:10 Configure a credential helper to remove this warning. See 16:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:10 16:14:10 Login Succeeded 16:14:10 nexus3.edgexfoundry.org:10004 16:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:10 Configure a credential helper to remove this warning. See 16:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:10 16:14:10 Login Succeeded 16:14:10 docker.io 16:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:11 Configure a credential helper to remove this warning. See 16:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:11 16:14:11 Login Succeeded 16:14:11 ---> docker-login.sh ends [Pipeline] } 16:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:11 ========================================================= 16:14:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:14:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:12 + 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 . 16:14:12 Sending build context to Docker daemon 3.317MB 16:14:12 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 16:14:12 Step 2/10 : FROM ${BASE} AS builder 16:14:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:14:13 af6eaf76a39c: Pulling fs layer 16:14:13 55522c791124: Pulling fs layer 16:14:13 ce5c4a1c91eb: Pulling fs layer 16:14:13 169dfbe0d373: Pulling fs layer 16:14:13 e1ff8fa3b103: Pulling fs layer 16:14:13 52ebb69f0ebf: Pulling fs layer 16:14:13 5abe8eddf0d5: Pulling fs layer 16:14:13 169dfbe0d373: Waiting 16:14:13 e1ff8fa3b103: Waiting 16:14:13 5abe8eddf0d5: Waiting 16:14:13 55522c791124: Verifying Checksum 16:14:13 55522c791124: Download complete 16:14:13 169dfbe0d373: Download complete 16:14:13 e1ff8fa3b103: Verifying Checksum 16:14:13 e1ff8fa3b103: Download complete 16:14:13 af6eaf76a39c: Verifying Checksum 16:14:13 af6eaf76a39c: Download complete 16:14:14 af6eaf76a39c: Pull complete 16:14:14 5abe8eddf0d5: Verifying Checksum 16:14:14 5abe8eddf0d5: Download complete 16:14:14 55522c791124: Pull complete 16:14:15 ce5c4a1c91eb: Download complete 16:14:15 52ebb69f0ebf: Verifying Checksum 16:14:15 52ebb69f0ebf: Download complete 16:14:26 ce5c4a1c91eb: Pull complete 16:14:26 169dfbe0d373: Pull complete 16:14:26 e1ff8fa3b103: Pull complete 16:14:34 52ebb69f0ebf: Pull complete 16:14:35 5abe8eddf0d5: Pull complete 16:14:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:14:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:14:35 ---> 6cb57ee374ae 16:14:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:14:37 ---> Running in f02b372e1f00 16:14:37 Removing intermediate container f02b372e1f00 16:14:37 ---> bdba4c84cd10 16:14:37 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:14:37 ---> Running in 54f00f5cf327 16:14:37 Removing intermediate container 54f00f5cf327 16:14:37 ---> 30bf3b911034 16:14:37 Step 5/10 : RUN apk add --update --no-cache make git openssh 16:14:38 ---> Running in a9cccff1736b 16:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:14:41 (1/8) Installing openssh-keygen (9.1_p1-r2) 16:14:41 (2/8) Installing libedit (20221030.3.1-r0) 16:14:41 (3/8) Installing openssh-client-common (9.1_p1-r2) 16:14:41 (4/8) Installing openssh-client-default (9.1_p1-r2) 16:14:41 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 16:14:41 (6/8) Installing openssh-server-common (9.1_p1-r2) 16:14:41 (7/8) Installing openssh-server (9.1_p1-r2) 16:14:41 (8/8) Installing openssh (9.1_p1-r2) 16:14:41 Executing busybox-1.35.0-r29.trigger 16:14:41 OK: 270 MiB in 61 packages 16:14:42 Removing intermediate container a9cccff1736b 16:14:42 ---> d15b0c5a3bb4 16:14:42 Step 6/10 : WORKDIR /device-modbus-go 16:14:42 ---> Running in e6ab6e375c83 16:14:42 Removing intermediate container e6ab6e375c83 16:14:42 ---> 706cd7753c75 16:14:42 Step 7/10 : COPY go.mod vendor* ./ 16:14:43 ---> faa7ae2bf0ca 16:14:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:43 ---> Running in 6df4e4d0b50a 16:15:51 Removing intermediate container 6df4e4d0b50a 16:15:51 ---> 18258b6189dd 16:15:51 Step 9/10 : COPY . . 16:15:51 ---> 24826897ef7f 16:15:51 Step 10/10 : RUN ${MAKE} 16:15:51 ---> Running in 3fabf23aba51 16:15:51 noop 16:15:51 Removing intermediate container 3fabf23aba51 16:15:51 ---> 4074aa19d9ad 16:15:51 Successfully built 4074aa19d9ad 16:15:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:51 + docker inspect -f . ci-base-image-arm64 16:15:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:52 prd-ubuntu20.04-docker-arm64-4c-16g-863 does not seem to be running inside a container 16:15:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:15:55 $ docker top 291f56aa9962eb596a2120d1f44912252fcab79e366368598883aace4628531d -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:56 + go version 16:15:56 go version go1.20.2 linux/arm64 [Pipeline] } 16:15:56 $ docker stop --time=1 291f56aa9962eb596a2120d1f44912252fcab79e366368598883aace4628531d 16:15:57 $ docker rm -f --volumes 291f56aa9962eb596a2120d1f44912252fcab79e366368598883aace4628531d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:58 + docker inspect -f . ci-base-image-arm64 16:15:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:59 prd-ubuntu20.04-docker-arm64-4c-16g-863 does not seem to be running inside a container 16:15:59 $ 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 16:16:00 $ docker top 8183c1c51295f2525349ad76c52e95990a31750d63697cd350f10a3897c5ef62 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:01 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 16:16:02 + make test 16:16:02 go test ./... -coverprofile=coverage.out 16:16:40 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:19:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:19:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.082s coverage: 48.0% of statements 16:19:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:19:35 go vet ./... 16:20:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:20:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:20:08 ./bin/test-attribution-txt.sh [Pipeline] echo 16:20:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:20:08 $ docker stop --time=1 8183c1c51295f2525349ad76c52e95990a31750d63697cd350f10a3897c5ef62 16:20:11 $ docker rm -f --volumes 8183c1c51295f2525349ad76c52e95990a31750d63697cd350f10a3897c5ef62 [Pipeline] // withDockerContainer [Pipeline] sh 16:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:12 Warning: overwriting stash ‘coverage-report’ 16:20:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:14 + ls -al . 16:20:14 total 176 16:20:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:16 . 16:20:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:13 .. 16:20:14 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 16:13 .dockerignore 16:20:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:13 .git 16:20:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:13 .github 16:20:14 -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 16:13 .gitignore 16:20:14 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:13 .golangci.yml 16:20:14 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 16:13 Attribution.txt 16:20:14 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 16:13 CHANGELOG.md 16:20:14 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 16:13 Dockerfile 16:20:14 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:13 GOVERNANCE.md 16:20:14 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:13 Jenkinsfile 16:20:14 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:13 LICENSE 16:20:14 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 16:13 Makefile 16:20:14 -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 16:13 OWNERS.md 16:20:14 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 16:13 README.md 16:20:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:10 VERSION 16:20:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:13 bin 16:20:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:13 cmd 16:20:14 -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 16:19 coverage.out 16:20:14 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 16:13 go.mod 16:20:14 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 16:13 go.sum 16:20:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:13 internal 16:20:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:13 simulator 16:20:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:13 snap 16:20:14 -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 16:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:14 + 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=5567c6f815fc1ff2b079beda3174f5877cc5bdd4 --label arch=arm64 --label version=0.0.0 . 16:20:14 Sending build context to Docker daemon 3.341MB 16:20:15 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 16:20:15 Step 2/22 : FROM ${BASE} AS builder 16:20:15 ---> 4074aa19d9ad 16:20:15 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:20:15 ---> Running in 9c1c130986e8 16:20:15 Removing intermediate container 9c1c130986e8 16:20:15 ---> ec93a47ee2af 16:20:15 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:20:15 ---> Running in ca54410379ab 16:20:15 Removing intermediate container ca54410379ab 16:20:15 ---> 6237d002f146 16:20:15 Step 5/22 : RUN apk add --update --no-cache make git openssh 16:20:16 ---> Running in c365648e34ef 16:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:20:19 OK: 270 MiB in 61 packages 16:20:21 Removing intermediate container c365648e34ef 16:20:21 ---> 24e5fa59641a 16:20:21 Step 6/22 : WORKDIR /device-modbus-go 16:20:21 ---> Running in 3601c9027e52 16:20:21 Removing intermediate container 3601c9027e52 16:20:21 ---> f4afe73ff03f 16:20:21 Step 7/22 : COPY go.mod vendor* ./ 16:20:22 ---> a1475379a6ee 16:20:22 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:22 ---> Running in 1217172e4c40 16:20:25 Removing intermediate container 1217172e4c40 16:20:25 ---> 4be097098532 16:20:25 Step 9/22 : COPY . . 16:20:26 ---> 7af1f4f29434 16:20:26 Step 10/22 : RUN ${MAKE} 16:20:26 ---> Running in 61231336e48d 16:20:27 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 16:23:19 Removing intermediate container 61231336e48d 16:23:19 ---> 51e4e33666fa 16:23:19 Step 11/22 : FROM alpine:3.17 16:23:19 3.17: Pulling from library/alpine 16:23:19 af6eaf76a39c: Already exists 16:23:19 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:23:19 Status: Downloaded newer image for alpine:3.17 16:23:19 ---> d74e625d9115 16:23:19 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:23:19 ---> Running in 076816c99bde 16:23:19 Removing intermediate container 076816c99bde 16:23:19 ---> e438116846f7 16:23:19 Step 13/22 : RUN apk add --update --no-cache dumb-init 16:23:19 ---> Running in e49c20c80e7f 16:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:23:19 (1/1) Installing dumb-init (1.2.5-r2) 16:23:19 Executing busybox-1.35.0-r29.trigger 16:23:19 OK: 8 MiB in 16 packages 16:23:19 Removing intermediate container e49c20c80e7f 16:23:19 ---> 6b00b7b886a1 16:23:19 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:23:19 ---> 9c1e6f98cdaf 16:23:19 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:23:19 ---> ddc0bf14c780 16:23:19 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:23:19 ---> d563df0f0497 16:23:19 Step 17/22 : EXPOSE 59901 16:23:19 ---> Running in c1e289557658 16:23:19 Removing intermediate container c1e289557658 16:23:19 ---> fb0896eb7f5b 16:23:19 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:23:19 ---> Running in 2ae933b4131c 16:23:19 Removing intermediate container 2ae933b4131c 16:23:19 ---> a9da43b41380 16:23:19 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:23:19 ---> Running in 552bb99897c5 16:23:20 Removing intermediate container 552bb99897c5 16:23:20 ---> 5cac518ecfc4 16:23:20 Step 20/22 : LABEL arch=arm64 16:23:20 ---> Running in d3754c35651e 16:23:20 Removing intermediate container d3754c35651e 16:23:20 ---> d31acbd1e34c 16:23:20 Step 21/22 : LABEL git_sha=5567c6f815fc1ff2b079beda3174f5877cc5bdd4 16:23:20 ---> Running in 1e143b91ebd8 16:23:20 Removing intermediate container 1e143b91ebd8 16:23:20 ---> 3f4ee2070a16 16:23:20 Step 22/22 : LABEL version=0.0.0 16:23:20 ---> Running in 25e1f85b8604 16:23:21 Removing intermediate container 25e1f85b8604 16:23:21 ---> 067adfbb1cac 16:23:21 [Warning] One or more build-args [ARCH] were not consumed 16:23:21 Successfully built 067adfbb1cac 16:23:21 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 16:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:23:22 16:23:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:23:23 arm64: Pulling from edgex-lftools-log-publisher 16:23:23 8998bd30e6a1: Pulling fs layer 16:23:23 04944245beec: Pulling fs layer 16:23:23 699f458cf7ca: Pulling fs layer 16:23:23 765212b225bb: Pulling fs layer 16:23:23 f23df028b6ca: Pulling fs layer 16:23:23 d65c8cfc05b1: Pulling fs layer 16:23:23 2437ff75d9bd: Pulling fs layer 16:23:23 765212b225bb: Waiting 16:23:23 f23df028b6ca: Waiting 16:23:23 d65c8cfc05b1: Waiting 16:23:23 2437ff75d9bd: Waiting 16:23:23 04944245beec: Verifying Checksum 16:23:23 04944245beec: Download complete 16:23:23 765212b225bb: Verifying Checksum 16:23:23 765212b225bb: Download complete 16:23:23 f23df028b6ca: Verifying Checksum 16:23:23 f23df028b6ca: Download complete 16:23:23 d65c8cfc05b1: Verifying Checksum 16:23:23 d65c8cfc05b1: Download complete 16:23:23 699f458cf7ca: Verifying Checksum 16:23:23 699f458cf7ca: Download complete 16:23:24 8998bd30e6a1: Verifying Checksum 16:23:24 8998bd30e6a1: Download complete 16:23:26 2437ff75d9bd: Verifying Checksum 16:23:26 2437ff75d9bd: Download complete 16:23:28 8998bd30e6a1: Pull complete 16:23:29 04944245beec: Pull complete 16:23:30 699f458cf7ca: Pull complete 16:23:30 765212b225bb: Pull complete 16:23:31 f23df028b6ca: Pull complete 16:23:31 d65c8cfc05b1: Pull complete 16:23:46 2437ff75d9bd: Pull complete 16:23:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:23:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:23:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:23:47 prd-ubuntu20.04-docker-arm64-4c-16g-863 does not seem to be running inside a container 16:23:47 $ 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 16:23:50 $ docker top 8ff752d50a9221c805742318a2c1db7966fccc48b8928b0e682ca0968ced6349 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:51 ---> job-cost.sh 16:23:51 lf-activate-venv: SKIPPING 16:23:51 INFO: No Stack... 16:23:51 INFO: Retrieving Pricing Info for: v3-standard-4 16:23:52 INFO: Archiving Costs [Pipeline] sh 16:23:53 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 16:23:53 + cut -d, -f6 [Pipeline] lock 16:23:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-431-1-stack-cost] 16:23:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-431-1-stack-cost] did not exist. Created. 16:23:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-431-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:23:54 /w/workspace/device-modbus-go/1@tmp/durable-def47c02/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:23:54 + echo total: 0.10999999940395355 [Pipeline] stash 16:23:54 Warning: overwriting stash ‘stack-cost’ 16:23:54 Stashed 1 file(s) [Pipeline] } 16:23:54 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-431-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:23:54 $ docker stop --time=1 8ff752d50a9221c805742318a2c1db7966fccc48b8928b0e682ca0968ced6349 16:23:56 $ docker rm -f --volumes 8ff752d50a9221c805742318a2c1db7966fccc48b8928b0e682ca0968ced6349 [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 16:23:57 provisioning config files... 16:23:57 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-431@tmp/config6164105115542883332tmp [Pipeline] { [Pipeline] sh 16:23:57 + set +x 16:23:57 + + curl -s https://codecov.io/bash 16:23:57 bash -s -- 16:23:57 16:23:57 _____ _ 16:23:57 / ____| | | 16:23:57 | | ___ __| | ___ ___ _____ __ 16:23:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:23:57 | |___| (_) | (_| | __/ (_| (_) \ V / 16:23:57 \_____\___/ \__,_|\___|\___\___/ \_/ 16:23:57 Bash-1.0.6 16:23:57 16:23:57 16:23:57 ==> git version 2.25.1 found 16:23:57 ==> 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 16:23:57 Release-Date: 2020-01-08 16:23:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:23:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:23:57 ==> Jenkins CI detected. 16:23:57 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-431 16:23:57 project root: . 16:23:57 --> token set from env 16:23:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:23:57 ==> Running gcov in . (disable via -X gcov) 16:23:57 ==> Python coveragepy not found 16:23:57 ==> Searching for coverage reports in: 16:23:57 + . 16:23:57 -> Found 1 reports 16:23:57 ==> Detecting git/mercurial file structure 16:23:57 ==> Reading reports 16:23:57 + ./coverage.out bytes=23736 16:23:57 ==> Appending adjustments 16:23:57 https://docs.codecov.io/docs/fixing-reports 16:23:58 + Found adjustments 16:23:58 ==> Gzipping contents 16:23:58 4.0K /tmp/codecov.zbf8bl.gz 16:23:58 ==> Uploading reports 16:23:58 url: https://codecov.io 16:23:58 query: branch=PR-431&commit=5567c6f815fc1ff2b079beda3174f5877cc5bdd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-431%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=431&job=&cmd_args= 16:23:58 -> Pinging Codecov 16:23:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-431&commit=5567c6f815fc1ff2b079beda3174f5877cc5bdd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-431%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=431&job=&cmd_args= 16:23:58 -> Uploading to 16:23:58 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/55DBCA73C666E3227836607328DD7E49/5567c6f815fc1ff2b079beda3174f5877cc5bdd4/013621ac-4c38-4317-a247-06b3a549cd63.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T162358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5c99f7b82477f6e16a3a8ed08d3523f7a0c54696e610d08189ccb1c128682a0 16:23:58 % Total % Received % Xferd Average Speed Time Time Time Current 16:23:58 Dload Upload Total Spent Left Speed 16:23:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 16020 --:--:-- --:--:-- --:--:-- 16020 16:23:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5567c6f815fc1ff2b079beda3174f5877cc5bdd4 [Pipeline] } 16:23:58 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 16:24:00 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-431/archives ] 16:24:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-431/archives 16:24:00 total 16 16:24:00 drwxr-xr-x 3 root root 4096 Mar 15 16:12 . 16:24:00 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:12 .. 16:24:00 drwxr-xr-x 2 root root 4096 Mar 15 16:12 cost 16:24:00 -rw-r--r-- 1 root root 88 Mar 15 16:12 cost.csv 16:24:00 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-431/archives 16:24:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-431/archives 16:24:00 total 16 16:24:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:12 . 16:24:00 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:12 .. 16:24:00 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:12 cost 16:24:00 -rw-r--r-- 1 jenkins jenkins 88 Mar 15 16:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:24:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:24:01 ---> package-listing.sh 16:24:01 ++ facter osfamily 16:24:01 ++ tr '[:upper:]' '[:lower:]' 16:24:01 + OS_FAMILY=debian 16:24:01 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-431 16:24:01 + START_PACKAGES=/tmp/packages_start.txt 16:24:01 + END_PACKAGES=/tmp/packages_end.txt 16:24:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:24:01 + PACKAGES=/tmp/packages_start.txt 16:24:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-431 ']' 16:24:01 + PACKAGES=/tmp/packages_end.txt 16:24:01 + case "${OS_FAMILY}" in 16:24:01 + dpkg -l 16:24:01 + grep '^ii' 16:24:01 + '[' -f /tmp/packages_start.txt ']' 16:24:01 + '[' -f /tmp/packages_end.txt ']' 16:24:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:24:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-431 ']' 16:24:01 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-431/archives/ 16:24:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-431/archives/ [Pipeline] echo 16:24:01 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-431/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:24:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:24:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:02 prd-ubuntu20.04-docker-8c-8g-851 does not seem to be running inside a container 16:24:02 $ 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-431/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-431 -v /w/workspace/xfoundry_device-modbus-go_PR-431:/w/workspace/xfoundry_device-modbus-go_PR-431:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-431@tmp:/w/workspace/xfoundry_device-modbus-go_PR-431@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 16:24:02 $ docker top 542ce950b1085f38a88d21b73ce83a5565ff3abbb5f9692071e27325d92c7464 -eo pid,comm [Pipeline] { [Pipeline] sh 16:24:03 + touch /tmp/pre-build-complete [Pipeline] sh 16:24:03 + mkdir -p /var/log/sysstat [Pipeline] sh 16:24:03 + ls /var/log/sa-host 16:24:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:24:04 provisioning config files... 16:24:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-431@tmp/config389374132164866031tmp [Pipeline] { [Pipeline] echo 16:24:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:24:04 ---> create-netrc.sh [Pipeline] } 16:24:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:24:04 ---> python-tools-install.sh [Pipeline] echo 16:24:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:24:05 ---> sudo-logs.sh 16:24:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:24:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:24:05 ---> job-cost.sh 16:24:05 lf-activate-venv: SKIPPING 16:24:05 DEBUG: total: 0.2199999988079071 16:24:05 INFO: Retrieving Stack Cost... 16:24:06 INFO: Retrieving Pricing Info for: v3-standard-8 16:24:06 INFO: Archiving Costs [Pipeline] echo 16:24:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:24:06 ---> logs-deploy.sh 16:24:06 lf-activate-venv: SKIPPING 16:24:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-431/1 16:24:06 INFO: archiving workspace using pattern(s): 16:24:07 Archives upload complete. 16:24:07 INFO: archiving logs to Nexus