Pull request #337 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 87d68117d69b18fc86fa64f17e49433af2dc2bc1+e01a1226a5cf77919213724cb5799907c2b0adaa (671cfae4d373bbb2a595bf02f2188c87e226bedc) 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-ssh4881900154382963214.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh10262006017537873990.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-337/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-337/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3711693798946109126.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-337/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12947413320383586069.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh7222030794870761246.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-337/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-337/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8799154451066122387.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 c72b16708d6eed9a08be464a432ce22db7d90667 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25946 in /w/workspace/xfoundry_device-modbus-go_PR-337 [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-337 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e01a1226a5cf77919213724cb5799907c2b0adaa into PR head commit 87d68117d69b18fc86fa64f17e49433af2dc2bc1 Merge succeeded, producing 87d68117d69b18fc86fa64f17e49433af2dc2bc1 Checking out Revision 87d68117d69b18fc86fa64f17e49433af2dc2bc1 (PR-337) > git config core.sparsecheckout # timeout=10 > git checkout -f 87d68117d69b18fc86fa64f17e49433af2dc2bc1 # 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 e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87d68117d69b18fc86fa64f17e49433af2dc2bc1 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:03:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:03:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:03:56 ========================================================= 16:03:56 EdgeX Global Pipelines Version Info 16:03:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:03:56 ------------------- 16:03:56 stable info: 16:03:56 ------------------- 16:03:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:03:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:03:56 Message: update stable to v1.0.221 16:03:57 ------------------- 16:03:57 experimental info: 16:03:57 ------------------- 16:03:57 Commited By: Emilio Reyes emilio.reyes@intel.com 16:03:57 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 16:03:57 Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:03:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:03:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:03:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:03:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:03:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:03:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:03:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-337 [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-337 [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-337 [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [Pipeline] echo 16:03:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87d6811 [Pipeline] echo 16:03:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:59 provisioning config files... 16:03:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/config8071345688042245080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:59 ---> docker-login.sh 16:03:59 nexus3.edgexfoundry.org:10001 16:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:00 Configure a credential helper to remove this warning. See 16:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:00 16:04:00 Login Succeeded 16:04:00 nexus3.edgexfoundry.org:10002 16:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:00 Configure a credential helper to remove this warning. See 16:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:00 16:04:00 Login Succeeded 16:04:00 nexus3.edgexfoundry.org:10003 16:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:00 Configure a credential helper to remove this warning. See 16:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:00 16:04:00 Login Succeeded 16:04:00 nexus3.edgexfoundry.org:10004 16:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:00 Configure a credential helper to remove this warning. See 16:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:00 16:04:00 Login Succeeded 16:04:00 docker.io 16:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:00 Configure a credential helper to remove this warning. See 16:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:00 16:04:00 Login Succeeded 16:04:00 ---> docker-login.sh ends [Pipeline] } 16:04:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:04:01 + git rev-list -1 --merges 87d68117d69b18fc86fa64f17e49433af2dc2bc1~1..87d68117d69b18fc86fa64f17e49433af2dc2bc1 [Pipeline] echo 16:04:01 -----------> git rev-list -1 --merges 87d68117d69b18fc86fa64f17e49433af2dc2bc1~1..87d68117d69b18fc86fa64f17e49433af2dc2bc1 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [false] [Pipeline] sh 16:04:01 + git log --format=format:%s -1 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [Pipeline] echo 16:04:01 ========================================================= 16:04:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:04:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:02 + git log --format=format:%s -1 87d68117d69b18fc86fa64f17e49433af2dc2bc1 [Pipeline] echo 16:04:02 [semverPrep] GIT_COMMIT: 87d68117d69b18fc86fa64f17e49433af2dc2bc1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 16:04:02 [semverPrep] This is not a build commit. [Pipeline] sh 16:04:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:04:02 + grep -v github /etc/ssh/ssh_known_hosts 16:04:02 + [ -e /tmp/ssh_known_hosts ] 16:04:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:04:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:04:02 + sudo tee -a /etc/ssh/ssh_known_hosts 16:04:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:04:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:04:03 16:04:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:04:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:04:03 latest: Pulling from edgex-devops/git-semver 16:04:03 a0d0a0d46f8b: Pulling fs layer 16:04:03 3e5f54012d9b: Pulling fs layer 16:04:03 4c7163046ea9: Pulling fs layer 16:04:03 0c2d73faf560: Pulling fs layer 16:04:03 0c2d73faf560: Waiting 16:04:03 a0d0a0d46f8b: Verifying Checksum 16:04:03 a0d0a0d46f8b: Download complete 16:04:03 4c7163046ea9: Verifying Checksum 16:04:03 4c7163046ea9: Download complete 16:04:03 0c2d73faf560: Verifying Checksum 16:04:03 0c2d73faf560: Download complete 16:04:03 a0d0a0d46f8b: Pull complete 16:04:03 3e5f54012d9b: Pull complete 16:04:04 4c7163046ea9: Pull complete 16:04:04 0c2d73faf560: Pull complete 16:04:04 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:04:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:04:04 prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container 16:04:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:04:05 $ docker top 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:04:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:04:05 [ssh-agent] Looking for ssh-agent implementation... 16:04:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:04:05 $ docker exec 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb ssh-agent 16:04:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiJkhiJ/agent.13 16:04:05 SSH_AGENT_PID=20 16:04:05 Running ssh-add (command line suppressed) 16:04:05 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-337@tmp/private_key_1204297293142295696.key (/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/private_key_1204297293142295696.key) 16:04:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:04:06 + git tag --points-at HEAD [Pipeline] } 16:04:06 $ docker exec --env ******** --env ******** 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb ssh-agent -k 16:04:06 unset SSH_AUTH_SOCK; 16:04:06 unset SSH_AGENT_PID; 16:04:06 echo Agent pid 20 killed; 16:04:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:04:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:04:06 [ssh-agent] Looking for ssh-agent implementation... 16:04:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:04:06 $ docker exec 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb ssh-agent 16:04:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMbiJBa/agent.52 16:04:06 SSH_AGENT_PID=59 16:04:06 Running ssh-add (command line suppressed) 16:04:06 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-337@tmp/private_key_1363658572408717768.key (/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/private_key_1363658572408717768.key) 16:04:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:04:07 + git semver init 16:04:07 # -> Open(): unable to determine branch for HEAD 16:04:07 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-337/.git 16:04:07 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-337 16:04:07 # $SEMVER_REMOTE_NAME = origin 16:04:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:04:07 # $SEMVER_USER_NAME = edgex-jenkins 16:04:07 # $SEMVER_BRANCH = PR-337 16:04:07 # $SEMVER_TEMP = /tmp/semver-894869345 16:04:07 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 16:04:08 # '/tmp/semver-894869345' -> '/w/workspace/xfoundry_device-modbus-go_PR-337/.semver' 16:04:08 # -> Force: false 16:04:08 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-337/.semver [Pipeline] } 16:04:08 $ docker exec --env ******** --env ******** 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb ssh-agent -k 16:04:08 unset SSH_AUTH_SOCK; 16:04:08 unset SSH_AGENT_PID; 16:04:08 echo Agent pid 59 killed; 16:04:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:04:08 + git semver [Pipeline] } 16:04:08 $ docker stop --time=1 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb 16:04:10 $ docker rm -f 903e1d3734a466367dba84bf8b7ee97a3bba5c2986c14d171a3b460f0cdea5bb [Pipeline] // withDockerContainer [Pipeline] sh 16:04:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:04:10 Stashed 1 file(s) [Pipeline] echo 16:04:10 [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 16:04:11 provisioning config files... 16:04:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/config1750434491042617861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:04:11 ---> docker-login.sh 16:04:11 nexus3.edgexfoundry.org:10001 16:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:11 Configure a credential helper to remove this warning. See 16:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:11 16:04:11 Login Succeeded 16:04:11 nexus3.edgexfoundry.org:10002 16:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:12 Configure a credential helper to remove this warning. See 16:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:12 16:04:12 Login Succeeded 16:04:12 nexus3.edgexfoundry.org:10003 16:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:12 Configure a credential helper to remove this warning. See 16:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:12 16:04:12 Login Succeeded 16:04:12 nexus3.edgexfoundry.org:10004 16:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:12 Configure a credential helper to remove this warning. See 16:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:12 16:04:12 Login Succeeded 16:04:12 docker.io 16:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:12 Configure a credential helper to remove this warning. See 16:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:12 16:04:12 Login Succeeded 16:04:12 ---> docker-login.sh ends [Pipeline] } 16:04:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:04:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:04:12 ========================================================= 16:04:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:04:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:04:13 + 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 . 16:04:13 Sending build context to Docker daemon 5.857MB 16:04:13 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 16:04:13 Step 2/10 : FROM ${BASE} AS builder 16:04:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:04:13 59bf1c3509f3: Pulling fs layer 16:04:13 666ba61612fd: Pulling fs layer 16:04:13 8ed8ca486205: Pulling fs layer 16:04:13 4fe6c5a15a65: Pulling fs layer 16:04:13 22a0e8bec74d: Pulling fs layer 16:04:13 ca2b28591e48: Pulling fs layer 16:04:13 a51346096db8: Pulling fs layer 16:04:13 daebc70d1ce1: Pulling fs layer 16:04:13 0e18a0eac166: Pulling fs layer 16:04:13 4fe6c5a15a65: Waiting 16:04:13 22a0e8bec74d: Waiting 16:04:13 ca2b28591e48: Waiting 16:04:13 a51346096db8: Waiting 16:04:13 daebc70d1ce1: Waiting 16:04:13 0e18a0eac166: Waiting 16:04:13 8ed8ca486205: Verifying Checksum 16:04:13 8ed8ca486205: Download complete 16:04:13 666ba61612fd: Download complete 16:04:13 22a0e8bec74d: Download complete 16:04:13 ca2b28591e48: Verifying Checksum 16:04:13 ca2b28591e48: Download complete 16:04:13 59bf1c3509f3: Verifying Checksum 16:04:13 59bf1c3509f3: Download complete 16:04:13 a51346096db8: Verifying Checksum 16:04:13 a51346096db8: Download complete 16:04:13 daebc70d1ce1: Verifying Checksum 16:04:13 daebc70d1ce1: Download complete 16:04:13 59bf1c3509f3: Pull complete 16:04:13 666ba61612fd: Pull complete 16:04:13 8ed8ca486205: Pull complete 16:04:14 0e18a0eac166: Verifying Checksum 16:04:14 0e18a0eac166: Download complete 16:04:14 4fe6c5a15a65: Verifying Checksum 16:04:14 4fe6c5a15a65: Download complete 16:04:17 4fe6c5a15a65: Pull complete 16:04:18 22a0e8bec74d: Pull complete 16:04:18 ca2b28591e48: Pull complete 16:04:18 a51346096db8: Pull complete 16:04:18 daebc70d1ce1: Pull complete 16:04:20 0e18a0eac166: Pull complete 16:04:20 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 16:04:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:04:20 ---> f018257e8ee9 16:04:20 Step 3/10 : ARG MAKE='make build' 16:04:22 ---> Running in dc52c5a46883 16:04:22 Removing intermediate container dc52c5a46883 16:04:22 ---> f8e144971e09 16:04:22 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:04:22 ---> Running in 45a035e2a355 16:04:22 Removing intermediate container 45a035e2a355 16:04:22 ---> 8d999ad3219b 16:04:22 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:04:22 ---> Running in d96549f8b3ef 16:04:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:04:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:04:24 (1/8) Installing openssh-keygen (8.8_p1-r1) 16:04:24 (2/8) Installing libedit (20210910.3.1-r0) 16:04:24 (3/8) Installing openssh-client-common (8.8_p1-r1) 16:04:24 (4/8) Installing openssh-client-default (8.8_p1-r1) 16:04:24 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 16:04:24 (6/8) Installing openssh-server-common (8.8_p1-r1) 16:04:24 (7/8) Installing openssh-server (8.8_p1-r1) 16:04:24 (8/8) Installing openssh (8.8_p1-r1) 16:04:24 Executing busybox-1.34.1-r3.trigger 16:04:24 OK: 226 MiB in 60 packages 16:04:25 Removing intermediate container d96549f8b3ef 16:04:25 ---> 1c7d3d0651e8 16:04:25 Step 6/10 : WORKDIR /device-modbus-go 16:04:25 ---> Running in abb2f151f784 16:04:25 Removing intermediate container abb2f151f784 16:04:25 ---> 60453bf5656f 16:04:25 Step 7/10 : COPY go.mod vendor* ./ 16:04:25 ---> 415148f6d55d 16:04:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:04:25 ---> Running in 7f103ebf316b 16:04:26 Still waiting to schedule task 16:04:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:04:40 Removing intermediate container 7f103ebf316b 16:04:40 ---> 40e65b993161 16:04:40 Step 9/10 : COPY . . 16:04:40 ---> 9444cccabea6 16:04:40 Step 10/10 : RUN ${MAKE} 16:04:40 ---> Running in 6918ae124094 16:04:40 noop 16:04:40 Removing intermediate container 6918ae124094 16:04:40 ---> 7791ac5812bc 16:04:40 Successfully built 7791ac5812bc 16:04:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:04:41 + docker inspect -f . ci-base-image-x86_64 16:04:41 . [Pipeline] withDockerContainer 16:04:41 prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container 16:04:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@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 ******** ci-base-image-x86_64 cat 16:04:41 $ docker top 5bd4c100cbb9b769014017e83b111e4b72ed9b4c3b679ebacbd328512ae7d479 -eo pid,comm [Pipeline] { [Pipeline] sh 16:04:42 + go version 16:04:42 go version go1.17.6 linux/amd64 [Pipeline] } 16:04:42 $ docker stop --time=1 5bd4c100cbb9b769014017e83b111e4b72ed9b4c3b679ebacbd328512ae7d479 16:04:43 $ docker rm -f 5bd4c100cbb9b769014017e83b111e4b72ed9b4c3b679ebacbd328512ae7d479 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:04:44 + docker inspect -f . ci-base-image-x86_64 16:04:44 . [Pipeline] withDockerContainer 16:04:44 prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container 16:04:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@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 ******** ci-base-image-x86_64 cat 16:04:44 $ docker top 2f0a883bde4bcebd463a602c164e660883b36ff85b430ff075e5c6409f8b16fb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:04:45 + make test 16:04:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:04:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:04:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:04:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements 16:05:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:05:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:05:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:05:06 ./bin/test-attribution-txt.sh 16:05:06 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 16:05:06 make: *** [Makefile:47: test] Error 1 [Pipeline] } 16:05:06 $ docker stop --time=1 2f0a883bde4bcebd463a602c164e660883b36ff85b430ff075e5c6409f8b16fb 16:05:08 $ docker rm -f 2f0a883bde4bcebd463a602c164e660883b36ff85b430ff075e5c6409f8b16fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:05:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:05:09 16:05:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:05:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:05:10 latest: Pulling from edgex-lftools-log-publisher 16:05:10 5eb5b503b376: Pulling fs layer 16:05:10 5c69ac0246d0: Pulling fs layer 16:05:10 ec43610c2a17: Pulling fs layer 16:05:10 3a2ae6a8a46f: Pulling fs layer 16:05:10 33b1e0a273af: Pulling fs layer 16:05:10 5d3b04190fa2: Pulling fs layer 16:05:10 2f39f015ded8: Pulling fs layer 16:05:10 3a2ae6a8a46f: Waiting 16:05:10 33b1e0a273af: Waiting 16:05:10 2f39f015ded8: Waiting 16:05:10 5c69ac0246d0: Verifying Checksum 16:05:10 5c69ac0246d0: Download complete 16:05:10 3a2ae6a8a46f: Verifying Checksum 16:05:10 3a2ae6a8a46f: Download complete 16:05:10 33b1e0a273af: Verifying Checksum 16:05:10 33b1e0a273af: Download complete 16:05:10 ec43610c2a17: Verifying Checksum 16:05:10 ec43610c2a17: Download complete 16:05:10 5d3b04190fa2: Verifying Checksum 16:05:10 5d3b04190fa2: Download complete 16:05:10 5eb5b503b376: Download complete 16:05:11 2f39f015ded8: Download complete 16:05:11 5eb5b503b376: Pull complete 16:05:11 5c69ac0246d0: Pull complete 16:05:12 ec43610c2a17: Pull complete 16:05:12 3a2ae6a8a46f: Pull complete 16:05:12 33b1e0a273af: Pull complete 16:05:12 5d3b04190fa2: Pull complete 16:05:18 2f39f015ded8: Pull complete 16:05:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:05:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:05:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:05:18 prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container 16:05:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@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-lftools-log-publisher:latest cat 16:05:20 $ docker top 18a6a7e4f53cc6a15d913eb6b89b0037d80004f8291600577d8eeab3e6b4c399 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:20 ---> job-cost.sh 16:05:20 lf-activate-venv: SKIPPING 16:05:20 INFO: No Stack... 16:05:20 INFO: Retrieving Pricing Info for: v3-standard-8 16:05:21 INFO: Archiving Costs [Pipeline] sh 16:05:21 + cat /w/workspace/xfoundry_device-modbus-go_PR-337/archives/cost.csv 16:05:21 + cut -d, -f6 [Pipeline] lock 16:05:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] 16:05:21 Resource [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] did not exist. Created. 16:05:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:05:22 + echo total: 0.2199999988079071 [Pipeline] stash 16:05:22 Stashed 1 file(s) [Pipeline] } 16:05:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:05:22 $ docker stop --time=1 18a6a7e4f53cc6a15d913eb6b89b0037d80004f8291600577d8eeab3e6b4c399 16:05:23 $ docker rm -f 18a6a7e4f53cc6a15d913eb6b89b0037d80004f8291600577d8eeab3e6b4c399 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:05:23 Failed in branch amd64 17:24:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-32555 in /w/workspace/xfoundry_device-modbus-go_PR-337 [Pipeline] { [Pipeline] ws 17:24:56 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 17:24:57 Selected Git installation does not exist. Using Default 17:24:57 The recommended git tool is: NONE 17:25:03 using credential edgex-jenkins-ssh 17:25:03 Cloning the remote Git repository 17:25:03 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:25:03 > git init /w/workspace/device-modbus-go/1 # timeout=10 17:25:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:25:04 > git --version # timeout=10 17:25:04 > git --version # 'git version 2.25.1' 17:25:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:06 Merging remotes/origin/main commit e01a1226a5cf77919213724cb5799907c2b0adaa into PR head commit 87d68117d69b18fc86fa64f17e49433af2dc2bc1 17:25:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:25:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:25:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:25:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:25:05 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:25:06 > git config core.sparsecheckout # timeout=10 17:25:06 > git checkout -f 87d68117d69b18fc86fa64f17e49433af2dc2bc1 # timeout=10 17:25:06 Merge succeeded, producing 87d68117d69b18fc86fa64f17e49433af2dc2bc1 17:25:06 Checking out Revision 87d68117d69b18fc86fa64f17e49433af2dc2bc1 (PR-337) 17:25:06 > git remote # timeout=10 17:25:06 > git config --get remote.origin.url # timeout=10 17:25:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:25:06 > git merge e01a1226a5cf77919213724cb5799907c2b0adaa # timeout=10 17:25:06 > git rev-parse HEAD^{commit} # timeout=10 17:25:06 > git config core.sparsecheckout # timeout=10 17:25:06 > git checkout -f 87d68117d69b18fc86fa64f17e49433af2dc2bc1 # timeout=10 17:25:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 17:25:10 > git --version # timeout=10 17:25:10 > git --version # 'git version 2.25.1' 17:25:10 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:25:11 % Total % Received % Xferd Average Speed Time Time Time Current 17:25:11 Dload Upload Total Spent Left Speed 17:25:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 17:25:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:25:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:25:12 + sudo tee /etc/docker/daemon.new 17:25:12 { 17:25:12 "registry-mirrors": [ 17:25:12 "https://nexus3.edgexfoundry.org:10001" 17:25:12 ], 17:25:12 "bip": "10.250.0.254/24", 17:25:12 "hosts": [ 17:25:12 "tcp://0.0.0.0:5555", 17:25:12 "unix:///var/run/docker.sock" 17:25:12 ], 17:25:12 "mtu": 1458, 17:25:12 "selinux-enabled": true, 17:25:12 "seccomp-profile": "/etc/docker/seccomp.json" 17:25:12 } [Pipeline] sh 17:25:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:25:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:31 provisioning config files... 17:25:31 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8540383597482402024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:32 ---> docker-login.sh 17:25:32 nexus3.edgexfoundry.org:10001 17:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 nexus3.edgexfoundry.org:10002 17:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:33 Configure a credential helper to remove this warning. See 17:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:33 17:25:33 Login Succeeded 17:25:33 nexus3.edgexfoundry.org:10003 17:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:34 Configure a credential helper to remove this warning. See 17:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:34 17:25:34 Login Succeeded 17:25:34 nexus3.edgexfoundry.org:10004 17:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:34 Configure a credential helper to remove this warning. See 17:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:34 17:25:34 Login Succeeded 17:25:34 docker.io 17:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:35 Configure a credential helper to remove this warning. See 17:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:35 17:25:35 Login Succeeded 17:25:35 ---> docker-login.sh ends [Pipeline] } 17:25:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:35 ========================================================= 17:25:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:25:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:25: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 . 17:25:36 Sending build context to Docker daemon 3.084MB 17:25:36 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 17:25:36 Step 2/10 : FROM ${BASE} AS builder 17:25:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:25:36 9b3977197b4f: Pulling fs layer 17:25:36 1a89e8eeedd5: Pulling fs layer 17:25:36 94645a83ff95: Pulling fs layer 17:25:36 3f3a8bcf1eab: Pulling fs layer 17:25:36 0c92f367c5e7: Pulling fs layer 17:25:36 3096ccb668a1: Pulling fs layer 17:25:36 e8cf19c19ddd: Pulling fs layer 17:25:36 a4caa8a26152: Pulling fs layer 17:25:36 3096ccb668a1: Waiting 17:25:36 e8cf19c19ddd: Waiting 17:25:36 3f3a8bcf1eab: Waiting 17:25:36 0c92f367c5e7: Waiting 17:25:36 a4caa8a26152: Waiting 17:25:36 94645a83ff95: Download complete 17:25:36 1a89e8eeedd5: Verifying Checksum 17:25:36 1a89e8eeedd5: Download complete 17:25:36 0c92f367c5e7: Download complete 17:25:36 3096ccb668a1: Verifying Checksum 17:25:36 3096ccb668a1: Download complete 17:25:36 9b3977197b4f: Verifying Checksum 17:25:36 9b3977197b4f: Download complete 17:25:36 e8cf19c19ddd: Verifying Checksum 17:25:36 e8cf19c19ddd: Download complete 17:25:37 9b3977197b4f: Pull complete 17:25:37 1a89e8eeedd5: Pull complete 17:25:38 94645a83ff95: Pull complete 17:25:38 a4caa8a26152: Verifying Checksum 17:25:38 a4caa8a26152: Download complete 17:25:39 3f3a8bcf1eab: Verifying Checksum 17:25:39 3f3a8bcf1eab: Download complete 17:25:51 3f3a8bcf1eab: Pull complete 17:25:51 0c92f367c5e7: Pull complete 17:25:51 3096ccb668a1: Pull complete 17:25:51 e8cf19c19ddd: Pull complete 17:25:56 a4caa8a26152: Pull complete 17:25:56 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:25:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:25:56 ---> 725f1c02e7f9 17:25:56 Step 3/10 : ARG MAKE='make build' 17:25:57 ---> Running in d32ea24f3f31 17:25:57 Removing intermediate container d32ea24f3f31 17:25:57 ---> b32717df75d4 17:25:57 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:25:57 ---> Running in 15ccebb33a49 17:25:59 Removing intermediate container 15ccebb33a49 17:25:59 ---> 73d9ed2643e3 17:25:59 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:25:59 ---> Running in d73c5e27f692 17:26:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:26:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:26:02 (1/8) Installing openssh-keygen (8.8_p1-r1) 17:26:02 (2/8) Installing libedit (20210910.3.1-r0) 17:26:02 (3/8) Installing openssh-client-common (8.8_p1-r1) 17:26:02 (4/8) Installing openssh-client-default (8.8_p1-r1) 17:26:02 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 17:26:03 (6/8) Installing openssh-server-common (8.8_p1-r1) 17:26:03 (7/8) Installing openssh-server (8.8_p1-r1) 17:26:03 (8/8) Installing openssh (8.8_p1-r1) 17:26:03 Executing busybox-1.34.1-r3.trigger 17:26:03 OK: 226 MiB in 60 packages 17:26:04 Removing intermediate container d73c5e27f692 17:26:04 ---> 8c2d75313020 17:26:04 Step 6/10 : WORKDIR /device-modbus-go 17:26:04 ---> Running in 62bba8957817 17:26:04 Removing intermediate container 62bba8957817 17:26:04 ---> dd4b36dca318 17:26:04 Step 7/10 : COPY go.mod vendor* ./ 17:26:05 ---> 92e3d6bb7891 17:26:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:05 ---> Running in dcbbe3256993 17:26:52 Removing intermediate container dcbbe3256993 17:26:52 ---> 7b089e54f4fd 17:26:52 Step 9/10 : COPY . . 17:26:52 ---> a404622a59dc 17:26:52 Step 10/10 : RUN ${MAKE} 17:26:52 ---> Running in 9677a566bf7c 17:26:52 noop 17:26:52 Removing intermediate container 9677a566bf7c 17:26:52 ---> ba2f82860c5d 17:26:52 Successfully built ba2f82860c5d 17:26:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:26:52 + docker inspect -f . ci-base-image-arm64 17:26:52 . [Pipeline] withDockerContainer 17:26:52 prd-ubuntu20.04-docker-arm64-4c-16g-32555 does not seem to be running inside a container 17:26:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:26:54 $ docker top ae70918f83a6301e9612b85bf4b689ae53eaa959d75b7fe32f0953a9645154c7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:55 + go version 17:26:55 go version go1.17.6 linux/arm64 [Pipeline] } 17:26:55 $ docker stop --time=1 ae70918f83a6301e9612b85bf4b689ae53eaa959d75b7fe32f0953a9645154c7 17:26:56 $ docker rm -f ae70918f83a6301e9612b85bf4b689ae53eaa959d75b7fe32f0953a9645154c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:26:57 + docker inspect -f . ci-base-image-arm64 17:26:57 . [Pipeline] withDockerContainer 17:26:58 prd-ubuntu20.04-docker-arm64-4c-16g-32555 does not seem to be running inside a container 17:26: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 ******** ci-base-image-arm64 cat 17:26:59 $ docker top 728e391c6de3b00a2b6112d453e98a72a6e6b9f117d35ba9b26f04cb7a1d0047 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:27:00 + make test 17:27:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:27:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:28:24 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:28:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 46.4% of statements 17:28:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:28:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:28:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:28:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:28:51 ./bin/test-attribution-txt.sh 17:28:52 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 17:28:52 make: *** [Makefile:47: test] Error 1 [Pipeline] } 17:28:52 $ docker stop --time=1 728e391c6de3b00a2b6112d453e98a72a6e6b9f117d35ba9b26f04cb7a1d0047 17:28:54 $ docker rm -f 728e391c6de3b00a2b6112d453e98a72a6e6b9f117d35ba9b26f04cb7a1d0047 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:28:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:28:55 17:28:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:28:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:28:56 arm64: Pulling from edgex-lftools-log-publisher 17:28:56 8998bd30e6a1: Pulling fs layer 17:28:56 04944245beec: Pulling fs layer 17:28:56 699f458cf7ca: Pulling fs layer 17:28:56 765212b225bb: Pulling fs layer 17:28:56 f23df028b6ca: Pulling fs layer 17:28:56 d65c8cfc05b1: Pulling fs layer 17:28:56 2437ff75d9bd: Pulling fs layer 17:28:56 765212b225bb: Waiting 17:28:56 f23df028b6ca: Waiting 17:28:56 d65c8cfc05b1: Waiting 17:28:56 2437ff75d9bd: Waiting 17:28:56 04944245beec: Verifying Checksum 17:28:56 04944245beec: Download complete 17:28:56 765212b225bb: Verifying Checksum 17:28:56 765212b225bb: Download complete 17:28:56 f23df028b6ca: Download complete 17:28:56 d65c8cfc05b1: Verifying Checksum 17:28:56 d65c8cfc05b1: Download complete 17:28:56 699f458cf7ca: Verifying Checksum 17:28:56 699f458cf7ca: Download complete 17:28:56 8998bd30e6a1: Verifying Checksum 17:28:56 8998bd30e6a1: Download complete 17:28:59 2437ff75d9bd: Verifying Checksum 17:28:59 2437ff75d9bd: Download complete 17:29:01 8998bd30e6a1: Pull complete 17:29:01 04944245beec: Pull complete 17:29:03 699f458cf7ca: Pull complete 17:29:03 765212b225bb: Pull complete 17:29:03 f23df028b6ca: Pull complete 17:29:04 d65c8cfc05b1: Pull complete 17:29:19 2437ff75d9bd: Pull complete 17:29:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:29:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:29:19 prd-ubuntu20.04-docker-arm64-4c-16g-32555 does not seem to be running inside a container 17:29:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:29:22 $ docker top b9e1c6892321e3126e5ace557f3a4885dcda20ac959013a6d852af9ac18e8e1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:23 ---> job-cost.sh 17:29:23 lf-activate-venv: SKIPPING 17:29:23 INFO: No Stack... 17:29:23 INFO: Retrieving Pricing Info for: v3-standard-4 17:29:24 INFO: Archiving Costs [Pipeline] sh 17:29:25 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 17:29:25 + cut -d, -f6 [Pipeline] lock 17:29:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] 17:29:25 Resource [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] did not exist. Created. 17:29:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:29:26 /w/workspace/device-modbus-go/1@tmp/durable-4c89c77f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:29:27 + echo total: 0.10999999940395355 [Pipeline] stash 17:29:27 Warning: overwriting stash ‘stack-cost’ 17:29:27 Stashed 1 file(s) [Pipeline] } 17:29:27 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-337-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:29:27 $ docker stop --time=1 b9e1c6892321e3126e5ace557f3a4885dcda20ac959013a6d852af9ac18e8e1e 17:29:29 $ docker rm -f b9e1c6892321e3126e5ace557f3a4885dcda20ac959013a6d852af9ac18e8e1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:29:29 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:29:32 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-337/archives ] 17:29:32 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-337/archives 17:29:32 total 16 17:29:32 drwxr-xr-x 3 root root 4096 Apr 26 16:05 . 17:29:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:05 .. 17:29:32 drwxr-xr-x 2 root root 4096 Apr 26 16:05 cost 17:29:32 -rw-r--r-- 1 root root 87 Apr 26 16:05 cost.csv 17:29:32 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-337/archives 17:29:32 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-337/archives 17:29:32 total 16 17:29:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 16:05 . 17:29:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 16:05 .. 17:29:32 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 16:05 cost 17:29:32 -rw-r--r-- 1 jenkins jenkins 87 Apr 26 16:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:29:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:29:33 ---> package-listing.sh 17:29:33 ++ facter osfamily 17:29:33 ++ tr '[:upper:]' '[:lower:]' 17:29:33 + OS_FAMILY=debian 17:29:33 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-337 17:29:33 + START_PACKAGES=/tmp/packages_start.txt 17:29:33 + END_PACKAGES=/tmp/packages_end.txt 17:29:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:29:33 + PACKAGES=/tmp/packages_start.txt 17:29:33 + '[' /w/workspace/xfoundry_device-modbus-go_PR-337 ']' 17:29:33 + PACKAGES=/tmp/packages_end.txt 17:29:33 + case "${OS_FAMILY}" in 17:29:33 + dpkg -l 17:29:33 + grep '^ii' 17:29:33 + '[' -f /tmp/packages_start.txt ']' 17:29:33 + '[' -f /tmp/packages_end.txt ']' 17:29:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:29:33 + '[' /w/workspace/xfoundry_device-modbus-go_PR-337 ']' 17:29:33 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-337/archives/ 17:29:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-337/archives/ [Pipeline] echo 17:29:33 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-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:29:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:29:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:29:34 . [Pipeline] withDockerContainer 17:29:34 prd-ubuntu20.04-docker-8c-8g-25946 does not seem to be running inside a container 17:29:34 $ 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-337/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-337 -v /w/workspace/xfoundry_device-modbus-go_PR-337:/w/workspace/xfoundry_device-modbus-go_PR-337:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-337@tmp:/w/workspace/xfoundry_device-modbus-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:29:34 $ docker top 80b43b284334607f4c073e8f278fbb59210e3db31905db37e07a6ad28f733378 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:35 + touch /tmp/pre-build-complete [Pipeline] sh 17:29:35 + mkdir -p /var/log/sysstat [Pipeline] sh 17:29:35 + ls /var/log/sa-host 17:29:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:36 provisioning config files... 17:29:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-337@tmp/config1424437016362280887tmp [Pipeline] { [Pipeline] echo 17:29:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:29:36 ---> create-netrc.sh [Pipeline] } 17:29:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:29:37 ---> python-tools-install.sh [Pipeline] echo 17:29:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:29:37 ---> sudo-logs.sh 17:29:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:29:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:29:37 ---> job-cost.sh 17:29:37 lf-activate-venv: SKIPPING 17:29:37 DEBUG: total: 0.2199999988079071 17:29:37 INFO: Retrieving Stack Cost... 17:29:38 INFO: Retrieving Pricing Info for: v3-standard-8 17:29:38 INFO: Archiving Costs [Pipeline] echo 17:29:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:29:39 ---> logs-deploy.sh 17:29:39 lf-activate-venv: SKIPPING 17:29:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-337/1 17:29:39 INFO: archiving workspace using pattern(s): 17:29:39 Archives upload complete. 17:29:39 INFO: archiving logs to Nexus