Pull request #414 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 2629dc372e066b6c036fb6770d771e1fe4beb6c3+a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f (5e8422a2a8f09988639ca566a8ab71691043ca77) 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-ssh3166223438323573878.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4382540540704216138.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10481378012637132438.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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16073081527687424841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2332992439724139046.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-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3206071867551921857.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-6154’ Running on prd-ubuntu20.04-docker-8c-8g-6156 in /w/workspace/xfoundry_device-modbus-go_PR-414 [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-414 # 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/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f into PR head commit 2629dc372e066b6c036fb6770d771e1fe4beb6c3 Merge succeeded, producing 2629dc372e066b6c036fb6770d771e1fe4beb6c3 Checking out Revision 2629dc372e066b6c036fb6770d771e1fe4beb6c3 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 2629dc372e066b6c036fb6770d771e1fe4beb6c3 # 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 a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2629dc372e066b6c036fb6770d771e1fe4beb6c3 # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:55:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:55:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:55:40 ========================================================= 17:55:40 EdgeX Global Pipelines Version Info 17:55:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:55:41 ------------------- 17:55:41 stable info: 17:55:41 ------------------- 17:55:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:55:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:55:41 Message: update stable to v1.0.244 17:55:41 ------------------- 17:55:41 experimental info: 17:55:41 ------------------- 17:55:41 Commited By: **** collab-it+edgex@linuxfoundation.org 17:55:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:55:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:55:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2629dc3 [Pipeline] echo 17:55:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:55:43 provisioning config files... 17:55:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/config9347531617927390172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:43 ---> docker-login.sh 17:55:43 nexus3.edgexfoundry.org:10001 17:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:44 Configure a credential helper to remove this warning. See 17:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:44 17:55:44 Login Succeeded 17:55:44 nexus3.edgexfoundry.org:10002 17:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:44 Configure a credential helper to remove this warning. See 17:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:44 17:55:44 Login Succeeded 17:55:44 nexus3.edgexfoundry.org:10003 17:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:44 Configure a credential helper to remove this warning. See 17:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:44 17:55:44 Login Succeeded 17:55:44 nexus3.edgexfoundry.org:10004 17:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:44 Configure a credential helper to remove this warning. See 17:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:44 17:55:44 Login Succeeded 17:55:44 docker.io 17:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:44 Configure a credential helper to remove this warning. See 17:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:44 17:55:44 Login Succeeded 17:55:44 ---> docker-login.sh ends [Pipeline] } 17:55:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:55:45 + git rev-list -1 --merges 2629dc372e066b6c036fb6770d771e1fe4beb6c3~1..2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] echo 17:55:45 -----------> git rev-list -1 --merges 2629dc372e066b6c036fb6770d771e1fe4beb6c3~1..2629dc372e066b6c036fb6770d771e1fe4beb6c3 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [false] [Pipeline] sh 17:55:45 + git log --format=format:%s -1 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] echo 17:55:46 ========================================================= 17:55:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:55:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:55:46 + git log --format=format:%s -1 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] echo 17:55:46 [semverPrep] GIT_COMMIT: 2629dc372e066b6c036fb6770d771e1fe4beb6c3, Commit Message: refactor!: Replace internal topics from config with new constants [Pipeline] echo 17:55:46 [semverPrep] This is not a build commit. [Pipeline] sh 17:55:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:55:46 + grep -v github /etc/ssh/ssh_known_hosts 17:55:46 + [ -e /tmp/ssh_known_hosts ] 17:55:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:55:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:55:46 + sudo tee -a /etc/ssh/ssh_known_hosts 17:55:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:47 17:55:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:47 0.1.4: Pulling from edgex-devops/py-git-semver 17:55:47 b85a868b505f: Pulling fs layer 17:55:47 e2be974225ed: Pulling fs layer 17:55:47 339a4e72a1f5: Pulling fs layer 17:55:47 988bab9f4d93: Pulling fs layer 17:55:47 1469e6f7b9e6: Pulling fs layer 17:55:47 eaf3925da568: Pulling fs layer 17:55:47 bab4dde63d76: Pulling fs layer 17:55:47 988bab9f4d93: Waiting 17:55:47 bde34c3a00c8: Pulling fs layer 17:55:47 b352a97aabf1: Pulling fs layer 17:55:47 1469e6f7b9e6: Waiting 17:55:47 eaf3925da568: Waiting 17:55:47 bab4dde63d76: Waiting 17:55:47 4872d77fe225: Pulling fs layer 17:55:47 5851b861e8e6: Pulling fs layer 17:55:47 b352a97aabf1: Waiting 17:55:47 bde34c3a00c8: Waiting 17:55:47 e2be974225ed: Download complete 17:55:47 988bab9f4d93: Verifying Checksum 17:55:47 988bab9f4d93: Download complete 17:55:48 1469e6f7b9e6: Verifying Checksum 17:55:48 1469e6f7b9e6: Download complete 17:55:48 eaf3925da568: Verifying Checksum 17:55:48 eaf3925da568: Download complete 17:55:48 339a4e72a1f5: Verifying Checksum 17:55:48 339a4e72a1f5: Download complete 17:55:48 bde34c3a00c8: Verifying Checksum 17:55:48 bde34c3a00c8: Download complete 17:55:48 b352a97aabf1: Verifying Checksum 17:55:48 b352a97aabf1: Download complete 17:55:48 4872d77fe225: Verifying Checksum 17:55:48 4872d77fe225: Download complete 17:55:48 5851b861e8e6: Download complete 17:55:48 b85a868b505f: Verifying Checksum 17:55:48 b85a868b505f: Download complete 17:55:48 bab4dde63d76: Verifying Checksum 17:55:48 bab4dde63d76: Download complete 17:55:49 b85a868b505f: Pull complete 17:55:49 e2be974225ed: Pull complete 17:55:50 339a4e72a1f5: Pull complete 17:55:50 988bab9f4d93: Pull complete 17:55:50 1469e6f7b9e6: Pull complete 17:55:50 eaf3925da568: Pull complete 17:55:52 bab4dde63d76: Pull complete 17:55:52 bde34c3a00c8: Pull complete 17:55:52 b352a97aabf1: Pull complete 17:55:52 4872d77fe225: Pull complete 17:55:52 5851b861e8e6: Pull complete 17:55:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:55:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:52 prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container 17:55:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@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-devops/py-git-semver:0.1.4 cat 17:55:55 $ docker top 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 -eo pid,comm 17:55:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:55:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:55:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:55:55 [ssh-agent] Looking for ssh-agent implementation... 17:55:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:55:55 $ docker exec 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 ssh-agent 17:55:55 SSH_AUTH_SOCK=/tmp/ssh-2vrADH25H5Vh/agent.32 17:55:55 SSH_AGENT_PID=38 17:55:55 Running ssh-add (command line suppressed) 17:55:55 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-414@tmp/private_key_14347583392955498335.key (/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/private_key_14347583392955498335.key) 17:55:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:55:56 + git tag --points-at HEAD [Pipeline] } 17:55:56 $ docker exec --env ******** --env ******** 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 ssh-agent -k 17:55:56 unset SSH_AUTH_SOCK; 17:55:56 unset SSH_AGENT_PID; 17:55:56 echo Agent pid 38 killed; 17:55:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:55:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:55:56 [ssh-agent] Looking for ssh-agent implementation... 17:55:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:55:56 $ docker exec 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 ssh-agent 17:55:56 SSH_AUTH_SOCK=/tmp/ssh-nvH8ee8EyXkS/agent.70 17:55:56 SSH_AGENT_PID=76 17:55:56 Running ssh-add (command line suppressed) 17:55:56 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-414@tmp/private_key_2320375970169198012.key (/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/private_key_2320375970169198012.key) 17:55:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:55:56 + git semver init 17:55:57 2023-02-15 17:55:57,105 [run_init] DEBUG init version:0.0.0 force:False 17:55:57 2023-02-15 17:55:57,105 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-414/.semver 17:55:57 2023-02-15 17:55:57,106 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-414/.semver 17:55:57 2023-02-15 17:55:57,106 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-414/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-414, universal_newlines=False, shell=None, istream=None) 17:55:58 2023-02-15 17:55:58,066 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-414/.git/info/exclude 17:55:58 2023-02-15 17:55:58,067 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-414/.semver/PR-414 with force:False 17:55:58 2023-02-15 17:55:58,067 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-414/.semver/PR-414 17:55:58 2023-02-15 17:55:58,070 [execute] INFO git cat-file --batch-check 17:55:58 2023-02-15 17:55:58,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 17:55:58 2023-02-15 17:55:58,077 [execute] INFO git cat-file --batch 17:55:58 2023-02-15 17:55:58,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 17:55:58 2023-02-15 17:55:58,085 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-414/.semver/PR-414 17:55:58 0.0.0 [Pipeline] } 17:55:58 $ docker exec --env ******** --env ******** 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 ssh-agent -k 17:55:58 unset SSH_AUTH_SOCK; 17:55:58 unset SSH_AGENT_PID; 17:55:58 echo Agent pid 76 killed; 17:55:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:55:58 + git semver [Pipeline] } 17:55:58 $ docker stop --time=1 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 17:56:00 $ docker rm -f --volumes 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 [Pipeline] // withDockerContainer [Pipeline] sh 17:56:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:56:00 Stashed 1 file(s) [Pipeline] echo 17:56:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:56:01 provisioning config files... 17:56:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/config1299887000706380200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:02 ---> docker-login.sh 17:56:02 nexus3.edgexfoundry.org:10001 17:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:02 Configure a credential helper to remove this warning. See 17:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:02 17:56:02 Login Succeeded 17:56:02 nexus3.edgexfoundry.org:10002 17:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:02 Configure a credential helper to remove this warning. See 17:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:02 17:56:02 Login Succeeded 17:56:02 nexus3.edgexfoundry.org:10003 17:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:02 Configure a credential helper to remove this warning. See 17:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:02 17:56:02 Login Succeeded 17:56:02 nexus3.edgexfoundry.org:10004 17:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:02 Configure a credential helper to remove this warning. See 17:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:02 17:56:02 Login Succeeded 17:56:02 docker.io 17:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:02 Configure a credential helper to remove this warning. See 17:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:02 17:56:02 Login Succeeded 17:56:02 ---> docker-login.sh ends [Pipeline] } 17:56:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:56:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:03 ========================================================= 17:56:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:56:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:56:03 Sending build context to Docker daemon 6.383MB 17:56:03 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:56:03 Step 2/10 : FROM ${BASE} AS builder 17:56:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:56:03 213ec9aee27d: Pulling fs layer 17:56:03 4583459ba037: Pulling fs layer 17:56:03 93c1e223e6f2: Pulling fs layer 17:56:03 53926ce57604: Pulling fs layer 17:56:03 21b2b0c7a3f4: Pulling fs layer 17:56:03 22ff95d597cd: Pulling fs layer 17:56:03 12d6caf4c0d1: Pulling fs layer 17:56:03 96b7cbca73a9: Pulling fs layer 17:56:03 a7acece74701: Pulling fs layer 17:56:03 96b7cbca73a9: Waiting 17:56:03 12d6caf4c0d1: Waiting 17:56:03 53926ce57604: Waiting 17:56:03 21b2b0c7a3f4: Waiting 17:56:03 22ff95d597cd: Waiting 17:56:03 a7acece74701: Waiting 17:56:03 93c1e223e6f2: Download complete 17:56:03 4583459ba037: Verifying Checksum 17:56:03 4583459ba037: Download complete 17:56:03 21b2b0c7a3f4: Verifying Checksum 17:56:03 21b2b0c7a3f4: Download complete 17:56:03 22ff95d597cd: Verifying Checksum 17:56:03 22ff95d597cd: Download complete 17:56:03 213ec9aee27d: Verifying Checksum 17:56:03 213ec9aee27d: Download complete 17:56:03 12d6caf4c0d1: Download complete 17:56:03 213ec9aee27d: Pull complete 17:56:04 4583459ba037: Pull complete 17:56:04 93c1e223e6f2: Pull complete 17:56:04 a7acece74701: Verifying Checksum 17:56:04 a7acece74701: Download complete 17:56:05 53926ce57604: Verifying Checksum 17:56:05 53926ce57604: Download complete 17:56:05 96b7cbca73a9: Verifying Checksum 17:56:05 96b7cbca73a9: Download complete 17:56:09 53926ce57604: Pull complete 17:56:09 21b2b0c7a3f4: Pull complete 17:56:09 22ff95d597cd: Pull complete 17:56:09 12d6caf4c0d1: Pull complete 17:56:11 96b7cbca73a9: Pull complete 17:56:12 a7acece74701: Pull complete 17:56:12 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:56:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:56:12 ---> db6d94c90886 17:56:12 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:56:16 Still waiting to schedule task 17:56:16 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6155’ 17:56:20 ---> Running in 001d5c135979 17:56:20 Removing intermediate container 001d5c135979 17:56:20 ---> 7c0c1e85b044 17:56:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:56:20 ---> Running in 1a664aa4dced 17:56:20 Removing intermediate container 1a664aa4dced 17:56:20 ---> a84a8c93ba86 17:56:20 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:56:20 ---> Running in 7a198d5c2679 17:56:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:56:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:56:20 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:56:20 (2/8) Installing libedit (20210910.3.1-r0) 17:56:20 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:56:20 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:56:20 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:56:20 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:56:20 (7/8) Installing openssh-server (9.0_p1-r2) 17:56:20 (8/8) Installing openssh (9.0_p1-r2) 17:56:20 Executing busybox-1.35.0-r17.trigger 17:56:20 OK: 217 MiB in 59 packages 17:56:21 Removing intermediate container 7a198d5c2679 17:56:21 ---> 2bb976e816d1 17:56:21 Step 6/10 : WORKDIR /device-modbus-go 17:56:21 ---> Running in 6bc5e006a8c9 17:56:21 Removing intermediate container 6bc5e006a8c9 17:56:21 ---> 5b0bf15b4843 17:56:21 Step 7/10 : COPY go.mod vendor* ./ 17:56:21 ---> 9f1bac861cfe 17:56:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:56:21 ---> Running in 158764a1d43d 17:57:08 Removing intermediate container 158764a1d43d 17:57:08 ---> 3da780c33a89 17:57:08 Step 9/10 : COPY . . 17:57:08 ---> cdc07598f323 17:57:08 Step 10/10 : RUN ${MAKE} 17:57:08 ---> Running in 55be38bada2e 17:57:08 noop 17:57:08 Removing intermediate container 55be38bada2e 17:57:08 ---> de2a90d3a501 17:57:08 Successfully built de2a90d3a501 17:57:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:08 + docker inspect -f . ci-base-image-x86_64 17:57:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:08 prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container 17:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:57:09 $ docker top 1320f5ccae106831ecc8518e79c71e0dcd65c15e6b3fa5da2340353149012a6d -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:09 + go version 17:57:09 go version go1.18.7 linux/amd64 [Pipeline] } 17:57:09 $ docker stop --time=1 1320f5ccae106831ecc8518e79c71e0dcd65c15e6b3fa5da2340353149012a6d 17:57:10 $ docker rm -f --volumes 1320f5ccae106831ecc8518e79c71e0dcd65c15e6b3fa5da2340353149012a6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:11 + docker inspect -f . ci-base-image-x86_64 17:57:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:11 prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container 17:57:11 $ 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-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:57:12 $ docker top b4e79ea6be56ca9a07060220c88ba631e266e598743f050ffc9269dcb58884bb -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:12 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-414 [Pipeline] fileExists [Pipeline] sh 17:57:12 + make test 17:57:12 go test ./... -coverprofile=coverage.out 17:57:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:57:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:57:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 17:57:28 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:57:28 go vet ./... 17:57:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:57:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:57:31 ./bin/test-attribution-txt.sh [Pipeline] echo 17:57:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:57:31 $ docker stop --time=1 b4e79ea6be56ca9a07060220c88ba631e266e598743f050ffc9269dcb58884bb 17:57:34 $ docker rm -f --volumes b4e79ea6be56ca9a07060220c88ba631e266e598743f050ffc9269dcb58884bb [Pipeline] // withDockerContainer [Pipeline] sh 17:57:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:57:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:57:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:57:36 + ls -al . 17:57:36 total 184 17:57:36 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 17:57 . 17:57:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:55 .. 17:57:36 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 17:55 .dockerignore 17:57:36 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:57 .git 17:57:36 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:55 .github 17:57:36 -rw-rw-r-- 1 jenkins jenkins 331 Feb 15 17:55 .gitignore 17:57:36 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 17:55 .golangci.yml 17:57:36 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 17:55 .semver 17:57:36 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 15 17:55 Attribution.txt 17:57:36 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 15 17:55 CHANGELOG.md 17:57:36 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 15 17:55 Dockerfile 17:57:36 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 17:55 GOVERNANCE.md 17:57:36 -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 17:55 Jenkinsfile 17:57:36 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 17:55 LICENSE 17:57:36 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 15 17:55 Makefile 17:57:36 -rw-rw-r-- 1 jenkins jenkins 622 Feb 15 17:55 OWNERS.md 17:57:36 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 15 17:55 README.md 17:57:36 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 17:56 VERSION 17:57:36 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:55 bin 17:57:36 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:55 cmd 17:57:36 -rw-r--r-- 1 jenkins jenkins 23241 Feb 15 17:57 coverage.out 17:57:36 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 15 17:55 go.mod 17:57:36 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 15 17:55 go.sum 17:57:36 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:55 internal 17:57:36 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:55 simulator 17:57:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:55 snap 17:57:36 -rw-rw-r-- 1 jenkins jenkins 229 Feb 15 17:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:36 + 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=2629dc372e066b6c036fb6770d771e1fe4beb6c3 --label arch=amd64 --label version=0.0.0 . 17:57:36 Sending build context to Docker daemon 6.407MB 17:57:36 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 17:57:36 Step 2/22 : FROM ${BASE} AS builder 17:57:36 ---> de2a90d3a501 17:57:36 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:57:37 ---> Running in 032eb380688d 17:57:37 Removing intermediate container 032eb380688d 17:57:37 ---> 89262b59de95 17:57:37 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:37 ---> Running in 4a00c8587177 17:57:37 Removing intermediate container 4a00c8587177 17:57:37 ---> 978c76ec5c9f 17:57:37 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:57:38 ---> Running in e60535e8ce12 17:57:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:57:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:57:39 OK: 217 MiB in 59 packages 17:57:39 Removing intermediate container e60535e8ce12 17:57:39 ---> a35289598b4c 17:57:39 Step 6/22 : WORKDIR /device-modbus-go 17:57:39 ---> Running in 48a3410f506f 17:57:39 Removing intermediate container 48a3410f506f 17:57:39 ---> 93b53c50f309 17:57:39 Step 7/22 : COPY go.mod vendor* ./ 17:57:40 ---> 4c07ed4e0a5e 17:57:40 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:40 ---> Running in fbf1468a7f1c 17:57:41 Removing intermediate container fbf1468a7f1c 17:57:41 ---> 708358d9a321 17:57:41 Step 9/22 : COPY . . 17:57:41 ---> ac8ba2915dfe 17:57:41 Step 10/22 : RUN ${MAKE} 17:57:41 ---> Running in c926a32cc0e7 17:57:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 17:58:08 Removing intermediate container c926a32cc0e7 17:58:08 ---> 5af0bcaf74be 17:58:08 Step 11/22 : FROM alpine:3.14 17:58:08 3.14: Pulling from library/alpine 17:58:09 d261077062b2: Pulling fs layer 17:58:09 d261077062b2: Verifying Checksum 17:58:09 d261077062b2: Download complete 17:58:09 d261077062b2: Pull complete 17:58:09 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 17:58:09 Status: Downloaded newer image for alpine:3.14 17:58:09 ---> 6dff1269bc79 17:58:09 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:58:10 ---> Running in 94dcdea3a78d 17:58:10 Removing intermediate container 94dcdea3a78d 17:58:10 ---> c01224ac3f65 17:58:10 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:58:11 ---> Running in f045c07129b3 17:58:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:58:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:58:11 (1/1) Installing dumb-init (1.2.5-r1) 17:58:11 Executing busybox-1.33.1-r8.trigger 17:58:11 OK: 6 MiB in 15 packages 17:58:12 Removing intermediate container f045c07129b3 17:58:12 ---> 8039f82dbe4f 17:58:12 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:58:13 ---> 4733672ce851 17:58:13 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:58:13 ---> 01a9d7a0d912 17:58:13 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:58:14 ---> 9d40e2580292 17:58:14 Step 17/22 : EXPOSE 59901 17:58:14 ---> Running in 4dc3fd8bc061 17:58:14 Removing intermediate container 4dc3fd8bc061 17:58:14 ---> 9f12b258ab4e 17:58:14 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:58:14 ---> Running in 558f05e45fa7 17:58:15 Removing intermediate container 558f05e45fa7 17:58:15 ---> 5f7827dd94d3 17:58:15 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:58:15 ---> Running in 02a04b46e446 17:58:15 Removing intermediate container 02a04b46e446 17:58:15 ---> 266f2e409ec8 17:58:15 Step 20/22 : LABEL arch=amd64 17:58:15 ---> Running in 0cde6f69906c 17:58:15 Removing intermediate container 0cde6f69906c 17:58:15 ---> 0095c843b096 17:58:15 Step 21/22 : LABEL git_sha=2629dc372e066b6c036fb6770d771e1fe4beb6c3 17:58:15 ---> Running in 4bf7ce472e7c 17:58:16 Removing intermediate container 4bf7ce472e7c 17:58:16 ---> e343ffc7837d 17:58:16 Step 22/22 : LABEL version=0.0.0 17:58:16 ---> Running in d7967cda86d0 17:58:16 Removing intermediate container d7967cda86d0 17:58:16 ---> 7f2a9b47fe82 17:58:16 [Warning] One or more build-args [ARCH] were not consumed 17:58:16 Successfully built 7f2a9b47fe82 17:58:16 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 17:58:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:16 17:58:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:17 latest: Pulling from edgex-lftools-log-publisher 17:58:17 5eb5b503b376: Pulling fs layer 17:58:17 5c69ac0246d0: Pulling fs layer 17:58:17 ec43610c2a17: Pulling fs layer 17:58:17 3a2ae6a8a46f: Pulling fs layer 17:58:17 33b1e0a273af: Pulling fs layer 17:58:17 5d3b04190fa2: Pulling fs layer 17:58:17 2f39f015ded8: Pulling fs layer 17:58:17 3a2ae6a8a46f: Waiting 17:58:17 5d3b04190fa2: Waiting 17:58:17 33b1e0a273af: Waiting 17:58:17 2f39f015ded8: Waiting 17:58:17 5c69ac0246d0: Verifying Checksum 17:58:17 5c69ac0246d0: Download complete 17:58:17 3a2ae6a8a46f: Verifying Checksum 17:58:17 3a2ae6a8a46f: Download complete 17:58:17 33b1e0a273af: Verifying Checksum 17:58:17 33b1e0a273af: Download complete 17:58:17 5d3b04190fa2: Download complete 17:58:17 ec43610c2a17: Download complete 17:58:17 5eb5b503b376: Download complete 17:58:18 2f39f015ded8: Download complete 17:58:18 5eb5b503b376: Pull complete 17:58:18 5c69ac0246d0: Pull complete 17:58:19 ec43610c2a17: Pull complete 17:58:19 3a2ae6a8a46f: Pull complete 17:58:19 33b1e0a273af: Pull complete 17:58:19 5d3b04190fa2: Pull complete 17:58:23 2f39f015ded8: Pull complete 17:58:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:58:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:24 prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container 17:58:24 $ 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-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:58:29 $ docker top eca4c55dcc6a21e257c968be603e92a80a3b91dc2fbf5dd71daaa85a9fdb4630 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:30 ---> job-cost.sh 17:58:30 lf-activate-venv: SKIPPING 17:58:30 INFO: No Stack... 17:58:36 INFO: Retrieving Pricing Info for: v3-standard-8 17:58:36 INFO: Archiving Costs [Pipeline] sh 17:58:37 + cat /w/workspace/xfoundry_device-modbus-go_PR-414/archives/cost.csv 17:58:37 + cut -d, -f6 [Pipeline] lock 17:58:37 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] 17:58:37 Resource [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] did not exist. Created. 17:58:37 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:37 + echo total: 0.2199999988079071 [Pipeline] stash 17:58:37 Stashed 1 file(s) [Pipeline] } 17:58:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:58:37 $ docker stop --time=1 eca4c55dcc6a21e257c968be603e92a80a3b91dc2fbf5dd71daaa85a9fdb4630 17:58:38 $ docker rm -f --volumes eca4c55dcc6a21e257c968be603e92a80a3b91dc2fbf5dd71daaa85a9fdb4630 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:59:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6157 in /w/workspace/xfoundry_device-modbus-go_PR-414 [Pipeline] { [Pipeline] ws 17:59:38 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 17:59:38 Selected Git installation does not exist. Using Default 17:59:38 The recommended git tool is: NONE 17:59:44 using credential edgex-jenkins-ssh 17:59:44 Cloning the remote Git repository 17:59:44 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:59:44 > git init /w/workspace/device-modbus-go/1 # timeout=10 17:59:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:59:44 > git --version # timeout=10 17:59:44 > git --version # 'git version 2.25.1' 17:59:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:59:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:59:49 Merging remotes/origin/main commit a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f into PR head commit 2629dc372e066b6c036fb6770d771e1fe4beb6c3 17:59:49 Merge succeeded, producing 2629dc372e066b6c036fb6770d771e1fe4beb6c3 17:59:49 Checking out Revision 2629dc372e066b6c036fb6770d771e1fe4beb6c3 (PR-414) 17:59:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:59:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:59:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:59:49 > git config core.sparsecheckout # timeout=10 17:59:49 > git checkout -f 2629dc372e066b6c036fb6770d771e1fe4beb6c3 # timeout=10 17:59:49 > git remote # timeout=10 17:59:49 > git config --get remote.origin.url # timeout=10 17:59:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:59:49 > git merge a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f # timeout=10 17:59:49 > git rev-parse HEAD^{commit} # timeout=10 17:59:49 > git config core.sparsecheckout # timeout=10 17:59:49 > git checkout -f 2629dc372e066b6c036fb6770d771e1fe4beb6c3 # timeout=10 17:59:53 Commit message: "refactor!: Replace internal topics from config with new constants" 17:59:53 > git --version # timeout=10 17:59:53 > git --version # 'git version 2.25.1' 17:59:53 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:59:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:59:54 % Total % Received % Xferd Average Speed Time Time Time Current 17:59:54 Dload Upload Total Spent Left Speed 17:59:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 17:59:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:59:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:59:55 + sudo tee /etc/docker/daemon.new 17:59:55 { 17:59:55 "registry-mirrors": [ 17:59:55 "https://nexus3.edgexfoundry.org:10001" 17:59:55 ], 17:59:55 "bip": "10.250.0.254/24", 17:59:55 "hosts": [ 17:59:55 "tcp://0.0.0.0:5555", 17:59:55 "unix:///var/run/docker.sock" 17:59:55 ], 17:59:55 "mtu": 1458, 17:59:55 "selinux-enabled": true, 17:59:55 "seccomp-profile": "/etc/docker/seccomp.json" 17:59:55 } [Pipeline] sh 17:59:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:59:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:00:14 provisioning config files... 18:00:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10945176427548157129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:14 ---> docker-login.sh 18:00:14 nexus3.edgexfoundry.org:10001 18:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:15 Configure a credential helper to remove this warning. See 18:00:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:15 18:00:15 Login Succeeded 18:00:15 nexus3.edgexfoundry.org:10002 18:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:15 Configure a credential helper to remove this warning. See 18:00:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:15 18:00:15 Login Succeeded 18:00:15 nexus3.edgexfoundry.org:10003 18:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:16 Configure a credential helper to remove this warning. See 18:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:16 18:00:16 Login Succeeded 18:00:16 nexus3.edgexfoundry.org:10004 18:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:16 Configure a credential helper to remove this warning. See 18:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:16 18:00:16 Login Succeeded 18:00:16 docker.io 18:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:00:17 Configure a credential helper to remove this warning. See 18:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:00:17 18:00:17 Login Succeeded 18:00:17 ---> docker-login.sh ends [Pipeline] } 18:00:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:00:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:00:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:00:18 ========================================================= 18:00:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:00:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:00:19 Sending build context to Docker daemon 3.333MB 18:00:19 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:00:19 Step 2/10 : FROM ${BASE} AS builder 18:00:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:00:19 9b18e9b68314: Pulling fs layer 18:00:19 35d82f9e3411: Pulling fs layer 18:00:19 e16973657156: Pulling fs layer 18:00:19 fc693d55d65f: Pulling fs layer 18:00:19 7e9fc2657dce: Pulling fs layer 18:00:19 dda99020689f: Pulling fs layer 18:00:19 db1c61fa0a46: Pulling fs layer 18:00:19 891c053d2c06: Pulling fs layer 18:00:19 dda99020689f: Waiting 18:00:19 fc693d55d65f: Waiting 18:00:19 7e9fc2657dce: Waiting 18:00:19 db1c61fa0a46: Waiting 18:00:19 891c053d2c06: Waiting 18:00:19 e16973657156: Verifying Checksum 18:00:19 e16973657156: Download complete 18:00:19 35d82f9e3411: Verifying Checksum 18:00:19 35d82f9e3411: Download complete 18:00:19 7e9fc2657dce: Verifying Checksum 18:00:19 7e9fc2657dce: Download complete 18:00:19 dda99020689f: Verifying Checksum 18:00:19 dda99020689f: Download complete 18:00:19 9b18e9b68314: Download complete 18:00:20 9b18e9b68314: Pull complete 18:00:20 891c053d2c06: Verifying Checksum 18:00:20 891c053d2c06: Download complete 18:00:20 35d82f9e3411: Pull complete 18:00:21 e16973657156: Pull complete 18:00:21 db1c61fa0a46: Verifying Checksum 18:00:21 db1c61fa0a46: Download complete 18:00:22 fc693d55d65f: Verifying Checksum 18:00:22 fc693d55d65f: Download complete 18:00:34 fc693d55d65f: Pull complete 18:00:34 7e9fc2657dce: Pull complete 18:00:34 dda99020689f: Pull complete 18:00:40 db1c61fa0a46: Pull complete 18:00:41 891c053d2c06: Pull complete 18:00:41 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:00:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:00:41 ---> f96f9c87975a 18:00:41 Step 3/10 : ARG ADD_BUILD_TAGS="" 18:00:43 ---> Running in 55cca884dd12 18:00:43 Removing intermediate container 55cca884dd12 18:00:43 ---> e92efa18a9f2 18:00:43 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:00:43 ---> Running in dbe3da8e850c 18:00:44 Removing intermediate container dbe3da8e850c 18:00:44 ---> 858061dfd86d 18:00:44 Step 5/10 : RUN apk add --update --no-cache make git openssh 18:00:44 ---> Running in 0dd04407e925 18:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:00:46 (1/8) Installing openssh-keygen (9.0_p1-r2) 18:00:46 (2/8) Installing libedit (20210910.3.1-r0) 18:00:46 (3/8) Installing openssh-client-common (9.0_p1-r2) 18:00:46 (4/8) Installing openssh-client-default (9.0_p1-r2) 18:00:46 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 18:00:46 (6/8) Installing openssh-server-common (9.0_p1-r2) 18:00:46 (7/8) Installing openssh-server (9.0_p1-r2) 18:00:46 (8/8) Installing openssh (9.0_p1-r2) 18:00:46 Executing busybox-1.35.0-r17.trigger 18:00:46 OK: 228 MiB in 59 packages 18:00:47 Removing intermediate container 0dd04407e925 18:00:47 ---> 8fbaf75056d5 18:00:47 Step 6/10 : WORKDIR /device-modbus-go 18:00:48 ---> Running in b3e8398898ba 18:00:48 Removing intermediate container b3e8398898ba 18:00:48 ---> fda07822aab5 18:00:48 Step 7/10 : COPY go.mod vendor* ./ 18:00:48 ---> 2bc5c6d23fdc 18:00:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:00:48 ---> Running in ef7301ebcd84 18:01:57 Removing intermediate container ef7301ebcd84 18:01:57 ---> cecf21e5fb8f 18:01:57 Step 9/10 : COPY . . 18:01:57 ---> 4f10491447e9 18:01:57 Step 10/10 : RUN ${MAKE} 18:01:57 ---> Running in 1d3b37c26c83 18:01:57 noop 18:01:57 Removing intermediate container 1d3b37c26c83 18:01:57 ---> 7459a3b2fa63 18:01:57 Successfully built 7459a3b2fa63 18:01:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:58 + docker inspect -f . ci-base-image-arm64 18:01:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:58 prd-ubuntu20.04-docker-arm64-4c-16g-6157 does not seem to be running inside a container 18:01:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:01:59 $ docker top 135ca3498c7dbb105be3221a34218bd806a7d9014f48b0be0dc623a20fc0bd3f -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:00 + go version 18:02:00 go version go1.18.7 linux/arm64 [Pipeline] } 18:02:00 $ docker stop --time=1 135ca3498c7dbb105be3221a34218bd806a7d9014f48b0be0dc623a20fc0bd3f 18:02:01 $ docker rm -f --volumes 135ca3498c7dbb105be3221a34218bd806a7d9014f48b0be0dc623a20fc0bd3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:02 + docker inspect -f . ci-base-image-arm64 18:02:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:03 prd-ubuntu20.04-docker-arm64-4c-16g-6157 does not seem to be running inside a container 18:02:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:02:04 $ docker top a8adcc74c4ec07313b046c6a2b48e4789d29b6f6ea2e0a93c63bb8c17df7069c -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:04 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 18:02:05 + make test 18:02:05 go test ./... -coverprofile=coverage.out 18:02:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 18:03:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 18:03:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 47.7% of statements 18:03:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:03:28 go vet ./... 18:03:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:03:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:03:43 ./bin/test-attribution-txt.sh [Pipeline] echo 18:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:03:43 $ docker stop --time=1 a8adcc74c4ec07313b046c6a2b48e4789d29b6f6ea2e0a93c63bb8c17df7069c 18:03:45 $ docker rm -f --volumes a8adcc74c4ec07313b046c6a2b48e4789d29b6f6ea2e0a93c63bb8c17df7069c [Pipeline] // withDockerContainer [Pipeline] sh 18:03:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:03:46 Warning: overwriting stash ‘coverage-report’ 18:03:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:03:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:03:47 + ls -al . 18:03:47 total 180 18:03:47 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 18:02 . 18:03:47 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:59 .. 18:03:47 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 17:59 .dockerignore 18:03:47 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:59 .git 18:03:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:59 .github 18:03:47 -rw-rw-r-- 1 jenkins jenkins 331 Feb 15 17:59 .gitignore 18:03:47 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 17:59 .golangci.yml 18:03:47 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 15 17:59 Attribution.txt 18:03:47 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 15 17:59 CHANGELOG.md 18:03:47 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 15 17:59 Dockerfile 18:03:47 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 17:59 GOVERNANCE.md 18:03:47 -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 17:59 Jenkinsfile 18:03:47 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 17:59 LICENSE 18:03:47 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 15 17:59 Makefile 18:03:47 -rw-rw-r-- 1 jenkins jenkins 622 Feb 15 17:59 OWNERS.md 18:03:47 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 15 17:59 README.md 18:03:47 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 17:56 VERSION 18:03:47 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:59 bin 18:03:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:59 cmd 18:03:47 -rw-r--r-- 1 jenkins jenkins 23241 Feb 15 18:03 coverage.out 18:03:47 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 15 17:59 go.mod 18:03:47 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 15 17:59 go.sum 18:03:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:59 internal 18:03:47 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:59 simulator 18:03:47 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:59 snap 18:03:47 -rw-rw-r-- 1 jenkins jenkins 229 Feb 15 17:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:48 + 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=2629dc372e066b6c036fb6770d771e1fe4beb6c3 --label arch=arm64 --label version=0.0.0 . 18:03:48 Sending build context to Docker daemon 3.357MB 18:03:48 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 18:03:48 Step 2/22 : FROM ${BASE} AS builder 18:03:48 ---> 7459a3b2fa63 18:03:48 Step 3/22 : ARG ADD_BUILD_TAGS="" 18:03:50 ---> Running in cadd9107684d 18:03:50 Removing intermediate container cadd9107684d 18:03:50 ---> 6f681e6a6991 18:03:50 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:03:50 ---> Running in 08f5a00c6e22 18:03:50 Removing intermediate container 08f5a00c6e22 18:03:50 ---> 9190c0a12f04 18:03:50 Step 5/22 : RUN apk add --update --no-cache make git openssh 18:03:51 ---> Running in 92384040adba 18:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:03:53 OK: 228 MiB in 59 packages 18:03:54 Removing intermediate container 92384040adba 18:03:54 ---> 6eaa764da360 18:03:54 Step 6/22 : WORKDIR /device-modbus-go 18:03:54 ---> Running in 360d433da060 18:03:54 Removing intermediate container 360d433da060 18:03:54 ---> 472ee16bfa04 18:03:54 Step 7/22 : COPY go.mod vendor* ./ 18:03:55 ---> b4b5d694c749 18:03:55 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:03:55 ---> Running in 583ee3b1a2cd 18:03:57 Removing intermediate container 583ee3b1a2cd 18:03:57 ---> 9917fda42452 18:03:57 Step 9/22 : COPY . . 18:03:58 ---> 34e3c7dd2f2e 18:03:58 Step 10/22 : RUN ${MAKE} 18:03:58 ---> Running in 1e15b1fb8ef7 18:03:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 18:06:06 Removing intermediate container 1e15b1fb8ef7 18:06:06 ---> aeefd4fb91d0 18:06:06 Step 11/22 : FROM alpine:3.14 18:06:06 3.14: Pulling from library/alpine 18:06:06 6f0e733d82e2: Pulling fs layer 18:06:06 6f0e733d82e2: Download complete 18:06:06 6f0e733d82e2: Pull complete 18:06:06 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 18:06:06 Status: Downloaded newer image for alpine:3.14 18:06:06 ---> bf97f6347a60 18:06:06 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 18:06:06 ---> Running in ac5e259721d3 18:06:06 Removing intermediate container ac5e259721d3 18:06:06 ---> d01a5e025d12 18:06:06 Step 13/22 : RUN apk add --update --no-cache dumb-init 18:06:06 ---> Running in 75113aa098cc 18:06:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:06:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:06:06 (1/1) Installing dumb-init (1.2.5-r1) 18:06:06 Executing busybox-1.33.1-r8.trigger 18:06:06 OK: 6 MiB in 15 packages 18:06:06 Removing intermediate container 75113aa098cc 18:06:06 ---> fb7b1848d296 18:06:06 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 18:06:06 ---> 9504d10c3fdc 18:06:06 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 18:06:06 ---> d8ea542d22ae 18:06:06 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 18:06:06 ---> f882cdcd3d51 18:06:06 Step 17/22 : EXPOSE 59901 18:06:06 ---> Running in 714d76d5966e 18:06:07 Removing intermediate container 714d76d5966e 18:06:07 ---> 2bdfaed04382 18:06:07 Step 18/22 : ENTRYPOINT ["/device-modbus"] 18:06:07 ---> Running in a37d937f038b 18:06:07 Removing intermediate container a37d937f038b 18:06:07 ---> 8470f94894c5 18:06:07 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:06:07 ---> Running in d9e76c9bb4cf 18:06:07 Removing intermediate container d9e76c9bb4cf 18:06:07 ---> 5ac1b6f27888 18:06:07 Step 20/22 : LABEL arch=arm64 18:06:07 ---> Running in 55ae352048b8 18:06:07 Removing intermediate container 55ae352048b8 18:06:07 ---> 0bf6497cdd63 18:06:07 Step 21/22 : LABEL git_sha=2629dc372e066b6c036fb6770d771e1fe4beb6c3 18:06:08 ---> Running in 7fafc6dc5d9d 18:06:08 Removing intermediate container 7fafc6dc5d9d 18:06:08 ---> b15c3a43e973 18:06:08 Step 22/22 : LABEL version=0.0.0 18:06:08 ---> Running in 6d531a9f78dd 18:06:08 Removing intermediate container 6d531a9f78dd 18:06:08 ---> 9198e229b86f 18:06:08 [Warning] One or more build-args [ARCH] were not consumed 18:06:08 Successfully built 9198e229b86f 18:06:08 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 18:06:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:06:09 18:06:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:06:09 arm64: Pulling from edgex-lftools-log-publisher 18:06:09 8998bd30e6a1: Pulling fs layer 18:06:09 04944245beec: Pulling fs layer 18:06:09 699f458cf7ca: Pulling fs layer 18:06:09 765212b225bb: Pulling fs layer 18:06:09 f23df028b6ca: Pulling fs layer 18:06:09 d65c8cfc05b1: Pulling fs layer 18:06:09 2437ff75d9bd: Pulling fs layer 18:06:09 d65c8cfc05b1: Waiting 18:06:09 765212b225bb: Waiting 18:06:09 2437ff75d9bd: Waiting 18:06:09 f23df028b6ca: Waiting 18:06:10 04944245beec: Verifying Checksum 18:06:10 04944245beec: Download complete 18:06:10 f23df028b6ca: Verifying Checksum 18:06:10 f23df028b6ca: Download complete 18:06:10 d65c8cfc05b1: Verifying Checksum 18:06:10 d65c8cfc05b1: Download complete 18:06:10 699f458cf7ca: Verifying Checksum 18:06:10 699f458cf7ca: Download complete 18:06:10 8998bd30e6a1: Verifying Checksum 18:06:10 8998bd30e6a1: Download complete 18:06:13 2437ff75d9bd: Verifying Checksum 18:06:13 2437ff75d9bd: Download complete 18:06:14 8998bd30e6a1: Pull complete 18:06:15 04944245beec: Pull complete 18:06:16 699f458cf7ca: Pull complete 18:06:17 765212b225bb: Pull complete 18:06:18 f23df028b6ca: Pull complete 18:06:18 d65c8cfc05b1: Pull complete 18:06:33 2437ff75d9bd: Pull complete 18:06:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:06:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:33 prd-ubuntu20.04-docker-arm64-4c-16g-6157 does not seem to be running inside a container 18:06:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:06:36 $ docker top 25bc3bb8e48a89014fe702948243b2428508e48814b16ad665fee4bab9817f5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:37 ---> job-cost.sh 18:06:37 lf-activate-venv: SKIPPING 18:06:37 INFO: No Stack... 18:06:37 INFO: Retrieving Pricing Info for: v3-standard-4 18:06:38 INFO: Archiving Costs [Pipeline] sh 18:06:39 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 18:06:39 + cut -d, -f6 [Pipeline] lock 18:06:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] 18:06:39 Resource [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] did not exist. Created. 18:06:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:06:39 /w/workspace/device-modbus-go/1@tmp/durable-a029404e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:06:40 + echo total: 0.10999999940395355 [Pipeline] stash 18:06:40 Warning: overwriting stash ‘stack-cost’ 18:06:40 Stashed 1 file(s) [Pipeline] } 18:06:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:06:40 $ docker stop --time=1 25bc3bb8e48a89014fe702948243b2428508e48814b16ad665fee4bab9817f5b 18:06:42 $ docker rm -f --volumes 25bc3bb8e48a89014fe702948243b2428508e48814b16ad665fee4bab9817f5b [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 18:06:43 provisioning config files... 18:06:43 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/config9331588306945527186tmp [Pipeline] { [Pipeline] sh 18:06:43 + set +x 18:06:43 + curl -s https://codecov.io/bash 18:06:43 + bash -s -- 18:06:43 18:06:43 _____ _ 18:06:43 / ____| | | 18:06:43 | | ___ __| | ___ ___ _____ __ 18:06:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:06:43 | |___| (_) | (_| | __/ (_| (_) \ V / 18:06:43 \_____\___/ \__,_|\___|\___\___/ \_/ 18:06:43 Bash-1.0.6 18:06:43 18:06:43 18:06:43 ==> git version 2.25.1 found 18:06:43 ==> 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 18:06:43 Release-Date: 2020-01-08 18:06:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:06:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:06:43 ==> Jenkins CI detected. 18:06:43 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-414 18:06:43 project root: . 18:06:43 --> token set from env 18:06:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:06:43 ==> Running gcov in . (disable via -X gcov) 18:06:43 ==> Python coveragepy not found 18:06:43 ==> Searching for coverage reports in: 18:06:43 + . 18:06:43 -> Found 1 reports 18:06:43 ==> Detecting git/mercurial file structure 18:06:43 ==> Reading reports 18:06:43 + ./coverage.out bytes=23241 18:06:43 ==> Appending adjustments 18:06:43 https://docs.codecov.io/docs/fixing-reports 18:06:43 + Found adjustments 18:06:43 ==> Gzipping contents 18:06:43 4.0K /tmp/codecov.SHa0w8.gz 18:06:43 ==> Uploading reports 18:06:43 url: https://codecov.io 18:06:43 query: branch=PR-414&commit=2629dc372e066b6c036fb6770d771e1fe4beb6c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=414&job=&cmd_args= 18:06:43 -> Pinging Codecov 18:06:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-414&commit=2629dc372e066b6c036fb6770d771e1fe4beb6c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=414&job=&cmd_args= 18:06:44 -> Uploading to 18:06:44 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/55DBCA73C666E3227836607328DD7E49/2629dc372e066b6c036fb6770d771e1fe4beb6c3/a60d7f92-1400-48c0-bc40-d43f58c2666e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T180643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ba44d6bd78ab27cc7b32ea547661aa0c6ed16770124bc252abd0af2775450f0 18:06:44 % Total % Received % Xferd Average Speed Time Time Time Current 18:06:44 Dload Upload Total Spent Left Speed 18:06:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3879 0 0 100 3879 0 14105 --:--:-- --:--:-- --:--:-- 14105 18:06:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] } 18:06:44 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 18:06:46 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-414/archives ] 18:06:46 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-414/archives 18:06:46 total 16 18:06:46 drwxr-xr-x 3 root root 4096 Feb 15 17:58 . 18:06:46 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 17:58 .. 18:06:46 drwxr-xr-x 2 root root 4096 Feb 15 17:58 cost 18:06:46 -rw-r--r-- 1 root root 88 Feb 15 17:58 cost.csv 18:06:46 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-414/archives 18:06:46 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-414/archives 18:06:46 total 16 18:06:46 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 17:58 . 18:06:46 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 17:58 .. 18:06:46 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 17:58 cost 18:06:46 -rw-r--r-- 1 jenkins jenkins 88 Feb 15 17:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:06:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:06:47 ---> package-listing.sh 18:06:47 ++ facter osfamily 18:06:47 ++ tr '[:upper:]' '[:lower:]' 18:06:47 + OS_FAMILY=debian 18:06:47 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-414 18:06:47 + START_PACKAGES=/tmp/packages_start.txt 18:06:47 + END_PACKAGES=/tmp/packages_end.txt 18:06:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:06:47 + PACKAGES=/tmp/packages_start.txt 18:06:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-414 ']' 18:06:47 + PACKAGES=/tmp/packages_end.txt 18:06:47 + case "${OS_FAMILY}" in 18:06:47 + dpkg -l 18:06:47 + grep '^ii' 18:06:47 + '[' -f /tmp/packages_start.txt ']' 18:06:47 + '[' -f /tmp/packages_end.txt ']' 18:06:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:06:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-414 ']' 18:06:47 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-414/archives/ 18:06:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-414/archives/ [Pipeline] echo 18:06:47 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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:06:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:48 prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container 18:06:48 $ 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-414/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-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:06:48 $ docker top 99ae3fd589e9cff767d4ae1b3fa9df767ee5eaaba54e52bed4d1221b04d48bd1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:49 + touch /tmp/pre-build-complete [Pipeline] sh 18:06:49 + mkdir -p /var/log/sysstat [Pipeline] sh 18:06:50 + ls /var/log/sa-host 18:06:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:50 provisioning config files... 18:06:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/config2091447361408654922tmp [Pipeline] { [Pipeline] echo 18:06:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:06:50 ---> create-netrc.sh [Pipeline] } 18:06:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:06:51 ---> python-tools-install.sh [Pipeline] echo 18:06:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:06:51 ---> sudo-logs.sh 18:06:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:06:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:06:51 ---> job-cost.sh 18:06:51 lf-activate-venv: SKIPPING 18:06:51 DEBUG: total: 0.2199999988079071 18:06:51 INFO: Retrieving Stack Cost... 18:06:52 INFO: Retrieving Pricing Info for: v3-standard-8 18:06:52 INFO: Archiving Costs [Pipeline] echo 18:06:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:06:52 ---> logs-deploy.sh 18:06:52 lf-activate-venv: SKIPPING 18:06:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-414/1 18:06:52 INFO: archiving workspace using pattern(s): 18:06:53 Archives upload complete. 18:06:54 INFO: archiving logs to Nexus