Pull request #333 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 370e89f239da5b04f3592ec14a7e6ffbead9c5dc+244abab361647dcef607fbcbfbdaea3ae1f72309 (a053d084d1e4d8c2a8c618cad38944249f6e7683) 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-ssh5814463964092159173.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-ssh13880771877223386451.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-333/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-333/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17604432596286377217.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-333/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17414623231453204915.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-ssh6064480922596854279.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-333/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-333/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4143310667652725162.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 Running on prd-ubuntu20.04-docker-8c-8g-21934 in /w/workspace/xfoundry_device-modbus-go_PR-333 [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-333 # 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 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit 370e89f239da5b04f3592ec14a7e6ffbead9c5dc Merge succeeded, producing 370e89f239da5b04f3592ec14a7e6ffbead9c5dc Checking out Revision 370e89f239da5b04f3592ec14a7e6ffbead9c5dc (PR-333) > 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/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 370e89f239da5b04f3592ec14a7e6ffbead9c5dc # 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 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 370e89f239da5b04f3592ec14a7e6ffbead9c5dc # 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 05:02:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:02:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:02:41 ========================================================= 05:02:41 EdgeX Global Pipelines Version Info 05:02:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:02:41 ------------------- 05:02:41 stable info: 05:02:41 ------------------- 05:02:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:02:41 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:02:41 Message: update stable to v1.0.221 05:02:42 ------------------- 05:02:42 experimental info: 05:02:42 ------------------- 05:02:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:02:42 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 05:02:42 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-333 [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-333 [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-333 [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 370e89f [Pipeline] echo 05:02:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:44 provisioning config files... 05:02:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/config7627578284605978514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:44 ---> docker-login.sh 05:02:44 nexus3.edgexfoundry.org:10001 05:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:44 Configure a credential helper to remove this warning. See 05:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:44 05:02:44 Login Succeeded 05:02:44 nexus3.edgexfoundry.org:10002 05:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:44 Configure a credential helper to remove this warning. See 05:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:44 05:02:44 Login Succeeded 05:02:44 nexus3.edgexfoundry.org:10003 05:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:44 Configure a credential helper to remove this warning. See 05:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:44 05:02:44 Login Succeeded 05:02:44 nexus3.edgexfoundry.org:10004 05:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:45 Configure a credential helper to remove this warning. See 05:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:45 05:02:45 Login Succeeded 05:02:45 docker.io 05:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:45 Configure a credential helper to remove this warning. See 05:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:45 05:02:45 Login Succeeded 05:02:45 ---> docker-login.sh ends [Pipeline] } 05:02:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:02:46 + git rev-list -1 --merges 370e89f239da5b04f3592ec14a7e6ffbead9c5dc~1..370e89f239da5b04f3592ec14a7e6ffbead9c5dc [Pipeline] echo 05:02:46 -----------> git rev-list -1 --merges 370e89f239da5b04f3592ec14a7e6ffbead9c5dc~1..370e89f239da5b04f3592ec14a7e6ffbead9c5dc 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [false] [Pipeline] sh 05:02:46 + git log --format=format:%s -1 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [Pipeline] echo 05:02:46 ========================================================= 05:02:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:02:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:47 + git log --format=format:%s -1 370e89f239da5b04f3592ec14a7e6ffbead9c5dc [Pipeline] echo 05:02:47 [semverPrep] GIT_COMMIT: 370e89f239da5b04f3592ec14a7e6ffbead9c5dc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:02:47 [semverPrep] This is not a build commit. [Pipeline] sh 05:02:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:02:47 + grep -v github /etc/ssh/ssh_known_hosts 05:02:47 + [ -e /tmp/ssh_known_hosts ] 05:02:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:02:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:02:47 + sudo tee -a /etc/ssh/ssh_known_hosts 05:02:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:02:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:02:48 05:02:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:02:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:02:48 latest: Pulling from edgex-devops/git-semver 05:02:48 a0d0a0d46f8b: Pulling fs layer 05:02:48 3e5f54012d9b: Pulling fs layer 05:02:48 4c7163046ea9: Pulling fs layer 05:02:48 0c2d73faf560: Pulling fs layer 05:02:48 0c2d73faf560: Waiting 05:02:48 3e5f54012d9b: Download complete 05:02:48 a0d0a0d46f8b: Verifying Checksum 05:02:48 a0d0a0d46f8b: Download complete 05:02:48 0c2d73faf560: Verifying Checksum 05:02:48 0c2d73faf560: Download complete 05:02:48 4c7163046ea9: Verifying Checksum 05:02:48 4c7163046ea9: Download complete 05:02:48 a0d0a0d46f8b: Pull complete 05:02:48 3e5f54012d9b: Pull complete 05:02:49 4c7163046ea9: Pull complete 05:02:49 0c2d73faf560: Pull complete 05:02:49 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:02:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:02:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:02:49 prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container 05:02:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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 05:02:50 $ docker top 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:50 [ssh-agent] Looking for ssh-agent implementation... 05:02:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:50 $ docker exec 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc ssh-agent 05:02:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXilIchg/agent.16 05:02:50 SSH_AGENT_PID=23 05:02:50 Running ssh-add (command line suppressed) 05:02:50 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-333@tmp/private_key_8118197770548120229.key (/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/private_key_8118197770548120229.key) 05:02:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:50 + git tag --points-at HEAD [Pipeline] } 05:02:50 $ docker exec --env ******** --env ******** 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc ssh-agent -k 05:02:51 unset SSH_AUTH_SOCK; 05:02:51 unset SSH_AGENT_PID; 05:02:51 echo Agent pid 23 killed; 05:02:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:02:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:51 [ssh-agent] Looking for ssh-agent implementation... 05:02:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:51 $ docker exec 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc ssh-agent 05:02:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEOMoKN/agent.55 05:02:51 SSH_AGENT_PID=61 05:02:51 Running ssh-add (command line suppressed) 05:02:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-333@tmp/private_key_5454573463671740059.key (/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/private_key_5454573463671740059.key) 05:02:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:51 + git semver init 05:02:51 # -> Open(): unable to determine branch for HEAD 05:02:51 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-333/.git 05:02:51 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-333 05:02:51 # $SEMVER_REMOTE_NAME = origin 05:02:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:02:51 # $SEMVER_USER_NAME = edgex-jenkins 05:02:51 # $SEMVER_BRANCH = PR-333 05:02:51 # $SEMVER_TEMP = /tmp/semver-124856271 05:02:51 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:02:52 # '/tmp/semver-124856271' -> '/w/workspace/xfoundry_device-modbus-go_PR-333/.semver' 05:02:52 # -> Force: false 05:02:52 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-333/.semver [Pipeline] } 05:02:52 $ docker exec --env ******** --env ******** 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc ssh-agent -k 05:02:52 unset SSH_AUTH_SOCK; 05:02:52 unset SSH_AGENT_PID; 05:02:52 echo Agent pid 61 killed; 05:02:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:53 + git semver [Pipeline] } 05:02:53 $ docker stop --time=1 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc 05:02:54 $ docker rm -f 536c1823de3b3c96a661d98dc441188618f374728f08d08bd6e1ce49ad54dccc [Pipeline] // withDockerContainer [Pipeline] sh 05:02:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:02:55 Stashed 1 file(s) [Pipeline] echo 05:02:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:56 provisioning config files... 05:02:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/config409653277405873697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:56 ---> docker-login.sh 05:02:56 nexus3.edgexfoundry.org:10001 05:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:56 Configure a credential helper to remove this warning. See 05:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:56 05:02:56 Login Succeeded 05:02:56 nexus3.edgexfoundry.org:10002 05:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:56 Configure a credential helper to remove this warning. See 05:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:56 05:02:56 Login Succeeded 05:02:56 nexus3.edgexfoundry.org:10003 05:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:56 Configure a credential helper to remove this warning. See 05:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:56 05:02:56 Login Succeeded 05:02:56 nexus3.edgexfoundry.org:10004 05:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:56 Configure a credential helper to remove this warning. See 05:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:56 05:02:56 Login Succeeded 05:02:56 docker.io 05:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:57 Configure a credential helper to remove this warning. See 05:02:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:57 05:02:57 Login Succeeded 05:02:57 ---> docker-login.sh ends [Pipeline] } 05:02:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:02:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:02:57 ========================================================= 05:02:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:02:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:02:57 + 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 . 05:02:57 Sending build context to Docker daemon 5.851MB 05:02:57 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:02:57 Step 2/10 : FROM ${BASE} AS builder 05:02:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:02:57 59bf1c3509f3: Pulling fs layer 05:02:57 666ba61612fd: Pulling fs layer 05:02:57 8ed8ca486205: Pulling fs layer 05:02:57 4fe6c5a15a65: Pulling fs layer 05:02:57 22a0e8bec74d: Pulling fs layer 05:02:57 ca2b28591e48: Pulling fs layer 05:02:57 a51346096db8: Pulling fs layer 05:02:57 daebc70d1ce1: Pulling fs layer 05:02:57 0e18a0eac166: Pulling fs layer 05:02:57 daebc70d1ce1: Waiting 05:02:57 22a0e8bec74d: Waiting 05:02:57 0e18a0eac166: Waiting 05:02:57 4fe6c5a15a65: Waiting 05:02:57 ca2b28591e48: Waiting 05:02:57 a51346096db8: Waiting 05:02:57 8ed8ca486205: Verifying Checksum 05:02:57 8ed8ca486205: Download complete 05:02:57 666ba61612fd: Verifying Checksum 05:02:57 666ba61612fd: Download complete 05:02:57 22a0e8bec74d: Verifying Checksum 05:02:57 22a0e8bec74d: Download complete 05:02:57 ca2b28591e48: Verifying Checksum 05:02:57 ca2b28591e48: Download complete 05:02:58 59bf1c3509f3: Verifying Checksum 05:02:58 59bf1c3509f3: Download complete 05:02:58 a51346096db8: Download complete 05:02:58 daebc70d1ce1: Verifying Checksum 05:02:58 daebc70d1ce1: Download complete 05:02:58 59bf1c3509f3: Pull complete 05:02:58 666ba61612fd: Pull complete 05:02:58 8ed8ca486205: Pull complete 05:02:58 0e18a0eac166: Verifying Checksum 05:02:58 0e18a0eac166: Download complete 05:02:58 4fe6c5a15a65: Verifying Checksum 05:02:58 4fe6c5a15a65: Download complete 05:03:02 4fe6c5a15a65: Pull complete 05:03:02 22a0e8bec74d: Pull complete 05:03:02 ca2b28591e48: Pull complete 05:03:02 a51346096db8: Pull complete 05:03:02 daebc70d1ce1: Pull complete 05:03:04 0e18a0eac166: Pull complete 05:03:04 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:03:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:03:04 ---> f018257e8ee9 05:03:04 Step 3/10 : ARG MAKE='make build' 05:03:05 ---> Running in ab898f74c845 05:03:05 Removing intermediate container ab898f74c845 05:03:05 ---> ff5e677f0735 05:03:05 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:05 ---> Running in fe4ccab1485f 05:03:06 Removing intermediate container fe4ccab1485f 05:03:06 ---> c49411878a53 05:03:06 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:03:06 ---> Running in 8342692e68a5 05:03:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:03:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:03:07 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:03:07 (2/8) Installing libedit (20210910.3.1-r0) 05:03:08 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:03:08 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:03:08 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:03:08 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:03:08 (7/8) Installing openssh-server (8.8_p1-r1) 05:03:08 (8/8) Installing openssh (8.8_p1-r1) 05:03:08 Executing busybox-1.34.1-r3.trigger 05:03:08 OK: 226 MiB in 60 packages 05:03:08 Removing intermediate container 8342692e68a5 05:03:08 ---> a61f28083042 05:03:08 Step 6/10 : WORKDIR /device-modbus-go 05:03:08 ---> Running in aeb654a26638 05:03:09 Removing intermediate container aeb654a26638 05:03:09 ---> 0d318f2eb1b3 05:03:09 Step 7/10 : COPY go.mod vendor* ./ 05:03:09 ---> ee4c2f0b6044 05:03:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:09 ---> Running in 3c58dcfaebfb 05:03:10 Still waiting to schedule task 05:03:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:03:27 Removing intermediate container 3c58dcfaebfb 05:03:27 ---> a8fcf3aa8e3f 05:03:27 Step 9/10 : COPY . . 05:03:27 ---> fd1fd3f1089c 05:03:27 Step 10/10 : RUN ${MAKE} 05:03:27 ---> Running in d75a2eace03f 05:03:27 noop 05:03:27 Removing intermediate container d75a2eace03f 05:03:27 ---> 975cba762e8e 05:03:27 Successfully built 975cba762e8e 05:03:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:03:27 + docker inspect -f . ci-base-image-x86_64 05:03:27 . [Pipeline] withDockerContainer 05:03:27 prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container 05:03:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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 05:03:28 $ docker top bfd8e5eed1f715b5ea082c8405179dc4c084ba44df439679252131fcd2c6aad9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:28 + go version 05:03:28 go version go1.17.6 linux/amd64 [Pipeline] } 05:03:28 $ docker stop --time=1 bfd8e5eed1f715b5ea082c8405179dc4c084ba44df439679252131fcd2c6aad9 05:03:29 $ docker rm -f bfd8e5eed1f715b5ea082c8405179dc4c084ba44df439679252131fcd2c6aad9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:03:30 + docker inspect -f . ci-base-image-x86_64 05:03:30 . [Pipeline] withDockerContainer 05:03:30 prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container 05:03:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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 05:03:31 $ docker top 92d80b096e28563661029bcd25eada4ff5afabe72509e2855ca2aa1f70519b20 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:03:31 + make test 05:03:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:03:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:03:41 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:03:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 46.4% of statements 05:03:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:03:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:03:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:03:51 ./bin/test-attribution-txt.sh 05:03:52 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 05:03:52 make: *** [Makefile:47: test] Error 1 [Pipeline] } 05:03:52 $ docker stop --time=1 92d80b096e28563661029bcd25eada4ff5afabe72509e2855ca2aa1f70519b20 05:03:54 $ docker rm -f 92d80b096e28563661029bcd25eada4ff5afabe72509e2855ca2aa1f70519b20 [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 05:03:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:55 05:03:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:03:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:55 latest: Pulling from edgex-lftools-log-publisher 05:03:55 5eb5b503b376: Pulling fs layer 05:03:55 5c69ac0246d0: Pulling fs layer 05:03:55 ec43610c2a17: Pulling fs layer 05:03:55 3a2ae6a8a46f: Pulling fs layer 05:03:55 33b1e0a273af: Pulling fs layer 05:03:55 5d3b04190fa2: Pulling fs layer 05:03:55 2f39f015ded8: Pulling fs layer 05:03:55 3a2ae6a8a46f: Waiting 05:03:55 5d3b04190fa2: Waiting 05:03:55 33b1e0a273af: Waiting 05:03:55 2f39f015ded8: Waiting 05:03:55 5c69ac0246d0: Verifying Checksum 05:03:55 3a2ae6a8a46f: Verifying Checksum 05:03:55 3a2ae6a8a46f: Download complete 05:03:55 33b1e0a273af: Verifying Checksum 05:03:55 33b1e0a273af: Download complete 05:03:55 ec43610c2a17: Verifying Checksum 05:03:55 ec43610c2a17: Download complete 05:03:55 5d3b04190fa2: Verifying Checksum 05:03:55 5d3b04190fa2: Download complete 05:03:55 5eb5b503b376: Verifying Checksum 05:03:55 5eb5b503b376: Download complete 05:03:56 2f39f015ded8: Verifying Checksum 05:03:56 2f39f015ded8: Download complete 05:03:57 5eb5b503b376: Pull complete 05:03:57 5c69ac0246d0: Pull complete 05:03:57 ec43610c2a17: Pull complete 05:03:57 3a2ae6a8a46f: Pull complete 05:03:58 33b1e0a273af: Pull complete 05:03:58 5d3b04190fa2: Pull complete 05:04:02 2f39f015ded8: Pull complete 05:04:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:04:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:04:02 prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container 05:04:02 $ 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-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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 05:04:04 $ docker top 040ad758afb04762cbc6818d52a3e6ec22bfecfcbf807fb987c01ed054ab0341 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:04 ---> job-cost.sh 05:04:04 lf-activate-venv: SKIPPING 05:04:04 INFO: No Stack... 05:04:05 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:05 INFO: Archiving Costs [Pipeline] sh 05:04:05 + + cut -d,cat -f6 /w/workspace/xfoundry_device-modbus-go_PR-333/archives/cost.csv 05:04:05 [Pipeline] lock 05:04:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] 05:04:05 Resource [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] did not exist. Created. 05:04:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:06 + echo total: 0.6600000262260437 [Pipeline] stash 05:04:06 Stashed 1 file(s) [Pipeline] } 05:04:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:06 $ docker stop --time=1 040ad758afb04762cbc6818d52a3e6ec22bfecfcbf807fb987c01ed054ab0341 05:04:07 $ docker rm -f 040ad758afb04762cbc6818d52a3e6ec22bfecfcbf807fb987c01ed054ab0341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:04:07 Failed in branch amd64 05:04:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21942 in /w/workspace/xfoundry_device-modbus-go_PR-333 [Pipeline] { [Pipeline] ws 05:04:48 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:04:49 Selected Git installation does not exist. Using Default 05:04:49 The recommended git tool is: NONE 05:04:55 using credential edgex-jenkins-ssh 05:04:55 Cloning the remote Git repository 05:04:55 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:04:55 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:04:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:04:55 > git --version # timeout=10 05:04:55 > git --version # 'git version 2.25.1' 05:04:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:04:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:04:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:04:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:04:57 Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit 370e89f239da5b04f3592ec14a7e6ffbead9c5dc 05:04:57 Merge succeeded, producing 370e89f239da5b04f3592ec14a7e6ffbead9c5dc 05:04:57 Checking out Revision 370e89f239da5b04f3592ec14a7e6ffbead9c5dc (PR-333) 05:04:57 > git config core.sparsecheckout # timeout=10 05:04:57 > git checkout -f 370e89f239da5b04f3592ec14a7e6ffbead9c5dc # timeout=10 05:04:57 > git remote # timeout=10 05:04:57 > git config --get remote.origin.url # timeout=10 05:04:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:57 > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 05:04:57 > git rev-parse HEAD^{commit} # timeout=10 05:04:58 > git config core.sparsecheckout # timeout=10 05:04:58 > git checkout -f 370e89f239da5b04f3592ec14a7e6ffbead9c5dc # timeout=10 05:05:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:05:02 > git --version # timeout=10 05:05:02 > git --version # 'git version 2.25.1' 05:05:02 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:05:03 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:03 Dload Upload Total Spent Left Speed 05:05:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 74955 0 --:--:-- --:--:-- --:--:-- 75433 [Pipeline] sh 05:05:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:05:04 + sudo tee /etc/docker/daemon.new 05:05:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:05:04 { 05:05:04 "registry-mirrors": [ 05:05:04 "https://nexus3.edgexfoundry.org:10001" 05:05:04 ], 05:05:04 "bip": "10.250.0.254/24", 05:05:04 "hosts": [ 05:05:04 "tcp://0.0.0.0:5555", 05:05:04 "unix:///var/run/docker.sock" 05:05:04 ], 05:05:04 "mtu": 1458, 05:05:04 "selinux-enabled": true, 05:05:04 "seccomp-profile": "/etc/docker/seccomp.json" 05:05:04 } [Pipeline] sh 05:05:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:05:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:23 provisioning config files... 05:05:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4002706201872011176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:24 ---> docker-login.sh 05:05:24 nexus3.edgexfoundry.org:10001 05:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:24 Configure a credential helper to remove this warning. See 05:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:24 05:05:24 Login Succeeded 05:05:24 nexus3.edgexfoundry.org:10002 05:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:25 Configure a credential helper to remove this warning. See 05:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:25 05:05:25 Login Succeeded 05:05:25 nexus3.edgexfoundry.org:10003 05:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:25 Configure a credential helper to remove this warning. See 05:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:25 05:05:25 Login Succeeded 05:05:25 nexus3.edgexfoundry.org:10004 05:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:26 Configure a credential helper to remove this warning. See 05:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:26 05:05:26 Login Succeeded 05:05:26 docker.io 05:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:27 Configure a credential helper to remove this warning. See 05:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:27 05:05:27 Login Succeeded 05:05:27 ---> docker-login.sh ends [Pipeline] } 05:05:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:27 ========================================================= 05:05:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:05:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:05:28 + 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 . 05:05:28 Sending build context to Docker daemon 3.077MB 05:05:28 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:05:28 Step 2/10 : FROM ${BASE} AS builder 05:05:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:05:28 9b3977197b4f: Pulling fs layer 05:05:28 1a89e8eeedd5: Pulling fs layer 05:05:28 94645a83ff95: Pulling fs layer 05:05:28 3f3a8bcf1eab: Pulling fs layer 05:05:28 0c92f367c5e7: Pulling fs layer 05:05:28 3096ccb668a1: Pulling fs layer 05:05:28 e8cf19c19ddd: Pulling fs layer 05:05:28 a4caa8a26152: Pulling fs layer 05:05:28 3096ccb668a1: Waiting 05:05:28 e8cf19c19ddd: Waiting 05:05:28 3f3a8bcf1eab: Waiting 05:05:28 0c92f367c5e7: Waiting 05:05:28 a4caa8a26152: Waiting 05:05:28 94645a83ff95: Download complete 05:05:28 1a89e8eeedd5: Download complete 05:05:28 0c92f367c5e7: Download complete 05:05:28 3096ccb668a1: Verifying Checksum 05:05:28 3096ccb668a1: Download complete 05:05:28 9b3977197b4f: Download complete 05:05:28 e8cf19c19ddd: Verifying Checksum 05:05:28 e8cf19c19ddd: Download complete 05:05:29 9b3977197b4f: Pull complete 05:05:30 1a89e8eeedd5: Pull complete 05:05:30 94645a83ff95: Pull complete 05:05:31 a4caa8a26152: Verifying Checksum 05:05:31 a4caa8a26152: Download complete 05:05:31 3f3a8bcf1eab: Verifying Checksum 05:05:31 3f3a8bcf1eab: Download complete 05:05:44 3f3a8bcf1eab: Pull complete 05:05:44 0c92f367c5e7: Pull complete 05:05:44 3096ccb668a1: Pull complete 05:05:44 e8cf19c19ddd: Pull complete 05:05:51 a4caa8a26152: Pull complete 05:05:51 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:05:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:05:51 ---> 725f1c02e7f9 05:05:51 Step 3/10 : ARG MAKE='make build' 05:05:51 ---> Running in 796389b01e38 05:05:51 Removing intermediate container 796389b01e38 05:05:51 ---> debbf42e7947 05:05:51 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:51 ---> Running in 103d0b1e1309 05:05:53 Removing intermediate container 103d0b1e1309 05:05:53 ---> b6fe4666705b 05:05:53 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:53 ---> Running in c78ba7c8be01 05:05:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:05:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:05:56 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:05:56 (2/8) Installing libedit (20210910.3.1-r0) 05:05:56 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:05:56 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:05:56 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:05:56 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:05:56 (7/8) Installing openssh-server (8.8_p1-r1) 05:05:56 (8/8) Installing openssh (8.8_p1-r1) 05:05:56 Executing busybox-1.34.1-r3.trigger 05:05:56 OK: 226 MiB in 60 packages 05:05:57 Removing intermediate container c78ba7c8be01 05:05:57 ---> e34ed43f4500 05:05:57 Step 6/10 : WORKDIR /device-modbus-go 05:05:57 ---> Running in 81e33273c28b 05:05:58 Removing intermediate container 81e33273c28b 05:05:58 ---> 10863ca1803f 05:05:58 Step 7/10 : COPY go.mod vendor* ./ 05:05:58 ---> f07315199776 05:05:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:58 ---> Running in 0728a628c5c8 05:06:45 Removing intermediate container 0728a628c5c8 05:06:45 ---> 59a322577247 05:06:45 Step 9/10 : COPY . . 05:06:45 ---> c2da20334bbc 05:06:45 Step 10/10 : RUN ${MAKE} 05:06:45 ---> Running in 26a9841b0a7b 05:06:45 noop 05:06:45 Removing intermediate container 26a9841b0a7b 05:06:45 ---> d848d0c58a46 05:06:45 Successfully built d848d0c58a46 05:06:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:06:46 + docker inspect -f . ci-base-image-arm64 05:06:46 . [Pipeline] withDockerContainer 05:06:46 prd-ubuntu20.04-docker-arm64-4c-16g-21942 does not seem to be running inside a container 05:06:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:06:47 $ docker top 2e6cd5368fdba7ffaa3559b20f71b4126a66f2f2617e12bddd3e1b1c1b437d2a -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:48 + go version 05:06:48 go version go1.17.6 linux/arm64 [Pipeline] } 05:06:48 $ docker stop --time=1 2e6cd5368fdba7ffaa3559b20f71b4126a66f2f2617e12bddd3e1b1c1b437d2a 05:06:50 $ docker rm -f 2e6cd5368fdba7ffaa3559b20f71b4126a66f2f2617e12bddd3e1b1c1b437d2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:06:51 + docker inspect -f . ci-base-image-arm64 05:06:51 . [Pipeline] withDockerContainer 05:06:51 prd-ubuntu20.04-docker-arm64-4c-16g-21942 does not seem to be running inside a container 05:06:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:06:53 $ docker top 5db292f50579fe7dc85e5953d06d71cd4ad6a368a4bc7e0c94a96927b517c466 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:06:54 + make test 05:06:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:06:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:08:17 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:08:17 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 46.4% of statements 05:08:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:08:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:08:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:39 ./bin/test-attribution-txt.sh 05:08:39 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 05:08:40 make: *** [Makefile:47: test] Error 1 [Pipeline] } 05:08:40 $ docker stop --time=1 5db292f50579fe7dc85e5953d06d71cd4ad6a368a4bc7e0c94a96927b517c466 05:08:41 $ docker rm -f 5db292f50579fe7dc85e5953d06d71cd4ad6a368a4bc7e0c94a96927b517c466 [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 05:08:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:08:43 05:08:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:08:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:08:44 arm64: Pulling from edgex-lftools-log-publisher 05:08:44 8998bd30e6a1: Pulling fs layer 05:08:44 04944245beec: Pulling fs layer 05:08:44 699f458cf7ca: Pulling fs layer 05:08:44 765212b225bb: Pulling fs layer 05:08:44 f23df028b6ca: Pulling fs layer 05:08:44 d65c8cfc05b1: Pulling fs layer 05:08:44 2437ff75d9bd: Pulling fs layer 05:08:44 765212b225bb: Waiting 05:08:44 f23df028b6ca: Waiting 05:08:44 d65c8cfc05b1: Waiting 05:08:44 2437ff75d9bd: Waiting 05:08:44 04944245beec: Verifying Checksum 05:08:44 04944245beec: Download complete 05:08:44 765212b225bb: Verifying Checksum 05:08:44 765212b225bb: Download complete 05:08:44 f23df028b6ca: Download complete 05:08:44 d65c8cfc05b1: Verifying Checksum 05:08:44 d65c8cfc05b1: Download complete 05:08:44 699f458cf7ca: Verifying Checksum 05:08:44 699f458cf7ca: Download complete 05:08:44 8998bd30e6a1: Download complete 05:08:46 2437ff75d9bd: Verifying Checksum 05:08:46 2437ff75d9bd: Download complete 05:08:48 8998bd30e6a1: Pull complete 05:08:49 04944245beec: Pull complete 05:08:50 699f458cf7ca: Pull complete 05:08:51 765212b225bb: Pull complete 05:08:52 f23df028b6ca: Pull complete 05:08:52 d65c8cfc05b1: Pull complete 05:09:07 2437ff75d9bd: Pull complete 05:09:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:09:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:09:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:09:07 prd-ubuntu20.04-docker-arm64-4c-16g-21942 does not seem to be running inside a container 05:09:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:09:10 $ docker top 0f628773f6110baf9819f0116a1e2538bd08a5e245fe101e2ca669fe25f12d22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:11 ---> job-cost.sh 05:09:11 lf-activate-venv: SKIPPING 05:09:11 INFO: No Stack... 05:09:11 INFO: Retrieving Pricing Info for: v3-standard-4 05:09:12 INFO: Archiving Costs [Pipeline] sh 05:09:13 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:09:13 + cut -d, -f6 [Pipeline] lock 05:09:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] 05:09:13 Resource [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] did not exist. Created. 05:09:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:13 /w/workspace/device-modbus-go/1@tmp/durable-6fdf721c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:09:14 + echo total: 0.10999999940395355 [Pipeline] stash 05:09:14 Warning: overwriting stash ‘stack-cost’ 05:09:15 Stashed 1 file(s) [Pipeline] } 05:09:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:09:15 $ docker stop --time=1 0f628773f6110baf9819f0116a1e2538bd08a5e245fe101e2ca669fe25f12d22 05:09:16 $ docker rm -f 0f628773f6110baf9819f0116a1e2538bd08a5e245fe101e2ca669fe25f12d22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:09:17 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 05:09:19 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-333/archives ] 05:09:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-333/archives 05:09:19 total 16 05:09:19 drwxr-xr-x 3 root root 4096 Apr 25 05:04 . 05:09:19 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 05:04 .. 05:09:19 drwxr-xr-x 2 root root 4096 Apr 25 05:04 cost 05:09:19 -rw-r--r-- 1 root root 88 Apr 25 05:04 cost.csv 05:09:19 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-333/archives 05:09:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-333/archives 05:09:19 total 16 05:09:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 05:04 . 05:09:19 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 05:04 .. 05:09:19 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 05:04 cost 05:09:19 -rw-r--r-- 1 jenkins jenkins 88 Apr 25 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:09:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:09:20 ---> package-listing.sh 05:09:20 ++ facter osfamily 05:09:20 ++ tr '[:upper:]' '[:lower:]' 05:09:21 + OS_FAMILY=debian 05:09:21 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-333 05:09:21 + START_PACKAGES=/tmp/packages_start.txt 05:09:21 + END_PACKAGES=/tmp/packages_end.txt 05:09:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:09:21 + PACKAGES=/tmp/packages_start.txt 05:09:21 + '[' /w/workspace/xfoundry_device-modbus-go_PR-333 ']' 05:09:21 + PACKAGES=/tmp/packages_end.txt 05:09:21 + case "${OS_FAMILY}" in 05:09:21 + dpkg -l 05:09:21 + grep '^ii' 05:09:21 + '[' -f /tmp/packages_start.txt ']' 05:09:21 + '[' -f /tmp/packages_end.txt ']' 05:09:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:09:21 + '[' /w/workspace/xfoundry_device-modbus-go_PR-333 ']' 05:09:21 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-333/archives/ 05:09:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-333/archives/ [Pipeline] echo 05:09:21 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-333/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:09:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:09:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:21 . [Pipeline] withDockerContainer 05:09:22 prd-ubuntu20.04-docker-8c-8g-21934 does not seem to be running inside a container 05:09:22 $ 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-333/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-333 -v /w/workspace/xfoundry_device-modbus-go_PR-333:/w/workspace/xfoundry_device-modbus-go_PR-333:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-333@tmp:/w/workspace/xfoundry_device-modbus-go_PR-333@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 05:09:22 $ docker top a6a0230fa74639a9dab32c299128f8c9b11a1716518d146926f6dc4f8b72fd99 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:22 + touch /tmp/pre-build-complete [Pipeline] sh 05:09:23 + mkdir -p /var/log/sysstat [Pipeline] sh 05:09:23 + ls /var/log/sa-host 05:09:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:23 provisioning config files... 05:09:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-333@tmp/config5241448768235114935tmp [Pipeline] { [Pipeline] echo 05:09:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:09:24 ---> create-netrc.sh [Pipeline] } 05:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:09:24 ---> python-tools-install.sh [Pipeline] echo 05:09:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:09:24 ---> sudo-logs.sh 05:09:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:09:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:09:25 ---> job-cost.sh 05:09:25 lf-activate-venv: SKIPPING 05:09:25 DEBUG: total: 0.6600000262260437 05:09:25 INFO: Retrieving Stack Cost... 05:09:25 INFO: Retrieving Pricing Info for: v3-standard-8 05:09:26 INFO: Archiving Costs [Pipeline] echo 05:09:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:09:26 ---> logs-deploy.sh 05:09:26 lf-activate-venv: SKIPPING 05:09:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-333/1 05:09:26 INFO: archiving workspace using pattern(s): 05:09:27 Archives upload complete. 05:09:27 INFO: archiving logs to Nexus