Pull request #510 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 582910e42ec4ba2c08ac7d8f78493314d1856716+e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 (8b8171fded248fe9980a5a305753c05da7e42b34) 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-ssh10292507448375614127.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh9789389580749995015.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-510/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-510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15786176899366204746.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-510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15512280078696748540.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh15894728735892895440.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-510/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-510/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8980568755982096775.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9101’ Running on prd-ubuntu20.04-docker-8c-8g-9110 in /w/workspace/xfoundry_device-modbus-go_PR-510 [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-510 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/510/head:refs/remotes/origin/PR-510 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 into PR head commit 582910e42ec4ba2c08ac7d8f78493314d1856716 Merge succeeded, producing 582910e42ec4ba2c08ac7d8f78493314d1856716 Checking out Revision 582910e42ec4ba2c08ac7d8f78493314d1856716 (PR-510) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:09:53 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 582910e42ec4ba2c08ac7d8f78493314d1856716 # 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 e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 582910e42ec4ba2c08ac7d8f78493314d1856716 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:09:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:09:53 ========================================================= 05:09:53 EdgeX Global Pipelines Version Info 05:09:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:09:54 ------------------- 05:09:54 stable info: 05:09:54 ------------------- 05:09:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:09:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:09:54 Message: update stable to v1.0.254 05:09:55 ------------------- 05:09:55 experimental info: 05:09:55 ------------------- 05:09:55 Commited By: **** collab-it+edgex@linuxfoundation.org 05:09:55 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:09:55 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:09:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-510 [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-510 [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-510 [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 582910e42ec4ba2c08ac7d8f78493314d1856716 [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 582910e [Pipeline] echo 05:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:56 provisioning config files... 05:09:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-510@tmp/config14073756471351246150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:57 ---> docker-login.sh 05:09:57 nexus3.edgexfoundry.org:10001 05:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:57 Configure a credential helper to remove this warning. See 05:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:57 05:09:57 Login Succeeded 05:09:57 nexus3.edgexfoundry.org:10002 05:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:57 Configure a credential helper to remove this warning. See 05:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:57 05:09:57 Login Succeeded 05:09:57 nexus3.edgexfoundry.org:10003 05:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:57 Configure a credential helper to remove this warning. See 05:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:57 05:09:57 Login Succeeded 05:09:57 nexus3.edgexfoundry.org:10004 05:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:57 Configure a credential helper to remove this warning. See 05:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:57 05:09:57 Login Succeeded 05:09:57 docker.io 05:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:58 Configure a credential helper to remove this warning. See 05:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:58 05:09:58 Login Succeeded 05:09:58 ---> docker-login.sh ends [Pipeline] } 05:09:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:09:58 + git rev-list -1 --merges 582910e42ec4ba2c08ac7d8f78493314d1856716~1..582910e42ec4ba2c08ac7d8f78493314d1856716 [Pipeline] echo 05:09:59 -----------> git rev-list -1 --merges 582910e42ec4ba2c08ac7d8f78493314d1856716~1..582910e42ec4ba2c08ac7d8f78493314d1856716 582910e42ec4ba2c08ac7d8f78493314d1856716 [false] [Pipeline] sh 05:09:59 + git log --format=format:%s -1 582910e42ec4ba2c08ac7d8f78493314d1856716 [Pipeline] echo 05:09:59 ========================================================= 05:09:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:09:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:59 + git log --format=format:%s -1 582910e42ec4ba2c08ac7d8f78493314d1856716 [Pipeline] echo 05:09:59 [semverPrep] GIT_COMMIT: 582910e42ec4ba2c08ac7d8f78493314d1856716, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:09:59 [semverPrep] This is not a build commit. [Pipeline] sh 05:10:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:10:00 + grep -v github /etc/ssh/ssh_known_hosts 05:10:00 + [ -e /tmp/ssh_known_hosts ] 05:10:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:10:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:10:00 + sudo tee -a /etc/ssh/ssh_known_hosts 05:10:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:00 05:10:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:01 0.1.4: Pulling from edgex-devops/py-git-semver 05:10:01 b85a868b505f: Pulling fs layer 05:10:01 e2be974225ed: Pulling fs layer 05:10:01 339a4e72a1f5: Pulling fs layer 05:10:01 988bab9f4d93: Pulling fs layer 05:10:01 1469e6f7b9e6: Pulling fs layer 05:10:01 eaf3925da568: Pulling fs layer 05:10:01 bab4dde63d76: Pulling fs layer 05:10:01 bde34c3a00c8: Pulling fs layer 05:10:01 b352a97aabf1: Pulling fs layer 05:10:01 4872d77fe225: Pulling fs layer 05:10:01 5851b861e8e6: Pulling fs layer 05:10:01 988bab9f4d93: Waiting 05:10:01 bde34c3a00c8: Waiting 05:10:01 1469e6f7b9e6: Waiting 05:10:01 eaf3925da568: Waiting 05:10:01 bab4dde63d76: Waiting 05:10:01 b352a97aabf1: Waiting 05:10:01 5851b861e8e6: Waiting 05:10:01 4872d77fe225: Waiting 05:10:01 e2be974225ed: Verifying Checksum 05:10:01 e2be974225ed: Download complete 05:10:01 988bab9f4d93: Verifying Checksum 05:10:01 988bab9f4d93: Download complete 05:10:01 1469e6f7b9e6: Verifying Checksum 05:10:01 1469e6f7b9e6: Download complete 05:10:01 eaf3925da568: Verifying Checksum 05:10:01 eaf3925da568: Download complete 05:10:01 339a4e72a1f5: Verifying Checksum 05:10:01 339a4e72a1f5: Download complete 05:10:01 bde34c3a00c8: Download complete 05:10:01 b352a97aabf1: Download complete 05:10:01 4872d77fe225: Download complete 05:10:01 5851b861e8e6: Verifying Checksum 05:10:01 5851b861e8e6: Download complete 05:10:01 b85a868b505f: Verifying Checksum 05:10:01 b85a868b505f: Download complete 05:10:01 bab4dde63d76: Verifying Checksum 05:10:01 bab4dde63d76: Download complete 05:10:02 b85a868b505f: Pull complete 05:10:02 e2be974225ed: Pull complete 05:10:03 339a4e72a1f5: Pull complete 05:10:03 988bab9f4d93: Pull complete 05:10:03 1469e6f7b9e6: Pull complete 05:10:03 eaf3925da568: Pull complete 05:10:05 bab4dde63d76: Pull complete 05:10:05 bde34c3a00c8: Pull complete 05:10:05 b352a97aabf1: Pull complete 05:10:05 4872d77fe225: Pull complete 05:10:05 5851b861e8e6: Pull complete 05:10:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:10:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:05 prd-ubuntu20.04-docker-8c-8g-9110 does not seem to be running inside a container 05:10:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-510 -v /w/workspace/xfoundry_device-modbus-go_PR-510:/w/workspace/xfoundry_device-modbus-go_PR-510:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-510@tmp:/w/workspace/xfoundry_device-modbus-go_PR-510@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:10:10 $ docker top 86b0b4af00042ea003f1d1ff3b4331d5295e569426fa6d3c3d0b4ce5c91dffcf -eo pid,comm 05:10:10 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:10:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:10 [ssh-agent] Looking for ssh-agent implementation... 05:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:10 $ docker exec 86b0b4af00042ea003f1d1ff3b4331d5295e569426fa6d3c3d0b4ce5c91dffcf ssh-agent 05:10:10 SSH_AUTH_SOCK=/tmp/ssh-CaBzzSWX00yy/agent.32 05:10:10 SSH_AGENT_PID=38 05:10:10 Running ssh-add (command line suppressed) 05:10:10 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-510@tmp/private_key_12182171929222810719.key (/w/workspace/xfoundry_device-modbus-go_PR-510@tmp/private_key_12182171929222810719.key) 05:10:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:11 + git tag --points-at HEAD [Pipeline] } 05:10:11 $ docker exec --env ******** --env ******** 86b0b4af00042ea003f1d1ff3b4331d5295e569426fa6d3c3d0b4ce5c91dffcf ssh-agent -k 05:10:11 unset SSH_AUTH_SOCK; 05:10:11 unset SSH_AGENT_PID; 05:10:11 echo Agent pid 38 killed; 05:10:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:10:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:11 [ssh-agent] Looking for ssh-agent implementation... 05:10:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:11 $ docker exec 86b0b4af00042ea003f1d1ff3b4331d5295e569426fa6d3c3d0b4ce5c91dffcf ssh-agent 05:10:11 SSH_AUTH_SOCK=/tmp/ssh-WFnzm1Nhw210/agent.71 05:10:11 SSH_AGENT_PID=77 05:10:11 Running ssh-add (command line suppressed) 05:10:11 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-510@tmp/private_key_15971332697151274157.key (/w/workspace/xfoundry_device-modbus-go_PR-510@tmp/private_key_15971332697151274157.key) 05:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:12 + git semver init 05:10:12 2023-10-12 05:10:12,290 [run_init] DEBUG init version:0.0.0 force:False 05:10:12 2023-10-12 05:10:12,290 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-510/.semver 05:10:12 2023-10-12 05:10:12,291 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-510/.semver 05:10:12 2023-10-12 05:10:12,291 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-510/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-510, universal_newlines=False, shell=None, istream=None) 05:10:13 2023-10-12 05:10:13,238 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-510/.git/info/exclude 05:10:13 2023-10-12 05:10:13,238 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-510/.semver/PR-510 with force:False 05:10:13 2023-10-12 05:10:13,238 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-510/.semver/PR-510 05:10:13 2023-10-12 05:10:13,243 [execute] INFO git cat-file --batch-check 05:10:13 2023-10-12 05:10:13,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-510/.semver, universal_newlines=False, shell=None, istream=) 05:10:13 2023-10-12 05:10:13,248 [execute] INFO git cat-file --batch 05:10:13 2023-10-12 05:10:13,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-510/.semver, universal_newlines=False, shell=None, istream=) 05:10:13 2023-10-12 05:10:13,253 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-510/.semver/PR-510 05:10:13 0.0.0 [Pipeline] } 05:10:13 $ docker exec --env ******** --env ******** 86b0b4af00042ea003f1d1ff3b4331d5295e569426fa6d3c3d0b4ce5c91dffcf ssh-agent -k 05:10:13 unset SSH_AUTH_SOCK; 05:10:13 unset SSH_AGENT_PID; 05:10:13 echo Agent pid 77 killed; 05:10:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:10:13 + git semver [Pipeline] } 05:10:14 $ docker stop --time=1 86b0b4af00042ea003f1d1ff3b4331d5295e569426fa6d3c3d0b4ce5c91dffcf 05:10:15 $ docker rm -f --volumes 86b0b4af00042ea003f1d1ff3b4331d5295e569426fa6d3c3d0b4ce5c91dffcf [Pipeline] // withDockerContainer [Pipeline] sh 05:10:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:10:16 Stashed 1 file(s) [Pipeline] echo 05:10:16 [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:10:16 provisioning config files... 05:10:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-510@tmp/config5974279041711116156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:17 ---> docker-login.sh 05:10:17 nexus3.edgexfoundry.org:10001 05:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:17 Configure a credential helper to remove this warning. See 05:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:17 05:10:17 Login Succeeded 05:10:17 nexus3.edgexfoundry.org:10002 05:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:17 Configure a credential helper to remove this warning. See 05:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:17 05:10:17 Login Succeeded 05:10:17 nexus3.edgexfoundry.org:10003 05:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:17 Configure a credential helper to remove this warning. See 05:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:17 05:10:17 Login Succeeded 05:10:17 nexus3.edgexfoundry.org:10004 05:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:17 Configure a credential helper to remove this warning. See 05:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:17 05:10:17 Login Succeeded 05:10:17 docker.io 05:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:17 Configure a credential helper to remove this warning. See 05:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:17 05:10:17 Login Succeeded 05:10:17 ---> docker-login.sh ends [Pipeline] } 05:10:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:17 ========================================================= 05:10:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:10:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:10:18 Sending build context to Docker daemon 6.513MB 05:10:18 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:10:18 Step 2/10 : FROM ${BASE} AS builder 05:10:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:10:18 7264a8db6415: Pulling fs layer 05:10:18 c4d48a809fc2: Pulling fs layer 05:10:18 4f1c88b9dad5: Pulling fs layer 05:10:18 ad3a456e5733: Pulling fs layer 05:10:18 33e27b845d1e: Pulling fs layer 05:10:18 c68163c4e522: Pulling fs layer 05:10:18 50da416c3ac9: Pulling fs layer 05:10:18 23d2d4c4bb30: Pulling fs layer 05:10:18 c68163c4e522: Waiting 05:10:18 33e27b845d1e: Waiting 05:10:18 ad3a456e5733: Waiting 05:10:18 23d2d4c4bb30: Waiting 05:10:18 c4d48a809fc2: Download complete 05:10:18 ad3a456e5733: Download complete 05:10:18 33e27b845d1e: Verifying Checksum 05:10:18 33e27b845d1e: Download complete 05:10:18 7264a8db6415: Verifying Checksum 05:10:18 7264a8db6415: Download complete 05:10:18 c68163c4e522: Verifying Checksum 05:10:18 c68163c4e522: Download complete 05:10:18 7264a8db6415: Pull complete 05:10:18 c4d48a809fc2: Pull complete 05:10:18 23d2d4c4bb30: Verifying Checksum 05:10:18 23d2d4c4bb30: Download complete 05:10:18 4f1c88b9dad5: Download complete 05:10:19 50da416c3ac9: Verifying Checksum 05:10:19 50da416c3ac9: Download complete 05:10:22 4f1c88b9dad5: Pull complete 05:10:22 ad3a456e5733: Pull complete 05:10:22 33e27b845d1e: Pull complete 05:10:22 c68163c4e522: Pull complete 05:10:24 50da416c3ac9: Pull complete 05:10:25 23d2d4c4bb30: Pull complete 05:10:25 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:10:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:10:25 ---> 0786185ac409 05:10:25 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:10:30 ---> Running in c54c241a8829 05:10:30 Removing intermediate container c54c241a8829 05:10:30 ---> 4067bb7c52a7 05:10:30 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:10:30 ---> Running in 31460c06a2a0 05:10:30 Removing intermediate container 31460c06a2a0 05:10:30 ---> 41fd6050fde4 05:10:30 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:10:30 ---> Running in 06d6daa83742 05:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:10:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:10:31 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:10:31 (2/8) Installing libedit (20221030.3.1-r1) 05:10:31 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:10:31 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:10:31 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:10:31 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:10:31 (7/8) Installing openssh-server (9.3_p2-r0) 05:10:31 (8/8) Installing openssh (9.3_p2-r0) 05:10:31 Executing busybox-1.36.1-r2.trigger 05:10:31 OK: 270 MiB in 60 packages 05:10:31 Still waiting to schedule task 05:10:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9105’ is offline 05:10:31 Removing intermediate container 06d6daa83742 05:10:31 ---> 714c4f811ca5 05:10:31 Step 6/10 : WORKDIR /device-modbus-go 05:10:31 ---> Running in b724bc367512 05:10:31 Removing intermediate container b724bc367512 05:10:31 ---> 2a0576bdc790 05:10:31 Step 7/10 : COPY go.mod vendor* ./ 05:10:32 ---> 6deffd8311df 05:10:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:32 ---> Running in fadd2647a908 05:11:53 Removing intermediate container fadd2647a908 05:11:53 ---> 965e3c261dec 05:11:53 Step 9/10 : COPY . . 05:11:53 ---> 5c17adda6197 05:11:53 Step 10/10 : RUN ${MAKE} 05:11:53 ---> Running in 227349f87c55 05:11:53 noop 05:11:53 Removing intermediate container 227349f87c55 05:11:53 ---> 73eeb6e305ae 05:11:53 Successfully built 73eeb6e305ae 05:11:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:54 + docker inspect -f . ci-base-image-x86_64 05:11:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:54 prd-ubuntu20.04-docker-8c-8g-9110 does not seem to be running inside a container 05:11:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-510 -v /w/workspace/xfoundry_device-modbus-go_PR-510:/w/workspace/xfoundry_device-modbus-go_PR-510:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-510@tmp:/w/workspace/xfoundry_device-modbus-go_PR-510@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:11:54 $ docker top e2571dc7963405b35b0563f373451810334eaaa80916b01b07ee6bb6f87185dc -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:55 + go version 05:11:55 go version go1.21.0 linux/amd64 [Pipeline] } 05:11:55 $ docker stop --time=1 e2571dc7963405b35b0563f373451810334eaaa80916b01b07ee6bb6f87185dc 05:11:56 $ docker rm -f --volumes e2571dc7963405b35b0563f373451810334eaaa80916b01b07ee6bb6f87185dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:57 + docker inspect -f . ci-base-image-x86_64 05:11:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:57 prd-ubuntu20.04-docker-8c-8g-9110 does not seem to be running inside a container 05:11:57 $ 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-510 -v /w/workspace/xfoundry_device-modbus-go_PR-510:/w/workspace/xfoundry_device-modbus-go_PR-510:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-510@tmp:/w/workspace/xfoundry_device-modbus-go_PR-510@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:11:57 $ docker top 2866ab81166c79d5cb3ee82db8ac0e2125127d3ec90bc105a673d224b32b9ef9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:58 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-510 [Pipeline] fileExists [Pipeline] sh 05:11:58 + make test 05:11:58 go test ./... -coverprofile=coverage.out 05:11:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:12:12 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:12:12 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.9% of statements 05:12:18 go vet ./... 05:12:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:21 ./bin/test-attribution-txt.sh [Pipeline] echo 05:12:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:12:21 $ docker stop --time=1 2866ab81166c79d5cb3ee82db8ac0e2125127d3ec90bc105a673d224b32b9ef9 05:12:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9111 in /w/workspace/xfoundry_device-modbus-go_PR-510 05:12:25 $ docker rm -f --volumes 2866ab81166c79d5cb3ee82db8ac0e2125127d3ec90bc105a673d224b32b9ef9 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 05:12:26 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:12:26 Selected Git installation does not exist. Using Default 05:12:26 The recommended git tool is: NONE 05:12:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:12:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:27 + ls -al . 05:12:27 total 192 05:12:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 05:11 . 05:12:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:09 .. 05:12:27 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 05:09 .dockerignore 05:12:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 05:12 .git 05:12:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:09 .github 05:12:27 -rw-rw-r-- 1 jenkins jenkins 331 Oct 12 05:09 .gitignore 05:12:27 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 05:09 .golangci.yml 05:12:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 05:10 .semver 05:12:27 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 12 05:09 Attribution.txt 05:12:27 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 12 05:09 CHANGELOG.md 05:12:27 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 12 05:09 Dockerfile 05:12:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 05:09 GOVERNANCE.md 05:12:27 -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 05:09 Jenkinsfile 05:12:27 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 05:09 LICENSE 05:12:27 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 12 05:09 Makefile 05:12:27 -rw-rw-r-- 1 jenkins jenkins 622 Oct 12 05:09 OWNERS.md 05:12:27 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 12 05:09 README.md 05:12:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 05:10 VERSION 05:12:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:09 bin 05:12:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:09 cmd 05:12:27 -rw-r--r-- 1 jenkins jenkins 24334 Oct 12 05:12 coverage.out 05:12:27 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 12 05:09 go.mod 05:12:27 -rw-rw-r-- 1 jenkins jenkins 35967 Oct 12 05:09 go.sum 05:12:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:09 internal 05:12:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:09 simulator 05:12:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:09 snap 05:12:27 -rw-rw-r-- 1 jenkins jenkins 229 Oct 12 05:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:27 + 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=582910e42ec4ba2c08ac7d8f78493314d1856716 --label arch=amd64 --label version=0.0.0 . 05:12:27 Sending build context to Docker daemon 6.538MB 05:12:27 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:12:27 Step 2/22 : FROM ${BASE} AS builder 05:12:27 ---> 73eeb6e305ae 05:12:27 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:12:28 ---> Running in 1f14692fb911 05:12:28 Removing intermediate container 1f14692fb911 05:12:28 ---> f2aa68705886 05:12:28 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:12:28 ---> Running in 3862bf64d185 05:12:28 Removing intermediate container 3862bf64d185 05:12:28 ---> a68c7921c08f 05:12:28 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:12:28 ---> Running in 5584d8822000 05:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:12:29 OK: 270 MiB in 60 packages 05:12:29 Removing intermediate container 5584d8822000 05:12:29 ---> 2fde5d096850 05:12:29 Step 6/22 : WORKDIR /device-modbus-go 05:12:29 ---> Running in 2dbf8b890674 05:12:29 Removing intermediate container 2dbf8b890674 05:12:29 ---> 13be1580e578 05:12:29 Step 7/22 : COPY go.mod vendor* ./ 05:12:29 ---> d63ea4f558cb 05:12:29 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:29 ---> Running in 6fd8785bb177 05:12:30 Removing intermediate container 6fd8785bb177 05:12:30 ---> 88f799cda466 05:12:30 Step 9/22 : COPY . . 05:12:31 ---> a368b1476d5e 05:12:31 Step 10/22 : RUN ${MAKE} 05:12:31 ---> Running in 5054a4cbed0e 05:12:31 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.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:12:31 using credential edgex-jenkins-ssh 05:12:31 Cloning the remote Git repository 05:12:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:12:31 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:12:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:12:31 > git --version # timeout=10 05:12:31 > git --version # 'git version 2.25.1' 05:12:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:12:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:12:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:12:34 Merging remotes/origin/main commit e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 into PR head commit 582910e42ec4ba2c08ac7d8f78493314d1856716 05:12:34 Merge succeeded, producing 582910e42ec4ba2c08ac7d8f78493314d1856716 05:12:34 Checking out Revision 582910e42ec4ba2c08ac7d8f78493314d1856716 (PR-510) 05:12:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:12:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:12:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/510/head:refs/remotes/origin/PR-510 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:12:34 > git config core.sparsecheckout # timeout=10 05:12:34 > git checkout -f 582910e42ec4ba2c08ac7d8f78493314d1856716 # timeout=10 05:12:34 > git remote # timeout=10 05:12:34 > git config --get remote.origin.url # timeout=10 05:12:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:34 > git merge e06fe215c9f7361cb58f6068d4b3f6dc0080baf2 # timeout=10 05:12:34 > git rev-parse HEAD^{commit} # timeout=10 05:12:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:12:35 > git --version # timeout=10 05:12:35 > git --version # 'git version 2.25.1' 05:12:35 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:34 > git config core.sparsecheckout # timeout=10 05:12:34 > git checkout -f 582910e42ec4ba2c08ac7d8f78493314d1856716 # timeout=10 05:12:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:12:36 % Total % Received % Xferd Average Speed Time Time Time Current 05:12:36 Dload Upload Total Spent Left Speed 05:12:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 05:12:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:12:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:12:37 + sudo tee /etc/docker/daemon.new 05:12:37 { 05:12:37 "registry-mirrors": [ 05:12:37 "https://nexus3.edgexfoundry.org:10001" 05:12:37 ], 05:12:37 "bip": "10.250.0.254/24", 05:12:37 "hosts": [ 05:12:37 "tcp://0.0.0.0:5555", 05:12:37 "unix:///var/run/docker.sock" 05:12:37 ], 05:12:37 "mtu": 1458, 05:12:37 "selinux-enabled": true, 05:12:37 "seccomp-profile": "/etc/docker/seccomp.json" 05:12:37 } [Pipeline] sh 05:12:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:12:38 + sudo service docker restart 05:12:53 Removing intermediate container 5054a4cbed0e 05:12:53 ---> 0d82c296e97e 05:12:53 Step 11/22 : FROM alpine:3.18 05:12:53 3.18: Pulling from library/alpine 05:12:53 96526aa774ef: Pulling fs layer 05:12:53 96526aa774ef: Verifying Checksum 05:12:53 96526aa774ef: Download complete 05:12:54 96526aa774ef: Pull complete 05:12:54 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:12:54 Status: Downloaded newer image for alpine:3.18 05:12:54 ---> 8ca4688f4f35 05:12:54 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:12:54 ---> Running in 62b4648d71ea 05:12:54 Removing intermediate container 62b4648d71ea 05:12:54 ---> b9f279afa46f 05:12:54 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:12:54 ---> Running in 1e78b7f6acaf 05:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:12:55 (1/1) Installing dumb-init (1.2.5-r2) 05:12:55 Executing busybox-1.36.1-r2.trigger 05:12:55 OK: 7 MiB in 16 packages 05:12:55 Removing intermediate container 1e78b7f6acaf 05:12:55 ---> 596d89809a20 05:12:55 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:12:56 ---> 0a5c49656800 05:12:56 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:12:56 ---> a25f21b96794 05:12:56 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:12:56 ---> 25011ec4cb5e 05:12:56 Step 17/22 : EXPOSE 59901 05:12:56 ---> Running in 3fee4d702bb0 05:12:57 Removing intermediate container 3fee4d702bb0 05:12:57 ---> ace227e3a4d9 05:12:57 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:12:57 ---> Running in 0045a9b3a546 05:12:57 Removing intermediate container 0045a9b3a546 05:12:57 ---> d2c5c33b50e5 05:12:57 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:12:57 ---> Running in c32d4ae2095e 05:12:57 Removing intermediate container c32d4ae2095e 05:12:57 ---> 4d2eb0a3d97d 05:12:57 Step 20/22 : LABEL arch=amd64 05:12:57 ---> Running in 9215c5fa6b7a 05:12:57 Removing intermediate container 9215c5fa6b7a 05:12:57 ---> 8422f52adad3 05:12:57 Step 21/22 : LABEL git_sha=582910e42ec4ba2c08ac7d8f78493314d1856716 05:12:57 ---> Running in 886b7cbd2304 05:12:57 Removing intermediate container 886b7cbd2304 05:12:57 ---> 255fb3ff6843 05:12:57 Step 22/22 : LABEL version=0.0.0 05:12:57 ---> Running in 4d3342a7a017 05:12:57 Removing intermediate container 4d3342a7a017 05:12:57 ---> fc48b0227c30 05:12:57 [Warning] One or more build-args [ARCH] were not consumed 05:12:57 Successfully built fc48b0227c30 05:12:57 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:12:58 05:12:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:12:58 latest: Pulling from edgex-lftools-log-publisher 05:12:58 5eb5b503b376: Pulling fs layer 05:12:58 5c69ac0246d0: Pulling fs layer 05:12:58 ec43610c2a17: Pulling fs layer 05:12:58 3a2ae6a8a46f: Pulling fs layer 05:12:58 33b1e0a273af: Pulling fs layer 05:12:58 5d3b04190fa2: Pulling fs layer 05:12:58 2f39f015ded8: Pulling fs layer 05:12:58 33b1e0a273af: Waiting 05:12:58 5d3b04190fa2: Waiting 05:12:58 2f39f015ded8: Waiting 05:12:58 3a2ae6a8a46f: Waiting 05:12:58 5c69ac0246d0: Verifying Checksum 05:12:58 5c69ac0246d0: Download complete 05:12:58 3a2ae6a8a46f: Verifying Checksum 05:12:58 3a2ae6a8a46f: Download complete 05:12:58 33b1e0a273af: Verifying Checksum 05:12:58 33b1e0a273af: Download complete 05:12:58 5d3b04190fa2: Verifying Checksum 05:12:58 5d3b04190fa2: Download complete 05:12:59 ec43610c2a17: Verifying Checksum 05:12:59 ec43610c2a17: Download complete 05:12:59 5eb5b503b376: Download complete 05:12:59 2f39f015ded8: Download complete 05:13:00 5eb5b503b376: Pull complete 05:13:00 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:00 provisioning config files... 05:13:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10254196309045723190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:01 ec43610c2a17: Pull complete 05:13:01 3a2ae6a8a46f: Pull complete 05:13:01 ---> docker-login.sh 05:13:01 nexus3.edgexfoundry.org:10001 05:13:01 33b1e0a273af: Pull complete 05:13:01 5d3b04190fa2: Pull complete 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: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: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:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:03 Configure a credential helper to remove this warning. See 05:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:03 05:13:03 Login Succeeded 05:13:03 ---> docker-login.sh ends [Pipeline] } 05:13:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:13:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:04 ========================================================= 05:13:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:13:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:13:05 Sending build context to Docker daemon 3.382MB 05:13:05 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:13:05 Step 2/10 : FROM ${BASE} AS builder 05:13:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:13:05 9fda8d8052c6: Pulling fs layer 05:13:05 5d54e960e981: Pulling fs layer 05:13:05 c4a7e357bf2a: Pulling fs layer 05:13:05 f0e02332f6b5: Pulling fs layer 05:13:05 cefa15bbcfad: Pulling fs layer 05:13:05 17808c966233: Pulling fs layer 05:13:05 f4c1fc716caa: Pulling fs layer 05:13:05 cefa15bbcfad: Waiting 05:13:05 f4c1fc716caa: Waiting 05:13:05 17808c966233: Waiting 05:13:05 f0e02332f6b5: Waiting 05:13:05 5d54e960e981: Verifying Checksum 05:13:05 5d54e960e981: Download complete 05:13:05 f0e02332f6b5: Verifying Checksum 05:13:05 f0e02332f6b5: Download complete 05:13:05 cefa15bbcfad: Verifying Checksum 05:13:05 cefa15bbcfad: Download complete 05:13:05 9fda8d8052c6: Download complete 05:13:05 f4c1fc716caa: Verifying Checksum 05:13:05 f4c1fc716caa: Download complete 05:13:06 9fda8d8052c6: Pull complete 05:13:06 2f39f015ded8: Pull complete 05:13:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:06 prd-ubuntu20.04-docker-8c-8g-9110 does not seem to be running inside a container 05:13:06 $ 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-510 -v /w/workspace/xfoundry_device-modbus-go_PR-510:/w/workspace/xfoundry_device-modbus-go_PR-510:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-510@tmp:/w/workspace/xfoundry_device-modbus-go_PR-510@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:13:07 c4a7e357bf2a: Verifying Checksum 05:13:07 c4a7e357bf2a: Download complete 05:13:08 17808c966233: Verifying Checksum 05:13:08 17808c966233: Download complete 05:13:10 5d54e960e981: Pull complete 05:13:12 $ docker top bfd8cdd35e56839d4e721fd2fc29b0caab8d189191056b639376f545cc6cd1dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:13 ---> job-cost.sh 05:13:13 lf-activate-venv: SKIPPING 05:13:13 INFO: No Stack... 05:13:13 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:13 INFO: Archiving Costs [Pipeline] sh 05:13:14 + cat /w/workspace/xfoundry_device-modbus-go_PR-510/archives/cost.csv 05:13:14 + cut -d, -f6 [Pipeline] lock 05:13:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-510-1-stack-cost] 05:13:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-510-1-stack-cost] did not exist. Created. 05:13:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:14 + echo total: 0.2199999988079071 [Pipeline] stash 05:13:14 Stashed 1 file(s) [Pipeline] } 05:13:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-510-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:14 $ docker stop --time=1 bfd8cdd35e56839d4e721fd2fc29b0caab8d189191056b639376f545cc6cd1dd 05:13:16 $ docker rm -f --volumes bfd8cdd35e56839d4e721fd2fc29b0caab8d189191056b639376f545cc6cd1dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:13:26 c4a7e357bf2a: Pull complete 05:13:26 f0e02332f6b5: Pull complete 05:13:26 cefa15bbcfad: Pull complete 05:13:32 17808c966233: Pull complete 05:13:33 f4c1fc716caa: Pull complete 05:13:33 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:13:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:13:33 ---> ea914061e18c 05:13:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:13:35 ---> Running in f73111920375 05:13:35 Removing intermediate container f73111920375 05:13:35 ---> ae0900d4033b 05:13:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:35 ---> Running in 9806900f8ed2 05:13:36 Removing intermediate container 9806900f8ed2 05:13:36 ---> 40e92fc89b5a 05:13:36 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:13:36 ---> Running in 01b9a61596ee 05:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:13:38 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:13:38 (2/8) Installing libedit (20221030.3.1-r1) 05:13:38 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:13:38 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:13:38 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:13:38 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:13:38 (7/8) Installing openssh-server (9.3_p2-r0) 05:13:38 (8/8) Installing openssh (9.3_p2-r0) 05:13:38 Executing busybox-1.36.1-r2.trigger 05:13:38 OK: 272 MiB in 60 packages 05:13:39 Removing intermediate container 01b9a61596ee 05:13:39 ---> a28ea4d19ff8 05:13:39 Step 6/10 : WORKDIR /device-modbus-go 05:13:40 ---> Running in 74d87824cc7b 05:13:40 Removing intermediate container 74d87824cc7b 05:13:40 ---> 2e502e585003 05:13:40 Step 7/10 : COPY go.mod vendor* ./ 05:13:41 ---> aeb94332f5be 05:13:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:41 ---> Running in 9fa1f7403ea9 05:15:32 Removing intermediate container 9fa1f7403ea9 05:15:32 ---> 75baef8199ff 05:15:32 Step 9/10 : COPY . . 05:15:32 ---> d9cb8a968351 05:15:32 Step 10/10 : RUN ${MAKE} 05:15:32 ---> Running in 3b316f8d831e 05:15:32 noop 05:15:32 Removing intermediate container 3b316f8d831e 05:15:32 ---> 5dc3bde89c57 05:15:32 Successfully built 5dc3bde89c57 05:15:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:33 + docker inspect -f . ci-base-image-arm64 05:15:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:33 prd-ubuntu20.04-docker-arm64-4c-16g-9111 does not seem to be running inside a container 05:15:33 $ 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 ******** ci-base-image-arm64 cat 05:15:34 $ docker top 918fe4603e2d139dc7f9393d7cd0891763c99670a42eb47923aaf0d9df427962 -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:35 + go version 05:15:35 go version go1.21.0 linux/arm64 [Pipeline] } 05:15:35 $ docker stop --time=1 918fe4603e2d139dc7f9393d7cd0891763c99670a42eb47923aaf0d9df427962 05:15:37 $ docker rm -f --volumes 918fe4603e2d139dc7f9393d7cd0891763c99670a42eb47923aaf0d9df427962 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:38 + docker inspect -f . ci-base-image-arm64 05:15:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:38 prd-ubuntu20.04-docker-arm64-4c-16g-9111 does not seem to be running inside a container 05:15:38 $ 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 ******** ci-base-image-arm64 cat 05:15:41 $ docker top 41fee4412bce4db5a5dabbdafd2d7721e5f979a78256a1bfa148178b815b8cce -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:42 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:15:43 + make test 05:15:43 go test ./... -coverprofile=coverage.out 05:15:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:17:54 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:17:54 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.9% of statements 05:17:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:17:54 go vet ./... 05:18:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:18:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:18:16 ./bin/test-attribution-txt.sh [Pipeline] echo 05:18:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:18:16 $ docker stop --time=1 41fee4412bce4db5a5dabbdafd2d7721e5f979a78256a1bfa148178b815b8cce 05:18:18 $ docker rm -f --volumes 41fee4412bce4db5a5dabbdafd2d7721e5f979a78256a1bfa148178b815b8cce [Pipeline] // withDockerContainer [Pipeline] sh 05:18:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:18:19 Warning: overwriting stash ‘coverage-report’ 05:18:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:18:21 + ls -al . 05:18:21 total 188 05:18:21 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 05:15 . 05:18:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:12 .. 05:18:21 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 05:12 .dockerignore 05:18:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 05:12 .git 05:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:12 .github 05:18:21 -rw-rw-r-- 1 jenkins jenkins 331 Oct 12 05:12 .gitignore 05:18:21 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 05:12 .golangci.yml 05:18:21 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 12 05:12 Attribution.txt 05:18:21 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 12 05:12 CHANGELOG.md 05:18:21 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 12 05:12 Dockerfile 05:18:21 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 05:12 GOVERNANCE.md 05:18:21 -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 05:12 Jenkinsfile 05:18:21 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 05:12 LICENSE 05:18:21 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 12 05:12 Makefile 05:18:21 -rw-rw-r-- 1 jenkins jenkins 622 Oct 12 05:12 OWNERS.md 05:18:21 -rw-rw-r-- 1 jenkins jenkins 4578 Oct 12 05:12 README.md 05:18:21 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 05:10 VERSION 05:18:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:12 bin 05:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:12 cmd 05:18:21 -rw-r--r-- 1 jenkins jenkins 24334 Oct 12 05:17 coverage.out 05:18:21 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 12 05:12 go.mod 05:18:21 -rw-rw-r-- 1 jenkins jenkins 35967 Oct 12 05:12 go.sum 05:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:12 internal 05:18:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:12 simulator 05:18:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:12 snap 05:18:21 -rw-rw-r-- 1 jenkins jenkins 229 Oct 12 05:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:21 + 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=582910e42ec4ba2c08ac7d8f78493314d1856716 --label arch=arm64 --label version=0.0.0 . 05:18:22 Sending build context to Docker daemon 3.407MB 05:18:22 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:18:22 Step 2/22 : FROM ${BASE} AS builder 05:18:22 ---> 5dc3bde89c57 05:18:22 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:18:22 ---> Running in 7653da231fd0 05:18:22 Removing intermediate container 7653da231fd0 05:18:22 ---> 918ca6b6d454 05:18:22 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:18:22 ---> Running in 6c7057ed03b4 05:18:22 Removing intermediate container 6c7057ed03b4 05:18:22 ---> c10356e749b4 05:18:22 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:18:23 ---> Running in 06c178f11e1d 05:18:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:18:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:18:25 OK: 272 MiB in 60 packages 05:18:26 Removing intermediate container 06c178f11e1d 05:18:26 ---> b0b1b66ea11e 05:18:26 Step 6/22 : WORKDIR /device-modbus-go 05:18:26 ---> Running in 5293de6ebea6 05:18:26 Removing intermediate container 5293de6ebea6 05:18:26 ---> b874681ce0cf 05:18:26 Step 7/22 : COPY go.mod vendor* ./ 05:18:27 ---> b09d7fd5e688 05:18:27 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:18:27 ---> Running in 341fd1ae7dc8 05:18:30 Removing intermediate container 341fd1ae7dc8 05:18:30 ---> 2b6243718d01 05:18:30 Step 9/22 : COPY . . 05:18:30 ---> 4daef9a7bb21 05:18:30 Step 10/22 : RUN ${MAKE} 05:18:30 ---> Running in 539676f721c4 05:18:31 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.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:20:38 Removing intermediate container 539676f721c4 05:20:38 ---> b7d85be58500 05:20:38 Step 11/22 : FROM alpine:3.18 05:20:38 3.18: Pulling from library/alpine 05:20:38 579b34f0a95b: Pulling fs layer 05:20:38 579b34f0a95b: Download complete 05:20:38 579b34f0a95b: Pull complete 05:20:38 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:20:38 Status: Downloaded newer image for alpine:3.18 05:20:38 ---> 3cc203321400 05:20:38 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:20:38 ---> Running in c6329b52ac65 05:20:38 Removing intermediate container c6329b52ac65 05:20:38 ---> e874a89f314e 05:20:38 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:20:38 ---> Running in 2801fbf06a76 05:20:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:20:41 (1/1) Installing dumb-init (1.2.5-r2) 05:20:41 Executing busybox-1.36.1-r2.trigger 05:20:41 OK: 8 MiB in 16 packages 05:20:42 Removing intermediate container 2801fbf06a76 05:20:42 ---> b54cbf5ebc81 05:20:42 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:20:44 ---> 0a706175de49 05:20:44 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:20:44 ---> e6e4abc7a7d8 05:20:44 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:20:45 ---> ef658cf33513 05:20:45 Step 17/22 : EXPOSE 59901 05:20:45 ---> Running in e1390aa52cc2 05:20:45 Removing intermediate container e1390aa52cc2 05:20:45 ---> 5b7bf675878e 05:20:45 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:20:45 ---> Running in 7be1a083de58 05:20:45 Removing intermediate container 7be1a083de58 05:20:45 ---> e9f7aecd5758 05:20:45 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:20:45 ---> Running in aaeb059318af 05:20:46 Removing intermediate container aaeb059318af 05:20:46 ---> cd3d49758040 05:20:46 Step 20/22 : LABEL arch=arm64 05:20:46 ---> Running in c1017741090c 05:20:46 Removing intermediate container c1017741090c 05:20:46 ---> 133fd3af2114 05:20:46 Step 21/22 : LABEL git_sha=582910e42ec4ba2c08ac7d8f78493314d1856716 05:20:46 ---> Running in 9ec7539918e7 05:20:47 Removing intermediate container 9ec7539918e7 05:20:47 ---> 9a1c323aaf4e 05:20:47 Step 22/22 : LABEL version=0.0.0 05:20:47 ---> Running in a30d631126aa 05:20:47 Removing intermediate container a30d631126aa 05:20:47 ---> d882f8465264 05:20:47 [Warning] One or more build-args [ARCH] were not consumed 05:20:47 Successfully built d882f8465264 05:20:47 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:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:48 05:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:20:50 arm64: Pulling from edgex-lftools-log-publisher 05:20:50 8998bd30e6a1: Pulling fs layer 05:20:50 04944245beec: Pulling fs layer 05:20:50 699f458cf7ca: Pulling fs layer 05:20:50 765212b225bb: Pulling fs layer 05:20:50 f23df028b6ca: Pulling fs layer 05:20:50 d65c8cfc05b1: Pulling fs layer 05:20:50 2437ff75d9bd: Pulling fs layer 05:20:50 f23df028b6ca: Waiting 05:20:50 d65c8cfc05b1: Waiting 05:20:50 2437ff75d9bd: Waiting 05:20:50 765212b225bb: Waiting 05:20:50 04944245beec: Verifying Checksum 05:20:50 04944245beec: Download complete 05:20:50 765212b225bb: Verifying Checksum 05:20:50 765212b225bb: Download complete 05:20:50 f23df028b6ca: Verifying Checksum 05:20:50 f23df028b6ca: Download complete 05:20:50 d65c8cfc05b1: Verifying Checksum 05:20:50 d65c8cfc05b1: Download complete 05:20:50 699f458cf7ca: Verifying Checksum 05:20:50 699f458cf7ca: Download complete 05:20:51 8998bd30e6a1: Verifying Checksum 05:20:51 8998bd30e6a1: Download complete 05:20:53 2437ff75d9bd: Verifying Checksum 05:20:53 2437ff75d9bd: Download complete 05:20:56 8998bd30e6a1: Pull complete 05:20:56 04944245beec: Pull complete 05:20:58 699f458cf7ca: Pull complete 05:20:58 765212b225bb: Pull complete 05:20:59 f23df028b6ca: Pull complete 05:20:59 d65c8cfc05b1: Pull complete 05:21:17 2437ff75d9bd: Pull complete 05:21:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:21:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:21:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:18 prd-ubuntu20.04-docker-arm64-4c-16g-9111 does not seem to be running inside a container 05:21:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:21:21 $ docker top 488921b5372b533f299cf8b0fcee645c08d1ef7491cc6bb2f0c6004365f9f50b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:22 ---> job-cost.sh 05:21:22 lf-activate-venv: SKIPPING 05:21:22 INFO: No Stack... 05:21:22 INFO: Retrieving Pricing Info for: v3-standard-4 05:21:23 INFO: Archiving Costs [Pipeline] sh 05:21:24 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:21:24 + cut -d, -f6 [Pipeline] lock 05:21:24 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-510-1-stack-cost] 05:21:24 Resource [jenkins-edgexfoundry-device-modbus-go-PR-510-1-stack-cost] did not exist. Created. 05:21:24 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:21:24 /w/workspace/device-modbus-go/1@tmp/durable-0019b785/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:21:25 + echo total: 0.10999999940395355 [Pipeline] stash 05:21:25 Warning: overwriting stash ‘stack-cost’ 05:21:25 Stashed 1 file(s) [Pipeline] } 05:21:25 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-510-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:21:25 $ docker stop --time=1 488921b5372b533f299cf8b0fcee645c08d1ef7491cc6bb2f0c6004365f9f50b 05:21:27 $ docker rm -f --volumes 488921b5372b533f299cf8b0fcee645c08d1ef7491cc6bb2f0c6004365f9f50b [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:21:28 provisioning config files... 05:21:28 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-510@tmp/config4114543255228951282tmp [Pipeline] { [Pipeline] sh 05:21:28 + set +x 05:21:28 + bash -s -- 05:21:28 + curl -s https://codecov.io/bash 05:21:28 05:21:28 _____ _ 05:21:28 / ____| | | 05:21:28 | | ___ __| | ___ ___ _____ __ 05:21:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:21:28 | |___| (_) | (_| | __/ (_| (_) \ V / 05:21:28 \_____\___/ \__,_|\___|\___\___/ \_/ 05:21:28 Bash-1.0.6 05:21:28 05:21:28 05:21:28 ==> git version 2.25.1 found 05:21:28 ==> 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:21:28 Release-Date: 2020-01-08 05:21:28 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:21:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:21:28 ==> Jenkins CI detected. 05:21:28 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-510 05:21:28 project root: . 05:21:28 --> token set from env 05:21:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:21:28 ==> Running gcov in . (disable via -X gcov) 05:21:28 ==> Python coveragepy not found 05:21:28 ==> Searching for coverage reports in: 05:21:28 + . 05:21:28 -> Found 1 reports 05:21:28 ==> Detecting git/mercurial file structure 05:21:28 ==> Reading reports 05:21:28 + ./coverage.out bytes=24334 05:21:28 ==> Appending adjustments 05:21:28 https://docs.codecov.io/docs/fixing-reports 05:21:28 + Found adjustments 05:21:28 ==> Gzipping contents 05:21:28 4.0K /tmp/codecov.ylztwD.gz 05:21:28 ==> Uploading reports 05:21:28 url: https://codecov.io 05:21:28 query: branch=PR-510&commit=582910e42ec4ba2c08ac7d8f78493314d1856716&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-510%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=510&job=&cmd_args= 05:21:28 -> Pinging Codecov 05:21:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-510&commit=582910e42ec4ba2c08ac7d8f78493314d1856716&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-510%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=510&job=&cmd_args= 05:21:28 -> Uploading to 05:21:28 https://storage.googleapis.com/codecov/v4/raw/2023-10-12/55DBCA73C666E3227836607328DD7E49/582910e42ec4ba2c08ac7d8f78493314d1856716/e7561d23-a8ae-4c38-a2bd-8366d3bfb033.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T052128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d2a1ef1430ad94129b77738869af6731a4db676e30bf849fe3e4ff94225c5d5 05:21:28 % Total % Received % Xferd Average Speed Time Time Time Current 05:21:28 Dload Upload Total Spent Left Speed 05:21:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 12696 --:--:-- --:--:-- --:--:-- 12696 05:21:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/582910e42ec4ba2c08ac7d8f78493314d1856716 [Pipeline] } 05:21:29 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:21:30 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-510/archives ] 05:21:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-510/archives 05:21:30 total 16 05:21:30 drwxr-xr-x 3 root root 4096 Oct 12 05:13 . 05:21:30 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 05:13 .. 05:21:30 drwxr-xr-x 2 root root 4096 Oct 12 05:13 cost 05:21:30 -rw-r--r-- 1 root root 88 Oct 12 05:13 cost.csv 05:21:30 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-510/archives 05:21:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-510/archives 05:21:30 total 16 05:21:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 05:13 . 05:21:30 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 05:13 .. 05:21:30 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 05:13 cost 05:21:30 -rw-r--r-- 1 jenkins jenkins 88 Oct 12 05:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:21:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:21:32 ---> package-listing.sh 05:21:32 ++ facter osfamily 05:21:32 ++ tr '[:upper:]' '[:lower:]' 05:21:32 + OS_FAMILY=debian 05:21:32 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-510 05:21:32 + START_PACKAGES=/tmp/packages_start.txt 05:21:32 + END_PACKAGES=/tmp/packages_end.txt 05:21:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:21:32 + PACKAGES=/tmp/packages_start.txt 05:21:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-510 ']' 05:21:32 + PACKAGES=/tmp/packages_end.txt 05:21:32 + case "${OS_FAMILY}" in 05:21:32 + dpkg -l 05:21:32 + grep '^ii' 05:21:32 + '[' -f /tmp/packages_start.txt ']' 05:21:32 + '[' -f /tmp/packages_end.txt ']' 05:21:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:21:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-510 ']' 05:21:32 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-510/archives/ 05:21:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-510/archives/ [Pipeline] echo 05:21:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-510/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:21:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:33 prd-ubuntu20.04-docker-8c-8g-9110 does not seem to be running inside a container 05:21:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-510/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-510 -v /w/workspace/xfoundry_device-modbus-go_PR-510:/w/workspace/xfoundry_device-modbus-go_PR-510:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-510@tmp:/w/workspace/xfoundry_device-modbus-go_PR-510@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:21:33 $ docker top 60f08dc781e8664f0af7e766f0f977708c99e04af2155ae3cfb502eac788b649 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:34 + touch /tmp/pre-build-complete [Pipeline] sh 05:21:34 + mkdir -p /var/log/sysstat [Pipeline] sh 05:21:34 + ls /var/log/sa-host 05:21:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:35 provisioning config files... 05:21:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-510@tmp/config6843251586994189956tmp [Pipeline] { [Pipeline] echo 05:21:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:21:35 ---> create-netrc.sh [Pipeline] } 05:21:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:21:35 ---> python-tools-install.sh [Pipeline] echo 05:21:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:21:36 ---> sudo-logs.sh 05:21:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:21:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:21:36 ---> job-cost.sh 05:21:36 lf-activate-venv: SKIPPING 05:21:36 DEBUG: total: 0.2199999988079071 05:21:36 INFO: Retrieving Stack Cost... 05:21:37 INFO: Retrieving Pricing Info for: v3-standard-8 05:21:37 INFO: Archiving Costs [Pipeline] echo 05:21:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:21:37 ---> logs-deploy.sh 05:21:37 lf-activate-venv: SKIPPING 05:21:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-510/1 05:21:37 INFO: archiving workspace using pattern(s): 05:21:38 Archives upload complete. 05:21:38 INFO: archiving logs to Nexus