Pull request #496 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d74e536f6a797e5c7976cf71ba04f8f0a645cff9+f93217a48f66f916d77da41a80c6f59472f374e0 (49190140bc114f6599687d741f1319b578a0db75) 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-ssh8942212169234399382.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh12712904767333168224.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-496/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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8829766101785955727.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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17809140584160833349.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh6076985686120641987.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-496/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-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1566381285967545549.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-4982 in /w/workspace/xfoundry_device-modbus-go_PR-496 [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-496 # 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 f93217a48f66f916d77da41a80c6f59472f374e0 into PR head commit d74e536f6a797e5c7976cf71ba04f8f0a645cff9 Merge succeeded, producing d74e536f6a797e5c7976cf71ba04f8f0a645cff9 Checking out Revision d74e536f6a797e5c7976cf71ba04f8f0a645cff9 (PR-496) > 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/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d74e536f6a797e5c7976cf71ba04f8f0a645cff9 # 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 f93217a48f66f916d77da41a80c6f59472f374e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d74e536f6a797e5c7976cf71ba04f8f0a645cff9 # 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:12:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:12:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:12:40 ========================================================= 05:12:40 EdgeX Global Pipelines Version Info 05:12:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:12:41 ------------------- 05:12:41 stable info: 05:12:41 ------------------- 05:12:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:12:41 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:12:41 Message: update stable to v1.0.253 05:12:41 ------------------- 05:12:41 experimental info: 05:12:41 ------------------- 05:12:41 Commited By: **** collab-it+edgex@linuxfoundation.org 05:12:41 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:12:41 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:12:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:12:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo 05:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo 05:12:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo 05:12:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] echo 05:12:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d74e536 [Pipeline] echo 05:12:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:43 provisioning config files... 05:12:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/config5952316013251753872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:43 ---> docker-login.sh 05:12:43 nexus3.edgexfoundry.org:10001 05:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:43 Configure a credential helper to remove this warning. See 05:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:43 05:12:43 Login Succeeded 05:12:43 nexus3.edgexfoundry.org:10002 05:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:44 Configure a credential helper to remove this warning. See 05:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:44 05:12:44 Login Succeeded 05:12:44 nexus3.edgexfoundry.org:10003 05:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:44 Configure a credential helper to remove this warning. See 05:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:44 05:12:44 Login Succeeded 05:12:44 nexus3.edgexfoundry.org:10004 05:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:44 Configure a credential helper to remove this warning. See 05:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:44 05:12:44 Login Succeeded 05:12:44 docker.io 05:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:44 Configure a credential helper to remove this warning. See 05:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:44 05:12:44 Login Succeeded 05:12:44 ---> docker-login.sh ends [Pipeline] } 05:12:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:12:45 + git rev-list -1 --merges d74e536f6a797e5c7976cf71ba04f8f0a645cff9~1..d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] echo 05:12:45 -----------> git rev-list -1 --merges d74e536f6a797e5c7976cf71ba04f8f0a645cff9~1..d74e536f6a797e5c7976cf71ba04f8f0a645cff9 d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [false] [Pipeline] sh 05:12:45 + git log --format=format:%s -1 d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] echo 05:12:45 ========================================================= 05:12:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:12:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:46 + git log --format=format:%s -1 d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] echo 05:12:46 [semverPrep] GIT_COMMIT: d74e536f6a797e5c7976cf71ba04f8f0a645cff9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:12:46 [semverPrep] This is not a build commit. [Pipeline] sh 05:12:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:12:46 + grep -v github /etc/ssh/ssh_known_hosts 05:12:46 + [ -e /tmp/ssh_known_hosts ] 05:12:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:12:46 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:12:46 sudo tee -a /etc/ssh/ssh_known_hosts 05:12:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:47 05:12:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:47 0.1.4: Pulling from edgex-devops/py-git-semver 05:12:47 b85a868b505f: Pulling fs layer 05:12:47 e2be974225ed: Pulling fs layer 05:12:47 339a4e72a1f5: Pulling fs layer 05:12:47 988bab9f4d93: Pulling fs layer 05:12:47 1469e6f7b9e6: Pulling fs layer 05:12:47 eaf3925da568: Pulling fs layer 05:12:47 bab4dde63d76: Pulling fs layer 05:12:47 bde34c3a00c8: Pulling fs layer 05:12:47 b352a97aabf1: Pulling fs layer 05:12:47 4872d77fe225: Pulling fs layer 05:12:47 5851b861e8e6: Pulling fs layer 05:12:47 988bab9f4d93: Waiting 05:12:47 1469e6f7b9e6: Waiting 05:12:47 eaf3925da568: Waiting 05:12:47 bab4dde63d76: Waiting 05:12:47 b352a97aabf1: Waiting 05:12:47 4872d77fe225: Waiting 05:12:47 5851b861e8e6: Waiting 05:12:47 e2be974225ed: Verifying Checksum 05:12:47 e2be974225ed: Download complete 05:12:47 988bab9f4d93: Verifying Checksum 05:12:47 988bab9f4d93: Download complete 05:12:47 1469e6f7b9e6: Verifying Checksum 05:12:47 1469e6f7b9e6: Download complete 05:12:47 339a4e72a1f5: Verifying Checksum 05:12:47 339a4e72a1f5: Download complete 05:12:47 eaf3925da568: Download complete 05:12:47 bde34c3a00c8: Verifying Checksum 05:12:47 bde34c3a00c8: Download complete 05:12:47 b352a97aabf1: Download complete 05:12:47 4872d77fe225: Verifying Checksum 05:12:47 4872d77fe225: Download complete 05:12:47 5851b861e8e6: Verifying Checksum 05:12:47 5851b861e8e6: Download complete 05:12:47 b85a868b505f: Verifying Checksum 05:12:47 b85a868b505f: Download complete 05:12:48 bab4dde63d76: Verifying Checksum 05:12:48 bab4dde63d76: Download complete 05:12:48 b85a868b505f: Pull complete 05:12:49 e2be974225ed: Pull complete 05:12:49 339a4e72a1f5: Pull complete 05:12:49 988bab9f4d93: Pull complete 05:12:50 1469e6f7b9e6: Pull complete 05:12:50 eaf3925da568: Pull complete 05:12:51 bab4dde63d76: Pull complete 05:12:51 bde34c3a00c8: Pull complete 05:12:51 b352a97aabf1: Pull complete 05:12:51 4872d77fe225: Pull complete 05:12:51 5851b861e8e6: Pull complete 05:12:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:52 prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container 05:12:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@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:12:55 $ docker top 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 -eo pid,comm 05:12:55 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:12:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:12:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:55 [ssh-agent] Looking for ssh-agent implementation... 05:12:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:55 $ docker exec 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 ssh-agent 05:12:55 SSH_AUTH_SOCK=/tmp/ssh-wCVnKZ0UcdPG/agent.34 05:12:55 SSH_AGENT_PID=40 05:12:55 Running ssh-add (command line suppressed) 05:12:55 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-496@tmp/private_key_14705747467670007042.key (/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/private_key_14705747467670007042.key) 05:12:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:55 + git tag --points-at HEAD [Pipeline] } 05:12:55 $ docker exec --env ******** --env ******** 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 ssh-agent -k 05:12:56 unset SSH_AUTH_SOCK; 05:12:56 unset SSH_AGENT_PID; 05:12:56 echo Agent pid 40 killed; 05:12:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:12:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:56 [ssh-agent] Looking for ssh-agent implementation... 05:12:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:56 $ docker exec 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 ssh-agent 05:12:56 SSH_AUTH_SOCK=/tmp/ssh-8lKtmpEskCEb/agent.72 05:12:56 SSH_AGENT_PID=78 05:12:56 Running ssh-add (command line suppressed) 05:12:56 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-496@tmp/private_key_11891953796958654086.key (/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/private_key_11891953796958654086.key) 05:12:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:56 + git semver init 05:12:57 2023-08-31 05:12:57,015 [run_init] DEBUG init version:0.0.0 force:False 05:12:57 2023-08-31 05:12:57,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-496/.semver 05:12:57 2023-08-31 05:12:57,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-496/.semver 05:12:57 2023-08-31 05:12:57,017 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-496/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-496, universal_newlines=False, shell=None, istream=None) 05:12:58 2023-08-31 05:12:57,824 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-496/.git/info/exclude 05:12:58 2023-08-31 05:12:57,825 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-496/.semver/PR-496 with force:False 05:12:58 2023-08-31 05:12:57,825 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-496/.semver/PR-496 05:12:58 2023-08-31 05:12:57,829 [execute] INFO git cat-file --batch-check 05:12:58 2023-08-31 05:12:57,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-496/.semver, universal_newlines=False, shell=None, istream=) 05:12:58 2023-08-31 05:12:57,836 [execute] INFO git cat-file --batch 05:12:58 2023-08-31 05:12:57,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-496/.semver, universal_newlines=False, shell=None, istream=) 05:12:58 2023-08-31 05:12:57,842 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-496/.semver/PR-496 05:12:58 0.0.0 [Pipeline] } 05:12:58 $ docker exec --env ******** --env ******** 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 ssh-agent -k 05:12:58 unset SSH_AUTH_SOCK; 05:12:58 unset SSH_AGENT_PID; 05:12:58 echo Agent pid 78 killed; 05:12:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:12:58 + git semver [Pipeline] } 05:12:58 $ docker stop --time=1 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 05:13:00 $ docker rm -f --volumes 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 [Pipeline] // withDockerContainer [Pipeline] sh 05:13:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:13:00 Stashed 1 file(s) [Pipeline] echo 05:13:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:01 provisioning config files... 05:13:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/config232453880133673975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:01 ---> docker-login.sh 05:13:01 nexus3.edgexfoundry.org:10001 05:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:01 Configure a credential helper to remove this warning. See 05:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:01 05:13:01 Login Succeeded 05:13:01 nexus3.edgexfoundry.org:10002 05:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:01 Configure a credential helper to remove this warning. See 05:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:01 05:13:01 Login Succeeded 05:13:01 nexus3.edgexfoundry.org:10003 05:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:02 Configure a credential helper to remove this warning. See 05:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:02 05:13:02 Login Succeeded 05:13:02 nexus3.edgexfoundry.org:10004 05:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:02 Configure a credential helper to remove this warning. See 05:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:02 05:13:02 Login Succeeded 05:13:02 docker.io 05:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:02 Configure a credential helper to remove this warning. See 05:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:02 05:13:02 Login Succeeded 05:13:02 ---> docker-login.sh ends [Pipeline] } 05:13:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:13:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:02 ========================================================= 05:13:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:13:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:03 + 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:13:03 Sending build context to Docker daemon 6.418MB 05:13:03 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:13:03 Step 2/10 : FROM ${BASE} AS builder 05:13:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:13:03 4db1b89c0bd1: Pulling fs layer 05:13:03 6911f1a30b25: Pulling fs layer 05:13:03 e194b8c5c2a9: Pulling fs layer 05:13:03 6863d3e3a2b1: Pulling fs layer 05:13:03 ec0bb842ea78: Pulling fs layer 05:13:03 40a00589a448: Pulling fs layer 05:13:03 6c08303d61cc: Pulling fs layer 05:13:03 798269fcf238: Pulling fs layer 05:13:03 6863d3e3a2b1: Waiting 05:13:03 ec0bb842ea78: Waiting 05:13:03 40a00589a448: Waiting 05:13:03 6c08303d61cc: Waiting 05:13:03 798269fcf238: Waiting 05:13:03 6911f1a30b25: Verifying Checksum 05:13:03 6911f1a30b25: Download complete 05:13:03 6863d3e3a2b1: Verifying Checksum 05:13:03 6863d3e3a2b1: Download complete 05:13:03 4db1b89c0bd1: Verifying Checksum 05:13:03 4db1b89c0bd1: Download complete 05:13:03 40a00589a448: Verifying Checksum 05:13:03 40a00589a448: Download complete 05:13:03 4db1b89c0bd1: Pull complete 05:13:03 6911f1a30b25: Pull complete 05:13:03 798269fcf238: Download complete 05:13:03 e194b8c5c2a9: Verifying Checksum 05:13:03 e194b8c5c2a9: Download complete 05:13:04 6c08303d61cc: Verifying Checksum 05:13:04 6c08303d61cc: Download complete 05:13:07 e194b8c5c2a9: Pull complete 05:13:07 6863d3e3a2b1: Pull complete 05:13:07 ec0bb842ea78: Pull complete 05:13:07 40a00589a448: Pull complete 05:13:10 6c08303d61cc: Pull complete 05:13:11 798269fcf238: Pull complete 05:13:11 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 05:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:13:11 ---> ec979cd7f677 05:13:11 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:13:15 ---> Running in df31a3bf3be2 05:13:15 Removing intermediate container df31a3bf3be2 05:13:15 ---> 00ffaafbadae 05:13:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:15 ---> Running in a88f9332e651 05:13:15 Removing intermediate container a88f9332e651 05:13:15 ---> eee2321ec9d8 05:13:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:13:16 ---> Running in 98d5bedf197b 05:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:13:16 Still waiting to schedule task 05:13:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:13:16 (1/8) Installing openssh-keygen (9.1_p1-r4) 05:13:16 (2/8) Installing libedit (20221030.3.1-r0) 05:13:16 (3/8) Installing openssh-client-common (9.1_p1-r4) 05:13:16 (4/8) Installing openssh-client-default (9.1_p1-r4) 05:13:16 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 05:13:16 (6/8) Installing openssh-server-common (9.1_p1-r4) 05:13:16 (7/8) Installing openssh-server (9.1_p1-r4) 05:13:16 (8/8) Installing openssh (9.1_p1-r4) 05:13:16 Executing busybox-1.35.0-r29.trigger 05:13:16 OK: 270 MiB in 61 packages 05:13:17 Removing intermediate container 98d5bedf197b 05:13:17 ---> c253dc9bb596 05:13:17 Step 6/10 : WORKDIR /device-modbus-go 05:13:17 ---> Running in 30ce6b7ffdff 05:13:17 Removing intermediate container 30ce6b7ffdff 05:13:17 ---> e534c5b11cac 05:13:17 Step 7/10 : COPY go.mod vendor* ./ 05:13:17 ---> fec2d0fb5b8e 05:13:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:17 ---> Running in f115b85ec00c 05:14:13 Removing intermediate container f115b85ec00c 05:14:13 ---> 2dd3f6959ac6 05:14:13 Step 9/10 : COPY . . 05:14:13 ---> ce542829149a 05:14:13 Step 10/10 : RUN ${MAKE} 05:14:13 ---> Running in b4f4ce43b22d 05:14:13 noop 05:14:13 Removing intermediate container b4f4ce43b22d 05:14:13 ---> e977e61fa4f0 05:14:13 Successfully built e977e61fa4f0 05:14:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:14 + docker inspect -f . ci-base-image-x86_64 05:14:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:14 prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container 05:14:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@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:14:14 $ docker top 419f267686f7363648d15bb53bcb102c03891604e85855284307e73a366057be -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:15 + go version 05:14:15 go version go1.20.6 linux/amd64 [Pipeline] } 05:14:15 $ docker stop --time=1 419f267686f7363648d15bb53bcb102c03891604e85855284307e73a366057be 05:14:16 $ docker rm -f --volumes 419f267686f7363648d15bb53bcb102c03891604e85855284307e73a366057be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:17 + docker inspect -f . ci-base-image-x86_64 05:14:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:17 prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container 05:14:17 $ 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-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@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:14:17 $ docker top e5e9e03d5d894e34273ebb1dffd1219d998deab63e9e7c4358b83b86a7485288 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:17 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-496 [Pipeline] fileExists [Pipeline] sh 05:14:18 + make test 05:14:18 go test ./... -coverprofile=coverage.out 05:14:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:14:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:14:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.021s coverage: 47.9% of statements 05:14:41 go vet ./... 05:14:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4983 in /w/workspace/xfoundry_device-modbus-go_PR-496 [Pipeline] { [Pipeline] ws 05:14:42 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:14:42 Selected Git installation does not exist. Using Default 05:14:42 The recommended git tool is: NONE 05:14:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:14:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:14:46 ./bin/test-attribution-txt.sh [Pipeline] echo 05:14:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:14:46 $ docker stop --time=1 e5e9e03d5d894e34273ebb1dffd1219d998deab63e9e7c4358b83b86a7485288 05:14:47 using credential edgex-jenkins-ssh 05:14:47 Cloning the remote Git repository 05:14:48 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:14:48 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:14:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:14:48 > git --version # timeout=10 05:14:48 > git --version # 'git version 2.25.1' 05:14:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:50 $ docker rm -f --volumes e5e9e03d5d894e34273ebb1dffd1219d998deab63e9e7c4358b83b86a7485288 05:14:49 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:14:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:14:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:14:50 using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] // withDockerContainer [Pipeline] sh 05:14:50 + sudo chown -R jenkins:jenkins . 05:14:50 Merging remotes/origin/main commit f93217a48f66f916d77da41a80c6f59472f374e0 into PR head commit d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] stash 05:14:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:14:51 Merge succeeded, producing d74e536f6a797e5c7976cf71ba04f8f0a645cff9 05:14:51 Checking out Revision d74e536f6a797e5c7976cf71ba04f8f0a645cff9 (PR-496) [Pipeline] sh 05:14:51 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:14:51 + sudo chown -R jenkins:jenkins . 05:14:51 > git --version # timeout=10 05:14:51 > git --version # 'git version 2.25.1' 05:14:51 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] sh 05:14:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:14:50 > git config core.sparsecheckout # timeout=10 05:14:50 > git checkout -f d74e536f6a797e5c7976cf71ba04f8f0a645cff9 # timeout=10 05:14:51 > git remote # timeout=10 05:14:51 > git config --get remote.origin.url # timeout=10 05:14:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:51 > git merge f93217a48f66f916d77da41a80c6f59472f374e0 # timeout=10 05:14:51 > git rev-parse HEAD^{commit} # timeout=10 05:14:51 > git config core.sparsecheckout # timeout=10 05:14:51 > git checkout -f d74e536f6a797e5c7976cf71ba04f8f0a645cff9 # timeout=10 05:14:51 + ls -al . 05:14:51 total 192 05:14:51 drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 05:14 . 05:14:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 05:12 .. 05:14:51 -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 05:12 .dockerignore 05:14:51 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 05:12 .git 05:14:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:12 .github 05:14:51 -rw-rw-r-- 1 jenkins jenkins 331 Aug 31 05:12 .gitignore 05:14:51 -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 05:12 .golangci.yml 05:14:51 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 05:12 .semver 05:14:51 -rw-rw-r-- 1 jenkins jenkins 11101 Aug 31 05:12 Attribution.txt 05:14:51 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 31 05:12 CHANGELOG.md 05:14:51 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 31 05:12 Dockerfile 05:14:51 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 05:12 GOVERNANCE.md 05:14:51 -rw-rw-r-- 1 jenkins jenkins 680 Aug 31 05:12 Jenkinsfile 05:14:51 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 05:12 LICENSE 05:14:51 -rw-rw-r-- 1 jenkins jenkins 1936 Aug 31 05:12 Makefile 05:14:51 -rw-rw-r-- 1 jenkins jenkins 622 Aug 31 05:12 OWNERS.md 05:14:51 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 31 05:12 README.md 05:14:51 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 05:13 VERSION 05:14:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 05:12 bin 05:14:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:12 cmd 05:14:51 -rw-r--r-- 1 jenkins jenkins 24334 Aug 31 05:14 coverage.out 05:14:51 -rw-rw-r-- 1 jenkins jenkins 3940 Aug 31 05:12 go.mod 05:14:51 -rw-rw-r-- 1 jenkins jenkins 34434 Aug 31 05:12 go.sum 05:14:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:12 internal 05:14:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 05:12 simulator 05:14:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 05:12 snap 05:14:51 -rw-rw-r-- 1 jenkins jenkins 229 Aug 31 05:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:52 + 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=d74e536f6a797e5c7976cf71ba04f8f0a645cff9 --label arch=amd64 --label version=0.0.0 . 05:14:52 Sending build context to Docker daemon 6.444MB 05:14:52 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:14:52 Step 2/22 : FROM ${BASE} AS builder 05:14:52 ---> e977e61fa4f0 05:14:52 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:14:52 ---> Running in bb6f99580d31 05:14:52 Removing intermediate container bb6f99580d31 05:14:52 ---> d23489a7ac6f 05:14:52 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:14:52 ---> Running in 5bc88c0a18fd 05:14:52 Removing intermediate container 5bc88c0a18fd 05:14:52 ---> bb3e78ccf4af 05:14:52 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:14:52 ---> Running in a904b65c13df 05:14:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:14:52 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:52 Dload Upload Total Spent Left Speed 05:14:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 05:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:14:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 05:14:53 OK: 270 MiB in 61 packages [Pipeline] sh 05:14:53 Removing intermediate container a904b65c13df 05:14:53 ---> ec60306f73a1 05:14:53 Step 6/22 : WORKDIR /device-modbus-go 05:14:53 ---> Running in c97167f180e9 05:14:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:14:53 + sudo tee /etc/docker/daemon.new 05:14:53 { 05:14:53 "registry-mirrors": [ 05:14:53 "https://nexus3.edgexfoundry.org:10001" 05:14:53 ], 05:14:53 "bip": "10.250.0.254/24", 05:14:53 "hosts": [ 05:14:53 "tcp://0.0.0.0:5555", 05:14:53 "unix:///var/run/docker.sock" 05:14:53 ], 05:14:53 "mtu": 1458, 05:14:53 "selinux-enabled": true, 05:14:53 "seccomp-profile": "/etc/docker/seccomp.json" 05:14:53 } [Pipeline] sh 05:14:53 Removing intermediate container c97167f180e9 05:14:53 ---> 3de4b5ecddfa 05:14:53 Step 7/22 : COPY go.mod vendor* ./ 05:14:53 ---> cb1f5fa303ca 05:14:53 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:53 ---> Running in 475d4ad38b93 05:14:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:14:54 + sudo service docker restart 05:14:54 Removing intermediate container 475d4ad38b93 05:14:54 ---> a722b9d038e9 05:14:54 Step 9/22 : COPY . . 05:14:55 ---> 76bbefd4c22c 05:14:55 Step 10/22 : RUN ${MAKE} 05:14:55 ---> Running in ba22d3005d06 05:14:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:12 provisioning config files... 05:15:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16214511669988515663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:13 ---> docker-login.sh 05:15:13 nexus3.edgexfoundry.org:10001 05:15:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:13 Configure a credential helper to remove this warning. See 05:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:13 05:15:13 Login Succeeded 05:15:13 nexus3.edgexfoundry.org:10002 05:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:14 Configure a credential helper to remove this warning. See 05:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:14 05:15:14 Login Succeeded 05:15:14 nexus3.edgexfoundry.org:10003 05:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:14 Configure a credential helper to remove this warning. See 05:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:14 05:15:14 Login Succeeded 05:15:14 nexus3.edgexfoundry.org:10004 05:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:14 Configure a credential helper to remove this warning. See 05:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:14 05:15:14 Login Succeeded 05:15:14 docker.io 05:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:15 Configure a credential helper to remove this warning. See 05:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:15 05:15:15 Login Succeeded 05:15:15 ---> docker-login.sh ends [Pipeline] } 05:15:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:15:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:15 ========================================================= 05:15:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:15:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:16 + 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 . 05:15:16 Sending build context to Docker daemon 3.33MB 05:15:16 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:15:16 Step 2/10 : FROM ${BASE} AS builder 05:15:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:16 edb6bdbacee9: Pulling fs layer 05:15:16 5f9638ab2659: Pulling fs layer 05:15:16 8d51d6327a98: Pulling fs layer 05:15:16 8b374f2dd631: Pulling fs layer 05:15:16 ec14aa9079de: Pulling fs layer 05:15:16 2f466654f4bb: Pulling fs layer 05:15:16 554e91adad29: Pulling fs layer 05:15:16 ec14aa9079de: Waiting 05:15:16 2f466654f4bb: Waiting 05:15:16 554e91adad29: Waiting 05:15:16 8b374f2dd631: Waiting 05:15:16 5f9638ab2659: Verifying Checksum 05:15:16 5f9638ab2659: Download complete 05:15:16 8b374f2dd631: Verifying Checksum 05:15:16 8b374f2dd631: Download complete 05:15:16 ec14aa9079de: Verifying Checksum 05:15:16 ec14aa9079de: Download complete 05:15:16 edb6bdbacee9: Verifying Checksum 05:15:16 edb6bdbacee9: Download complete 05:15:17 Removing intermediate container ba22d3005d06 05:15:17 ---> 69218af17e6d 05:15:17 Step 11/22 : FROM alpine:3.17 05:15:17 3.17: Pulling from library/alpine 05:15:17 9398808236ff: Pulling fs layer 05:15:17 9398808236ff: Verifying Checksum 05:15:17 9398808236ff: Download complete 05:15:17 9398808236ff: Pull complete 05:15:17 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:15:17 Status: Downloaded newer image for alpine:3.17 05:15:17 ---> 1e0b8b5322fc 05:15:17 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:15:17 ---> Running in bc1343f903a4 05:15:17 Removing intermediate container bc1343f903a4 05:15:17 ---> 92398eb0a58b 05:15:17 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:15:17 ---> Running in 3b42bae6c8ae 05:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:15:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:15:17 (1/1) Installing dumb-init (1.2.5-r2) 05:15:17 Executing busybox-1.35.0-r29.trigger 05:15:17 OK: 7 MiB in 16 packages 05:15:17 Removing intermediate container 3b42bae6c8ae 05:15:17 ---> b5a6d4745475 05:15:17 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:15:18 edb6bdbacee9: Pull complete 05:15:18 554e91adad29: Verifying Checksum 05:15:18 554e91adad29: Download complete 05:15:18 5f9638ab2659: Pull complete 05:15:18 ---> fb4fa5d65eb8 05:15:18 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:15:18 ---> dab33d8b8f83 05:15:18 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:15:19 ---> e14ea25e179e 05:15:19 Step 17/22 : EXPOSE 59901 05:15:19 ---> Running in 6cff01a63a58 05:15:19 Removing intermediate container 6cff01a63a58 05:15:19 ---> b04b7aa2fc60 05:15:19 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:15:19 ---> Running in ae468b30f477 05:15:19 Removing intermediate container ae468b30f477 05:15:19 ---> 0019496e2e26 05:15:19 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:15:19 ---> Running in 53c1eaf8586b 05:15:19 Removing intermediate container 53c1eaf8586b 05:15:19 ---> f832fdaa5e4b 05:15:19 Step 20/22 : LABEL arch=amd64 05:15:19 ---> Running in 140ef99f6e13 05:15:19 Removing intermediate container 140ef99f6e13 05:15:19 ---> c4e2bda25dc6 05:15:19 Step 21/22 : LABEL git_sha=d74e536f6a797e5c7976cf71ba04f8f0a645cff9 05:15:19 ---> Running in cea90d3d2b01 05:15:19 Removing intermediate container cea90d3d2b01 05:15:19 ---> 96811f39ce3a 05:15:19 Step 22/22 : LABEL version=0.0.0 05:15:19 ---> Running in 63479e0bcf9a 05:15:19 Removing intermediate container 63479e0bcf9a 05:15:19 ---> a109570a83c1 05:15:19 [Warning] One or more build-args [ARCH] were not consumed 05:15:19 Successfully built a109570a83c1 05:15:19 Successfully tagged device-modbus:latest 05:15:19 2f466654f4bb: Verifying Checksum 05:15:19 8d51d6327a98: Verifying Checksum 05:15:19 8d51d6327a98: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:20 05:15:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:20 latest: Pulling from edgex-lftools-log-publisher 05:15:20 5eb5b503b376: Pulling fs layer 05:15:20 5c69ac0246d0: Pulling fs layer 05:15:20 ec43610c2a17: Pulling fs layer 05:15:20 3a2ae6a8a46f: Pulling fs layer 05:15:20 33b1e0a273af: Pulling fs layer 05:15:20 5d3b04190fa2: Pulling fs layer 05:15:20 2f39f015ded8: Pulling fs layer 05:15:20 5d3b04190fa2: Waiting 05:15:20 2f39f015ded8: Waiting 05:15:20 33b1e0a273af: Waiting 05:15:20 5c69ac0246d0: Download complete 05:15:20 3a2ae6a8a46f: Verifying Checksum 05:15:20 3a2ae6a8a46f: Download complete 05:15:20 33b1e0a273af: Verifying Checksum 05:15:20 33b1e0a273af: Download complete 05:15:20 5d3b04190fa2: Download complete 05:15:20 ec43610c2a17: Download complete 05:15:21 5eb5b503b376: Verifying Checksum 05:15:21 5eb5b503b376: Download complete 05:15:21 2f39f015ded8: Download complete 05:15:22 5eb5b503b376: Pull complete 05:15:22 5c69ac0246d0: Pull complete 05:15:23 ec43610c2a17: Pull complete 05:15:23 3a2ae6a8a46f: Pull complete 05:15:23 33b1e0a273af: Pull complete 05:15:23 5d3b04190fa2: Pull complete 05:15:28 2f39f015ded8: Pull complete 05:15:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:15:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:32 8d51d6327a98: Pull complete 05:15:32 8b374f2dd631: Pull complete 05:15:32 ec14aa9079de: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:33 prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container 05:15:33 $ 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-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@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 05:15:37 2f466654f4bb: Pull complete 05:15:38 $ docker top f12c8a131b11d6a7435eb083c5245abc0848dcf490ed934539c6c5fd40ae1909 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:38 ---> job-cost.sh 05:15:38 lf-activate-venv: SKIPPING 05:15:38 INFO: No Stack... 05:15:38 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:39 INFO: Archiving Costs [Pipeline] sh 05:15:39 + cat /w/workspace/xfoundry_device-modbus-go_PR-496/archives/cost.csv 05:15:39 + cut -d, -f6 [Pipeline] lock 05:15:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] 05:15:39 Resource [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] did not exist. Created. 05:15:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:39 554e91adad29: Pull complete 05:15:39 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 05:15:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:15:39 ---> 1e15ea492957 05:15:39 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:15:39 + echo total: 0.2199999988079071 [Pipeline] stash 05:15:40 Stashed 1 file(s) [Pipeline] } 05:15:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:40 $ docker stop --time=1 f12c8a131b11d6a7435eb083c5245abc0848dcf490ed934539c6c5fd40ae1909 05:15:41 $ docker rm -f --volumes f12c8a131b11d6a7435eb083c5245abc0848dcf490ed934539c6c5fd40ae1909 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:15:41 ---> Running in 627209ea2718 05:15:41 Removing intermediate container 627209ea2718 05:15:41 ---> 4e04a6bb4ba5 05:15:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:15:41 ---> Running in ced75e979e52 05:15:42 Removing intermediate container ced75e979e52 05:15:42 ---> e81f0ba66510 05:15:42 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:15:42 ---> Running in e778b0f774b2 05:15:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:15:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:15:45 (1/8) Installing openssh-keygen (9.1_p1-r4) 05:15:45 (2/8) Installing libedit (20221030.3.1-r0) 05:15:45 (3/8) Installing openssh-client-common (9.1_p1-r4) 05:15:45 (4/8) Installing openssh-client-default (9.1_p1-r4) 05:15:45 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 05:15:45 (6/8) Installing openssh-server-common (9.1_p1-r4) 05:15:45 (7/8) Installing openssh-server (9.1_p1-r4) 05:15:45 (8/8) Installing openssh (9.1_p1-r4) 05:15:45 Executing busybox-1.35.0-r29.trigger 05:15:45 OK: 270 MiB in 61 packages 05:15:47 Removing intermediate container e778b0f774b2 05:15:47 ---> b1a2e765b719 05:15:47 Step 6/10 : WORKDIR /device-modbus-go 05:15:47 ---> Running in 231e8f0d6dd5 05:15:48 Removing intermediate container 231e8f0d6dd5 05:15:48 ---> fbf8315795e5 05:15:48 Step 7/10 : COPY go.mod vendor* ./ 05:15:48 ---> 5645c350ad80 05:15:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:48 ---> Running in 8100c4f3a9aa 05:16:56 Removing intermediate container 8100c4f3a9aa 05:16:56 ---> d96befdbf370 05:16:56 Step 9/10 : COPY . . 05:16:56 ---> 13dd64f1c544 05:16:56 Step 10/10 : RUN ${MAKE} 05:16:56 ---> Running in bd1a8a33ddac 05:16:56 noop 05:16:56 Removing intermediate container bd1a8a33ddac 05:16:56 ---> 4c2239dfe28d 05:16:56 Successfully built 4c2239dfe28d 05:16:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:57 + docker inspect -f . ci-base-image-arm64 05:16:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:57 prd-ubuntu20.04-docker-arm64-4c-16g-4983 does not seem to be running inside a container 05:16: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 05:16:58 $ docker top 8f1502c099616dbe4c4b76641fb6fc50b0d113c6999082b9447beccc1442f8d3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:59 + go version 05:16:59 go version go1.20.6 linux/arm64 [Pipeline] } 05:16:59 $ docker stop --time=1 8f1502c099616dbe4c4b76641fb6fc50b0d113c6999082b9447beccc1442f8d3 05:17:01 $ docker rm -f --volumes 8f1502c099616dbe4c4b76641fb6fc50b0d113c6999082b9447beccc1442f8d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:01 + docker inspect -f . ci-base-image-arm64 05:17:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:02 prd-ubuntu20.04-docker-arm64-4c-16g-4983 does not seem to be running inside a container 05:17: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 05:17:03 $ docker top 36a893e13ab0c09abfaecb519929861a1e1314ae00835d9a3acf264e25a4a812 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:04 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:17:04 + make test 05:17:04 go test ./... -coverprofile=coverage.out 05:17:36 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:19:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:19:31 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 47.9% of statements 05:19:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:19:32 go vet ./... 05:19:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:58 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:59 $ docker stop --time=1 36a893e13ab0c09abfaecb519929861a1e1314ae00835d9a3acf264e25a4a812 05:20:01 $ docker rm -f --volumes 36a893e13ab0c09abfaecb519929861a1e1314ae00835d9a3acf264e25a4a812 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:20:02 Warning: overwriting stash ‘coverage-report’ 05:20:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:20:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:20:03 + ls -al . 05:20:03 total 188 05:20:03 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 05:17 . 05:20:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 05:14 .. 05:20:03 -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 05:14 .dockerignore 05:20:03 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 05:14 .git 05:20:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:14 .github 05:20:03 -rw-rw-r-- 1 jenkins jenkins 331 Aug 31 05:14 .gitignore 05:20:03 -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 05:14 .golangci.yml 05:20:03 -rw-rw-r-- 1 jenkins jenkins 11101 Aug 31 05:14 Attribution.txt 05:20:03 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 31 05:14 CHANGELOG.md 05:20:03 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 31 05:14 Dockerfile 05:20:03 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 05:14 GOVERNANCE.md 05:20:03 -rw-rw-r-- 1 jenkins jenkins 680 Aug 31 05:14 Jenkinsfile 05:20:03 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 05:14 LICENSE 05:20:03 -rw-rw-r-- 1 jenkins jenkins 1936 Aug 31 05:14 Makefile 05:20:03 -rw-rw-r-- 1 jenkins jenkins 622 Aug 31 05:14 OWNERS.md 05:20:03 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 31 05:14 README.md 05:20:03 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 05:13 VERSION 05:20:03 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 05:14 bin 05:20:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:14 cmd 05:20:03 -rw-r--r-- 1 jenkins jenkins 24334 Aug 31 05:19 coverage.out 05:20:03 -rw-rw-r-- 1 jenkins jenkins 3940 Aug 31 05:14 go.mod 05:20:03 -rw-rw-r-- 1 jenkins jenkins 34434 Aug 31 05:14 go.sum 05:20:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:14 internal 05:20:03 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 05:14 simulator 05:20:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 05:14 snap 05:20:03 -rw-rw-r-- 1 jenkins jenkins 229 Aug 31 05:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:04 + 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=d74e536f6a797e5c7976cf71ba04f8f0a645cff9 --label arch=arm64 --label version=0.0.0 . 05:20:04 Sending build context to Docker daemon 3.355MB 05:20:04 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:20:04 Step 2/22 : FROM ${BASE} AS builder 05:20:04 ---> 4c2239dfe28d 05:20:04 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:20:04 ---> Running in ea0604bf53e3 05:20:04 Removing intermediate container ea0604bf53e3 05:20:04 ---> bb4a201128b6 05:20:04 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:20:05 ---> Running in cdc5b8dad3aa 05:20:05 Removing intermediate container cdc5b8dad3aa 05:20:05 ---> 1af209bc1dba 05:20:05 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:20:05 ---> Running in 1133695272c3 05:20:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:20:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:20:07 OK: 270 MiB in 61 packages 05:20:08 Removing intermediate container 1133695272c3 05:20:08 ---> 3d5c0ab13f31 05:20:08 Step 6/22 : WORKDIR /device-modbus-go 05:20:08 ---> Running in 5f4a4490a2d5 05:20:08 Removing intermediate container 5f4a4490a2d5 05:20:08 ---> 0b781a8d961d 05:20:08 Step 7/22 : COPY go.mod vendor* ./ 05:20:09 ---> 195839ea6a8c 05:20:09 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:20:09 ---> Running in 770accdee1f8 05:20:11 Removing intermediate container 770accdee1f8 05:20:11 ---> 22aee9b023d8 05:20:11 Step 9/22 : COPY . . 05:20:12 ---> 8fb20ab7b48a 05:20:12 Step 10/22 : RUN ${MAKE} 05:20:12 ---> Running in e3090554b98b 05:20:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:22:19 Removing intermediate container e3090554b98b 05:22:19 ---> 6a0d9d2607dd 05:22:19 Step 11/22 : FROM alpine:3.17 05:22:19 3.17: Pulling from library/alpine 05:22:19 4060ece20d7a: Pulling fs layer 05:22:19 4060ece20d7a: Verifying Checksum 05:22:19 4060ece20d7a: Download complete 05:22:19 4060ece20d7a: Pull complete 05:22:19 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:22:19 Status: Downloaded newer image for alpine:3.17 05:22:19 ---> 8650cd65339b 05:22:19 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:22:19 ---> Running in f8248dcf3d1c 05:22:20 Removing intermediate container f8248dcf3d1c 05:22:20 ---> 22e43f83c248 05:22:20 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:22:20 ---> Running in 06c96a72abd5 05:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:22:22 (1/1) Installing dumb-init (1.2.5-r2) 05:22:22 Executing busybox-1.35.0-r29.trigger 05:22:22 OK: 8 MiB in 16 packages 05:22:23 Removing intermediate container 06c96a72abd5 05:22:23 ---> 90a64e9b8f0d 05:22:23 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:22:25 ---> 84707a853efa 05:22:25 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:22:25 ---> 35636fa33348 05:22:25 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:22:25 ---> ac91cc8d18c7 05:22:25 Step 17/22 : EXPOSE 59901 05:22:25 ---> Running in e5b94825da43 05:22:26 Removing intermediate container e5b94825da43 05:22:26 ---> c55de79eb02b 05:22:26 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:22:26 ---> Running in 257eeab8b860 05:22:26 Removing intermediate container 257eeab8b860 05:22:26 ---> 6de72dcae876 05:22:26 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:22:26 ---> Running in 2f2db1aeacfe 05:22:26 Removing intermediate container 2f2db1aeacfe 05:22:26 ---> 9da547884733 05:22:26 Step 20/22 : LABEL arch=arm64 05:22:26 ---> Running in 500e749b8f4c 05:22:29 Removing intermediate container 500e749b8f4c 05:22:29 ---> 314bacb30443 05:22:29 Step 21/22 : LABEL git_sha=d74e536f6a797e5c7976cf71ba04f8f0a645cff9 05:22:29 ---> Running in 3e0940dc93a6 05:22:29 Removing intermediate container 3e0940dc93a6 05:22:29 ---> 9f82666cf39b 05:22:29 Step 22/22 : LABEL version=0.0.0 05:22:29 ---> Running in e6580605ea33 05:22:30 Removing intermediate container e6580605ea33 05:22:30 ---> b57472f86f29 05:22:30 [Warning] One or more build-args [ARCH] were not consumed 05:22:30 Successfully built b57472f86f29 05:22:30 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 05:22:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:30 05:22:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:31 arm64: Pulling from edgex-lftools-log-publisher 05:22:31 8998bd30e6a1: Pulling fs layer 05:22:31 04944245beec: Pulling fs layer 05:22:31 699f458cf7ca: Pulling fs layer 05:22:31 765212b225bb: Pulling fs layer 05:22:31 f23df028b6ca: Pulling fs layer 05:22:31 d65c8cfc05b1: Pulling fs layer 05:22:31 2437ff75d9bd: Pulling fs layer 05:22:31 f23df028b6ca: Waiting 05:22:31 765212b225bb: Waiting 05:22:31 d65c8cfc05b1: Waiting 05:22:31 2437ff75d9bd: Waiting 05:22:31 04944245beec: Verifying Checksum 05:22:31 04944245beec: Download complete 05:22:31 765212b225bb: Verifying Checksum 05:22:31 765212b225bb: Download complete 05:22:31 f23df028b6ca: Verifying Checksum 05:22:31 f23df028b6ca: Download complete 05:22:31 d65c8cfc05b1: Verifying Checksum 05:22:31 d65c8cfc05b1: Download complete 05:22:31 699f458cf7ca: Verifying Checksum 05:22:31 699f458cf7ca: Download complete 05:22:32 8998bd30e6a1: Download complete 05:22:34 2437ff75d9bd: Verifying Checksum 05:22:34 2437ff75d9bd: Download complete 05:22:36 8998bd30e6a1: Pull complete 05:22:36 04944245beec: Pull complete 05:22:37 699f458cf7ca: Pull complete 05:22:38 765212b225bb: Pull complete 05:22:38 f23df028b6ca: Pull complete 05:22:39 d65c8cfc05b1: Pull complete 05:22:54 2437ff75d9bd: Pull complete 05:22:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:22:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:54 prd-ubuntu20.04-docker-arm64-4c-16g-4983 does not seem to be running inside a container 05:22: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/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 05:22:56 $ docker top c74899677b475d3436212e6a0dab9c07d7f5402a6e77ea3fac2826ccf0c5f542 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:57 ---> job-cost.sh 05:22:57 lf-activate-venv: SKIPPING 05:22:57 INFO: No Stack... 05:22:58 INFO: Retrieving Pricing Info for: v3-standard-4 05:22:59 INFO: Archiving Costs [Pipeline] sh 05:22:59 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:22:59 + cut -d, -f6 [Pipeline] lock 05:22:59 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] 05:22:59 Resource [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] did not exist. Created. 05:22:59 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:23:00 /w/workspace/device-modbus-go/1@tmp/durable-d0bc964f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:23:00 + echo total: 0.10999999940395355 [Pipeline] stash 05:23:00 Warning: overwriting stash ‘stack-cost’ 05:23:00 Stashed 1 file(s) [Pipeline] } 05:23:00 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:23:00 $ docker stop --time=1 c74899677b475d3436212e6a0dab9c07d7f5402a6e77ea3fac2826ccf0c5f542 05:23:02 $ docker rm -f --volumes c74899677b475d3436212e6a0dab9c07d7f5402a6e77ea3fac2826ccf0c5f542 [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 05:23:03 provisioning config files... 05:23:03 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/config1011330553644703800tmp [Pipeline] { [Pipeline] sh 05:23:03 + set +x 05:23:03 + curl -s https://codecov.io/bash 05:23:03 + bash -s -- 05:23:03 05:23:03 _____ _ 05:23:03 / ____| | | 05:23:03 | | ___ __| | ___ ___ _____ __ 05:23:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:23:03 | |___| (_) | (_| | __/ (_| (_) \ V / 05:23:03 \_____\___/ \__,_|\___|\___\___/ \_/ 05:23:03 Bash-1.0.6 05:23:03 05:23:03 05:23:03 ==> git version 2.25.1 found 05:23:03 ==> 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 05:23:03 Release-Date: 2020-01-08 05:23:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:23:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:23:03 ==> Jenkins CI detected. 05:23:03 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-496 05:23:03 project root: . 05:23:03 --> token set from env 05:23:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:23:03 ==> Running gcov in . (disable via -X gcov) 05:23:03 ==> Python coveragepy not found 05:23:03 ==> Searching for coverage reports in: 05:23:03 + . 05:23:03 -> Found 1 reports 05:23:03 ==> Detecting git/mercurial file structure 05:23:03 ==> Reading reports 05:23:03 + ./coverage.out bytes=24334 05:23:03 ==> Appending adjustments 05:23:03 https://docs.codecov.io/docs/fixing-reports 05:23:03 + Found adjustments 05:23:03 ==> Gzipping contents 05:23:03 4.0K /tmp/codecov.d5eGrA.gz 05:23:03 ==> Uploading reports 05:23:03 url: https://codecov.io 05:23:03 query: branch=PR-496&commit=d74e536f6a797e5c7976cf71ba04f8f0a645cff9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-496%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=496&job=&cmd_args= 05:23:03 -> Pinging Codecov 05:23:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-496&commit=d74e536f6a797e5c7976cf71ba04f8f0a645cff9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-496%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=496&job=&cmd_args= 05:23:04 -> Uploading to 05:23:04 https://storage.googleapis.com/codecov/v4/raw/2023-08-31/55DBCA73C666E3227836607328DD7E49/d74e536f6a797e5c7976cf71ba04f8f0a645cff9/9d39a1ce-b968-4de4-a2e2-59731dba5468.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T052303Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cf53f827e4f8d2ad159e6ea8dbdc5fb31592212f6ef608fe18be6e66529b3d2 05:23:04 % Total % Received % Xferd Average Speed Time Time Time Current 05:23:04 Dload Upload Total Spent Left Speed 05:23:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21138 --:--:-- --:--:-- --:--:-- 21138 05:23:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] } 05:23:04 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 05:23:05 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-496/archives ] 05:23:05 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-496/archives 05:23:05 total 16 05:23:05 drwxr-xr-x 3 root root 4096 Aug 31 05:15 . 05:23:05 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 05:15 .. 05:23:05 drwxr-xr-x 2 root root 4096 Aug 31 05:15 cost 05:23:05 -rw-r--r-- 1 root root 88 Aug 31 05:15 cost.csv 05:23:05 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-496/archives 05:23:05 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-496/archives 05:23:05 total 16 05:23:05 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 05:15 . 05:23:05 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 05:15 .. 05:23:05 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 05:15 cost 05:23:05 -rw-r--r-- 1 jenkins jenkins 88 Aug 31 05:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:23:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:23:07 ---> package-listing.sh 05:23:07 ++ facter osfamily 05:23:07 ++ tr '[:upper:]' '[:lower:]' 05:23:07 + OS_FAMILY=debian 05:23:07 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-496 05:23:07 + START_PACKAGES=/tmp/packages_start.txt 05:23:07 + END_PACKAGES=/tmp/packages_end.txt 05:23:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:23:07 + PACKAGES=/tmp/packages_start.txt 05:23:07 + '[' /w/workspace/xfoundry_device-modbus-go_PR-496 ']' 05:23:07 + PACKAGES=/tmp/packages_end.txt 05:23:07 + case "${OS_FAMILY}" in 05:23:07 + dpkg -l 05:23:07 + grep '^ii' 05:23:07 + '[' -f /tmp/packages_start.txt ']' 05:23:07 + '[' -f /tmp/packages_end.txt ']' 05:23:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:23:07 + '[' /w/workspace/xfoundry_device-modbus-go_PR-496 ']' 05:23:07 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-496/archives/ 05:23:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-496/archives/ [Pipeline] echo 05:23:07 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-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:23:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:08 prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container 05:23:08 $ 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-496/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-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@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 05:23:08 $ docker top be8e7ab567d6ed94f358c69bb2478f78ed3dbdda843b4449f97bd526658d03de -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:08 + touch /tmp/pre-build-complete [Pipeline] sh 05:23:09 + mkdir -p /var/log/sysstat [Pipeline] sh 05:23:09 + ls /var/log/sa-host 05:23:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:23:09 provisioning config files... 05:23:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/config15108847025189157557tmp [Pipeline] { [Pipeline] echo 05:23:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:23:10 ---> create-netrc.sh [Pipeline] } 05:23:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:23:10 ---> python-tools-install.sh [Pipeline] echo 05:23:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:23:11 ---> sudo-logs.sh 05:23:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:23:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:23:11 ---> job-cost.sh 05:23:11 lf-activate-venv: SKIPPING 05:23:11 DEBUG: total: 0.2199999988079071 05:23:11 INFO: Retrieving Stack Cost... 05:23:12 INFO: Retrieving Pricing Info for: v3-standard-8 05:23:12 INFO: Archiving Costs [Pipeline] echo 05:23:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:23:12 ---> logs-deploy.sh 05:23:12 lf-activate-venv: SKIPPING 05:23:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-496/1 05:23:12 INFO: archiving workspace using pattern(s): 05:23:13 Archives upload complete. 05:23:13 INFO: archiving logs to Nexus