Pull request #439 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec+82ff0da3d76fda56b8be828932abbd4e3fc098e3 (5e12ce51ff9aad4cc2cd205eb56d4851253a2ca5) 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-ssh14087696186753473576.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-ssh4846965603143604992.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-439/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-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4656663522046147931.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-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14045722535507355637.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-ssh11898341378245286206.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-439/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-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10339370307710396753.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-5126 in /w/workspace/xfoundry_device-modbus-go_PR-439 [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-439 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec Merge succeeded, producing 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec Checking out Revision 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec (PR-439) > 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/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec # 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 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:29 ========================================================= 05:58:29 EdgeX Global Pipelines Version Info 05:58:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:30 ------------------- 05:58:30 stable info: 05:58:30 ------------------- 05:58:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:30 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:58:30 Message: update stable to v1.0.245 05:58:31 ------------------- 05:58:31 experimental info: 05:58:31 ------------------- 05:58:31 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:31 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 05:58:31 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:58:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 05:58:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 05:58:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 05:58:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec [Pipeline] echo 05:58:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c8eaea [Pipeline] echo 05:58:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:33 provisioning config files... 05:58:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-439@tmp/config3775134355312302137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:33 ---> docker-login.sh 05:58:33 nexus3.edgexfoundry.org:10001 05:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:34 Configure a credential helper to remove this warning. See 05:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:34 05:58:34 Login Succeeded 05:58:34 nexus3.edgexfoundry.org:10002 05:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:34 Configure a credential helper to remove this warning. See 05:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:34 05:58:34 Login Succeeded 05:58:34 nexus3.edgexfoundry.org:10003 05:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:34 Configure a credential helper to remove this warning. See 05:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:34 05:58:34 Login Succeeded 05:58:34 nexus3.edgexfoundry.org:10004 05:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:34 Configure a credential helper to remove this warning. See 05:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:34 05:58:34 Login Succeeded 05:58:34 docker.io 05:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:34 Configure a credential helper to remove this warning. See 05:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:34 05:58:34 Login Succeeded 05:58:34 ---> docker-login.sh ends [Pipeline] } 05:58:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:58:35 + git rev-list -1 --merges 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec~1..5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec [Pipeline] echo 05:58:35 -----------> git rev-list -1 --merges 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec~1..5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec [false] [Pipeline] sh 05:58:35 + git log --format=format:%s -1 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec [Pipeline] echo 05:58:35 ========================================================= 05:58:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:36 + git log --format=format:%s -1 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec [Pipeline] echo 05:58:36 [semverPrep] GIT_COMMIT: 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:58:36 [semverPrep] This is not a build commit. [Pipeline] sh 05:58:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:36 + grep -v github /etc/ssh/ssh_known_hosts 05:58:36 + [ -e /tmp/ssh_known_hosts ] 05:58:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:58:36 + sudo tee -a /etc/ssh/ssh_known_hosts 05:58:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:36 05:58:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:37 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:37 b85a868b505f: Pulling fs layer 05:58:37 e2be974225ed: Pulling fs layer 05:58:37 339a4e72a1f5: Pulling fs layer 05:58:37 988bab9f4d93: Pulling fs layer 05:58:37 1469e6f7b9e6: Pulling fs layer 05:58:37 eaf3925da568: Pulling fs layer 05:58:37 bab4dde63d76: Pulling fs layer 05:58:37 bde34c3a00c8: Pulling fs layer 05:58:37 b352a97aabf1: Pulling fs layer 05:58:37 4872d77fe225: Pulling fs layer 05:58:37 5851b861e8e6: Pulling fs layer 05:58:37 bab4dde63d76: Waiting 05:58:37 1469e6f7b9e6: Waiting 05:58:37 eaf3925da568: Waiting 05:58:37 5851b861e8e6: Waiting 05:58:37 988bab9f4d93: Waiting 05:58:37 bde34c3a00c8: Waiting 05:58:37 b352a97aabf1: Waiting 05:58:37 4872d77fe225: Waiting 05:58:37 e2be974225ed: Download complete 05:58:37 988bab9f4d93: Verifying Checksum 05:58:37 988bab9f4d93: Download complete 05:58:37 1469e6f7b9e6: Verifying Checksum 05:58:37 1469e6f7b9e6: Download complete 05:58:37 eaf3925da568: Verifying Checksum 05:58:37 eaf3925da568: Download complete 05:58:37 339a4e72a1f5: Verifying Checksum 05:58:37 339a4e72a1f5: Download complete 05:58:37 b352a97aabf1: Download complete 05:58:37 4872d77fe225: Verifying Checksum 05:58:37 4872d77fe225: Download complete 05:58:37 5851b861e8e6: Verifying Checksum 05:58:37 b85a868b505f: Verifying Checksum 05:58:37 b85a868b505f: Download complete 05:58:37 bab4dde63d76: Verifying Checksum 05:58:37 bab4dde63d76: Download complete 05:58:38 b85a868b505f: Pull complete 05:58:38 e2be974225ed: Pull complete 05:58:39 339a4e72a1f5: Pull complete 05:58:39 988bab9f4d93: Pull complete 05:58:39 1469e6f7b9e6: Pull complete 05:58:39 eaf3925da568: Pull complete 05:58:41 bab4dde63d76: Pull complete 05:58:41 bde34c3a00c8: Pull complete 05:58:41 b352a97aabf1: Pull complete 05:58:41 4872d77fe225: Pull complete 05:58:42 5851b861e8e6: Pull complete 05:58:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:42 prd-ubuntu20.04-docker-8c-8g-5126 does not seem to be running inside a container 05:58:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-439 -v /w/workspace/xfoundry_device-modbus-go_PR-439:/w/workspace/xfoundry_device-modbus-go_PR-439:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-439@tmp:/w/workspace/xfoundry_device-modbus-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:45 $ docker top b630d267abdf5ad3368866e71de446d35c3a614006d13b6517d229fa2bbb70aa -eo pid,comm 05:58:45 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). 05:58:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:45 [ssh-agent] Looking for ssh-agent implementation... 05:58:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:45 $ docker exec b630d267abdf5ad3368866e71de446d35c3a614006d13b6517d229fa2bbb70aa ssh-agent 05:58:46 SSH_AUTH_SOCK=/tmp/ssh-Mx2jindeiOrw/agent.32 05:58:46 SSH_AGENT_PID=38 05:58:46 Running ssh-add (command line suppressed) 05:58:46 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-439@tmp/private_key_9838941075399786265.key (/w/workspace/xfoundry_device-modbus-go_PR-439@tmp/private_key_9838941075399786265.key) 05:58:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:46 + git tag --points-at HEAD [Pipeline] } 05:58:46 $ docker exec --env ******** --env ******** b630d267abdf5ad3368866e71de446d35c3a614006d13b6517d229fa2bbb70aa ssh-agent -k 05:58:46 unset SSH_AUTH_SOCK; 05:58:46 unset SSH_AGENT_PID; 05:58:46 echo Agent pid 38 killed; 05:58:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:46 [ssh-agent] Looking for ssh-agent implementation... 05:58:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:46 $ docker exec b630d267abdf5ad3368866e71de446d35c3a614006d13b6517d229fa2bbb70aa ssh-agent 05:58:47 SSH_AUTH_SOCK=/tmp/ssh-AEV6vesWBSQp/agent.70 05:58:47 SSH_AGENT_PID=76 05:58:47 Running ssh-add (command line suppressed) 05:58:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-439@tmp/private_key_7638845073671224743.key (/w/workspace/xfoundry_device-modbus-go_PR-439@tmp/private_key_7638845073671224743.key) 05:58:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:47 + git semver init 05:58:47 2023-03-22 05:58:47,728 [run_init] DEBUG init version:0.0.0 force:False 05:58:47 2023-03-22 05:58:47,729 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-439/.semver 05:58:47 2023-03-22 05:58:47,729 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-439/.semver 05:58:47 2023-03-22 05:58:47,729 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-439/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-439, universal_newlines=False, shell=None, istream=None) 05:58:48 2023-03-22 05:58:48,518 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-439/.git/info/exclude 05:58:48 2023-03-22 05:58:48,518 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-439/.semver/PR-439 with force:False 05:58:48 2023-03-22 05:58:48,518 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-439/.semver/PR-439 05:58:48 2023-03-22 05:58:48,523 [execute] INFO git cat-file --batch-check 05:58:48 2023-03-22 05:58:48,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-439/.semver, universal_newlines=False, shell=None, istream=) 05:58:48 2023-03-22 05:58:48,529 [execute] INFO git cat-file --batch 05:58:48 2023-03-22 05:58:48,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-439/.semver, universal_newlines=False, shell=None, istream=) 05:58:48 2023-03-22 05:58:48,534 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-439/.semver/PR-439 05:58:48 0.0.0 [Pipeline] } 05:58:48 $ docker exec --env ******** --env ******** b630d267abdf5ad3368866e71de446d35c3a614006d13b6517d229fa2bbb70aa ssh-agent -k 05:58:48 unset SSH_AUTH_SOCK; 05:58:48 unset SSH_AGENT_PID; 05:58:48 echo Agent pid 76 killed; 05:58:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:49 + git semver [Pipeline] } 05:58:49 $ docker stop --time=1 b630d267abdf5ad3368866e71de446d35c3a614006d13b6517d229fa2bbb70aa 05:58:50 $ docker rm -f --volumes b630d267abdf5ad3368866e71de446d35c3a614006d13b6517d229fa2bbb70aa [Pipeline] // withDockerContainer [Pipeline] sh 05:58:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:51 Stashed 1 file(s) [Pipeline] echo 05:58:51 [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 05:58:52 provisioning config files... 05:58:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-439@tmp/config8170564040179212153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:52 ---> docker-login.sh 05:58:52 nexus3.edgexfoundry.org:10001 05:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:52 Configure a credential helper to remove this warning. See 05:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:52 05:58:52 Login Succeeded 05:58:52 nexus3.edgexfoundry.org:10002 05:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:52 Configure a credential helper to remove this warning. See 05:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:52 05:58:52 Login Succeeded 05:58:52 nexus3.edgexfoundry.org:10003 05:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:52 Configure a credential helper to remove this warning. See 05:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:52 05:58:52 Login Succeeded 05:58:52 nexus3.edgexfoundry.org:10004 05:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:52 Configure a credential helper to remove this warning. See 05:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:52 05:58:52 Login Succeeded 05:58:52 docker.io 05:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:53 Configure a credential helper to remove this warning. See 05:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:53 05:58:53 Login Succeeded 05:58:53 ---> docker-login.sh ends [Pipeline] } 05:58:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:53 ========================================================= 05:58:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:58:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:53 + 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 . 05:58:53 Sending build context to Docker daemon 6.375MB 05:58:53 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:58:53 Step 2/10 : FROM ${BASE} AS builder 05:58:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:53 63b65145d645: Pulling fs layer 05:58:53 a2d21d5440eb: Pulling fs layer 05:58:53 935e6c44a52c: Pulling fs layer 05:58:53 94cc34f8dd06: Pulling fs layer 05:58:53 30dea6a524f1: Pulling fs layer 05:58:53 a2aff8979fd8: Pulling fs layer 05:58:53 6808be2612f2: Pulling fs layer 05:58:53 f25807f1079a: Pulling fs layer 05:58:53 30dea6a524f1: Waiting 05:58:53 a2aff8979fd8: Waiting 05:58:53 6808be2612f2: Waiting 05:58:53 f25807f1079a: Waiting 05:58:53 94cc34f8dd06: Waiting 05:58:53 a2d21d5440eb: Download complete 05:58:54 94cc34f8dd06: Verifying Checksum 05:58:54 94cc34f8dd06: Download complete 05:58:54 30dea6a524f1: Verifying Checksum 05:58:54 30dea6a524f1: Download complete 05:58:54 63b65145d645: Verifying Checksum 05:58:54 63b65145d645: Download complete 05:58:54 a2aff8979fd8: Verifying Checksum 05:58:54 a2aff8979fd8: Download complete 05:58:54 63b65145d645: Pull complete 05:58:54 a2d21d5440eb: Pull complete 05:58:54 f25807f1079a: Verifying Checksum 05:58:54 f25807f1079a: Download complete 05:58:54 935e6c44a52c: Verifying Checksum 05:58:54 935e6c44a52c: Download complete 05:58:55 6808be2612f2: Verifying Checksum 05:58:55 6808be2612f2: Download complete 05:58:58 935e6c44a52c: Pull complete 05:58:58 94cc34f8dd06: Pull complete 05:58:58 30dea6a524f1: Pull complete 05:58:58 a2aff8979fd8: Pull complete 05:59:01 6808be2612f2: Pull complete 05:59:02 f25807f1079a: Pull complete 05:59:02 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:59:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:59:02 ---> 3b553350e43f 05:59:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:59:07 Still waiting to schedule task 05:59:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:59:07 ---> Running in e9a6ba927df4 05:59:07 Removing intermediate container e9a6ba927df4 05:59:07 ---> a79dec76e4bc 05:59:07 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:07 ---> Running in 7614437f3a89 05:59:07 Removing intermediate container 7614437f3a89 05:59:07 ---> 4e7ab04e87a9 05:59:07 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:59:07 ---> Running in 11a3ec5fbbec 05:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:07 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:59:07 (2/8) Installing libedit (20221030.3.1-r0) 05:59:07 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:59:07 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:59:07 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:59:07 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:59:07 (7/8) Installing openssh-server (9.1_p1-r2) 05:59:07 (8/8) Installing openssh (9.1_p1-r2) 05:59:07 Executing busybox-1.35.0-r29.trigger 05:59:07 OK: 270 MiB in 61 packages 05:59:08 Removing intermediate container 11a3ec5fbbec 05:59:08 ---> b8b282390379 05:59:08 Step 6/10 : WORKDIR /device-modbus-go 05:59:08 ---> Running in 50efa07e67c2 05:59:08 Removing intermediate container 50efa07e67c2 05:59:08 ---> 83c86a3a8387 05:59:08 Step 7/10 : COPY go.mod vendor* ./ 05:59:08 ---> cc5e2bf968c9 05:59:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:08 ---> Running in 137c22725054 05:59:46 Removing intermediate container 137c22725054 05:59:46 ---> c78bfa976ada 05:59:46 Step 9/10 : COPY . . 05:59:46 ---> 01ab7b20b121 05:59:46 Step 10/10 : RUN ${MAKE} 05:59:46 ---> Running in f216e29ed9fe 05:59:46 noop 05:59:46 Removing intermediate container f216e29ed9fe 05:59:46 ---> 7a1547f39453 05:59:46 Successfully built 7a1547f39453 05:59:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:47 + docker inspect -f . ci-base-image-x86_64 05:59:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:47 prd-ubuntu20.04-docker-8c-8g-5126 does not seem to be running inside a container 05:59:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-439 -v /w/workspace/xfoundry_device-modbus-go_PR-439:/w/workspace/xfoundry_device-modbus-go_PR-439:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-439@tmp:/w/workspace/xfoundry_device-modbus-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:47 $ docker top 4cf6aae10cbe0bf804a5e3b0f9eb642625cafaa9160447daa6b4d351f90d0ccd -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:48 + go version 05:59:48 go version go1.20.2 linux/amd64 [Pipeline] } 05:59:48 $ docker stop --time=1 4cf6aae10cbe0bf804a5e3b0f9eb642625cafaa9160447daa6b4d351f90d0ccd 05:59:49 $ docker rm -f --volumes 4cf6aae10cbe0bf804a5e3b0f9eb642625cafaa9160447daa6b4d351f90d0ccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:50 + docker inspect -f . ci-base-image-x86_64 05:59:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:50 prd-ubuntu20.04-docker-8c-8g-5126 does not seem to be running inside a container 05:59:50 $ 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-439 -v /w/workspace/xfoundry_device-modbus-go_PR-439:/w/workspace/xfoundry_device-modbus-go_PR-439:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-439@tmp:/w/workspace/xfoundry_device-modbus-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:50 $ docker top 55dd4ac995f26bb493a8d03801c1bf9e2e90792703b04143de4e77707b4389d1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:51 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-439 [Pipeline] fileExists [Pipeline] sh 05:59:51 + make test 05:59:51 go test ./... -coverprofile=coverage.out 05:59:56 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:00:07 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:00:07 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 48.0% of statements 06:00:12 go vet ./... 06:00:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:15 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:00:15 $ docker stop --time=1 55dd4ac995f26bb493a8d03801c1bf9e2e90792703b04143de4e77707b4389d1 06:00:19 $ docker rm -f --volumes 55dd4ac995f26bb493a8d03801c1bf9e2e90792703b04143de4e77707b4389d1 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:00:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:20 + ls -al . 06:00:20 total 180 06:00:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 05:59 . 06:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 05:58 .. 06:00:20 -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 05:58 .dockerignore 06:00:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 05:58 .git 06:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 05:58 .github 06:00:20 -rw-rw-r-- 1 jenkins jenkins 331 Mar 22 05:58 .gitignore 06:00:20 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 05:58 .golangci.yml 06:00:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 05:58 .semver 06:00:20 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 22 05:58 Attribution.txt 06:00:20 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 22 05:58 CHANGELOG.md 06:00:20 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 22 05:58 Dockerfile 06:00:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 05:58 GOVERNANCE.md 06:00:20 -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 05:58 Jenkinsfile 06:00:20 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 05:58 LICENSE 06:00:20 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 22 05:58 Makefile 06:00:20 -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 05:58 OWNERS.md 06:00:20 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 22 05:58 README.md 06:00:20 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 05:58 VERSION 06:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 05:58 bin 06:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 05:58 cmd 06:00:20 -rw-r--r-- 1 jenkins jenkins 23736 Mar 22 06:00 coverage.out 06:00:20 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 22 05:58 go.mod 06:00:20 -rw-rw-r-- 1 jenkins jenkins 31668 Mar 22 05:58 go.sum 06:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 05:58 internal 06:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 05:58 simulator 06:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 05:58 snap 06:00:20 -rw-rw-r-- 1 jenkins jenkins 229 Mar 22 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:21 + 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=5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec --label arch=amd64 --label version=0.0.0 . 06:00:21 Sending build context to Docker daemon 6.4MB 06:00:21 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:00:21 Step 2/22 : FROM ${BASE} AS builder 06:00:21 ---> 7a1547f39453 06:00:21 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:00:21 ---> Running in 379b1f47d304 06:00:21 Removing intermediate container 379b1f47d304 06:00:21 ---> d69e847c6464 06:00:21 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:21 ---> Running in 5828e6128ca1 06:00:21 Removing intermediate container 5828e6128ca1 06:00:21 ---> 4ccf5b77fd4b 06:00:21 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:00:21 ---> Running in 6a81d5b02ceb 06:00:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:22 OK: 270 MiB in 61 packages 06:00:22 Removing intermediate container 6a81d5b02ceb 06:00:22 ---> 333bca1c339e 06:00:22 Step 6/22 : WORKDIR /device-modbus-go 06:00:22 ---> Running in 16f5d8ddc1a5 06:00:22 Removing intermediate container 16f5d8ddc1a5 06:00:22 ---> 13b4c0bac16c 06:00:22 Step 7/22 : COPY go.mod vendor* ./ 06:00:22 ---> 976521655547 06:00:22 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:22 ---> Running in ea9417622e38 06:00:23 Removing intermediate container ea9417622e38 06:00:23 ---> 933502934948 06:00:23 Step 9/22 : COPY . . 06:00:24 ---> ea3fb94fd354 06:00:24 Step 10/22 : RUN ${MAKE} 06:00:24 ---> Running in f3b4a1eebb05 06:00:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:00:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5132 in /w/workspace/xfoundry_device-modbus-go_PR-439 [Pipeline] { [Pipeline] ws 06:00:35 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:00:35 Selected Git installation does not exist. Using Default 06:00:35 The recommended git tool is: NONE 06:00:41 using credential edgex-jenkins-ssh 06:00:41 Cloning the remote Git repository 06:00:42 Removing intermediate container f3b4a1eebb05 06:00:42 ---> 145291bf7895 06:00:42 Step 11/22 : FROM alpine:3.17 06:00:42 3.17: Pulling from library/alpine 06:00:42 63b65145d645: Already exists 06:00:42 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:00:42 Status: Downloaded newer image for alpine:3.17 06:00:42 ---> b2aa39c304c2 06:00:42 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:00:42 ---> Running in cac4bdd25d46 06:00:42 Removing intermediate container cac4bdd25d46 06:00:42 ---> 90c19ef769ae 06:00:42 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:00:42 ---> Running in 7bde4594d0ce 06:00:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:00:42 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:00:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:00:42 > git --version # timeout=10 06:00:42 > git --version # 'git version 2.25.1' 06:00:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:43 (1/1) Installing dumb-init (1.2.5-r2) 06:00:43 Executing busybox-1.35.0-r29.trigger 06:00:43 OK: 7 MiB in 16 packages 06:00:43 Removing intermediate container 7bde4594d0ce 06:00:43 ---> 12cb1dfcebef 06:00:43 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:00:43 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:00:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:00:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:00:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:44 ---> d67120d46739 06:00:44 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:00:44 ---> d1ea37529952 06:00:44 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:00:44 Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec 06:00:44 ---> 78f3fcb3bf17 06:00:44 Step 17/22 : EXPOSE 59901 06:00:44 ---> Running in 5d9da3f80fcc 06:00:44 Removing intermediate container 5d9da3f80fcc 06:00:44 ---> cf6e624932b8 06:00:44 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:00:44 ---> Running in d5b125e90bf7 06:00:44 Removing intermediate container d5b125e90bf7 06:00:44 ---> 1adbd10f9ade 06:00:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:00:44 ---> Running in d087fc59dd1d 06:00:45 Merge succeeded, producing 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec 06:00:45 Checking out Revision 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec (PR-439) 06:00:45 Removing intermediate container d087fc59dd1d 06:00:45 ---> bcdecd8eaa19 06:00:45 Step 20/22 : LABEL arch=amd64 06:00:45 ---> Running in 20eb6bb6724e 06:00:45 Removing intermediate container 20eb6bb6724e 06:00:45 ---> 2d6c451583fb 06:00:45 Step 21/22 : LABEL git_sha=5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec 06:00:45 ---> Running in 8ec54f2d0654 06:00:45 Removing intermediate container 8ec54f2d0654 06:00:45 ---> 7cd8a15d2d03 06:00:45 Step 22/22 : LABEL version=0.0.0 06:00:45 ---> Running in 73825b4c89f1 06:00:45 Removing intermediate container 73825b4c89f1 06:00:45 ---> 0c3e32850e21 06:00:45 [Warning] One or more build-args [ARCH] were not consumed 06:00:45 Successfully built 0c3e32850e21 06:00:45 Successfully tagged device-modbus:latest [Pipeline] } 06:00:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 06:00:45 > git --version # timeout=10 06:00:45 > git --version # 'git version 2.25.1' 06:00:45 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] stage [Pipeline] { (Docker Push) 06:00:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:00:44 > git config core.sparsecheckout # timeout=10 06:00:44 > git checkout -f 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec # timeout=10 06:00:44 > git remote # timeout=10 06:00:44 > git config --get remote.origin.url # timeout=10 06:00:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:44 > git merge 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 06:00:45 > git rev-parse HEAD^{commit} # timeout=10 06:00:45 > git config core.sparsecheckout # timeout=10 06:00:45 > git checkout -f 5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec # timeout=10 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] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:46 06:00:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:00:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:00:46 Dload Upload Total Spent Left Speed 06:00:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 90432 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 06:00:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:46 latest: Pulling from edgex-lftools-log-publisher 06:00:46 5eb5b503b376: Pulling fs layer 06:00:46 5c69ac0246d0: Pulling fs layer 06:00:46 ec43610c2a17: Pulling fs layer 06:00:46 3a2ae6a8a46f: Pulling fs layer 06:00:46 33b1e0a273af: Pulling fs layer 06:00:46 5d3b04190fa2: Pulling fs layer 06:00:46 2f39f015ded8: Pulling fs layer 06:00:46 33b1e0a273af: Waiting 06:00:46 2f39f015ded8: Waiting 06:00:46 3a2ae6a8a46f: Waiting 06:00:46 5d3b04190fa2: Waiting 06:00:46 5c69ac0246d0: Verifying Checksum 06:00:46 5c69ac0246d0: Download complete 06:00:46 3a2ae6a8a46f: Verifying Checksum 06:00:46 3a2ae6a8a46f: Download complete [Pipeline] sh 06:00:47 33b1e0a273af: Verifying Checksum 06:00:47 33b1e0a273af: Download complete 06:00:47 ec43610c2a17: Verifying Checksum 06:00:47 ec43610c2a17: Download complete 06:00:47 5d3b04190fa2: Verifying Checksum 06:00:47 5d3b04190fa2: Download complete 06:00:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:00:47 5eb5b503b376: Verifying Checksum 06:00:47 5eb5b503b376: Download complete 06:00:47 + sudo tee /etc/docker/daemon.new 06:00:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:00:47 { 06:00:47 "registry-mirrors": [ 06:00:47 "https://nexus3.edgexfoundry.org:10001" 06:00:47 ], 06:00:47 "bip": "10.250.0.254/24", 06:00:47 "hosts": [ 06:00:47 "tcp://0.0.0.0:5555", 06:00:47 "unix:///var/run/docker.sock" 06:00:47 ], 06:00:47 "mtu": 1458, 06:00:47 "selinux-enabled": true, 06:00:47 "seccomp-profile": "/etc/docker/seccomp.json" 06:00:47 } [Pipeline] sh 06:00:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:00:48 2f39f015ded8: Download complete 06:00:48 + sudo service docker restart 06:00:48 5eb5b503b376: Pull complete 06:00:48 5c69ac0246d0: Pull complete 06:00:49 ec43610c2a17: Pull complete 06:00:49 3a2ae6a8a46f: Pull complete 06:00:49 33b1e0a273af: Pull complete 06:00:49 5d3b04190fa2: Pull complete 06:00:53 2f39f015ded8: Pull complete 06:00:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:00:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:53 prd-ubuntu20.04-docker-8c-8g-5126 does not seem to be running inside a container 06:00:54 $ 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-439 -v /w/workspace/xfoundry_device-modbus-go_PR-439:/w/workspace/xfoundry_device-modbus-go_PR-439:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-439@tmp:/w/workspace/xfoundry_device-modbus-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:00:58 $ docker top 348a7cc6ab6f250c68ac72489857c6e39f0855ce9382b527404025dfe9b672ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:58 ---> job-cost.sh 06:00:58 lf-activate-venv: SKIPPING 06:00:58 INFO: No Stack... 06:00:58 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:59 INFO: Archiving Costs [Pipeline] sh 06:00:59 + cat /w/workspace/xfoundry_device-modbus-go_PR-439/archives/cost.csv 06:00:59 + cut -d, -f6 [Pipeline] lock 06:00:59 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-439-1-stack-cost] 06:00:59 Resource [jenkins-edgexfoundry-device-modbus-go-PR-439-1-stack-cost] did not exist. Created. 06:00:59 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:59 + echo total: 0.2199999988079071 [Pipeline] stash 06:00:59 Stashed 1 file(s) [Pipeline] } 06:00:59 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:59 $ docker stop --time=1 348a7cc6ab6f250c68ac72489857c6e39f0855ce9382b527404025dfe9b672ad 06:01:01 $ docker rm -f --volumes 348a7cc6ab6f250c68ac72489857c6e39f0855ce9382b527404025dfe9b672ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:10 provisioning config files... 06:01:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config13745754738991749406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:11 ---> docker-login.sh 06:01:11 nexus3.edgexfoundry.org:10001 06:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:11 Configure a credential helper to remove this warning. See 06:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:11 06:01:11 Login Succeeded 06:01:11 nexus3.edgexfoundry.org:10002 06:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:11 Configure a credential helper to remove this warning. See 06:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:11 06:01:11 Login Succeeded 06:01:11 nexus3.edgexfoundry.org:10003 06:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:12 Configure a credential helper to remove this warning. See 06:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:12 06:01:12 Login Succeeded 06:01:12 nexus3.edgexfoundry.org:10004 06:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:12 Configure a credential helper to remove this warning. See 06:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:12 06:01:12 Login Succeeded 06:01:12 docker.io 06:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:13 Configure a credential helper to remove this warning. See 06:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:13 06:01:13 Login Succeeded 06:01:13 ---> docker-login.sh ends [Pipeline] } 06:01:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:13 ========================================================= 06:01:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:01:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:01:14 Sending build context to Docker daemon 3.327MB 06:01:14 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:01:14 Step 2/10 : FROM ${BASE} AS builder 06:01:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:01:15 af6eaf76a39c: Pulling fs layer 06:01:15 55522c791124: Pulling fs layer 06:01:15 ce5c4a1c91eb: Pulling fs layer 06:01:15 169dfbe0d373: Pulling fs layer 06:01:15 e1ff8fa3b103: Pulling fs layer 06:01:15 52ebb69f0ebf: Pulling fs layer 06:01:15 5abe8eddf0d5: Pulling fs layer 06:01:15 52ebb69f0ebf: Waiting 06:01:15 169dfbe0d373: Waiting 06:01:15 e1ff8fa3b103: Waiting 06:01:15 5abe8eddf0d5: Waiting 06:01:15 55522c791124: Download complete 06:01:15 169dfbe0d373: Verifying Checksum 06:01:15 169dfbe0d373: Download complete 06:01:15 e1ff8fa3b103: Verifying Checksum 06:01:15 e1ff8fa3b103: Download complete 06:01:15 af6eaf76a39c: Verifying Checksum 06:01:15 af6eaf76a39c: Download complete 06:01:16 af6eaf76a39c: Pull complete 06:01:16 5abe8eddf0d5: Verifying Checksum 06:01:16 5abe8eddf0d5: Download complete 06:01:17 55522c791124: Pull complete 06:01:18 ce5c4a1c91eb: Download complete 06:01:18 52ebb69f0ebf: Verifying Checksum 06:01:18 52ebb69f0ebf: Download complete 06:01:30 ce5c4a1c91eb: Pull complete 06:01:30 169dfbe0d373: Pull complete 06:01:30 e1ff8fa3b103: Pull complete 06:01:37 52ebb69f0ebf: Pull complete 06:01:38 5abe8eddf0d5: Pull complete 06:01:38 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:01:38 ---> 6cb57ee374ae 06:01:38 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:01:40 ---> Running in 8a6de3f7b73c 06:01:40 Removing intermediate container 8a6de3f7b73c 06:01:40 ---> 0cc6227cdc19 06:01:40 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:40 ---> Running in f6f17551389f 06:01:41 Removing intermediate container f6f17551389f 06:01:41 ---> 519268a828f3 06:01:41 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:01:41 ---> Running in 456abed30600 06:01:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:01:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:01:44 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:01:44 (2/8) Installing libedit (20221030.3.1-r0) 06:01:44 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:01:44 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:01:44 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:01:44 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:01:44 (7/8) Installing openssh-server (9.1_p1-r2) 06:01:44 (8/8) Installing openssh (9.1_p1-r2) 06:01:44 Executing busybox-1.35.0-r29.trigger 06:01:44 OK: 270 MiB in 61 packages 06:01:45 Removing intermediate container 456abed30600 06:01:45 ---> 62ef80a8f542 06:01:45 Step 6/10 : WORKDIR /device-modbus-go 06:01:45 ---> Running in 9b68e4acc16d 06:01:45 Removing intermediate container 9b68e4acc16d 06:01:45 ---> 94f9b8df4153 06:01:45 Step 7/10 : COPY go.mod vendor* ./ 06:01:48 ---> 4e5c2ceb05c6 06:01:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:48 ---> Running in 4515c34d4899 06:02:56 Removing intermediate container 4515c34d4899 06:02:56 ---> df34d314dc3b 06:02:56 Step 9/10 : COPY . . 06:02:56 ---> 08bcaae1e518 06:02:56 Step 10/10 : RUN ${MAKE} 06:02:56 ---> Running in efdc98fff0be 06:02:56 noop 06:02:56 Removing intermediate container efdc98fff0be 06:02:56 ---> eadc98cf33a2 06:02:56 Successfully built eadc98cf33a2 06:02:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:56 + docker inspect -f . ci-base-image-arm64 06:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:57 prd-ubuntu20.04-docker-arm64-4c-16g-5132 does not seem to be running inside a container 06:02:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:58 $ docker top 08c14fad71155235a0c20f76e72c409088270000df1fef8153e91fe4640fd703 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:59 + go version 06:02:59 go version go1.20.2 linux/arm64 [Pipeline] } 06:02:59 $ docker stop --time=1 08c14fad71155235a0c20f76e72c409088270000df1fef8153e91fe4640fd703 06:03:00 $ docker rm -f --volumes 08c14fad71155235a0c20f76e72c409088270000df1fef8153e91fe4640fd703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:01 + docker inspect -f . ci-base-image-arm64 06:03:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:02 prd-ubuntu20.04-docker-arm64-4c-16g-5132 does not seem to be running inside a container 06:03:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:03:03 $ docker top 003b837c1ca2911dce7505cec3f02d030769fbbef3652661306cd0b45d9e2cf4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:04 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:03:05 + make test 06:03:05 go test ./... -coverprofile=coverage.out 06:03:44 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:06:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:06:06 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 48.0% of statements 06:06:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:06:07 go vet ./... 06:06:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:06:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:06:39 ./bin/test-attribution-txt.sh [Pipeline] echo 06:06:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:06:39 $ docker stop --time=1 003b837c1ca2911dce7505cec3f02d030769fbbef3652661306cd0b45d9e2cf4 06:06:41 $ docker rm -f --volumes 003b837c1ca2911dce7505cec3f02d030769fbbef3652661306cd0b45d9e2cf4 [Pipeline] // withDockerContainer [Pipeline] sh 06:06:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:06:42 Warning: overwriting stash ‘coverage-report’ 06:06:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:06:44 + ls -al . 06:06:44 total 176 06:06:44 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 06:03 . 06:06:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 06:00 .. 06:06:44 -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 06:00 .dockerignore 06:06:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 06:00 .git 06:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 06:00 .github 06:06:44 -rw-rw-r-- 1 jenkins jenkins 331 Mar 22 06:00 .gitignore 06:06:44 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 06:00 .golangci.yml 06:06:44 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 22 06:00 Attribution.txt 06:06:44 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 22 06:00 CHANGELOG.md 06:06:44 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 22 06:00 Dockerfile 06:06:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 06:00 GOVERNANCE.md 06:06:44 -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 06:00 Jenkinsfile 06:06:44 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 06:00 LICENSE 06:06:44 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 22 06:00 Makefile 06:06:44 -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 06:00 OWNERS.md 06:06:44 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 22 06:00 README.md 06:06:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 05:58 VERSION 06:06:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 06:00 bin 06:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 06:00 cmd 06:06:44 -rw-r--r-- 1 jenkins jenkins 23736 Mar 22 06:06 coverage.out 06:06:44 -rw-rw-r-- 1 jenkins jenkins 3498 Mar 22 06:00 go.mod 06:06:44 -rw-rw-r-- 1 jenkins jenkins 31668 Mar 22 06:00 go.sum 06:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 06:00 internal 06:06:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 06:00 simulator 06:06:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 06:00 snap 06:06:44 -rw-rw-r-- 1 jenkins jenkins 229 Mar 22 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:44 + 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=5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec --label arch=arm64 --label version=0.0.0 . 06:06:44 Sending build context to Docker daemon 3.352MB 06:06:44 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:06:44 Step 2/22 : FROM ${BASE} AS builder 06:06:44 ---> eadc98cf33a2 06:06:44 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:06:45 ---> Running in a9ff74a63c9d 06:06:45 Removing intermediate container a9ff74a63c9d 06:06:45 ---> b697f026862e 06:06:45 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:45 ---> Running in 951baad78d01 06:06:45 Removing intermediate container 951baad78d01 06:06:45 ---> dd47a66c739a 06:06:45 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:06:45 ---> Running in 050b6d24182e 06:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:06:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:06:48 OK: 270 MiB in 61 packages 06:06:49 Removing intermediate container 050b6d24182e 06:06:49 ---> 1c790d2e7b51 06:06:49 Step 6/22 : WORKDIR /device-modbus-go 06:06:49 ---> Running in 57aa43eb3471 06:06:50 Removing intermediate container 57aa43eb3471 06:06:50 ---> 13e8396ac354 06:06:50 Step 7/22 : COPY go.mod vendor* ./ 06:06:54 ---> 1706111c8fb5 06:06:54 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:54 ---> Running in 0ec93e9960ae 06:06:56 Removing intermediate container 0ec93e9960ae 06:06:56 ---> b1f497b15d96 06:06:56 Step 9/22 : COPY . . 06:06:57 ---> d168728140c6 06:06:57 Step 10/22 : RUN ${MAKE} 06:06:57 ---> Running in 175c37b4ef02 06:06:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:09:50 Removing intermediate container 175c37b4ef02 06:09:50 ---> 873a3ee10a9a 06:09:50 Step 11/22 : FROM alpine:3.17 06:09:50 3.17: Pulling from library/alpine 06:09:50 af6eaf76a39c: Already exists 06:09:50 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:09:50 Status: Downloaded newer image for alpine:3.17 06:09:50 ---> d74e625d9115 06:09:50 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:09:50 ---> Running in 76fe1fbd16ad 06:09:50 Removing intermediate container 76fe1fbd16ad 06:09:50 ---> cf949d68643d 06:09:50 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:09:50 ---> Running in b1fe03a875c3 06:09:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:09:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:09:50 (1/1) Installing dumb-init (1.2.5-r2) 06:09:50 Executing busybox-1.35.0-r29.trigger 06:09:50 OK: 8 MiB in 16 packages 06:09:50 Removing intermediate container b1fe03a875c3 06:09:50 ---> 15ecf26afdeb 06:09:50 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:09:50 ---> 6eeb63527fa3 06:09:50 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:09:50 ---> 209feb97dc47 06:09:50 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:09:50 ---> a71a3b071a41 06:09:50 Step 17/22 : EXPOSE 59901 06:09:50 ---> Running in 655c16cf2ba9 06:09:50 Removing intermediate container 655c16cf2ba9 06:09:50 ---> afdc6bdd130e 06:09:50 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:09:50 ---> Running in 3e909daef1e3 06:09:50 Removing intermediate container 3e909daef1e3 06:09:50 ---> 13ea7a00b5ed 06:09:50 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:09:50 ---> Running in e2bf794dc398 06:09:50 Removing intermediate container e2bf794dc398 06:09:50 ---> 188fbe187042 06:09:50 Step 20/22 : LABEL arch=arm64 06:09:50 ---> Running in bfff90163de0 06:09:50 Removing intermediate container bfff90163de0 06:09:50 ---> 5f2fb53a685b 06:09:50 Step 21/22 : LABEL git_sha=5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec 06:09:50 ---> Running in 65af3632f68d 06:09:51 Removing intermediate container 65af3632f68d 06:09:51 ---> 6322cd984a4d 06:09:51 Step 22/22 : LABEL version=0.0.0 06:09:51 ---> Running in c5c4fab7027a 06:09:51 Removing intermediate container c5c4fab7027a 06:09:51 ---> 951be800e00d 06:09:51 [Warning] One or more build-args [ARCH] were not consumed 06:09:51 Successfully built 951be800e00d 06:09:51 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:52 06:09:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:53 arm64: Pulling from edgex-lftools-log-publisher 06:09:53 8998bd30e6a1: Pulling fs layer 06:09:53 04944245beec: Pulling fs layer 06:09:53 699f458cf7ca: Pulling fs layer 06:09:53 765212b225bb: Pulling fs layer 06:09:53 f23df028b6ca: Pulling fs layer 06:09:53 d65c8cfc05b1: Pulling fs layer 06:09:53 2437ff75d9bd: Pulling fs layer 06:09:53 765212b225bb: Waiting 06:09:53 d65c8cfc05b1: Waiting 06:09:53 f23df028b6ca: Waiting 06:09:53 2437ff75d9bd: Waiting 06:09:53 04944245beec: Verifying Checksum 06:09:53 04944245beec: Download complete 06:09:53 765212b225bb: Verifying Checksum 06:09:53 765212b225bb: Download complete 06:09:53 f23df028b6ca: Verifying Checksum 06:09:53 f23df028b6ca: Download complete 06:09:53 d65c8cfc05b1: Verifying Checksum 06:09:53 d65c8cfc05b1: Download complete 06:09:53 699f458cf7ca: Verifying Checksum 06:09:53 699f458cf7ca: Download complete 06:09:53 8998bd30e6a1: Verifying Checksum 06:09:56 2437ff75d9bd: Verifying Checksum 06:09:56 2437ff75d9bd: Download complete 06:09:58 8998bd30e6a1: Pull complete 06:09:58 04944245beec: Pull complete 06:10:00 699f458cf7ca: Pull complete 06:10:00 765212b225bb: Pull complete 06:10:01 f23df028b6ca: Pull complete 06:10:01 d65c8cfc05b1: Pull complete 06:10:16 2437ff75d9bd: Pull complete 06:10:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:10:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:16 prd-ubuntu20.04-docker-arm64-4c-16g-5132 does not seem to be running inside a container 06:10:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:10:19 $ docker top 75e9b971377c0f311fe37c164a881cc9896f6e75056d223dfca0d5e749a22422 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:20 ---> job-cost.sh 06:10:20 lf-activate-venv: SKIPPING 06:10:20 INFO: No Stack... 06:10:21 INFO: Retrieving Pricing Info for: v3-standard-4 06:10:22 INFO: Archiving Costs [Pipeline] sh 06:10:22 + cat+ /w/workspace/device-modbus-go/1/archives/cost.csv 06:10:22 cut -d, -f6 [Pipeline] lock 06:10:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-439-1-stack-cost] 06:10:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-439-1-stack-cost] did not exist. Created. 06:10:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:23 /w/workspace/device-modbus-go/1@tmp/durable-2b2c5a21/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:10:24 + echo total: 0.10999999940395355 [Pipeline] stash 06:10:24 Warning: overwriting stash ‘stack-cost’ 06:10:24 Stashed 1 file(s) [Pipeline] } 06:10:24 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:24 $ docker stop --time=1 75e9b971377c0f311fe37c164a881cc9896f6e75056d223dfca0d5e749a22422 06:10:25 $ docker rm -f --volumes 75e9b971377c0f311fe37c164a881cc9896f6e75056d223dfca0d5e749a22422 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:10:27 provisioning config files... 06:10:27 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-439@tmp/config7259719118289939148tmp [Pipeline] { [Pipeline] sh 06:10:27 + set +x 06:10:27 + curl -s https://codecov.io/bash 06:10:27 + bash -s -- 06:10:27 06:10:27 _____ _ 06:10:27 / ____| | | 06:10:27 | | ___ __| | ___ ___ _____ __ 06:10:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:10:27 | |___| (_) | (_| | __/ (_| (_) \ V / 06:10:27 \_____\___/ \__,_|\___|\___\___/ \_/ 06:10:27 Bash-1.0.6 06:10:27 06:10:27 06:10:27 ==> git version 2.25.1 found 06:10:27 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:10:27 Release-Date: 2020-01-08 06:10:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:10:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:10:27 ==> Jenkins CI detected. 06:10:27 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-439 06:10:27 project root: . 06:10:27 --> token set from env 06:10:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:10:27 ==> Running gcov in . (disable via -X gcov) 06:10:27 ==> Python coveragepy not found 06:10:27 ==> Searching for coverage reports in: 06:10:27 + . 06:10:27 -> Found 1 reports 06:10:27 ==> Detecting git/mercurial file structure 06:10:27 ==> Reading reports 06:10:28 + ./coverage.out bytes=23736 06:10:28 ==> Appending adjustments 06:10:28 https://docs.codecov.io/docs/fixing-reports 06:10:28 + Found adjustments 06:10:28 ==> Gzipping contents 06:10:28 4.0K /tmp/codecov.3oSzce.gz 06:10:28 ==> Uploading reports 06:10:28 url: https://codecov.io 06:10:28 query: branch=PR-439&commit=5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=439&job=&cmd_args= 06:10:28 -> Pinging Codecov 06:10:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-439&commit=5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=439&job=&cmd_args= 06:10:28 -> Uploading to 06:10:28 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/55DBCA73C666E3227836607328DD7E49/5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec/c1887fce-dd4e-4bfb-816a-2620b88a5153.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T061028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=024dc284f2109a8d1d5ce1e944f4ed6b112f2542f92ced2f4aafbae9ba651da6 06:10:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:10:28 Dload Upload Total Spent Left Speed 06:10:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 13911 --:--:-- --:--:-- --:--:-- 13960 06:10:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5c8eaea8c329dcd7326405f6d44fcc6f8e95dfec [Pipeline] } 06:10:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:10:30 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-439/archives ] 06:10:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-439/archives 06:10:30 total 16 06:10:30 drwxr-xr-x 3 root root 4096 Mar 22 06:00 . 06:10:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 06:00 .. 06:10:30 drwxr-xr-x 2 root root 4096 Mar 22 06:00 cost 06:10:30 -rw-r--r-- 1 root root 88 Mar 22 06:00 cost.csv 06:10:30 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-439/archives 06:10:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-439/archives 06:10:30 total 16 06:10:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 06:00 . 06:10:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 06:00 .. 06:10:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 06:00 cost 06:10:30 -rw-r--r-- 1 jenkins jenkins 88 Mar 22 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:10:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:10:31 ---> package-listing.sh 06:10:31 ++ facter osfamily 06:10:31 ++ tr '[:upper:]' '[:lower:]' 06:10:31 + OS_FAMILY=debian 06:10:31 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-439 06:10:31 + START_PACKAGES=/tmp/packages_start.txt 06:10:31 + END_PACKAGES=/tmp/packages_end.txt 06:10:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:10:31 + PACKAGES=/tmp/packages_start.txt 06:10:31 + '[' /w/workspace/xfoundry_device-modbus-go_PR-439 ']' 06:10:31 + PACKAGES=/tmp/packages_end.txt 06:10:31 + case "${OS_FAMILY}" in 06:10:31 + dpkg -l 06:10:31 + grep '^ii' 06:10:31 + '[' -f /tmp/packages_start.txt ']' 06:10:31 + '[' -f /tmp/packages_end.txt ']' 06:10:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:10:31 + '[' /w/workspace/xfoundry_device-modbus-go_PR-439 ']' 06:10:31 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-439/archives/ 06:10:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-439/archives/ [Pipeline] echo 06:10:32 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-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:10:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:33 prd-ubuntu20.04-docker-8c-8g-5126 does not seem to be running inside a container 06:10:33 $ 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-439/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-439 -v /w/workspace/xfoundry_device-modbus-go_PR-439:/w/workspace/xfoundry_device-modbus-go_PR-439:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-439@tmp:/w/workspace/xfoundry_device-modbus-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:10:33 $ docker top 6b06a870dff9a557ab3be91f7c6e26775ac81490ac74406fd1d9718ee4e2497b -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:33 + touch /tmp/pre-build-complete [Pipeline] sh 06:10:33 + mkdir -p /var/log/sysstat [Pipeline] sh 06:10:34 + ls /var/log/sa-host 06:10:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:34 provisioning config files... 06:10:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-439@tmp/config18420643477422100064tmp [Pipeline] { [Pipeline] echo 06:10:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:10:34 ---> create-netrc.sh [Pipeline] } 06:10:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:10:35 ---> python-tools-install.sh [Pipeline] echo 06:10:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:10:35 ---> sudo-logs.sh 06:10:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:10:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:10:36 ---> job-cost.sh 06:10:36 lf-activate-venv: SKIPPING 06:10:36 DEBUG: total: 0.2199999988079071 06:10:36 INFO: Retrieving Stack Cost... 06:10:36 INFO: Retrieving Pricing Info for: v3-standard-8 06:10:37 INFO: Archiving Costs [Pipeline] echo 06:10:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:10:37 ---> logs-deploy.sh 06:10:37 lf-activate-venv: SKIPPING 06:10:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-439/1 06:10:37 INFO: archiving workspace using pattern(s): 06:10:38 Archives upload complete. 06:10:38 INFO: archiving logs to Nexus