Pull request #443 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9+9bc48e746bb510c782b9593f55beae1b8e3bd068 (41829af464b6ad5578f1ee9bdaf74c5f8f2fc077) 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-ssh15884404893798681288.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-ssh9575669434037883778.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-443/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-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4962283918968054604.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-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5351639476884023655.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-ssh17220398661017383805.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-443/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-443/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14656933825024835067.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5682 in /w/workspace/xfoundry_device-modbus-go_PR-443 [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-443 # 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/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 Merge succeeded, producing 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 Checking out Revision 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 (PR-443) > git config core.sparsecheckout # timeout=10 > git checkout -f 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 # 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 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 # timeout=10 Commit message: "fix: fix protocol properties parsing error" 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 07:55:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:55:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:55:26 ========================================================= 07:55:26 EdgeX Global Pipelines Version Info 07:55:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:55:27 ------------------- 07:55:27 stable info: 07:55:27 ------------------- 07:55:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:55:27 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:55:27 Message: update stable to v1.0.245 07:55:27 ------------------- 07:55:27 experimental info: 07:55:27 ------------------- 07:55:27 Commited By: **** collab-it+edgex@linuxfoundation.org 07:55:27 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 07:55:27 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:55:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:55:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:55:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-443 [Pipeline] echo 07:55:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-443 [Pipeline] echo 07:55:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-443 [Pipeline] echo 07:55:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] echo 07:55:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 261bb0a [Pipeline] echo 07:55:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:29 provisioning config files... 07:55:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/config16516630384772951217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:29 ---> docker-login.sh 07:55:29 nexus3.edgexfoundry.org:10001 07:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:29 Configure a credential helper to remove this warning. See 07:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:29 07:55:29 Login Succeeded 07:55:29 nexus3.edgexfoundry.org:10002 07:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:30 Configure a credential helper to remove this warning. See 07:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:30 07:55:30 Login Succeeded 07:55:30 nexus3.edgexfoundry.org:10003 07:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:30 Configure a credential helper to remove this warning. See 07:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:30 07:55:30 Login Succeeded 07:55:30 nexus3.edgexfoundry.org:10004 07:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:30 Configure a credential helper to remove this warning. See 07:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:30 07:55:30 Login Succeeded 07:55:30 docker.io 07:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:30 Configure a credential helper to remove this warning. See 07:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:30 07:55:30 Login Succeeded 07:55:30 ---> docker-login.sh ends [Pipeline] } 07:55:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:55:31 + git rev-list -1 --merges 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9~1..261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] echo 07:55:31 -----------> git rev-list -1 --merges 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9~1..261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [false] [Pipeline] sh 07:55:31 + git log --format=format:%s -1 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] echo 07:55:31 ========================================================= 07:55:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:55:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:55:32 + git log --format=format:%s -1 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] echo 07:55:32 [semverPrep] GIT_COMMIT: 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9, Commit Message: fix: fix protocol properties parsing error [Pipeline] echo 07:55:32 [semverPrep] This is not a build commit. [Pipeline] sh 07:55:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:55:32 + grep -v github /etc/ssh/ssh_known_hosts 07:55:32 + [ -e /tmp/ssh_known_hosts ] 07:55:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:55:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:55:32 + sudo tee -a /etc/ssh/ssh_known_hosts 07:55:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:55:33 07:55:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:55:33 0.1.4: Pulling from edgex-devops/py-git-semver 07:55:33 b85a868b505f: Pulling fs layer 07:55:33 e2be974225ed: Pulling fs layer 07:55:33 339a4e72a1f5: Pulling fs layer 07:55:33 988bab9f4d93: Pulling fs layer 07:55:33 1469e6f7b9e6: Pulling fs layer 07:55:33 eaf3925da568: Pulling fs layer 07:55:33 bab4dde63d76: Pulling fs layer 07:55:33 bde34c3a00c8: Pulling fs layer 07:55:33 b352a97aabf1: Pulling fs layer 07:55:33 4872d77fe225: Pulling fs layer 07:55:33 5851b861e8e6: Pulling fs layer 07:55:33 988bab9f4d93: Waiting 07:55:33 b352a97aabf1: Waiting 07:55:33 4872d77fe225: Waiting 07:55:33 1469e6f7b9e6: Waiting 07:55:33 eaf3925da568: Waiting 07:55:33 5851b861e8e6: Waiting 07:55:33 bde34c3a00c8: Waiting 07:55:33 bab4dde63d76: Waiting 07:55:33 e2be974225ed: Verifying Checksum 07:55:33 e2be974225ed: Download complete 07:55:33 988bab9f4d93: Verifying Checksum 07:55:33 988bab9f4d93: Download complete 07:55:33 339a4e72a1f5: Verifying Checksum 07:55:33 339a4e72a1f5: Download complete 07:55:33 1469e6f7b9e6: Verifying Checksum 07:55:33 1469e6f7b9e6: Download complete 07:55:33 eaf3925da568: Verifying Checksum 07:55:33 eaf3925da568: Download complete 07:55:33 bde34c3a00c8: Download complete 07:55:33 b352a97aabf1: Download complete 07:55:33 4872d77fe225: Download complete 07:55:33 5851b861e8e6: Verifying Checksum 07:55:33 5851b861e8e6: Download complete 07:55:33 b85a868b505f: Verifying Checksum 07:55:33 b85a868b505f: Download complete 07:55:33 bab4dde63d76: Verifying Checksum 07:55:33 bab4dde63d76: Download complete 07:55:35 b85a868b505f: Pull complete 07:55:35 e2be974225ed: Pull complete 07:55:35 339a4e72a1f5: Pull complete 07:55:35 988bab9f4d93: Pull complete 07:55:36 1469e6f7b9e6: Pull complete 07:55:36 eaf3925da568: Pull complete 07:55:38 bab4dde63d76: Pull complete 07:55:38 bde34c3a00c8: Pull complete 07:55:38 b352a97aabf1: Pull complete 07:55:38 4872d77fe225: Pull complete 07:55:38 5851b861e8e6: Pull complete 07:55:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:55:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:55:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:38 prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container 07:55:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:55:40 $ docker top e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d -eo pid,comm 07:55:40 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). 07:55:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:55:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:55:40 [ssh-agent] Looking for ssh-agent implementation... 07:55:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:55:40 $ docker exec e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d ssh-agent 07:55:40 SSH_AUTH_SOCK=/tmp/ssh-cyTih3UDA4Dl/agent.33 07:55:40 SSH_AGENT_PID=39 07:55:40 Running ssh-add (command line suppressed) 07:55:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-443@tmp/private_key_10729449519426508155.key (/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/private_key_10729449519426508155.key) 07:55:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:55:41 + git tag --points-at HEAD [Pipeline] } 07:55:41 $ docker exec --env ******** --env ******** e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d ssh-agent -k 07:55:41 unset SSH_AUTH_SOCK; 07:55:41 unset SSH_AGENT_PID; 07:55:41 echo Agent pid 39 killed; 07:55:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:55:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:55:41 [ssh-agent] Looking for ssh-agent implementation... 07:55:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:55:41 $ docker exec e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d ssh-agent 07:55:41 SSH_AUTH_SOCK=/tmp/ssh-fys7mfx8B76I/agent.71 07:55:41 SSH_AGENT_PID=77 07:55:41 Running ssh-add (command line suppressed) 07:55:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-443@tmp/private_key_14893571353444809544.key (/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/private_key_14893571353444809544.key) 07:55:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:55:42 + git semver init 07:55:42 2023-03-24 07:55:42,272 [run_init] DEBUG init version:0.0.0 force:False 07:55:42 2023-03-24 07:55:42,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-443/.semver 07:55:42 2023-03-24 07:55:42,274 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-443/.semver 07:55:42 2023-03-24 07:55:42,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-443/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-443, universal_newlines=False, shell=None, istream=None) 07:55:43 2023-03-24 07:55:43,022 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-443/.git/info/exclude 07:55:43 2023-03-24 07:55:43,023 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-443/.semver/PR-443 with force:False 07:55:43 2023-03-24 07:55:43,023 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-443/.semver/PR-443 07:55:43 2023-03-24 07:55:43,027 [execute] INFO git cat-file --batch-check 07:55:43 2023-03-24 07:55:43,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-443/.semver, universal_newlines=False, shell=None, istream=) 07:55:43 2023-03-24 07:55:43,034 [execute] INFO git cat-file --batch 07:55:43 2023-03-24 07:55:43,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-443/.semver, universal_newlines=False, shell=None, istream=) 07:55:43 2023-03-24 07:55:43,041 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-443/.semver/PR-443 07:55:43 0.0.0 [Pipeline] } 07:55:43 $ docker exec --env ******** --env ******** e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d ssh-agent -k 07:55:43 unset SSH_AUTH_SOCK; 07:55:43 unset SSH_AGENT_PID; 07:55:43 echo Agent pid 77 killed; 07:55:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:55:43 + git semver [Pipeline] } 07:55:44 $ docker stop --time=1 e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d 07:55:45 $ docker rm -f --volumes e650971744a8f27099bf9d869a8a944538b5be72e37d140627ba98cabf1aa31d [Pipeline] // withDockerContainer [Pipeline] sh 07:55:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:55:46 Stashed 1 file(s) [Pipeline] echo 07:55:46 [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 07:55:46 provisioning config files... 07:55:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/config13551501749110937093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:47 ---> docker-login.sh 07:55:47 nexus3.edgexfoundry.org:10001 07:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:47 Configure a credential helper to remove this warning. See 07:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:47 07:55:47 Login Succeeded 07:55:47 nexus3.edgexfoundry.org:10002 07:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:47 Configure a credential helper to remove this warning. See 07:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:47 07:55:47 Login Succeeded 07:55:47 nexus3.edgexfoundry.org:10003 07:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:47 Configure a credential helper to remove this warning. See 07:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:47 07:55:47 Login Succeeded 07:55:47 nexus3.edgexfoundry.org:10004 07:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:47 Configure a credential helper to remove this warning. See 07:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:47 07:55:47 Login Succeeded 07:55:47 docker.io 07:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:47 Configure a credential helper to remove this warning. See 07:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:47 07:55:47 Login Succeeded 07:55:47 ---> docker-login.sh ends [Pipeline] } 07:55:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:55:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:55:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:55:48 ========================================================= 07:55:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:55:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:48 + 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 . 07:55:48 Sending build context to Docker daemon 6.392MB 07:55:48 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:55:48 Step 2/10 : FROM ${BASE} AS builder 07:55:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:55:48 63b65145d645: Pulling fs layer 07:55:48 a2d21d5440eb: Pulling fs layer 07:55:48 935e6c44a52c: Pulling fs layer 07:55:48 94cc34f8dd06: Pulling fs layer 07:55:48 30dea6a524f1: Pulling fs layer 07:55:48 a2aff8979fd8: Pulling fs layer 07:55:48 6808be2612f2: Pulling fs layer 07:55:48 f25807f1079a: Pulling fs layer 07:55:48 f25807f1079a: Waiting 07:55:48 a2aff8979fd8: Waiting 07:55:48 30dea6a524f1: Waiting 07:55:48 6808be2612f2: Waiting 07:55:48 a2d21d5440eb: Verifying Checksum 07:55:48 a2d21d5440eb: Download complete 07:55:48 94cc34f8dd06: Verifying Checksum 07:55:48 94cc34f8dd06: Download complete 07:55:48 30dea6a524f1: Verifying Checksum 07:55:48 30dea6a524f1: Download complete 07:55:48 63b65145d645: Verifying Checksum 07:55:48 63b65145d645: Download complete 07:55:48 a2aff8979fd8: Verifying Checksum 07:55:48 a2aff8979fd8: Download complete 07:55:49 63b65145d645: Pull complete 07:55:49 a2d21d5440eb: Pull complete 07:55:49 f25807f1079a: Verifying Checksum 07:55:49 f25807f1079a: Download complete 07:55:49 935e6c44a52c: Verifying Checksum 07:55:49 935e6c44a52c: Download complete 07:55:50 6808be2612f2: Verifying Checksum 07:55:50 6808be2612f2: Download complete 07:55:53 935e6c44a52c: Pull complete 07:55:53 94cc34f8dd06: Pull complete 07:55:53 30dea6a524f1: Pull complete 07:55:53 a2aff8979fd8: Pull complete 07:55:56 6808be2612f2: Pull complete 07:55:57 f25807f1079a: Pull complete 07:55:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:55:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:55:57 ---> 3b553350e43f 07:55:57 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:55:59 ---> Running in bc99024218c3 07:55:59 Removing intermediate container bc99024218c3 07:55:59 ---> 44367534a40a 07:55:59 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:55:59 ---> Running in c6b5d1734a18 07:55:59 Removing intermediate container c6b5d1734a18 07:55:59 ---> 81f5525160a7 07:55:59 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:55:59 ---> Running in 380f54f4268c 07:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:55:59 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:55:59 (2/8) Installing libedit (20221030.3.1-r0) 07:55:59 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:55:59 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:55:59 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:55:59 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:55:59 (7/8) Installing openssh-server (9.1_p1-r2) 07:55:59 (8/8) Installing openssh (9.1_p1-r2) 07:56:00 Executing busybox-1.35.0-r29.trigger 07:56:00 OK: 270 MiB in 61 packages 07:56:00 Removing intermediate container 380f54f4268c 07:56:00 ---> b9f04e357511 07:56:00 Step 6/10 : WORKDIR /device-modbus-go 07:56:00 ---> Running in 7b98d167052a 07:56:00 Removing intermediate container 7b98d167052a 07:56:00 ---> dd3444e6c1c5 07:56:00 Step 7/10 : COPY go.mod vendor* ./ 07:56:00 ---> f134344b4e3e 07:56:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:56:00 ---> Running in 4bbc975c81b3 07:56:01 Still waiting to schedule task 07:56:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:56:47 Removing intermediate container 4bbc975c81b3 07:56:47 ---> 74d7f962d211 07:56:47 Step 9/10 : COPY . . 07:56:47 ---> 6ef7b3181328 07:56:47 Step 10/10 : RUN ${MAKE} 07:56:47 ---> Running in e4b1911e042e 07:56:47 noop 07:56:47 Removing intermediate container e4b1911e042e 07:56:47 ---> 0fc1b6dd82f4 07:56:47 Successfully built 0fc1b6dd82f4 07:56:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:48 + docker inspect -f . ci-base-image-x86_64 07:56:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:48 prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container 07:56:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:56:48 $ docker top acf929cc81fd911f3561e775a1bc6ad459f8c052cf0c25ff285da65b8b090503 -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:49 + go version 07:56:49 go version go1.20.2 linux/amd64 [Pipeline] } 07:56:49 $ docker stop --time=1 acf929cc81fd911f3561e775a1bc6ad459f8c052cf0c25ff285da65b8b090503 07:56:50 $ docker rm -f --volumes acf929cc81fd911f3561e775a1bc6ad459f8c052cf0c25ff285da65b8b090503 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:51 + docker inspect -f . ci-base-image-x86_64 07:56:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:51 prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container 07:56:51 $ 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-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:56:51 $ docker top 22014bf16fa0aad8681fb4d822bec11c9971ee1bb33d0a88a5ade53d0b539d33 -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:52 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-443 [Pipeline] fileExists [Pipeline] sh 07:56:52 + make test 07:56:52 go test ./... -coverprofile=coverage.out 07:56:57 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:57:07 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:57:07 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements 07:57:15 go vet ./... 07:57:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:57:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:57:18 ./bin/test-attribution-txt.sh [Pipeline] echo 07:57:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:57:19 $ docker stop --time=1 22014bf16fa0aad8681fb4d822bec11c9971ee1bb33d0a88a5ade53d0b539d33 07:57:21 $ docker rm -f --volumes 22014bf16fa0aad8681fb4d822bec11c9971ee1bb33d0a88a5ade53d0b539d33 [Pipeline] // withDockerContainer [Pipeline] sh 07:57:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:57:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:57:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:57:22 + ls -al . 07:57:22 total 180 07:57:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 07:56 . 07:57:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 07:55 .. 07:57:22 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 07:55 .dockerignore 07:57:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 07:55 .git 07:57:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:55 .github 07:57:22 -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 07:55 .gitignore 07:57:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 07:55 .golangci.yml 07:57:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 07:55 .semver 07:57:22 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 07:55 Attribution.txt 07:57:22 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 07:55 CHANGELOG.md 07:57:22 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 07:55 Dockerfile 07:57:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 07:55 GOVERNANCE.md 07:57:22 -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 07:55 Jenkinsfile 07:57:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 07:55 LICENSE 07:57:22 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 07:55 Makefile 07:57:22 -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 07:55 OWNERS.md 07:57:22 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 24 07:55 README.md 07:57:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 07:55 VERSION 07:57:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 07:55 bin 07:57:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:55 cmd 07:57:22 -rw-r--r-- 1 jenkins jenkins 23739 Mar 24 07:57 coverage.out 07:57:22 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 24 07:55 go.mod 07:57:22 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 24 07:55 go.sum 07:57:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:55 internal 07:57:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 07:55 simulator 07:57:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 07:55 snap 07:57:22 -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 07:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:23 + 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=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 --label arch=amd64 --label version=0.0.0 . 07:57:23 Sending build context to Docker daemon 6.417MB 07:57:23 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 07:57:23 Step 2/22 : FROM ${BASE} AS builder 07:57:23 ---> 0fc1b6dd82f4 07:57:23 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:57:23 ---> Running in 4baf7f68520c 07:57:23 Removing intermediate container 4baf7f68520c 07:57:23 ---> b054a41a7f89 07:57:23 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:57:23 ---> Running in e07510f951fa 07:57:23 Removing intermediate container e07510f951fa 07:57:23 ---> 56c1307067fd 07:57:23 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:57:23 ---> Running in 4b5163818dd7 07:57:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:57:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:57:24 OK: 270 MiB in 61 packages 07:57:24 Removing intermediate container 4b5163818dd7 07:57:24 ---> e24c2e0d96b9 07:57:24 Step 6/22 : WORKDIR /device-modbus-go 07:57:24 ---> Running in 6c4af80bde17 07:57:24 Removing intermediate container 6c4af80bde17 07:57:24 ---> a7466bda9591 07:57:24 Step 7/22 : COPY go.mod vendor* ./ 07:57:24 ---> 302db5f06f79 07:57:24 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:57:24 ---> Running in 97c562ec5fd3 07:57:25 Removing intermediate container 97c562ec5fd3 07:57:25 ---> 49a0d81543ae 07:57:25 Step 9/22 : COPY . . 07:57:26 ---> 8e631405e9fa 07:57:26 Step 10/22 : RUN ${MAKE} 07:57:26 ---> Running in ed0d396da3d2 07:57:26 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 07:57:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5683 in /w/workspace/xfoundry_device-modbus-go_PR-443 [Pipeline] { [Pipeline] ws 07:57:40 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 07:57:40 Selected Git installation does not exist. Using Default 07:57:40 The recommended git tool is: NONE 07:57:44 Removing intermediate container ed0d396da3d2 07:57:44 ---> 80d80fbed80b 07:57:44 Step 11/22 : FROM alpine:3.17 07:57:44 3.17: Pulling from library/alpine 07:57:44 63b65145d645: Already exists 07:57:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:57:44 Status: Downloaded newer image for alpine:3.17 07:57:44 ---> b2aa39c304c2 07:57:44 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:57:44 ---> Running in 803bab64ae02 07:57:44 Removing intermediate container 803bab64ae02 07:57:44 ---> 94897852c438 07:57:44 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:57:44 ---> Running in 5631a5a25840 07:57:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:57:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:57:45 (1/1) Installing dumb-init (1.2.5-r2) 07:57:45 Executing busybox-1.35.0-r29.trigger 07:57:45 OK: 7 MiB in 16 packages 07:57:45 Removing intermediate container 5631a5a25840 07:57:45 ---> b1dc927662da 07:57:45 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:57:46 ---> 10216d56e857 07:57:46 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:57:46 ---> 7c6801bcb979 07:57:46 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:57:46 ---> bc19b4048aa9 07:57:46 Step 17/22 : EXPOSE 59901 07:57:46 ---> Running in 2fd826c9a65d 07:57:46 Removing intermediate container 2fd826c9a65d 07:57:46 ---> 9cc4e7627563 07:57:46 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:57:46 ---> Running in b055f5067f5d 07:57:46 Removing intermediate container b055f5067f5d 07:57:46 ---> 5ef55b7ced61 07:57:46 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:57:47 ---> Running in 4bfd01ccadb2 07:57:47 Removing intermediate container 4bfd01ccadb2 07:57:47 ---> aa55395ff81e 07:57:47 Step 20/22 : LABEL arch=amd64 07:57:47 ---> Running in bf6fea78e7f7 07:57:47 Removing intermediate container bf6fea78e7f7 07:57:47 ---> 27388d6cadab 07:57:47 Step 21/22 : LABEL git_sha=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 07:57:47 using credential edgex-jenkins-ssh 07:57:47 Cloning the remote Git repository 07:57:47 ---> Running in 48a1bad09c8d 07:57:47 Removing intermediate container 48a1bad09c8d 07:57:47 ---> 0028c5bf7d93 07:57:47 Step 22/22 : LABEL version=0.0.0 07:57:47 ---> Running in 551151012a97 07:57:47 Removing intermediate container 551151012a97 07:57:47 ---> d35a01f8b13e 07:57:47 [Warning] One or more build-args [ARCH] were not consumed 07:57:47 Successfully built d35a01f8b13e 07:57:47 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 07:57:47 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:57:47 > git init /w/workspace/device-modbus-go/1 # timeout=10 07:57:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:57:47 > git --version # timeout=10 07:57:47 > git --version # 'git version 2.25.1' 07:57:47 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:57:48 07:57:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:57:48 latest: Pulling from edgex-lftools-log-publisher 07:57:48 5eb5b503b376: Pulling fs layer 07:57:48 5c69ac0246d0: Pulling fs layer 07:57:48 ec43610c2a17: Pulling fs layer 07:57:48 3a2ae6a8a46f: Pulling fs layer 07:57:48 33b1e0a273af: Pulling fs layer 07:57:48 5d3b04190fa2: Pulling fs layer 07:57:48 2f39f015ded8: Pulling fs layer 07:57:48 3a2ae6a8a46f: Waiting 07:57:48 33b1e0a273af: Waiting 07:57:48 5d3b04190fa2: Waiting 07:57:48 2f39f015ded8: Waiting 07:57:48 5c69ac0246d0: Download complete 07:57:48 3a2ae6a8a46f: Verifying Checksum 07:57:48 3a2ae6a8a46f: Download complete 07:57:49 33b1e0a273af: Verifying Checksum 07:57:49 33b1e0a273af: Download complete 07:57:49 5d3b04190fa2: Verifying Checksum 07:57:49 5d3b04190fa2: Download complete 07:57:49 ec43610c2a17: Verifying Checksum 07:57:49 ec43610c2a17: Download complete 07:57:49 5eb5b503b376: Verifying Checksum 07:57:49 5eb5b503b376: Download complete 07:57:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:57:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:57:49 2f39f015ded8: Download complete 07:57:50 5eb5b503b376: Pull complete 07:57:50 5c69ac0246d0: Pull complete 07:57:50 Merging remotes/origin/main commit 9bc48e746bb510c782b9593f55beae1b8e3bd068 into PR head commit 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 07:57:50 Merge succeeded, producing 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 07:57:50 Checking out Revision 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 (PR-443) 07:57:50 ec43610c2a17: Pull complete 07:57:50 3a2ae6a8a46f: Pull complete 07:57:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:57:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:57:49 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:57:50 > git config core.sparsecheckout # timeout=10 07:57:50 > git checkout -f 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 # timeout=10 07:57:50 > git remote # timeout=10 07:57:50 > git config --get remote.origin.url # timeout=10 07:57:50 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:50 > git merge 9bc48e746bb510c782b9593f55beae1b8e3bd068 # timeout=10 07:57:50 > git rev-parse HEAD^{commit} # timeout=10 07:57:50 > git config core.sparsecheckout # timeout=10 07:57:50 > git checkout -f 261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 # timeout=10 07:57:51 33b1e0a273af: Pull complete 07:57:51 5d3b04190fa2: Pull complete 07:57:54 Commit message: "fix: fix protocol properties parsing error" 07:57:54 > git --version # timeout=10 07:57:54 > git --version # 'git version 2.25.1' 07:57:54 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 07:57:54 07:57:54 GitHub has been notified of this commit’s build result 07:57:54 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:57:55 2f39f015ded8: Pull complete 07:57:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:57:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:57:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:57:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:57:55 % Total % Received % Xferd Average Speed Time Time Time Current 07:57:55 Dload Upload Total Spent Left Speed 07:57:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:55 prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container 07:57:55 $ 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-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:57:57 $ docker top 2a5e0f14b979fd12a7732ae21a49fb106723bb939ddc4c41e0995884f591981e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 07:57:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:57:57 ---> job-cost.sh 07:57:57 lf-activate-venv: SKIPPING 07:57:57 INFO: No Stack... 07:57:58 + sudo tee /etc/docker/daemon.new 07:57:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:57:58 { 07:57:58 "registry-mirrors": [ 07:57:58 "https://nexus3.edgexfoundry.org:10001" 07:57:58 ], 07:57:58 "bip": "10.250.0.254/24", 07:57:58 "hosts": [ 07:57:58 "tcp://0.0.0.0:5555", 07:57:58 "unix:///var/run/docker.sock" 07:57:58 ], 07:57:58 "mtu": 1458, 07:57:58 "selinux-enabled": true, 07:57:58 "seccomp-profile": "/etc/docker/seccomp.json" 07:57:58 } 07:57:58 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 07:57:58 INFO: Archiving Costs [Pipeline] sh 07:57:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:57:58 + cat /w/workspace/xfoundry_device-modbus-go_PR-443/archives/cost.csv 07:57:58 + cut -d, -f6 [Pipeline] lock 07:57:58 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] 07:57:58 Resource [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] did not exist. Created. 07:57:58 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash 07:57:58 + sudo service docker restart [Pipeline] sh 07:57:59 + echo total: 0.2199999988079071 [Pipeline] stash 07:57:59 Stashed 1 file(s) [Pipeline] } 07:57:59 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:57:59 $ docker stop --time=1 2a5e0f14b979fd12a7732ae21a49fb106723bb939ddc4c41e0995884f591981e 07:58:00 $ docker rm -f --volumes 2a5e0f14b979fd12a7732ae21a49fb106723bb939ddc4c41e0995884f591981e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:17 provisioning config files... 07:58:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8536918355731886466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:17 ---> docker-login.sh 07:58:17 nexus3.edgexfoundry.org:10001 07:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:18 Configure a credential helper to remove this warning. See 07:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:18 07:58:18 Login Succeeded 07:58:18 nexus3.edgexfoundry.org:10002 07:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:18 Configure a credential helper to remove this warning. See 07:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:18 07:58:18 Login Succeeded 07:58:18 nexus3.edgexfoundry.org:10003 07:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:18 Configure a credential helper to remove this warning. See 07:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:18 07:58:18 Login Succeeded 07:58:18 nexus3.edgexfoundry.org:10004 07:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:19 Configure a credential helper to remove this warning. See 07:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:19 07:58:19 Login Succeeded 07:58:19 docker.io 07:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:19 Configure a credential helper to remove this warning. See 07:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:19 07:58:19 Login Succeeded 07:58:19 ---> docker-login.sh ends [Pipeline] } 07:58:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:58:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:58:20 ========================================================= 07:58:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:58:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:20 + 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 . 07:58:20 Sending build context to Docker daemon 3.344MB 07:58:20 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:58:20 Step 2/10 : FROM ${BASE} AS builder 07:58:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:58:21 af6eaf76a39c: Pulling fs layer 07:58:21 55522c791124: Pulling fs layer 07:58:21 ce5c4a1c91eb: Pulling fs layer 07:58:21 169dfbe0d373: Pulling fs layer 07:58:21 e1ff8fa3b103: Pulling fs layer 07:58:21 52ebb69f0ebf: Pulling fs layer 07:58:21 5abe8eddf0d5: Pulling fs layer 07:58:21 169dfbe0d373: Waiting 07:58:21 e1ff8fa3b103: Waiting 07:58:21 52ebb69f0ebf: Waiting 07:58:21 5abe8eddf0d5: Waiting 07:58:21 55522c791124: Download complete 07:58:21 169dfbe0d373: Verifying Checksum 07:58:21 169dfbe0d373: Download complete 07:58:21 e1ff8fa3b103: Verifying Checksum 07:58:21 e1ff8fa3b103: Download complete 07:58:21 af6eaf76a39c: Verifying Checksum 07:58:22 af6eaf76a39c: Pull complete 07:58:22 5abe8eddf0d5: Verifying Checksum 07:58:22 5abe8eddf0d5: Download complete 07:58:22 55522c791124: Pull complete 07:58:23 52ebb69f0ebf: Verifying Checksum 07:58:23 52ebb69f0ebf: Download complete 07:58:23 ce5c4a1c91eb: Download complete 07:58:35 ce5c4a1c91eb: Pull complete 07:58:35 169dfbe0d373: Pull complete 07:58:35 e1ff8fa3b103: Pull complete 07:58:42 52ebb69f0ebf: Pull complete 07:58:43 5abe8eddf0d5: Pull complete 07:58:43 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:58:43 ---> 6cb57ee374ae 07:58:43 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:58:45 ---> Running in a38253b27de7 07:58:45 Removing intermediate container a38253b27de7 07:58:45 ---> eaca807768d6 07:58:45 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:58:45 ---> Running in 23cce86f0240 07:58:45 Removing intermediate container 23cce86f0240 07:58:45 ---> 5a7f73052174 07:58:45 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:58:46 ---> Running in 04e5ff34fd90 07:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:58:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:58:48 (1/8) Installing openssh-keygen (9.1_p1-r2) 07:58:48 (2/8) Installing libedit (20221030.3.1-r0) 07:58:48 (3/8) Installing openssh-client-common (9.1_p1-r2) 07:58:48 (4/8) Installing openssh-client-default (9.1_p1-r2) 07:58:48 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 07:58:48 (6/8) Installing openssh-server-common (9.1_p1-r2) 07:58:48 (7/8) Installing openssh-server (9.1_p1-r2) 07:58:48 (8/8) Installing openssh (9.1_p1-r2) 07:58:48 Executing busybox-1.35.0-r29.trigger 07:58:49 OK: 270 MiB in 61 packages 07:58:50 Removing intermediate container 04e5ff34fd90 07:58:50 ---> 2958e1c1518a 07:58:50 Step 6/10 : WORKDIR /device-modbus-go 07:58:50 ---> Running in 13a570ca8e42 07:58:50 Removing intermediate container 13a570ca8e42 07:58:50 ---> cd8e2d3df0ef 07:58:50 Step 7/10 : COPY go.mod vendor* ./ 07:58:52 ---> ce901c793e81 07:58:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:52 ---> Running in c30256185a31 07:59:49 Removing intermediate container c30256185a31 07:59:49 ---> 0c8ffbfb359d 07:59:49 Step 9/10 : COPY . . 07:59:49 ---> f77dfb3ba95f 07:59:49 Step 10/10 : RUN ${MAKE} 07:59:49 ---> Running in 85f6f2e289b9 07:59:49 noop 07:59:50 Removing intermediate container 85f6f2e289b9 07:59:50 ---> 192a91505f14 07:59:50 Successfully built 192a91505f14 07:59:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:50 + docker inspect -f . ci-base-image-arm64 07:59:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-5683 does not seem to be running inside a container 07:59:51 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:59:52 $ docker top 11af736fed7d9bc7cbe90e2a56bdd3fa101b54cf24949c20d5d70a549fd49aa0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:53 + go version 07:59:53 go version go1.20.2 linux/arm64 [Pipeline] } 07:59:53 $ docker stop --time=1 11af736fed7d9bc7cbe90e2a56bdd3fa101b54cf24949c20d5d70a549fd49aa0 07:59:54 $ docker rm -f --volumes 11af736fed7d9bc7cbe90e2a56bdd3fa101b54cf24949c20d5d70a549fd49aa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:55 + docker inspect -f . ci-base-image-arm64 07:59:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:55 prd-ubuntu20.04-docker-arm64-4c-16g-5683 does not seem to be running inside a container 07:59:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:59:57 $ docker top 70b0470ddea69612301bc5f1ee889fc029a872194d7d1aabe18b858630d9f501 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:57 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 07:59:58 + make test 07:59:58 go test ./... -coverprofile=coverage.out 08:00:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:02:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 08:02:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 48.0% of statements 08:02:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:02:22 go vet ./... 08:02:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:02:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:02:54 ./bin/test-attribution-txt.sh [Pipeline] echo 08:02:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:02:54 $ docker stop --time=1 70b0470ddea69612301bc5f1ee889fc029a872194d7d1aabe18b858630d9f501 08:02:56 $ docker rm -f --volumes 70b0470ddea69612301bc5f1ee889fc029a872194d7d1aabe18b858630d9f501 [Pipeline] // withDockerContainer [Pipeline] sh 08:02:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:02:57 Warning: overwriting stash ‘coverage-report’ 08:02:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:02:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:02:59 + ls -al . 08:02:59 total 176 08:02:59 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 08:00 . 08:02:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 07:57 .. 08:02:59 -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 07:57 .dockerignore 08:02:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 07:57 .git 08:02:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:57 .github 08:02:59 -rw-rw-r-- 1 jenkins jenkins 331 Mar 24 07:57 .gitignore 08:02:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 07:57 .golangci.yml 08:02:59 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 24 07:57 Attribution.txt 08:02:59 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 24 07:57 CHANGELOG.md 08:02:59 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 24 07:57 Dockerfile 08:02:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 07:57 GOVERNANCE.md 08:02:59 -rw-rw-r-- 1 jenkins jenkins 680 Mar 24 07:57 Jenkinsfile 08:02:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 24 07:57 LICENSE 08:02:59 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 24 07:57 Makefile 08:02:59 -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 07:57 OWNERS.md 08:02:59 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 24 07:57 README.md 08:02:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 07:55 VERSION 08:02:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 07:57 bin 08:02:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:57 cmd 08:02:59 -rw-r--r-- 1 jenkins jenkins 23739 Mar 24 08:02 coverage.out 08:02:59 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 24 07:57 go.mod 08:02:59 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 24 07:57 go.sum 08:02:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 07:57 internal 08:02:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 07:57 simulator 08:02:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 07:57 snap 08:02:59 -rw-rw-r-- 1 jenkins jenkins 229 Mar 24 07:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:59 + 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=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 --label arch=arm64 --label version=0.0.0 . 08:03:00 Sending build context to Docker daemon 3.368MB 08:03:00 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 08:03:00 Step 2/22 : FROM ${BASE} AS builder 08:03:00 ---> 192a91505f14 08:03:00 Step 3/22 : ARG ADD_BUILD_TAGS="" 08:03:03 ---> Running in 0f4cfcce2d70 08:03:03 Removing intermediate container 0f4cfcce2d70 08:03:03 ---> 3571035ef893 08:03:03 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:03:03 ---> Running in 1f09e2eff230 08:03:04 Removing intermediate container 1f09e2eff230 08:03:04 ---> 168d58de8ed9 08:03:04 Step 5/22 : RUN apk add --update --no-cache make git openssh 08:03:04 ---> Running in ee19f5983c57 08:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:03:08 OK: 270 MiB in 61 packages 08:03:09 Removing intermediate container ee19f5983c57 08:03:09 ---> 987a6740a2a9 08:03:09 Step 6/22 : WORKDIR /device-modbus-go 08:03:09 ---> Running in 8da839f7f210 08:03:10 Removing intermediate container 8da839f7f210 08:03:10 ---> 1bf1008f1bcd 08:03:10 Step 7/22 : COPY go.mod vendor* ./ 08:03:10 ---> 5e70b3f85db3 08:03:10 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:03:10 ---> Running in 970fb2b40279 08:03:13 Removing intermediate container 970fb2b40279 08:03:13 ---> b1128bcf1309 08:03:13 Step 9/22 : COPY . . 08:03:15 ---> e1a7b09d6714 08:03:15 Step 10/22 : RUN ${MAKE} 08:03:15 ---> Running in 65598d5c5f02 08:03:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 08:05:23 Removing intermediate container 65598d5c5f02 08:05:23 ---> 5b749feec22e 08:05:23 Step 11/22 : FROM alpine:3.17 08:05:23 3.17: Pulling from library/alpine 08:05:23 af6eaf76a39c: Already exists 08:05:23 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 08:05:23 Status: Downloaded newer image for alpine:3.17 08:05:23 ---> d74e625d9115 08:05:23 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 08:05:23 ---> Running in c1300673b160 08:05:23 Removing intermediate container c1300673b160 08:05:23 ---> 1d895a4739d3 08:05:23 Step 13/22 : RUN apk add --update --no-cache dumb-init 08:05:23 ---> Running in 5932fd76b14b 08:05:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:05:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:05:23 (1/1) Installing dumb-init (1.2.5-r2) 08:05:23 Executing busybox-1.35.0-r29.trigger 08:05:23 OK: 8 MiB in 16 packages 08:05:23 Removing intermediate container 5932fd76b14b 08:05:23 ---> 4b1c0ea3a18b 08:05:23 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 08:05:25 ---> 0beb7b468e51 08:05:25 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 08:05:25 ---> c8ed9a04095d 08:05:25 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:05:25 ---> a3651fce9cb1 08:05:25 Step 17/22 : EXPOSE 59901 08:05:25 ---> Running in 23f5a7b757d8 08:05:26 Removing intermediate container 23f5a7b757d8 08:05:26 ---> 98b21a035093 08:05:26 Step 18/22 : ENTRYPOINT ["/device-modbus"] 08:05:26 ---> Running in 87fcd3104807 08:05:26 Removing intermediate container 87fcd3104807 08:05:26 ---> 2a7548675b79 08:05:26 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:05:26 ---> Running in 6b39a2eaa52d 08:05:26 Removing intermediate container 6b39a2eaa52d 08:05:26 ---> 03ae5a9fe79b 08:05:26 Step 20/22 : LABEL arch=arm64 08:05:26 ---> Running in 2bf5c15030cd 08:05:26 Removing intermediate container 2bf5c15030cd 08:05:26 ---> 4223a82ae25a 08:05:26 Step 21/22 : LABEL git_sha=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 08:05:26 ---> Running in 21c718953f90 08:05:27 Removing intermediate container 21c718953f90 08:05:27 ---> 2a5eb49af123 08:05:27 Step 22/22 : LABEL version=0.0.0 08:05:27 ---> Running in 082bed2f8b62 08:05:27 Removing intermediate container 082bed2f8b62 08:05:27 ---> 2594d1b4193b 08:05:27 [Warning] One or more build-args [ARCH] were not consumed 08:05:27 Successfully built 2594d1b4193b 08:05:27 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 08:05:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:05:28 08:05:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:05:28 arm64: Pulling from edgex-lftools-log-publisher 08:05:28 8998bd30e6a1: Pulling fs layer 08:05:28 04944245beec: Pulling fs layer 08:05:28 699f458cf7ca: Pulling fs layer 08:05:28 765212b225bb: Pulling fs layer 08:05:28 f23df028b6ca: Pulling fs layer 08:05:28 d65c8cfc05b1: Pulling fs layer 08:05:28 2437ff75d9bd: Pulling fs layer 08:05:28 f23df028b6ca: Waiting 08:05:28 d65c8cfc05b1: Waiting 08:05:28 2437ff75d9bd: Waiting 08:05:28 765212b225bb: Waiting 08:05:29 04944245beec: Verifying Checksum 08:05:29 04944245beec: Download complete 08:05:29 765212b225bb: Verifying Checksum 08:05:29 765212b225bb: Download complete 08:05:29 f23df028b6ca: Verifying Checksum 08:05:29 f23df028b6ca: Download complete 08:05:29 d65c8cfc05b1: Verifying Checksum 08:05:29 d65c8cfc05b1: Download complete 08:05:29 699f458cf7ca: Verifying Checksum 08:05:29 699f458cf7ca: Download complete 08:05:29 8998bd30e6a1: Verifying Checksum 08:05:29 8998bd30e6a1: Download complete 08:05:31 2437ff75d9bd: Verifying Checksum 08:05:31 2437ff75d9bd: Download complete 08:05:33 8998bd30e6a1: Pull complete 08:05:33 04944245beec: Pull complete 08:05:35 699f458cf7ca: Pull complete 08:05:35 765212b225bb: Pull complete 08:05:35 f23df028b6ca: Pull complete 08:05:36 d65c8cfc05b1: Pull complete 08:05:51 2437ff75d9bd: Pull complete 08:05:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:05:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:05:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:51 prd-ubuntu20.04-docker-arm64-4c-16g-5683 does not seem to be running inside a container 08:05:51 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:05:53 $ docker top 2bfdb77de4d18e2e94151638ad1d23246aa63471e1c67d772342b0e51524444f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:54 ---> job-cost.sh 08:05:54 lf-activate-venv: SKIPPING 08:05:54 INFO: No Stack... 08:05:55 INFO: Retrieving Pricing Info for: v3-standard-4 08:05:56 INFO: Archiving Costs [Pipeline] sh 08:05:56 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 08:05:56 + cut -d, -f6 [Pipeline] lock 08:05:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] 08:05:56 Resource [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] did not exist. Created. 08:05:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:05:57 /w/workspace/device-modbus-go/1@tmp/durable-6e294693/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:05:57 + echo total: 0.10999999940395355 [Pipeline] stash 08:05:57 Warning: overwriting stash ‘stack-cost’ 08:05:57 Stashed 1 file(s) [Pipeline] } 08:05:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-443-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:05:57 $ docker stop --time=1 2bfdb77de4d18e2e94151638ad1d23246aa63471e1c67d772342b0e51524444f 08:05:59 $ docker rm -f --volumes 2bfdb77de4d18e2e94151638ad1d23246aa63471e1c67d772342b0e51524444f [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 08:06:00 provisioning config files... 08:06:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/config10322718743465007120tmp [Pipeline] { [Pipeline] sh 08:06:00 + set +x 08:06:00 + curl -s https://codecov.io/bash 08:06:00 + bash -s -- 08:06:00 08:06:00 _____ _ 08:06:00 / ____| | | 08:06:00 | | ___ __| | ___ ___ _____ __ 08:06:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:06:00 | |___| (_) | (_| | __/ (_| (_) \ V / 08:06:00 \_____\___/ \__,_|\___|\___\___/ \_/ 08:06:00 Bash-1.0.6 08:06:00 08:06:00 08:06:00 ==> git version 2.25.1 found 08:06:00 ==> 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 08:06:00 Release-Date: 2020-01-08 08:06:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:06:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:06:00 ==> Jenkins CI detected. 08:06:00 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-443 08:06:00 project root: . 08:06:00 --> token set from env 08:06:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:06:00 ==> Running gcov in . (disable via -X gcov) 08:06:00 ==> Python coveragepy not found 08:06:00 ==> Searching for coverage reports in: 08:06:00 + . 08:06:00 -> Found 1 reports 08:06:00 ==> Detecting git/mercurial file structure 08:06:00 ==> Reading reports 08:06:00 + ./coverage.out bytes=23739 08:06:00 ==> Appending adjustments 08:06:00 https://docs.codecov.io/docs/fixing-reports 08:06:00 + Found adjustments 08:06:00 ==> Gzipping contents 08:06:00 4.0K /tmp/codecov.FOqz4x.gz 08:06:00 ==> Uploading reports 08:06:00 url: https://codecov.io 08:06:00 query: branch=PR-443&commit=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=443&job=&cmd_args= 08:06:00 -> Pinging Codecov 08:06:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-443&commit=261bb0a70bf27f06329605fe99ab4ac7d03f2ba9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=443&job=&cmd_args= 08:06:01 -> Uploading to 08:06:01 https://storage.googleapis.com/codecov/v4/raw/2023-03-24/55DBCA73C666E3227836607328DD7E49/261bb0a70bf27f06329605fe99ab4ac7d03f2ba9/0038fb30-dca7-4e32-8871-0eb939e20899.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T080600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3400549a716129c5aa00bb2b2fad64fc9b5a929e30264400a4baced8198a3eeb 08:06:01 % Total % Received % Xferd Average Speed Time Time Time Current 08:06:01 Dload Upload Total Spent Left Speed 08:06:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3902 0 0 100 3902 0 14451 --:--:-- --:--:-- --:--:-- 14451 08:06:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/261bb0a70bf27f06329605fe99ab4ac7d03f2ba9 [Pipeline] } 08:06:01 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 08:06:03 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-443/archives ] 08:06:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-443/archives 08:06:03 total 16 08:06:03 drwxr-xr-x 3 root root 4096 Mar 24 07:57 . 08:06:03 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 07:57 .. 08:06:03 drwxr-xr-x 2 root root 4096 Mar 24 07:57 cost 08:06:03 -rw-r--r-- 1 root root 88 Mar 24 07:57 cost.csv 08:06:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-443/archives 08:06:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-443/archives 08:06:03 total 16 08:06:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 07:57 . 08:06:03 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 07:57 .. 08:06:03 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 07:57 cost 08:06:03 -rw-r--r-- 1 jenkins jenkins 88 Mar 24 07:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:06:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:06:04 ---> package-listing.sh 08:06:04 ++ facter osfamily 08:06:04 ++ tr '[:upper:]' '[:lower:]' 08:06:04 + OS_FAMILY=debian 08:06:04 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-443 08:06:04 + START_PACKAGES=/tmp/packages_start.txt 08:06:04 + END_PACKAGES=/tmp/packages_end.txt 08:06:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:06:04 + PACKAGES=/tmp/packages_start.txt 08:06:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-443 ']' 08:06:04 + PACKAGES=/tmp/packages_end.txt 08:06:04 + case "${OS_FAMILY}" in 08:06:04 + dpkg -l 08:06:04 + grep '^ii' 08:06:04 + '[' -f /tmp/packages_start.txt ']' 08:06:04 + '[' -f /tmp/packages_end.txt ']' 08:06:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:06:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-443 ']' 08:06:04 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-443/archives/ 08:06:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-443/archives/ [Pipeline] echo 08:06:04 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-443/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:06:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:06:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:05 prd-ubuntu20.04-docker-8c-8g-5682 does not seem to be running inside a container 08:06:05 $ 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-443/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-443 -v /w/workspace/xfoundry_device-modbus-go_PR-443:/w/workspace/xfoundry_device-modbus-go_PR-443:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-443@tmp:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:06:05 $ docker top eee8484e6ddc7aefb8a1ed6c5863ffc32ac74acb593a817270cf2327068495e4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:06:06 + touch /tmp/pre-build-complete [Pipeline] sh 08:06:06 + mkdir -p /var/log/sysstat [Pipeline] sh 08:06:06 + ls /var/log/sa-host 08:06:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:06:07 provisioning config files... 08:06:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-443@tmp/config2154685530630075440tmp [Pipeline] { [Pipeline] echo 08:06:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:06:07 ---> create-netrc.sh [Pipeline] } 08:06:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:06:07 ---> python-tools-install.sh [Pipeline] echo 08:06:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:06:08 ---> sudo-logs.sh 08:06:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:06:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:06:08 ---> job-cost.sh 08:06:08 lf-activate-venv: SKIPPING 08:06:08 DEBUG: total: 0.2199999988079071 08:06:08 INFO: Retrieving Stack Cost... 08:06:09 INFO: Retrieving Pricing Info for: v3-standard-8 08:06:09 INFO: Archiving Costs [Pipeline] echo 08:06:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:06:10 ---> logs-deploy.sh 08:06:10 lf-activate-venv: SKIPPING 08:06:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-443/1 08:06:10 INFO: archiving workspace using pattern(s): 08:06:11 Archives upload complete. 08:06:11 INFO: archiving logs to Nexus