Pull request #342 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 MonicaisHer for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 0336c9d051e2f73d586bb6c363b90ff6160f5d37 rather than 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 Obtained Jenkinsfile from 0336c9d051e2f73d586bb6c363b90ff6160f5d37 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-ssh4531948827025365893.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh1916424072440794259.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-342/workspace@libs/edgex-global-pipelines # 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-342/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh26515541424533549.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-342/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2713320643716137099.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh2744120163044934990.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-342/workspace@libs/lf-pipelines # 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-342/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12684666584909024030.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-40503’ Running on prd-ubuntu20.04-docker-8c-8g-40507 in /w/workspace/xfoundry_device-modbus-go_PR-342 [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-342 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0336c9d051e2f73d586bb6c363b90ff6160f5d37 into PR head commit 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 Merge succeeded, producing 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 Checking out Revision 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 (PR-342) > 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/342/head:refs/remotes/origin/PR-342 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 # 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 0336c9d051e2f73d586bb6c363b90ff6160f5d37 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 # timeout=10 Commit message: "docs: cleanup references" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:04:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:04:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:04:36 ========================================================= 15:04:36 EdgeX Global Pipelines Version Info 15:04:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:04:37 ------------------- 15:04:37 stable info: 15:04:37 ------------------- 15:04:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:04:37 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 15:04:37 Message: update stable to v1.0.227 15:04:38 ------------------- 15:04:38 experimental info: 15:04:38 ------------------- 15:04:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:04:38 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 15:04:38 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:04:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-342 [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-342 [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-342 [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f3c8e5 [Pipeline] echo 15:04:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:04:39 provisioning config files... 15:04:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-342@tmp/config4479068238088751187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:04:40 ---> docker-login.sh 15:04:40 nexus3.edgexfoundry.org:10001 15:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:40 Configure a credential helper to remove this warning. See 15:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:40 15:04:40 Login Succeeded 15:04:40 nexus3.edgexfoundry.org:10002 15:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:40 Configure a credential helper to remove this warning. See 15:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:40 15:04:40 Login Succeeded 15:04:40 nexus3.edgexfoundry.org:10003 15:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:40 Configure a credential helper to remove this warning. See 15:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:40 15:04:40 Login Succeeded 15:04:40 nexus3.edgexfoundry.org:10004 15:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:40 Configure a credential helper to remove this warning. See 15:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:40 15:04:40 Login Succeeded 15:04:40 docker.io 15:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:41 Configure a credential helper to remove this warning. See 15:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:41 15:04:41 Login Succeeded 15:04:41 ---> docker-login.sh ends [Pipeline] } 15:04:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:04:42 + git rev-list -1 --merges 1f3c8e5b42568e3e9c66b257e740ad6972f9e119~1..1f3c8e5b42568e3e9c66b257e740ad6972f9e119 [Pipeline] echo 15:04:42 -----------> git rev-list -1 --merges 1f3c8e5b42568e3e9c66b257e740ad6972f9e119~1..1f3c8e5b42568e3e9c66b257e740ad6972f9e119 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 [false] [Pipeline] sh 15:04:42 + git log --format=format:%s -1 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 [Pipeline] echo 15:04:42 ========================================================= 15:04:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:04:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:04:42 + git log --format=format:%s -1 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 [Pipeline] echo 15:04:42 [semverPrep] GIT_COMMIT: 1f3c8e5b42568e3e9c66b257e740ad6972f9e119, Commit Message: docs: cleanup references [Pipeline] echo 15:04:43 [semverPrep] This is not a build commit. [Pipeline] sh 15:04:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:04:43 + grep -v github /etc/ssh/ssh_known_hosts 15:04:43 + [ -e /tmp/ssh_known_hosts ] 15:04:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:04:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:04:43 + sudo tee -a /etc/ssh/ssh_known_hosts 15:04:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:04:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:04:43 15:04:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:04:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:04:44 latest: Pulling from edgex-devops/py-git-semver 15:04:44 1fe172e4850f: Pulling fs layer 15:04:44 caf521ccaac6: Pulling fs layer 15:04:44 3ead6fa29328: Pulling fs layer 15:04:44 5c2a1cbceb83: Pulling fs layer 15:04:44 a8d5f1318db7: Pulling fs layer 15:04:44 c427282e49a2: Pulling fs layer 15:04:44 1827001aaf11: Pulling fs layer 15:04:44 0714d37db230: Pulling fs layer 15:04:44 ac28cf19c067: Pulling fs layer 15:04:44 ca983d60f3e2: Pulling fs layer 15:04:44 9f894cec8388: Pulling fs layer 15:04:44 1827001aaf11: Waiting 15:04:44 0714d37db230: Waiting 15:04:44 ca983d60f3e2: Waiting 15:04:44 9f894cec8388: Waiting 15:04:44 ac28cf19c067: Waiting 15:04:44 5c2a1cbceb83: Waiting 15:04:44 a8d5f1318db7: Waiting 15:04:44 c427282e49a2: Waiting 15:04:44 caf521ccaac6: Download complete 15:04:44 5c2a1cbceb83: Verifying Checksum 15:04:44 5c2a1cbceb83: Download complete 15:04:44 a8d5f1318db7: Verifying Checksum 15:04:44 a8d5f1318db7: Download complete 15:04:44 3ead6fa29328: Verifying Checksum 15:04:44 3ead6fa29328: Download complete 15:04:44 c427282e49a2: Verifying Checksum 15:04:44 c427282e49a2: Download complete 15:04:44 0714d37db230: Download complete 15:04:44 ac28cf19c067: Verifying Checksum 15:04:44 ac28cf19c067: Download complete 15:04:44 ca983d60f3e2: Verifying Checksum 15:04:44 ca983d60f3e2: Download complete 15:04:44 9f894cec8388: Verifying Checksum 15:04:44 9f894cec8388: Download complete 15:04:44 1fe172e4850f: Verifying Checksum 15:04:44 1fe172e4850f: Download complete 15:04:45 1827001aaf11: Verifying Checksum 15:04:45 1827001aaf11: Download complete 15:04:45 1fe172e4850f: Pull complete 15:04:46 caf521ccaac6: Pull complete 15:04:46 3ead6fa29328: Pull complete 15:04:46 5c2a1cbceb83: Pull complete 15:04:47 a8d5f1318db7: Pull complete 15:04:47 c427282e49a2: Pull complete 15:04:49 1827001aaf11: Pull complete 15:04:49 0714d37db230: Pull complete 15:04:49 ac28cf19c067: Pull complete 15:04:50 ca983d60f3e2: Pull complete 15:04:50 9f894cec8388: Pull complete 15:04:50 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:04:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:04:50 prd-ubuntu20.04-docker-8c-8g-40507 does not seem to be running inside a container 15:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-342 -v /w/workspace/xfoundry_device-modbus-go_PR-342:/w/workspace/xfoundry_device-modbus-go_PR-342:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-342@tmp:/w/workspace/xfoundry_device-modbus-go_PR-342@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:04:51 $ docker top 6f1c7c82ddf2a6efbdbabd2486570d6cb7b4c560789c8cd24ea1499799e81f24 -eo pid,comm 15:04:51 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). 15:04:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:04:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:04:51 [ssh-agent] Looking for ssh-agent implementation... 15:04:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:04:52 $ docker exec 6f1c7c82ddf2a6efbdbabd2486570d6cb7b4c560789c8cd24ea1499799e81f24 ssh-agent 15:04:52 SSH_AUTH_SOCK=/tmp/ssh-AIRqqs3Ign9V/agent.33 15:04:52 SSH_AGENT_PID=39 15:04:52 Running ssh-add (command line suppressed) 15:04:52 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-342@tmp/private_key_7997230320714981950.key (/w/workspace/xfoundry_device-modbus-go_PR-342@tmp/private_key_7997230320714981950.key) 15:04:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:04:52 + git tag --points-at HEAD [Pipeline] } 15:04:52 $ docker exec --env ******** --env ******** 6f1c7c82ddf2a6efbdbabd2486570d6cb7b4c560789c8cd24ea1499799e81f24 ssh-agent -k 15:04:52 unset SSH_AUTH_SOCK; 15:04:52 unset SSH_AGENT_PID; 15:04:52 echo Agent pid 39 killed; 15:04:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:04:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:04:52 [ssh-agent] Looking for ssh-agent implementation... 15:04:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:04:53 $ docker exec 6f1c7c82ddf2a6efbdbabd2486570d6cb7b4c560789c8cd24ea1499799e81f24 ssh-agent 15:04:53 SSH_AUTH_SOCK=/tmp/ssh-EDwDNNadRzFB/agent.72 15:04:53 SSH_AGENT_PID=79 15:04:53 Running ssh-add (command line suppressed) 15:04:53 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-342@tmp/private_key_8116518060286562007.key (/w/workspace/xfoundry_device-modbus-go_PR-342@tmp/private_key_8116518060286562007.key) 15:04:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:04:53 + git semver init 15:04:54 2022-05-05 15:04:53,923 [run_init] DEBUG init version:0.0.0 force:False 15:04:54 2022-05-05 15:04:53,924 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-342/.semver 15:04:54 2022-05-05 15:04:53,925 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-342/.semver 15:04:54 2022-05-05 15:04:53,925 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-342/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-342, universal_newlines=False, shell=None, istream=None) 15:04:54 2022-05-05 15:04:54,772 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-342/.git/info/exclude 15:04:54 2022-05-05 15:04:54,773 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-342/.semver/PR-342 with force:False 15:04:54 2022-05-05 15:04:54,774 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-342/.semver/PR-342 15:04:55 2022-05-05 15:04:54,778 [execute] INFO git cat-file --batch-check 15:04:55 2022-05-05 15:04:54,779 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-342/.semver, universal_newlines=False, shell=None, istream=) 15:04:55 2022-05-05 15:04:54,787 [execute] INFO git cat-file --batch 15:04:55 2022-05-05 15:04:54,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-342/.semver, universal_newlines=False, shell=None, istream=) 15:04:55 2022-05-05 15:04:54,794 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-342/.semver/PR-342 15:04:55 0.0.0 [Pipeline] } 15:04:55 $ docker exec --env ******** --env ******** 6f1c7c82ddf2a6efbdbabd2486570d6cb7b4c560789c8cd24ea1499799e81f24 ssh-agent -k 15:04:55 unset SSH_AUTH_SOCK; 15:04:55 unset SSH_AGENT_PID; 15:04:55 echo Agent pid 79 killed; 15:04:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:04:55 + git semver [Pipeline] } 15:04:56 $ docker stop --time=1 6f1c7c82ddf2a6efbdbabd2486570d6cb7b4c560789c8cd24ea1499799e81f24 15:04:57 $ docker rm -f 6f1c7c82ddf2a6efbdbabd2486570d6cb7b4c560789c8cd24ea1499799e81f24 [Pipeline] // withDockerContainer [Pipeline] sh 15:04:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:04:58 Stashed 1 file(s) [Pipeline] echo 15:04:58 [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 15:04:58 provisioning config files... 15:04:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-342@tmp/config4814081916288290749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:04:59 ---> docker-login.sh 15:04:59 nexus3.edgexfoundry.org:10001 15:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:59 Configure a credential helper to remove this warning. See 15:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:59 15:04:59 Login Succeeded 15:04:59 nexus3.edgexfoundry.org:10002 15:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:59 Configure a credential helper to remove this warning. See 15:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:59 15:04:59 Login Succeeded 15:04:59 nexus3.edgexfoundry.org:10003 15:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:59 Configure a credential helper to remove this warning. See 15:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:59 15:04:59 Login Succeeded 15:04:59 nexus3.edgexfoundry.org:10004 15:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:59 Configure a credential helper to remove this warning. See 15:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:59 15:04:59 Login Succeeded 15:04:59 docker.io 15:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:00 Configure a credential helper to remove this warning. See 15:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:00 15:05:00 Login Succeeded 15:05:00 ---> docker-login.sh ends [Pipeline] } 15:05:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:05:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:05:00 ========================================================= 15:05:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:05:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:05:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:05:00 Sending build context to Docker daemon 5.877MB 15:05:00 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 15:05:00 Step 2/10 : FROM ${BASE} AS builder 15:05:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:05:00 59bf1c3509f3: Pulling fs layer 15:05:00 666ba61612fd: Pulling fs layer 15:05:00 8ed8ca486205: Pulling fs layer 15:05:00 4fe6c5a15a65: Pulling fs layer 15:05:00 22a0e8bec74d: Pulling fs layer 15:05:00 ca2b28591e48: Pulling fs layer 15:05:00 a51346096db8: Pulling fs layer 15:05:00 daebc70d1ce1: Pulling fs layer 15:05:00 0e18a0eac166: Pulling fs layer 15:05:00 4fe6c5a15a65: Waiting 15:05:00 ca2b28591e48: Waiting 15:05:00 a51346096db8: Waiting 15:05:00 22a0e8bec74d: Waiting 15:05:00 daebc70d1ce1: Waiting 15:05:00 0e18a0eac166: Waiting 15:05:00 8ed8ca486205: Download complete 15:05:00 666ba61612fd: Verifying Checksum 15:05:00 666ba61612fd: Download complete 15:05:00 22a0e8bec74d: Verifying Checksum 15:05:00 22a0e8bec74d: Download complete 15:05:00 ca2b28591e48: Download complete 15:05:00 a51346096db8: Verifying Checksum 15:05:00 a51346096db8: Download complete 15:05:00 59bf1c3509f3: Verifying Checksum 15:05:00 59bf1c3509f3: Download complete 15:05:00 daebc70d1ce1: Verifying Checksum 15:05:00 daebc70d1ce1: Download complete 15:05:00 59bf1c3509f3: Pull complete 15:05:01 666ba61612fd: Pull complete 15:05:01 8ed8ca486205: Pull complete 15:05:01 0e18a0eac166: Verifying Checksum 15:05:01 0e18a0eac166: Download complete 15:05:01 4fe6c5a15a65: Verifying Checksum 15:05:01 4fe6c5a15a65: Download complete 15:05:07 4fe6c5a15a65: Pull complete 15:05:07 22a0e8bec74d: Pull complete 15:05:07 ca2b28591e48: Pull complete 15:05:07 a51346096db8: Pull complete 15:05:07 daebc70d1ce1: Pull complete 15:05:08 0e18a0eac166: Pull complete 15:05:08 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:05:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:05:08 ---> f018257e8ee9 15:05:08 Step 3/10 : ARG MAKE='make build' 15:05:10 ---> Running in 5668bf3b8a55 15:05:10 Removing intermediate container 5668bf3b8a55 15:05:10 ---> 7a206ce2edef 15:05:10 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:05:10 ---> Running in 2f00dd36af21 15:05:11 Removing intermediate container 2f00dd36af21 15:05:11 ---> 5643779f40f5 15:05:11 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 15:05:11 ---> Running in c401f663c34e 15:05:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:05:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:05:12 (1/8) Installing openssh-keygen (8.8_p1-r1) 15:05:12 (2/8) Installing libedit (20210910.3.1-r0) 15:05:12 (3/8) Installing openssh-client-common (8.8_p1-r1) 15:05:13 (4/8) Installing openssh-client-default (8.8_p1-r1) 15:05:13 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 15:05:13 (6/8) Installing openssh-server-common (8.8_p1-r1) 15:05:13 (7/8) Installing openssh-server (8.8_p1-r1) 15:05:13 (8/8) Installing openssh (8.8_p1-r1) 15:05:13 Executing busybox-1.34.1-r3.trigger 15:05:13 OK: 226 MiB in 60 packages 15:05:13 Still waiting to schedule task 15:05:13 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-40505’ 15:05:14 Removing intermediate container c401f663c34e 15:05:14 ---> 9f078a04f113 15:05:14 Step 6/10 : WORKDIR /device-modbus-go 15:05:14 ---> Running in 6d32377e2d89 15:05:14 Removing intermediate container 6d32377e2d89 15:05:14 ---> bafa36bd3fb2 15:05:14 Step 7/10 : COPY go.mod vendor* ./ 15:05:14 ---> 4aeeb5687cac 15:05:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:05:14 ---> Running in 29dd840aec06 15:05:29 Removing intermediate container 29dd840aec06 15:05:29 ---> b2c8640742ee 15:05:29 Step 9/10 : COPY . . 15:05:29 ---> af1cd604cdda 15:05:29 Step 10/10 : RUN ${MAKE} 15:05:29 ---> Running in cc417b7a7229 15:05:29 noop 15:05:30 Removing intermediate container cc417b7a7229 15:05:30 ---> 746951a1ec67 15:05:30 Successfully built 746951a1ec67 15:05:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:05:30 + docker inspect -f . ci-base-image-x86_64 15:05:30 . [Pipeline] withDockerContainer 15:05:30 prd-ubuntu20.04-docker-8c-8g-40507 does not seem to be running inside a container 15:05:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-342 -v /w/workspace/xfoundry_device-modbus-go_PR-342:/w/workspace/xfoundry_device-modbus-go_PR-342:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-342@tmp:/w/workspace/xfoundry_device-modbus-go_PR-342@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 ******** ci-base-image-x86_64 cat 15:05:31 $ docker top 874ce752071032d5857c4e746413feb3ff0b5657e70d9a622d1e3b06cc2732e8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:05:31 + go version 15:05:31 go version go1.17.6 linux/amd64 [Pipeline] } 15:05:31 $ docker stop --time=1 874ce752071032d5857c4e746413feb3ff0b5657e70d9a622d1e3b06cc2732e8 15:05:32 $ docker rm -f 874ce752071032d5857c4e746413feb3ff0b5657e70d9a622d1e3b06cc2732e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:05:33 + docker inspect -f . ci-base-image-x86_64 15:05:33 . [Pipeline] withDockerContainer 15:05:33 prd-ubuntu20.04-docker-8c-8g-40507 does not seem to be running inside a container 15:05:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-342 -v /w/workspace/xfoundry_device-modbus-go_PR-342:/w/workspace/xfoundry_device-modbus-go_PR-342:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-342@tmp:/w/workspace/xfoundry_device-modbus-go_PR-342@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 ******** ci-base-image-x86_64 cat 15:05:34 $ docker top d0a79dfd78a936115c396b9286aa6291b809ecb3b7c5d6fa5163fe65c37717bf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:05:34 + make test 15:05:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:05:35 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:05:47 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:05:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 46.4% of statements 15:05:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:05:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:05:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:05:56 ./bin/test-attribution-txt.sh [Pipeline] echo 15:05:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:05:57 $ docker stop --time=1 d0a79dfd78a936115c396b9286aa6291b809ecb3b7c5d6fa5163fe65c37717bf 15:05:59 $ docker rm -f d0a79dfd78a936115c396b9286aa6291b809ecb3b7c5d6fa5163fe65c37717bf [Pipeline] // withDockerContainer [Pipeline] sh 15:05:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:05:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:06:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:06:00 + ls -al . 15:06:00 total 180 15:06:00 drwxrwxr-x 10 jenkins jenkins 4096 May 5 15:05 . 15:06:00 drwxrwxr-x 4 jenkins jenkins 4096 May 5 15:04 .. 15:06:00 -rw-rw-r-- 1 jenkins jenkins 140 May 5 15:04 .dockerignore 15:06:00 drwxrwxr-x 8 jenkins jenkins 4096 May 5 15:04 .git 15:06:00 drwxrwxr-x 3 jenkins jenkins 4096 May 5 15:04 .github 15:06:00 -rw-rw-r-- 1 jenkins jenkins 331 May 5 15:04 .gitignore 15:06:00 -rw-rw-r-- 1 jenkins jenkins 41 May 5 15:04 .golangci.yml 15:06:00 drwxr-xr-x 3 jenkins jenkins 4096 May 5 15:04 .semver 15:06:00 -rw-rw-r-- 1 jenkins jenkins 9377 May 5 15:04 Attribution.txt 15:06:00 -rw-rw-r-- 1 jenkins jenkins 6038 May 5 15:04 CHANGELOG.md 15:06:00 -rw-rw-r-- 1 jenkins jenkins 1546 May 5 15:04 Dockerfile 15:06:00 -rw-rw-r-- 1 jenkins jenkins 677 May 5 15:04 GOVERNANCE.md 15:06:00 -rw-rw-r-- 1 jenkins jenkins 680 May 5 15:04 Jenkinsfile 15:06:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 15:04 LICENSE 15:06:00 -rw-rw-r-- 1 jenkins jenkins 1905 May 5 15:04 Makefile 15:06:00 -rw-rw-r-- 1 jenkins jenkins 622 May 5 15:04 OWNERS.md 15:06:00 -rw-rw-r-- 1 jenkins jenkins 3397 May 5 15:04 README.md 15:06:00 -rw-rw-r-- 1 jenkins jenkins 5 May 5 15:04 VERSION 15:06:00 drwxrwxr-x 2 jenkins jenkins 4096 May 5 15:04 bin 15:06:00 drwxrwxr-x 3 jenkins jenkins 4096 May 5 15:04 cmd 15:06:00 -rw-r--r-- 1 jenkins jenkins 24065 May 5 15:05 coverage.out 15:06:00 -rw-rw-r-- 1 jenkins jenkins 3399 May 5 15:04 go.mod 15:06:00 -rw-rw-r-- 1 jenkins jenkins 35440 May 5 15:04 go.sum 15:06:00 drwxrwxr-x 3 jenkins jenkins 4096 May 5 15:04 internal 15:06:00 drwxrwxr-x 2 jenkins jenkins 4096 May 5 15:04 simulator 15:06:00 drwxrwxr-x 4 jenkins jenkins 4096 May 5 15:04 snap 15:06:00 -rw-rw-r-- 1 jenkins jenkins 229 May 5 15:04 version.go [Pipeline] isUnix [Pipeline] sh 15:06:01 + 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=1f3c8e5b42568e3e9c66b257e740ad6972f9e119 --label arch=amd64 --label version=0.0.0 . 15:06:01 Sending build context to Docker daemon 5.902MB 15:06:01 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 15:06:01 Step 2/23 : FROM ${BASE} AS builder 15:06:01 ---> 746951a1ec67 15:06:01 Step 3/23 : ARG MAKE='make build' 15:06:01 ---> Running in e18c7153d522 15:06:01 Removing intermediate container e18c7153d522 15:06:01 ---> 449f8eb20c80 15:06:01 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:06:01 ---> Running in 12f737b1eab1 15:06:01 Removing intermediate container 12f737b1eab1 15:06:01 ---> a6e2add477b3 15:06:01 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 15:06:01 ---> Running in c8d4d368d713 15:06:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:06:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:06:03 OK: 226 MiB in 60 packages 15:06:03 Removing intermediate container c8d4d368d713 15:06:03 ---> 1f5fd671a322 15:06:03 Step 6/23 : WORKDIR /device-modbus-go 15:06:03 ---> Running in ffabf456fa42 15:06:03 Removing intermediate container ffabf456fa42 15:06:03 ---> 2cc25144de75 15:06:03 Step 7/23 : COPY go.mod vendor* ./ 15:06:03 ---> e0522f02eeb4 15:06:03 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:06:04 ---> Running in 8703ad5fab96 15:06:04 Removing intermediate container 8703ad5fab96 15:06:04 ---> 2470cbe2b9b6 15:06:04 Step 9/23 : COPY . . 15:06:05 ---> 9c92257b1923 15:06:05 Step 10/23 : RUN ${MAKE} 15:06:05 ---> Running in 75ede72884b9 15:06:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 15:06:32 Removing intermediate container 75ede72884b9 15:06:32 ---> 40231612e00a 15:06:32 Step 11/23 : FROM alpine:3.14 15:06:32 3.14: Pulling from library/alpine 15:06:32 8663204ce13b: Pulling fs layer 15:06:32 8663204ce13b: Verifying Checksum 15:06:32 8663204ce13b: Download complete 15:06:32 8663204ce13b: Pull complete 15:06:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:06:32 Status: Downloaded newer image for alpine:3.14 15:06:32 ---> e04c818066af 15:06:32 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:06:32 ---> Running in fc30f3bac89d 15:06:32 Removing intermediate container fc30f3bac89d 15:06:32 ---> 396d18bd8a9f 15:06:32 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:06:32 ---> Running in 7f73a5022a7c 15:06:32 Removing intermediate container 7f73a5022a7c 15:06:32 ---> a06f0bab9292 15:06:32 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 15:06:32 ---> Running in 51caeb954799 15:06:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:06:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:06:32 (1/6) Installing dumb-init (1.2.5-r1) 15:06:32 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:06:32 (3/6) Installing libsodium (1.0.18-r0) 15:06:32 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:06:32 (5/6) Installing libzmq (4.3.4-r0) 15:06:32 (6/6) Installing zeromq (4.3.4-r0) 15:06:32 Executing busybox-1.33.1-r7.trigger 15:06:32 OK: 8 MiB in 20 packages 15:06:32 Removing intermediate container 51caeb954799 15:06:32 ---> 914f4963b8f9 15:06:32 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 15:06:33 ---> 8e36ba2a1239 15:06:33 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 15:06:33 ---> 6df48bd16193 15:06:33 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:06:33 ---> 10569775622b 15:06:33 Step 18/23 : EXPOSE 59901 15:06:33 ---> Running in 4d68028f039a 15:06:33 Removing intermediate container 4d68028f039a 15:06:33 ---> aa9b3b548346 15:06:33 Step 19/23 : ENTRYPOINT ["/device-modbus"] 15:06:33 ---> Running in a800ce4f17a9 15:06:33 Removing intermediate container a800ce4f17a9 15:06:33 ---> 7ac1b8819fe2 15:06:33 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:06:33 ---> Running in a0337a58f55c 15:06:33 Removing intermediate container a0337a58f55c 15:06:33 ---> a0982cac0c88 15:06:33 Step 21/23 : LABEL arch=amd64 15:06:33 ---> Running in c8a0ba4c7d5b 15:06:33 Removing intermediate container c8a0ba4c7d5b 15:06:33 ---> 552074763384 15:06:33 Step 22/23 : LABEL git_sha=1f3c8e5b42568e3e9c66b257e740ad6972f9e119 15:06:33 ---> Running in bb601ed39db0 15:06:34 Removing intermediate container bb601ed39db0 15:06:34 ---> 4af9da2e1260 15:06:34 Step 23/23 : LABEL version=0.0.0 15:06:34 ---> Running in ea71bcaefe43 15:06:34 Removing intermediate container ea71bcaefe43 15:06:34 ---> 32a9c8944f29 15:06:34 [Warning] One or more build-args [ARCH] were not consumed 15:06:34 Successfully built 32a9c8944f29 15:06:34 Successfully tagged device-modbus:latest [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] sh 15:06:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:06:35 15:06:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:06:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:06:35 latest: Pulling from edgex-lftools-log-publisher 15:06:35 5eb5b503b376: Pulling fs layer 15:06:35 5c69ac0246d0: Pulling fs layer 15:06:35 ec43610c2a17: Pulling fs layer 15:06:35 3a2ae6a8a46f: Pulling fs layer 15:06:35 33b1e0a273af: Pulling fs layer 15:06:35 5d3b04190fa2: Pulling fs layer 15:06:35 2f39f015ded8: Pulling fs layer 15:06:35 33b1e0a273af: Waiting 15:06:35 5d3b04190fa2: Waiting 15:06:35 2f39f015ded8: Waiting 15:06:35 3a2ae6a8a46f: Waiting 15:06:35 5c69ac0246d0: Download complete 15:06:35 3a2ae6a8a46f: Verifying Checksum 15:06:35 3a2ae6a8a46f: Download complete 15:06:35 33b1e0a273af: Verifying Checksum 15:06:35 33b1e0a273af: Download complete 15:06:35 ec43610c2a17: Verifying Checksum 15:06:35 ec43610c2a17: Download complete 15:06:35 5d3b04190fa2: Verifying Checksum 15:06:35 5d3b04190fa2: Download complete 15:06:35 5eb5b503b376: Verifying Checksum 15:06:35 5eb5b503b376: Download complete 15:06:36 2f39f015ded8: Verifying Checksum 15:06:36 2f39f015ded8: Download complete 15:06:36 5eb5b503b376: Pull complete 15:06:37 5c69ac0246d0: Pull complete 15:06:37 ec43610c2a17: Pull complete 15:06:37 3a2ae6a8a46f: Pull complete 15:06:37 33b1e0a273af: Pull complete 15:06:37 5d3b04190fa2: Pull complete 15:06:43 2f39f015ded8: Pull complete 15:06:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:06:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:06:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:06:43 prd-ubuntu20.04-docker-8c-8g-40507 does not seem to be running inside a container 15:06:43 $ 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-342 -v /w/workspace/xfoundry_device-modbus-go_PR-342:/w/workspace/xfoundry_device-modbus-go_PR-342:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-342@tmp:/w/workspace/xfoundry_device-modbus-go_PR-342@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:06:45 $ docker top 8c55552521c95f84b1e4c445195f4dd0dbe8c3a660a92ea114f3fa07ec689533 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:06:45 ---> job-cost.sh 15:06:45 lf-activate-venv: SKIPPING 15:06:45 INFO: No Stack... 15:06:45 INFO: Retrieving Pricing Info for: v3-standard-8 15:06:46 INFO: Archiving Costs [Pipeline] sh 15:06:46 + cat /w/workspace/xfoundry_device-modbus-go_PR-342/archives/cost.csv 15:06:46 + cut -d, -f6 [Pipeline] lock 15:06:46 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-342-1-stack-cost] 15:06:46 Resource [jenkins-edgexfoundry-device-modbus-go-PR-342-1-stack-cost] did not exist. Created. 15:06:46 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-342-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:06:47 + echo total: 0.2199999988079071 [Pipeline] stash 15:06:47 Stashed 1 file(s) [Pipeline] } 15:06:47 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-342-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:06:47 $ docker stop --time=1 8c55552521c95f84b1e4c445195f4dd0dbe8c3a660a92ea114f3fa07ec689533 15:06:48 $ docker rm -f 8c55552521c95f84b1e4c445195f4dd0dbe8c3a660a92ea114f3fa07ec689533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:08:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40512 in /w/workspace/xfoundry_device-modbus-go_PR-342 [Pipeline] { [Pipeline] ws 15:08:55 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 15:08:55 Selected Git installation does not exist. Using Default 15:08:55 The recommended git tool is: NONE 15:09:02 using credential edgex-jenkins-ssh 15:09:02 Cloning the remote Git repository 15:09:02 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:09:03 > git init /w/workspace/device-modbus-go/1 # timeout=10 15:09:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:09:03 > git --version # timeout=10 15:09:03 > git --version # 'git version 2.25.1' 15:09:03 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:09:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:09:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:09:04 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/342/head:refs/remotes/origin/PR-342 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:09:05 Merging remotes/origin/main commit 0336c9d051e2f73d586bb6c363b90ff6160f5d37 into PR head commit 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 15:09:05 Merge succeeded, producing 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 15:09:05 Checking out Revision 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 (PR-342) 15:09:05 > git config core.sparsecheckout # timeout=10 15:09:05 > git checkout -f 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 # timeout=10 15:09:05 > git remote # timeout=10 15:09:05 > git config --get remote.origin.url # timeout=10 15:09:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:05 > git merge 0336c9d051e2f73d586bb6c363b90ff6160f5d37 # timeout=10 15:09:05 > git rev-parse HEAD^{commit} # timeout=10 15:09:05 > git config core.sparsecheckout # timeout=10 15:09:05 > git checkout -f 1f3c8e5b42568e3e9c66b257e740ad6972f9e119 # timeout=10 15:09:09 Commit message: "docs: cleanup references" 15:09:09 > git --version # timeout=10 15:09:09 > git --version # 'git version 2.25.1' 15:09:09 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:09:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:09:11 % Total % Received % Xferd Average Speed Time Time Time Current 15:09:11 Dload Upload Total Spent Left Speed 15:09:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89719 0 --:--:-- --:--:-- --:--:-- 89719 [Pipeline] sh 15:09:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:09:12 + sudo tee /etc/docker/daemon.new 15:09:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:09:12 { 15:09:12 "registry-mirrors": [ 15:09:12 "https://nexus3.edgexfoundry.org:10001" 15:09:12 ], 15:09:12 "bip": "10.250.0.254/24", 15:09:12 "hosts": [ 15:09:12 "tcp://0.0.0.0:5555", 15:09:12 "unix:///var/run/docker.sock" 15:09:12 ], 15:09:12 "mtu": 1458, 15:09:12 "selinux-enabled": true, 15:09:12 "seccomp-profile": "/etc/docker/seccomp.json" 15:09:12 } [Pipeline] sh 15:09:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:09:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:09:31 provisioning config files... 15:09:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config3583919868048857883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:09:31 ---> docker-login.sh 15:09:31 nexus3.edgexfoundry.org:10001 15:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:32 Configure a credential helper to remove this warning. See 15:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:32 15:09:32 Login Succeeded 15:09:32 nexus3.edgexfoundry.org:10002 15:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:33 Configure a credential helper to remove this warning. See 15:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:33 15:09:33 Login Succeeded 15:09:33 nexus3.edgexfoundry.org:10003 15:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:33 Configure a credential helper to remove this warning. See 15:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:33 15:09:33 Login Succeeded 15:09:33 nexus3.edgexfoundry.org:10004 15:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:34 Configure a credential helper to remove this warning. See 15:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:34 15:09:34 Login Succeeded 15:09:34 docker.io 15:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:09:34 Configure a credential helper to remove this warning. See 15:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:09:34 15:09:35 Login Succeeded 15:09:35 ---> docker-login.sh ends [Pipeline] } 15:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:09:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:09:35 ========================================================= 15:09:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:09:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:09:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:09:36 Sending build context to Docker daemon 3.073MB 15:09:36 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 15:09:36 Step 2/10 : FROM ${BASE} AS builder 15:09:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:09:36 9b3977197b4f: Pulling fs layer 15:09:36 1a89e8eeedd5: Pulling fs layer 15:09:36 94645a83ff95: Pulling fs layer 15:09:36 3f3a8bcf1eab: Pulling fs layer 15:09:36 0c92f367c5e7: Pulling fs layer 15:09:36 3096ccb668a1: Pulling fs layer 15:09:36 e8cf19c19ddd: Pulling fs layer 15:09:36 a4caa8a26152: Pulling fs layer 15:09:36 3f3a8bcf1eab: Waiting 15:09:36 0c92f367c5e7: Waiting 15:09:36 3096ccb668a1: Waiting 15:09:36 e8cf19c19ddd: Waiting 15:09:36 a4caa8a26152: Waiting 15:09:36 94645a83ff95: Verifying Checksum 15:09:36 94645a83ff95: Download complete 15:09:36 1a89e8eeedd5: Verifying Checksum 15:09:36 1a89e8eeedd5: Download complete 15:09:36 0c92f367c5e7: Verifying Checksum 15:09:36 0c92f367c5e7: Download complete 15:09:37 9b3977197b4f: Download complete 15:09:37 3096ccb668a1: Verifying Checksum 15:09:37 3096ccb668a1: Download complete 15:09:37 e8cf19c19ddd: Verifying Checksum 15:09:37 e8cf19c19ddd: Download complete 15:09:37 9b3977197b4f: Pull complete 15:09:38 1a89e8eeedd5: Pull complete 15:09:38 94645a83ff95: Pull complete 15:09:39 a4caa8a26152: Verifying Checksum 15:09:39 a4caa8a26152: Download complete 15:09:39 3f3a8bcf1eab: Verifying Checksum 15:09:39 3f3a8bcf1eab: Download complete 15:09:52 3f3a8bcf1eab: Pull complete 15:09:52 0c92f367c5e7: Pull complete 15:09:52 3096ccb668a1: Pull complete 15:09:52 e8cf19c19ddd: Pull complete 15:09:59 a4caa8a26152: Pull complete 15:09:59 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:09:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:09:59 ---> 725f1c02e7f9 15:09:59 Step 3/10 : ARG MAKE='make build' 15:10:00 ---> Running in 3baf54bb5389 15:10:00 Removing intermediate container 3baf54bb5389 15:10:00 ---> 821fe98b08ea 15:10:00 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:10:00 ---> Running in 25297fcfb477 15:10:02 Removing intermediate container 25297fcfb477 15:10:02 ---> 8c398afd04c5 15:10:02 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 15:10:02 ---> Running in da3a6b7ee32f 15:10:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:10:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:10:05 (1/8) Installing openssh-keygen (8.8_p1-r1) 15:10:05 (2/8) Installing libedit (20210910.3.1-r0) 15:10:05 (3/8) Installing openssh-client-common (8.8_p1-r1) 15:10:05 (4/8) Installing openssh-client-default (8.8_p1-r1) 15:10:05 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 15:10:06 (6/8) Installing openssh-server-common (8.8_p1-r1) 15:10:06 (7/8) Installing openssh-server (8.8_p1-r1) 15:10:06 (8/8) Installing openssh (8.8_p1-r1) 15:10:06 Executing busybox-1.34.1-r3.trigger 15:10:06 OK: 226 MiB in 60 packages 15:10:07 Removing intermediate container da3a6b7ee32f 15:10:07 ---> 15d4d4764811 15:10:07 Step 6/10 : WORKDIR /device-modbus-go 15:10:07 ---> Running in dcf7ee92bd07 15:10:08 Removing intermediate container dcf7ee92bd07 15:10:08 ---> 2037118be660 15:10:08 Step 7/10 : COPY go.mod vendor* ./ 15:10:08 ---> 09ceb3a0c08d 15:10:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:10:08 ---> Running in 395a8c02e68e 15:10:55 Removing intermediate container 395a8c02e68e 15:10:55 ---> d5a5a334d7be 15:10:55 Step 9/10 : COPY . . 15:10:56 ---> 8f1824a0b32b 15:10:56 Step 10/10 : RUN ${MAKE} 15:10:56 ---> Running in 3fd3b2c8d6f0 15:10:56 noop 15:10:57 Removing intermediate container 3fd3b2c8d6f0 15:10:57 ---> 8b370af5f11d 15:10:57 Successfully built 8b370af5f11d 15:10:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:10:58 + docker inspect -f . ci-base-image-arm64 15:10:58 . [Pipeline] withDockerContainer 15:10:58 prd-ubuntu20.04-docker-arm64-4c-16g-40512 does not seem to be running inside a container 15:10: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 ******** ci-base-image-arm64 cat 15:11:00 $ docker top 38d59fc8d3cbd35aff9d850ac680be1c493b7e2395cce44c65c67e2df4af9d13 -eo pid,comm [Pipeline] { [Pipeline] sh 15:11:01 + go version 15:11:01 go version go1.17.6 linux/arm64 [Pipeline] } 15:11:01 $ docker stop --time=1 38d59fc8d3cbd35aff9d850ac680be1c493b7e2395cce44c65c67e2df4af9d13 15:11:02 $ docker rm -f 38d59fc8d3cbd35aff9d850ac680be1c493b7e2395cce44c65c67e2df4af9d13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:11:03 + docker inspect -f . ci-base-image-arm64 15:11:03 . [Pipeline] withDockerContainer 15:11:04 prd-ubuntu20.04-docker-arm64-4c-16g-40512 does not seem to be running inside a container 15:11:04 $ 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 ******** ci-base-image-arm64 cat 15:11:05 $ docker top e5fdbd718df35d960a3442a6dc840ba00b8ffde2b52b24b39449d8af5055ed8e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:11:06 + make test 15:11:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:11:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:12:45 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:12:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 46.4% of statements 15:12:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:12:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:13:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:13:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:13:07 ./bin/test-attribution-txt.sh [Pipeline] echo 15:13:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:13:10 $ docker stop --time=1 e5fdbd718df35d960a3442a6dc840ba00b8ffde2b52b24b39449d8af5055ed8e 15:13:12 $ docker rm -f e5fdbd718df35d960a3442a6dc840ba00b8ffde2b52b24b39449d8af5055ed8e [Pipeline] // withDockerContainer [Pipeline] sh 15:13:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:13:13 Warning: overwriting stash ‘coverage-report’ 15:13:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:13:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:13:15 + ls -al . 15:13:15 total 176 15:13:15 drwxrwxr-x 9 jenkins jenkins 4096 May 5 15:13 . 15:13:15 drwxrwxr-x 4 jenkins jenkins 4096 May 5 15:09 .. 15:13:15 -rw-rw-r-- 1 jenkins jenkins 140 May 5 15:09 .dockerignore 15:13:15 drwxrwxr-x 8 jenkins jenkins 4096 May 5 15:09 .git 15:13:15 drwxrwxr-x 3 jenkins jenkins 4096 May 5 15:09 .github 15:13:15 -rw-rw-r-- 1 jenkins jenkins 331 May 5 15:09 .gitignore 15:13:15 -rw-rw-r-- 1 jenkins jenkins 41 May 5 15:09 .golangci.yml 15:13:15 -rw-rw-r-- 1 jenkins jenkins 9377 May 5 15:09 Attribution.txt 15:13:15 -rw-rw-r-- 1 jenkins jenkins 6038 May 5 15:09 CHANGELOG.md 15:13:15 -rw-rw-r-- 1 jenkins jenkins 1546 May 5 15:09 Dockerfile 15:13:15 -rw-rw-r-- 1 jenkins jenkins 677 May 5 15:09 GOVERNANCE.md 15:13:15 -rw-rw-r-- 1 jenkins jenkins 680 May 5 15:09 Jenkinsfile 15:13:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 15:09 LICENSE 15:13:15 -rw-rw-r-- 1 jenkins jenkins 1905 May 5 15:09 Makefile 15:13:15 -rw-rw-r-- 1 jenkins jenkins 622 May 5 15:09 OWNERS.md 15:13:15 -rw-rw-r-- 1 jenkins jenkins 3397 May 5 15:09 README.md 15:13:15 -rw-rw-r-- 1 jenkins jenkins 5 May 5 15:04 VERSION 15:13:15 drwxrwxr-x 2 jenkins jenkins 4096 May 5 15:09 bin 15:13:15 drwxrwxr-x 3 jenkins jenkins 4096 May 5 15:09 cmd 15:13:15 -rw-r--r-- 1 jenkins jenkins 24065 May 5 15:12 coverage.out 15:13:15 -rw-rw-r-- 1 jenkins jenkins 3399 May 5 15:09 go.mod 15:13:15 -rw-rw-r-- 1 jenkins jenkins 35440 May 5 15:09 go.sum 15:13:15 drwxrwxr-x 3 jenkins jenkins 4096 May 5 15:09 internal 15:13:15 drwxrwxr-x 2 jenkins jenkins 4096 May 5 15:09 simulator 15:13:15 drwxrwxr-x 4 jenkins jenkins 4096 May 5 15:09 snap 15:13:15 -rw-rw-r-- 1 jenkins jenkins 229 May 5 15:09 version.go [Pipeline] isUnix [Pipeline] sh 15:13:15 + 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=1f3c8e5b42568e3e9c66b257e740ad6972f9e119 --label arch=arm64 --label version=0.0.0 . 15:13:15 Sending build context to Docker daemon 3.098MB 15:13:16 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 15:13:16 Step 2/23 : FROM ${BASE} AS builder 15:13:16 ---> 8b370af5f11d 15:13:16 Step 3/23 : ARG MAKE='make build' 15:13:16 ---> Running in 38a8ae21b75d 15:13:16 Removing intermediate container 38a8ae21b75d 15:13:16 ---> 434f78b7ea5f 15:13:16 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:13:16 ---> Running in 8ae39594cb94 15:13:18 Removing intermediate container 8ae39594cb94 15:13:18 ---> e387f2c752b0 15:13:18 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 15:13:18 ---> Running in 563f73fabf95 15:13:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:13:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:13:21 OK: 226 MiB in 60 packages 15:13:22 Removing intermediate container 563f73fabf95 15:13:22 ---> be63f61fc653 15:13:22 Step 6/23 : WORKDIR /device-modbus-go 15:13:22 ---> Running in 4afafd300568 15:13:22 Removing intermediate container 4afafd300568 15:13:22 ---> 22f8c0469a88 15:13:22 Step 7/23 : COPY go.mod vendor* ./ 15:13:23 ---> e63ee8fb7c89 15:13:23 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:13:23 ---> Running in b468b745d6d3 15:13:25 Removing intermediate container b468b745d6d3 15:13:25 ---> 3937b2cc2c14 15:13:25 Step 9/23 : COPY . . 15:13:26 ---> ce15ec69b052 15:13:26 Step 10/23 : RUN ${MAKE} 15:13:26 ---> Running in e01ddcb00457 15:13:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 15:15:49 Removing intermediate container e01ddcb00457 15:15:49 ---> dae1cb4e418e 15:15:49 Step 11/23 : FROM alpine:3.14 15:15:49 3.14: Pulling from library/alpine 15:15:49 455c02918c45: Pulling fs layer 15:15:49 455c02918c45: Verifying Checksum 15:15:49 455c02918c45: Download complete 15:15:49 455c02918c45: Pull complete 15:15:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:15:49 Status: Downloaded newer image for alpine:3.14 15:15:49 ---> ac73e934f311 15:15:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:15:49 ---> Running in 86bcf19ad4ad 15:15:49 Removing intermediate container 86bcf19ad4ad 15:15:49 ---> ecb2a87a796f 15:15:49 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:15:49 ---> Running in e19f61f65d7f 15:15:49 Removing intermediate container e19f61f65d7f 15:15:49 ---> 850ab7689aa3 15:15:49 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 15:15:49 ---> Running in 1ea40f723e4b 15:15:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:15:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:15:50 (1/6) Installing dumb-init (1.2.5-r1) 15:15:50 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:15:50 (3/6) Installing libsodium (1.0.18-r0) 15:15:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:15:50 (5/6) Installing libzmq (4.3.4-r0) 15:15:50 (6/6) Installing zeromq (4.3.4-r0) 15:15:50 Executing busybox-1.33.1-r7.trigger 15:15:51 OK: 8 MiB in 20 packages 15:15:51 Removing intermediate container 1ea40f723e4b 15:15:51 ---> fc20184c49cd 15:15:51 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 15:15:53 ---> fd7821770960 15:15:53 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 15:15:54 ---> 767a660f0515 15:15:54 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:15:54 ---> aaeb2d85582b 15:15:54 Step 18/23 : EXPOSE 59901 15:15:54 ---> Running in c636f21bf662 15:15:54 Removing intermediate container c636f21bf662 15:15:54 ---> 1fd37d976e71 15:15:54 Step 19/23 : ENTRYPOINT ["/device-modbus"] 15:15:54 ---> Running in a879e90039f7 15:15:55 Removing intermediate container a879e90039f7 15:15:55 ---> 64fbd3c4aa5a 15:15:55 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:15:55 ---> Running in b94464b86895 15:15:55 Removing intermediate container b94464b86895 15:15:55 ---> 94035b7bf9ac 15:15:55 Step 21/23 : LABEL arch=arm64 15:15:55 ---> Running in c1864e0652b9 15:15:56 Removing intermediate container c1864e0652b9 15:15:56 ---> d421a61ce4f8 15:15:56 Step 22/23 : LABEL git_sha=1f3c8e5b42568e3e9c66b257e740ad6972f9e119 15:15:56 ---> Running in 28c9e2920864 15:15:56 Removing intermediate container 28c9e2920864 15:15:56 ---> f5974cbc97b9 15:15:56 Step 23/23 : LABEL version=0.0.0 15:15:56 ---> Running in 04023142c42b 15:15:56 Removing intermediate container 04023142c42b 15:15:56 ---> 10c5c106eb1f 15:15:56 [Warning] One or more build-args [ARCH] were not consumed 15:15:56 Successfully built 10c5c106eb1f 15:15:56 Successfully tagged device-modbus-arm64:latest [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] sh 15:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:15:57 15:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:15:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:15:58 arm64: Pulling from edgex-lftools-log-publisher 15:15:58 8998bd30e6a1: Pulling fs layer 15:15:58 04944245beec: Pulling fs layer 15:15:58 699f458cf7ca: Pulling fs layer 15:15:58 765212b225bb: Pulling fs layer 15:15:58 f23df028b6ca: Pulling fs layer 15:15:58 d65c8cfc05b1: Pulling fs layer 15:15:58 2437ff75d9bd: Pulling fs layer 15:15:58 765212b225bb: Waiting 15:15:58 f23df028b6ca: Waiting 15:15:58 d65c8cfc05b1: Waiting 15:15:58 2437ff75d9bd: Waiting 15:15:58 04944245beec: Verifying Checksum 15:15:58 04944245beec: Download complete 15:15:58 765212b225bb: Verifying Checksum 15:15:58 765212b225bb: Download complete 15:15:58 f23df028b6ca: Verifying Checksum 15:15:58 f23df028b6ca: Download complete 15:15:58 d65c8cfc05b1: Verifying Checksum 15:15:58 d65c8cfc05b1: Download complete 15:15:58 699f458cf7ca: Verifying Checksum 15:15:58 699f458cf7ca: Download complete 15:15:58 8998bd30e6a1: Verifying Checksum 15:15:58 8998bd30e6a1: Download complete 15:16:01 2437ff75d9bd: Verifying Checksum 15:16:01 2437ff75d9bd: Download complete 15:16:02 8998bd30e6a1: Pull complete 15:16:03 04944245beec: Pull complete 15:16:04 699f458cf7ca: Pull complete 15:16:04 765212b225bb: Pull complete 15:16:05 f23df028b6ca: Pull complete 15:16:05 d65c8cfc05b1: Pull complete 15:16:20 2437ff75d9bd: Pull complete 15:16:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:16:21 prd-ubuntu20.04-docker-arm64-4c-16g-40512 does not seem to be running inside a container 15:16:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:16:24 $ docker top 41348563e6bc967c6cafa285bd4a73cb23e7e8e893a841048ee23d08033977f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:25 ---> job-cost.sh 15:16:25 lf-activate-venv: SKIPPING 15:16:25 INFO: No Stack... 15:16:25 INFO: Retrieving Pricing Info for: v3-standard-4 15:16:26 INFO: Archiving Costs [Pipeline] sh 15:16:27 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 15:16:27 + cut -d, -f6 [Pipeline] lock 15:16:27 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-342-1-stack-cost] 15:16:27 Resource [jenkins-edgexfoundry-device-modbus-go-PR-342-1-stack-cost] did not exist. Created. 15:16:27 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-342-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:16:28 /w/workspace/device-modbus-go/1@tmp/durable-9908ad79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:16:29 + echo total: 0.10999999940395355 [Pipeline] stash 15:16:29 Warning: overwriting stash ‘stack-cost’ 15:16:29 Stashed 1 file(s) [Pipeline] } 15:16:29 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-342-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:16:29 $ docker stop --time=1 41348563e6bc967c6cafa285bd4a73cb23e7e8e893a841048ee23d08033977f3 15:16:30 $ docker rm -f 41348563e6bc967c6cafa285bd4a73cb23e7e8e893a841048ee23d08033977f3 [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 15:16:31 provisioning config files... 15:16:31 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-342@tmp/config5452900886050758672tmp [Pipeline] { [Pipeline] sh 15:16:32 + set +x 15:16:32 + curl -s https://codecov.io/bash 15:16:32 + bash -s -- 15:16:32 15:16:32 _____ _ 15:16:32 / ____| | | 15:16:32 | | ___ __| | ___ ___ _____ __ 15:16:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:16:32 | |___| (_) | (_| | __/ (_| (_) \ V / 15:16:32 \_____\___/ \__,_|\___|\___\___/ \_/ 15:16:32 Bash-1.0.6 15:16:32 15:16:32 15:16:32 ==> git version 2.25.1 found 15:16:32 ==> 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 15:16:32 Release-Date: 2020-01-08 15:16:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:16:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:16:32 ==> Jenkins CI detected. 15:16:32 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-342 15:16:32 project root: . 15:16:32 --> token set from env 15:16:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:16:32 ==> Running gcov in . (disable via -X gcov) 15:16:32 ==> Python coveragepy not found 15:16:32 ==> Searching for coverage reports in: 15:16:32 + . 15:16:32 -> Found 1 reports 15:16:32 ==> Detecting git/mercurial file structure 15:16:32 ==> Reading reports 15:16:32 + ./coverage.out bytes=24065 15:16:32 ==> Appending adjustments 15:16:32 https://docs.codecov.io/docs/fixing-reports 15:16:32 + Found adjustments 15:16:32 ==> Gzipping contents 15:16:32 4.0K /tmp/codecov.2BqHoF.gz 15:16:32 ==> Uploading reports 15:16:32 url: https://codecov.io 15:16:32 query: branch=PR-342&commit=1f3c8e5b42568e3e9c66b257e740ad6972f9e119&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-342%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=342&job=&cmd_args= 15:16:32 -> Pinging Codecov 15:16:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-342&commit=1f3c8e5b42568e3e9c66b257e740ad6972f9e119&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-342%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=342&job=&cmd_args= 15:16:32 -> Uploading to 15:16:32 https://storage.googleapis.com/codecov/v4/raw/2022-05-05/55DBCA73C666E3227836607328DD7E49/1f3c8e5b42568e3e9c66b257e740ad6972f9e119/4876a85c-6ba7-4cfd-98b0-fbf0c00bd38e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220505T151632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9769981fc1a536e9eb1ce16b87c397be3819f1cf0df97134838591f2e639b606 15:16:32 % Total % Received % Xferd Average Speed Time Time Time Current 15:16:32 Dload Upload Total Spent Left Speed 15:16:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4025 0 0 100 4025 0 13975 --:--:-- --:--:-- --:--:-- 13975 15:16:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/1f3c8e5b42568e3e9c66b257e740ad6972f9e119 [Pipeline] } 15:16:33 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 15:16:34 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-342/archives ] 15:16:34 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-342/archives 15:16:34 total 16 15:16:34 drwxr-xr-x 3 root root 4096 May 5 15:06 . 15:16:34 drwxrwxr-x 11 jenkins jenkins 4096 May 5 15:06 .. 15:16:34 drwxr-xr-x 2 root root 4096 May 5 15:06 cost 15:16:34 -rw-r--r-- 1 root root 87 May 5 15:06 cost.csv 15:16:34 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-342/archives 15:16:34 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-342/archives 15:16:34 total 16 15:16:34 drwxr-xr-x 3 jenkins jenkins 4096 May 5 15:06 . 15:16:34 drwxrwxr-x 11 jenkins jenkins 4096 May 5 15:06 .. 15:16:34 drwxr-xr-x 2 jenkins jenkins 4096 May 5 15:06 cost 15:16:34 -rw-r--r-- 1 jenkins jenkins 87 May 5 15:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:16:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:16:36 ---> package-listing.sh 15:16:36 ++ tr '[:upper:]' '[:lower:]' 15:16:36 ++ facter osfamily 15:16:36 + OS_FAMILY=debian 15:16:36 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-342 15:16:36 + START_PACKAGES=/tmp/packages_start.txt 15:16:36 + END_PACKAGES=/tmp/packages_end.txt 15:16:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:16:36 + PACKAGES=/tmp/packages_start.txt 15:16:36 + '[' /w/workspace/xfoundry_device-modbus-go_PR-342 ']' 15:16:36 + PACKAGES=/tmp/packages_end.txt 15:16:36 + case "${OS_FAMILY}" in 15:16:36 + dpkg -l 15:16:36 + grep '^ii' 15:16:36 + '[' -f /tmp/packages_start.txt ']' 15:16:36 + '[' -f /tmp/packages_end.txt ']' 15:16:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:16:36 + '[' /w/workspace/xfoundry_device-modbus-go_PR-342 ']' 15:16:36 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-342/archives/ 15:16:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-342/archives/ [Pipeline] echo 15:16:36 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-342/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:16:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:16:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:16:37 . [Pipeline] withDockerContainer 15:16:37 prd-ubuntu20.04-docker-8c-8g-40507 does not seem to be running inside a container 15:16:37 $ 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-342/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-342 -v /w/workspace/xfoundry_device-modbus-go_PR-342:/w/workspace/xfoundry_device-modbus-go_PR-342:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-342@tmp:/w/workspace/xfoundry_device-modbus-go_PR-342@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:16:37 $ docker top db2f8a436ef167c3e23bcf7766f50bf9cf11391c03a5c62ecd86b2643b506730 -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:37 + touch /tmp/pre-build-complete [Pipeline] sh 15:16:38 + mkdir -p /var/log/sysstat [Pipeline] sh 15:16:38 + ls /var/log/sa-host 15:16:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:16:38 provisioning config files... 15:16:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-342@tmp/config7187722815040938417tmp [Pipeline] { [Pipeline] echo 15:16:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:16:39 ---> create-netrc.sh [Pipeline] } 15:16:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:16:39 ---> python-tools-install.sh [Pipeline] echo 15:16:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:16:40 ---> sudo-logs.sh 15:16:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:16:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:16:40 ---> job-cost.sh 15:16:40 lf-activate-venv: SKIPPING 15:16:40 DEBUG: total: 0.2199999988079071 15:16:40 INFO: Retrieving Stack Cost... 15:16:40 INFO: Retrieving Pricing Info for: v3-standard-8 15:16:41 INFO: Archiving Costs [Pipeline] echo 15:16:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:16:41 ---> logs-deploy.sh 15:16:41 lf-activate-venv: SKIPPING 15:16:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-342/1 15:16:41 INFO: archiving workspace using pattern(s): 15:16:42 Archives upload complete. 15:16:43 INFO: archiving logs to Nexus