Pull request #332 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from afc096859ea897e6a3ffd068badbcaefead38123+244abab361647dcef607fbcbfbdaea3ae1f72309 (44c2643ccc7377084b17b72b125aaab7f1e90408) 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-ssh11877646523122611777.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-ssh2366360327678623399.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-332/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-332/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16342876614976045027.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-332/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4072168245240750990.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-ssh1427990225560634453.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-332/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-332/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5401924175504408625.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 Running on prd-ubuntu20.04-docker-8c-8g-21203 in /w/workspace/xfoundry_device-modbus-go_PR-332 [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-332 # 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 afc096859ea897e6a3ffd068badbcaefead38123 > 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/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f afc096859ea897e6a3ffd068badbcaefead38123 # timeout=10 Merge succeeded, producing afc096859ea897e6a3ffd068badbcaefead38123 Checking out Revision afc096859ea897e6a3ffd068badbcaefead38123 (PR-332) > 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 afc096859ea897e6a3ffd068badbcaefead38123 # 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:04:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:51 ========================================================= 05:04:51 EdgeX Global Pipelines Version Info 05:04:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:52 ------------------- 05:04:52 stable info: 05:04:52 ------------------- 05:04:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:52 Message: update stable to v1.0.221 05:04:52 ------------------- 05:04:52 experimental info: 05:04:52 ------------------- 05:04:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:52 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 05:04:52 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-332 [Pipeline] echo 05:04:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-332 [Pipeline] echo 05:04:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-332 [Pipeline] echo 05:04:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] echo 05:04:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afc0968 [Pipeline] echo 05:04:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:54 provisioning config files... 05:04:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/config6060415213061812250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:54 ---> docker-login.sh 05:04:54 nexus3.edgexfoundry.org:10001 05:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:55 Configure a credential helper to remove this warning. See 05:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:55 05:04:55 Login Succeeded 05:04:55 nexus3.edgexfoundry.org:10002 05:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:55 Configure a credential helper to remove this warning. See 05:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:55 05:04:55 Login Succeeded 05:04:55 nexus3.edgexfoundry.org:10003 05:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:55 Configure a credential helper to remove this warning. See 05:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:55 05:04:55 Login Succeeded 05:04:55 nexus3.edgexfoundry.org:10004 05:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:55 Configure a credential helper to remove this warning. See 05:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:55 05:04:55 Login Succeeded 05:04:55 docker.io 05:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:56 Configure a credential helper to remove this warning. See 05:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:56 05:04:56 Login Succeeded 05:04:56 ---> docker-login.sh ends [Pipeline] } 05:04:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:56 + git rev-list -1 --merges afc096859ea897e6a3ffd068badbcaefead38123~1..afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] echo 05:04:56 -----------> git rev-list -1 --merges afc096859ea897e6a3ffd068badbcaefead38123~1..afc096859ea897e6a3ffd068badbcaefead38123 afc096859ea897e6a3ffd068badbcaefead38123 [false] [Pipeline] sh 05:04:57 + git log --format=format:%s -1 afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] echo 05:04:57 ========================================================= 05:04:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:57 + git log --format=format:%s -1 afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] echo 05:04:57 [semverPrep] GIT_COMMIT: afc096859ea897e6a3ffd068badbcaefead38123, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:57 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:58 + grep -v github /etc/ssh/ssh_known_hosts 05:04:58 + [ -e /tmp/ssh_known_hosts ] 05:04:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:58 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:04:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:58 05:04:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:04:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:58 latest: Pulling from edgex-devops/git-semver 05:04:58 a0d0a0d46f8b: Pulling fs layer 05:04:58 3e5f54012d9b: Pulling fs layer 05:04:58 4c7163046ea9: Pulling fs layer 05:04:58 0c2d73faf560: Pulling fs layer 05:04:58 0c2d73faf560: Waiting 05:04:58 3e5f54012d9b: Verifying Checksum 05:04:58 3e5f54012d9b: Download complete 05:04:58 a0d0a0d46f8b: Verifying Checksum 05:04:58 a0d0a0d46f8b: Download complete 05:04:58 0c2d73faf560: Verifying Checksum 05:04:58 0c2d73faf560: Download complete 05:04:58 4c7163046ea9: Verifying Checksum 05:04:58 4c7163046ea9: Download complete 05:04:59 a0d0a0d46f8b: Pull complete 05:04:59 3e5f54012d9b: Pull complete 05:04:59 4c7163046ea9: Pull complete 05:04:59 0c2d73faf560: Pull complete 05:04:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:04:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:05:00 prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container 05:05:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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:05:00 $ docker top 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:01 [ssh-agent] Looking for ssh-agent implementation... 05:05:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:01 $ docker exec 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf ssh-agent 05:05:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkKdJpi/agent.14 05:05:01 SSH_AGENT_PID=20 05:05:01 Running ssh-add (command line suppressed) 05:05:01 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-332@tmp/private_key_7850106137574458980.key (/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/private_key_7850106137574458980.key) 05:05:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:01 + git tag --points-at HEAD [Pipeline] } 05:05:01 $ docker exec --env ******** --env ******** 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf ssh-agent -k 05:05:01 unset SSH_AUTH_SOCK; 05:05:01 unset SSH_AGENT_PID; 05:05:01 echo Agent pid 20 killed; 05:05:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:02 [ssh-agent] Looking for ssh-agent implementation... 05:05:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:02 $ docker exec 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf ssh-agent 05:05:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfjaAPJ/agent.54 05:05:02 SSH_AGENT_PID=60 05:05:02 Running ssh-add (command line suppressed) 05:05:02 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-332@tmp/private_key_5477886922123774144.key (/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/private_key_5477886922123774144.key) 05:05:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:02 + git semver init 05:05:02 # -> Open(): unable to determine branch for HEAD 05:05:02 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-332/.git 05:05:02 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-332 05:05:02 # $SEMVER_REMOTE_NAME = origin 05:05:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:05:02 # $SEMVER_USER_NAME = edgex-jenkins 05:05:02 # $SEMVER_BRANCH = PR-332 05:05:02 # $SEMVER_TEMP = /tmp/semver-843992135 05:05:02 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 05:05:03 # '/tmp/semver-843992135' -> '/w/workspace/xfoundry_device-modbus-go_PR-332/.semver' 05:05:03 # -> Force: false 05:05:03 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-332/.semver [Pipeline] } 05:05:03 $ docker exec --env ******** --env ******** 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf ssh-agent -k 05:05:03 unset SSH_AUTH_SOCK; 05:05:03 unset SSH_AGENT_PID; 05:05:03 echo Agent pid 60 killed; 05:05:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:04 + git semver [Pipeline] } 05:05:04 $ docker stop --time=1 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf 05:05:05 $ docker rm -f 0bb818d14373c4b087dc53c99e3c93d6726e1d6bbe3e02cfc36588aa236ab0bf [Pipeline] // withDockerContainer [Pipeline] sh 05:05:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:06 Stashed 1 file(s) [Pipeline] echo 05:05:06 [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:05:07 provisioning config files... 05:05:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/config1078946310397056514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:07 ---> docker-login.sh 05:05:07 nexus3.edgexfoundry.org:10001 05:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:07 Configure a credential helper to remove this warning. See 05:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:07 05:05:07 Login Succeeded 05:05:07 nexus3.edgexfoundry.org:10002 05:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:07 Configure a credential helper to remove this warning. See 05:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:07 05:05:07 Login Succeeded 05:05:07 nexus3.edgexfoundry.org:10003 05:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:07 Configure a credential helper to remove this warning. See 05:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:07 05:05:07 Login Succeeded 05:05:07 nexus3.edgexfoundry.org:10004 05:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:07 Configure a credential helper to remove this warning. See 05:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:07 05:05:07 Login Succeeded 05:05:07 docker.io 05:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:08 Configure a credential helper to remove this warning. See 05:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:08 05:05:08 Login Succeeded 05:05:08 ---> docker-login.sh ends [Pipeline] } 05:05:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:08 ========================================================= 05:05:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:05:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:05:08 + 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:05:08 Sending build context to Docker daemon 5.8MB 05:05:08 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:05:08 Step 2/10 : FROM ${BASE} AS builder 05:05:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:08 59bf1c3509f3: Pulling fs layer 05:05:08 666ba61612fd: Pulling fs layer 05:05:08 8ed8ca486205: Pulling fs layer 05:05:08 4fe6c5a15a65: Pulling fs layer 05:05:08 22a0e8bec74d: Pulling fs layer 05:05:08 640e595b4fbd: Pulling fs layer 05:05:08 763cafe07f6e: Pulling fs layer 05:05:08 0c0b528cf693: Pulling fs layer 05:05:08 10935f4eaf8b: Pulling fs layer 05:05:08 640e595b4fbd: Waiting 05:05:08 763cafe07f6e: Waiting 05:05:08 22a0e8bec74d: Waiting 05:05:08 0c0b528cf693: Waiting 05:05:08 10935f4eaf8b: Waiting 05:05:08 4fe6c5a15a65: Waiting 05:05:09 8ed8ca486205: Verifying Checksum 05:05:09 8ed8ca486205: Download complete 05:05:09 666ba61612fd: Download complete 05:05:09 22a0e8bec74d: Verifying Checksum 05:05:09 22a0e8bec74d: Download complete 05:05:09 59bf1c3509f3: Verifying Checksum 05:05:09 59bf1c3509f3: Download complete 05:05:09 640e595b4fbd: Verifying Checksum 05:05:09 640e595b4fbd: Download complete 05:05:09 763cafe07f6e: Verifying Checksum 05:05:09 763cafe07f6e: Download complete 05:05:09 0c0b528cf693: Verifying Checksum 05:05:09 0c0b528cf693: Download complete 05:05:09 59bf1c3509f3: Pull complete 05:05:09 666ba61612fd: Pull complete 05:05:09 8ed8ca486205: Pull complete 05:05:09 10935f4eaf8b: Verifying Checksum 05:05:09 10935f4eaf8b: Download complete 05:05:09 4fe6c5a15a65: Verifying Checksum 05:05:09 4fe6c5a15a65: Download complete 05:05:14 4fe6c5a15a65: Pull complete 05:05:14 22a0e8bec74d: Pull complete 05:05:14 640e595b4fbd: Pull complete 05:05:14 763cafe07f6e: Pull complete 05:05:14 0c0b528cf693: Pull complete 05:05:16 10935f4eaf8b: Pull complete 05:05:16 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:05:16 ---> 99d49a6021b9 05:05:16 Step 3/10 : ARG MAKE='make build' 05:05:18 ---> Running in 5bbeb2b10571 05:05:18 Removing intermediate container 5bbeb2b10571 05:05:18 ---> 9801344d7fe0 05:05:18 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:18 ---> Running in a7bb8c019350 05:05:19 Removing intermediate container a7bb8c019350 05:05:19 ---> 9fc3ec53cd86 05:05:19 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:19 ---> Running in 87ef9409c5ec 05:05:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:20 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:05:20 (2/8) Installing libedit (20210910.3.1-r0) 05:05:20 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:05:21 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:05:21 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:05:21 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:05:21 (7/8) Installing openssh-server (8.8_p1-r1) 05:05:21 (8/8) Installing openssh (8.8_p1-r1) 05:05:21 Executing busybox-1.34.1-r3.trigger 05:05:21 OK: 226 MiB in 60 packages 05:05:21 Still waiting to schedule task 05:05:21 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21205’ is offline 05:05:21 Removing intermediate container 87ef9409c5ec 05:05:21 ---> f6853c4c4023 05:05:21 Step 6/10 : WORKDIR /device-modbus-go 05:05:22 ---> Running in 24ce613b9a6c 05:05:22 Removing intermediate container 24ce613b9a6c 05:05:22 ---> 01a337d585ed 05:05:22 Step 7/10 : COPY go.mod vendor* ./ 05:05:22 ---> 566d6ea1ae2c 05:05:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:22 ---> Running in ecde7011de91 05:05:40 Removing intermediate container ecde7011de91 05:05:40 ---> e41e30db3ee5 05:05:40 Step 9/10 : COPY . . 05:05:40 ---> 25497a4a3a38 05:05:40 Step 10/10 : RUN ${MAKE} 05:05:40 ---> Running in ce997d067a8f 05:05:40 noop 05:05:40 Removing intermediate container ce997d067a8f 05:05:40 ---> 5927327e0ca7 05:05:40 Successfully built 5927327e0ca7 05:05:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:05:41 + docker inspect -f . ci-base-image-x86_64 05:05:41 . [Pipeline] withDockerContainer 05:05:41 prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container 05:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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:05:41 $ docker top 87974a23b68411eea53e3597672d6820567b852e95101484b05d59a828e804a9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:42 + go version 05:05:42 go version go1.17.6 linux/amd64 [Pipeline] } 05:05:42 $ docker stop --time=1 87974a23b68411eea53e3597672d6820567b852e95101484b05d59a828e804a9 05:05:43 $ docker rm -f 87974a23b68411eea53e3597672d6820567b852e95101484b05d59a828e804a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:05:44 + docker inspect -f . ci-base-image-x86_64 05:05:44 . [Pipeline] withDockerContainer 05:05:44 prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container 05:05:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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:05:44 $ docker top 18ac201e20c030595a32cc774a5c75f36a974185832e9d1eb10e852a89ce9161 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:05:45 + make test 05:05:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:05:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:05:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 46.4% of statements 05:06:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:06:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:06:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:06:04 ./bin/test-attribution-txt.sh [Pipeline] echo 05:06:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:06:05 $ docker stop --time=1 18ac201e20c030595a32cc774a5c75f36a974185832e9d1eb10e852a89ce9161 05:06:07 $ docker rm -f 18ac201e20c030595a32cc774a5c75f36a974185832e9d1eb10e852a89ce9161 [Pipeline] // withDockerContainer [Pipeline] sh 05:06:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:06:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:06:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:06:08 + ls -al . 05:06:08 total 200 05:06:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:06 . 05:06:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:04 .. 05:06:08 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:04 .dockerignore 05:06:08 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:04 .git 05:06:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:04 .github 05:06:08 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:04 .gitignore 05:06:08 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:04 .golangci.yml 05:06:08 drwx------ 3 jenkins jenkins 4096 Apr 18 05:05 .semver 05:06:08 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 18 05:04 Attribution.txt 05:06:08 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 18 05:04 CHANGELOG.md 05:06:08 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 18 05:04 Dockerfile 05:06:08 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:04 GOVERNANCE.md 05:06:08 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:04 Jenkinsfile 05:06:08 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:04 LICENSE 05:06:08 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 18 05:04 Makefile 05:06:08 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:04 OWNERS.md 05:06:08 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 18 05:04 README.md 05:06:08 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:05 VERSION 05:06:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:04 bin 05:06:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:04 cmd 05:06:08 -rw-r--r-- 1 jenkins jenkins 24065 Apr 18 05:05 coverage.out 05:06:08 -rw-rw-r-- 1 jenkins jenkins 3307 Apr 18 05:04 go.mod 05:06:08 -rw-rw-r-- 1 jenkins jenkins 54341 Apr 18 05:04 go.sum 05:06:08 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:04 internal 05:06:08 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:04 simulator 05:06:08 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:04 snap 05:06:08 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:04 version.go [Pipeline] isUnix [Pipeline] sh 05:06:09 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=afc096859ea897e6a3ffd068badbcaefead38123 --label arch=amd64 --label version=0.0.0 . 05:06:09 Sending build context to Docker daemon 5.825MB 05:06:09 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:06:09 Step 2/23 : FROM ${BASE} AS builder 05:06:09 ---> 5927327e0ca7 05:06:09 Step 3/23 : ARG MAKE='make build' 05:06:09 ---> Running in 2cad2275215b 05:06:09 Removing intermediate container 2cad2275215b 05:06:09 ---> 8faf51ad4af3 05:06:09 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:09 ---> Running in ffeb42897816 05:06:09 Removing intermediate container ffeb42897816 05:06:09 ---> c88ffcc47328 05:06:09 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:06:09 ---> Running in 5e75af3556a2 05:06:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:06:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:06:11 OK: 226 MiB in 60 packages 05:06:11 Removing intermediate container 5e75af3556a2 05:06:11 ---> 0933019318a5 05:06:11 Step 6/23 : WORKDIR /device-modbus-go 05:06:11 ---> Running in 1413504c862e 05:06:11 Removing intermediate container 1413504c862e 05:06:11 ---> 1441db33eecc 05:06:11 Step 7/23 : COPY go.mod vendor* ./ 05:06:11 ---> af2799112ddf 05:06:11 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:12 ---> Running in 418467f3e81b 05:06:12 Removing intermediate container 418467f3e81b 05:06:12 ---> aac92434fe6c 05:06:12 Step 9/23 : COPY . . 05:06:13 ---> 589387227373 05:06:13 Step 10/23 : RUN ${MAKE} 05:06:13 ---> Running in 73df751cbd2d 05:06:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:06:35 Removing intermediate container 73df751cbd2d 05:06:35 ---> e6813b63d3be 05:06:35 Step 11/23 : FROM alpine:3.14 05:06:35 3.14: Pulling from library/alpine 05:06:35 8663204ce13b: Pulling fs layer 05:06:35 8663204ce13b: Verifying Checksum 05:06:35 8663204ce13b: Download complete 05:06:35 8663204ce13b: Pull complete 05:06:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:06:35 Status: Downloaded newer image for alpine:3.14 05:06:35 ---> e04c818066af 05:06:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:06:35 ---> Running in d8eb5e51b976 05:06:35 Removing intermediate container d8eb5e51b976 05:06:35 ---> 44c8cf3ad5d2 05:06:35 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:06:35 ---> Running in 45b052589fda 05:06:37 Removing intermediate container 45b052589fda 05:06:37 ---> 73f5c7489e9c 05:06:37 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:06:37 ---> Running in e25a6c3d02b1 05:06:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:06:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:06:38 (1/6) Installing dumb-init (1.2.5-r1) 05:06:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:06:38 (3/6) Installing libsodium (1.0.18-r0) 05:06:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:06:38 (5/6) Installing libzmq (4.3.4-r0) 05:06:38 (6/6) Installing zeromq (4.3.4-r0) 05:06:38 Executing busybox-1.33.1-r7.trigger 05:06:38 OK: 8 MiB in 20 packages 05:06:39 Removing intermediate container e25a6c3d02b1 05:06:39 ---> 57b587b65e4b 05:06:39 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:06:40 ---> a932e689eb99 05:06:40 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:06:40 ---> c3d547470bdb 05:06:40 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:06:40 ---> c8da20db285f 05:06:40 Step 18/23 : EXPOSE 59901 05:06:40 ---> Running in 14fad6d1d757 05:06:40 Removing intermediate container 14fad6d1d757 05:06:40 ---> a13b3e1ec83a 05:06:40 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:06:40 ---> Running in c1243437f7ff 05:06:40 Removing intermediate container c1243437f7ff 05:06:40 ---> 8fabc18afbb0 05:06:40 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:06:40 ---> Running in 9a15404fed53 05:06:40 Removing intermediate container 9a15404fed53 05:06:40 ---> 1dc37b64f961 05:06:40 Step 21/23 : LABEL arch=amd64 05:06:40 ---> Running in 0cf4b541ad3b 05:06:40 Removing intermediate container 0cf4b541ad3b 05:06:40 ---> ddfcc2634c05 05:06:40 Step 22/23 : LABEL git_sha=afc096859ea897e6a3ffd068badbcaefead38123 05:06:40 ---> Running in ae2ad74d2c27 05:06:40 Removing intermediate container ae2ad74d2c27 05:06:40 ---> c481701c757e 05:06:40 Step 23/23 : LABEL version=0.0.0 05:06:40 ---> Running in dea926ae5eb1 05:06:41 Removing intermediate container dea926ae5eb1 05:06:41 ---> 8db31abe8813 05:06:41 [Warning] One or more build-args [ARCH] were not consumed 05:06:41 Successfully built 8db31abe8813 05:06:41 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:41 05:06:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:06:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:42 latest: Pulling from edgex-lftools-log-publisher 05:06:42 5eb5b503b376: Pulling fs layer 05:06:42 5c69ac0246d0: Pulling fs layer 05:06:42 ec43610c2a17: Pulling fs layer 05:06:42 3a2ae6a8a46f: Pulling fs layer 05:06:42 33b1e0a273af: Pulling fs layer 05:06:42 5d3b04190fa2: Pulling fs layer 05:06:42 2f39f015ded8: Pulling fs layer 05:06:42 33b1e0a273af: Waiting 05:06:42 5d3b04190fa2: Waiting 05:06:42 2f39f015ded8: Waiting 05:06:42 3a2ae6a8a46f: Waiting 05:06:42 5c69ac0246d0: Verifying Checksum 05:06:42 5c69ac0246d0: Download complete 05:06:42 3a2ae6a8a46f: Verifying Checksum 05:06:42 3a2ae6a8a46f: Download complete 05:06:42 33b1e0a273af: Verifying Checksum 05:06:42 33b1e0a273af: Download complete 05:06:42 5d3b04190fa2: Verifying Checksum 05:06:42 5d3b04190fa2: Download complete 05:06:42 ec43610c2a17: Verifying Checksum 05:06:42 ec43610c2a17: Download complete 05:06:42 5eb5b503b376: Verifying Checksum 05:06:42 5eb5b503b376: Download complete 05:06:43 2f39f015ded8: Download complete 05:06:43 5eb5b503b376: Pull complete 05:06:43 5c69ac0246d0: Pull complete 05:06:44 ec43610c2a17: Pull complete 05:06:44 3a2ae6a8a46f: Pull complete 05:06:44 33b1e0a273af: Pull complete 05:06:44 5d3b04190fa2: Pull complete 05:06:50 2f39f015ded8: Pull complete 05:06:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:06:50 prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container 05:06:50 $ 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-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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:06:52 $ docker top b997d4222f2cb91ae4668b23203711ba6ac9106e68f39d79dbacb7f9d45dcef4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:53 ---> job-cost.sh 05:06:53 lf-activate-venv: SKIPPING 05:06:53 INFO: No Stack... 05:06:53 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:53 INFO: Archiving Costs [Pipeline] sh 05:06:54 + cat /w/workspace/xfoundry_device-modbus-go_PR-332/archives/cost.csv 05:06:54 + cut -d, -f6 [Pipeline] lock 05:06:54 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] 05:06:54 Resource [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] did not exist. Created. 05:06:54 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:54 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:54 Stashed 1 file(s) [Pipeline] } 05:06:54 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:54 $ docker stop --time=1 b997d4222f2cb91ae4668b23203711ba6ac9106e68f39d79dbacb7f9d45dcef4 05:06:56 $ docker rm -f b997d4222f2cb91ae4668b23203711ba6ac9106e68f39d79dbacb7f9d45dcef4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:09:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21207 in /w/workspace/xfoundry_device-modbus-go_PR-332 [Pipeline] { [Pipeline] ws 05:09:33 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:09:33 Selected Git installation does not exist. Using Default 05:09:33 The recommended git tool is: NONE 05:09:39 using credential edgex-jenkins-ssh 05:09:39 Cloning the remote Git repository 05:09:39 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:09:39 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:09:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:09:39 > git --version # timeout=10 05:09:39 > git --version # 'git version 2.25.1' 05:09:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:09:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:09:41 Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit afc096859ea897e6a3ffd068badbcaefead38123 05:09:41 Merge succeeded, producing afc096859ea897e6a3ffd068badbcaefead38123 05:09:41 Checking out Revision afc096859ea897e6a3ffd068badbcaefead38123 (PR-332) 05:09:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:09:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:09:41 > git config core.sparsecheckout # timeout=10 05:09:41 > git checkout -f afc096859ea897e6a3ffd068badbcaefead38123 # timeout=10 05:09:41 > git remote # timeout=10 05:09:41 > git config --get remote.origin.url # timeout=10 05:09:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:41 > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 05:09:41 > git rev-parse HEAD^{commit} # timeout=10 05:09:41 > git config core.sparsecheckout # timeout=10 05:09:41 > git checkout -f afc096859ea897e6a3ffd068badbcaefead38123 # timeout=10 05:09:46 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:09:46 > git --version # timeout=10 05:09:46 > git --version # 'git version 2.25.1' 05:09:46 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:09:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:09:47 Dload Upload Total Spent Left Speed 05:09:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 05:09:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:09:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:09:48 + sudo tee /etc/docker/daemon.new 05:09:48 { 05:09:48 "registry-mirrors": [ 05:09:48 "https://nexus3.edgexfoundry.org:10001" 05:09:48 ], 05:09:48 "bip": "10.250.0.254/24", 05:09:48 "hosts": [ 05:09:48 "tcp://0.0.0.0:5555", 05:09:48 "unix:///var/run/docker.sock" 05:09:48 ], 05:09:48 "mtu": 1458, 05:09:48 "selinux-enabled": true, 05:09:48 "seccomp-profile": "/etc/docker/seccomp.json" 05:09:48 } [Pipeline] sh 05:09:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:09:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:07 provisioning config files... 05:10:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8808140515032130965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:08 ---> docker-login.sh 05:10:08 nexus3.edgexfoundry.org:10001 05:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:09 Configure a credential helper to remove this warning. See 05:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:09 05:10:09 Login Succeeded 05:10:09 nexus3.edgexfoundry.org:10002 05:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:09 Configure a credential helper to remove this warning. See 05:10:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:09 05:10:09 Login Succeeded 05:10:09 nexus3.edgexfoundry.org:10003 05:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:10 Configure a credential helper to remove this warning. See 05:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:10 05:10:10 Login Succeeded 05:10:10 nexus3.edgexfoundry.org:10004 05:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:11 Configure a credential helper to remove this warning. See 05:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:11 05:10:11 Login Succeeded 05:10:11 docker.io 05:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:11 Configure a credential helper to remove this warning. See 05:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:11 05:10:11 Login Succeeded 05:10:11 ---> docker-login.sh ends [Pipeline] } 05:10:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:12 ========================================================= 05:10:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:10:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:10:12 + 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:10:13 Sending build context to Docker daemon 3.04MB 05:10:13 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 05:10:13 Step 2/10 : FROM ${BASE} AS builder 05:10:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:10:13 9b3977197b4f: Pulling fs layer 05:10:13 1a89e8eeedd5: Pulling fs layer 05:10:13 94645a83ff95: Pulling fs layer 05:10:13 3f3a8bcf1eab: Pulling fs layer 05:10:13 0c92f367c5e7: Pulling fs layer 05:10:13 f7c0051592d6: Pulling fs layer 05:10:13 a227ed2f7395: Pulling fs layer 05:10:13 7b1c46037f91: Pulling fs layer 05:10:13 0c92f367c5e7: Waiting 05:10:13 3f3a8bcf1eab: Waiting 05:10:13 f7c0051592d6: Waiting 05:10:13 a227ed2f7395: Waiting 05:10:13 7b1c46037f91: Waiting 05:10:13 94645a83ff95: Verifying Checksum 05:10:13 94645a83ff95: Download complete 05:10:13 1a89e8eeedd5: Download complete 05:10:13 0c92f367c5e7: Verifying Checksum 05:10:13 0c92f367c5e7: Download complete 05:10:13 f7c0051592d6: Verifying Checksum 05:10:13 f7c0051592d6: Download complete 05:10:13 9b3977197b4f: Download complete 05:10:13 a227ed2f7395: Verifying Checksum 05:10:13 a227ed2f7395: Download complete 05:10:14 9b3977197b4f: Pull complete 05:10:15 1a89e8eeedd5: Pull complete 05:10:15 94645a83ff95: Pull complete 05:10:15 7b1c46037f91: Verifying Checksum 05:10:15 7b1c46037f91: Download complete 05:10:16 3f3a8bcf1eab: Verifying Checksum 05:10:16 3f3a8bcf1eab: Download complete 05:10:28 3f3a8bcf1eab: Pull complete 05:10:28 0c92f367c5e7: Pull complete 05:10:28 f7c0051592d6: Pull complete 05:10:29 a227ed2f7395: Pull complete 05:10:36 7b1c46037f91: Pull complete 05:10:36 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:10:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:10:36 ---> f79e39bc4007 05:10:36 Step 3/10 : ARG MAKE='make build' 05:10:36 ---> Running in b54b9342115c 05:10:36 Removing intermediate container b54b9342115c 05:10:36 ---> 9a25973598f3 05:10:36 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:36 ---> Running in 39736c21e6a9 05:10:38 Removing intermediate container 39736c21e6a9 05:10:38 ---> 5322c816f249 05:10:38 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:10:38 ---> Running in e6c69a546214 05:10:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:10:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:10:41 (1/8) Installing openssh-keygen (8.8_p1-r1) 05:10:41 (2/8) Installing libedit (20210910.3.1-r0) 05:10:41 (3/8) Installing openssh-client-common (8.8_p1-r1) 05:10:41 (4/8) Installing openssh-client-default (8.8_p1-r1) 05:10:42 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 05:10:42 (6/8) Installing openssh-server-common (8.8_p1-r1) 05:10:42 (7/8) Installing openssh-server (8.8_p1-r1) 05:10:42 (8/8) Installing openssh (8.8_p1-r1) 05:10:42 Executing busybox-1.34.1-r3.trigger 05:10:42 OK: 226 MiB in 60 packages 05:10:43 Removing intermediate container e6c69a546214 05:10:43 ---> 460923c66c94 05:10:43 Step 6/10 : WORKDIR /device-modbus-go 05:10:43 ---> Running in 4d07ba5d4b2f 05:10:43 Removing intermediate container 4d07ba5d4b2f 05:10:43 ---> e4da392936e4 05:10:43 Step 7/10 : COPY go.mod vendor* ./ 05:10:44 ---> 3472e771472b 05:10:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:44 ---> Running in f8bd90e1e6d7 05:11:31 Removing intermediate container f8bd90e1e6d7 05:11:31 ---> d738c268ff18 05:11:31 Step 9/10 : COPY . . 05:11:31 ---> 4d4fa5b09e29 05:11:31 Step 10/10 : RUN ${MAKE} 05:11:31 ---> Running in fb5d150b69d3 05:11:31 noop 05:11:31 Removing intermediate container fb5d150b69d3 05:11:31 ---> 7ce68ecf199f 05:11:31 Successfully built 7ce68ecf199f 05:11:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:11:31 + docker inspect -f . ci-base-image-arm64 05:11:31 . [Pipeline] withDockerContainer 05:11:32 prd-ubuntu20.04-docker-arm64-4c-16g-21207 does not seem to be running inside a container 05:11:32 $ 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 ******** ci-base-image-arm64 cat 05:11:33 $ docker top 72ba5e9db9f0ae33887e10f283630ce9b8c8aca5c17ae58034d9fd481df5867a -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:34 + go version 05:11:34 go version go1.17.6 linux/arm64 [Pipeline] } 05:11:34 $ docker stop --time=1 72ba5e9db9f0ae33887e10f283630ce9b8c8aca5c17ae58034d9fd481df5867a 05:11:36 $ docker rm -f 72ba5e9db9f0ae33887e10f283630ce9b8c8aca5c17ae58034d9fd481df5867a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:11:37 + docker inspect -f . ci-base-image-arm64 05:11:37 . [Pipeline] withDockerContainer 05:11:37 prd-ubuntu20.04-docker-arm64-4c-16g-21207 does not seem to be running inside a container 05:11:37 $ 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 ******** ci-base-image-arm64 cat 05:11:38 $ docker top cc553becd846bceb653d5dc7d811e87bfd91e9231c535ab515c8a63e4ae8246c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:11:39 + make test 05:11:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:11:41 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:13:18 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:13:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 46.4% of statements 05:13:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:13:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:13:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:13:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:13:40 ./bin/test-attribution-txt.sh [Pipeline] echo 05:13:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:13:43 $ docker stop --time=1 cc553becd846bceb653d5dc7d811e87bfd91e9231c535ab515c8a63e4ae8246c 05:13:44 $ docker rm -f cc553becd846bceb653d5dc7d811e87bfd91e9231c535ab515c8a63e4ae8246c [Pipeline] // withDockerContainer [Pipeline] sh 05:13:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:13:46 Warning: overwriting stash ‘coverage-report’ 05:13:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:13:47 + ls -al . 05:13:47 total 196 05:13:47 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 05:13 . 05:13:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:09 .. 05:13:47 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:09 .dockerignore 05:13:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:09 .git 05:13:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:09 .github 05:13:47 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:09 .gitignore 05:13:47 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:09 .golangci.yml 05:13:47 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 18 05:09 Attribution.txt 05:13:47 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 18 05:09 CHANGELOG.md 05:13:47 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 18 05:09 Dockerfile 05:13:47 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:09 GOVERNANCE.md 05:13:47 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:09 Jenkinsfile 05:13:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:09 LICENSE 05:13:47 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 18 05:09 Makefile 05:13:47 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:09 OWNERS.md 05:13:47 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 18 05:09 README.md 05:13:47 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:05 VERSION 05:13:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:09 bin 05:13:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:09 cmd 05:13:47 -rw-r--r-- 1 jenkins jenkins 24065 Apr 18 05:13 coverage.out 05:13:47 -rw-rw-r-- 1 jenkins jenkins 3307 Apr 18 05:09 go.mod 05:13:47 -rw-rw-r-- 1 jenkins jenkins 54341 Apr 18 05:09 go.sum 05:13:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:09 internal 05:13:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:09 simulator 05:13:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:09 snap 05:13:47 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:09 version.go [Pipeline] isUnix [Pipeline] sh 05:13:48 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=afc096859ea897e6a3ffd068badbcaefead38123 --label arch=arm64 --label version=0.0.0 . 05:13:48 Sending build context to Docker daemon 3.065MB 05:13:48 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:13:48 Step 2/23 : FROM ${BASE} AS builder 05:13:48 ---> 7ce68ecf199f 05:13:48 Step 3/23 : ARG MAKE='make build' 05:13:49 ---> Running in 48d78bb24b6c 05:13:49 Removing intermediate container 48d78bb24b6c 05:13:49 ---> 59b452a4fbcf 05:13:49 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:49 ---> Running in 4c53969f34ba 05:13:51 Removing intermediate container 4c53969f34ba 05:13:51 ---> 51cbdd795920 05:13:51 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:13:51 ---> Running in 40ce02d921ff 05:13:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:13:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:13:54 OK: 226 MiB in 60 packages 05:13:55 Removing intermediate container 40ce02d921ff 05:13:55 ---> 3cf55c2ed37b 05:13:55 Step 6/23 : WORKDIR /device-modbus-go 05:13:55 ---> Running in f855833ed4eb 05:13:55 Removing intermediate container f855833ed4eb 05:13:55 ---> 1e6564162ce9 05:13:55 Step 7/23 : COPY go.mod vendor* ./ 05:13:55 ---> c31d77087b7d 05:13:55 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:55 ---> Running in a1c370725640 05:13:57 Removing intermediate container a1c370725640 05:13:57 ---> d6139c44fed8 05:13:57 Step 9/23 : COPY . . 05:13:58 ---> 048e3f3ff0ec 05:13:58 Step 10/23 : RUN ${MAKE} 05:13:58 ---> Running in 45f93a556d09 05:13:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:16:06 Removing intermediate container 45f93a556d09 05:16:06 ---> 7873f43e32f9 05:16:06 Step 11/23 : FROM alpine:3.14 05:16:06 3.14: Pulling from library/alpine 05:16:06 455c02918c45: Pulling fs layer 05:16:06 455c02918c45: Verifying Checksum 05:16:06 455c02918c45: Download complete 05:16:06 455c02918c45: Pull complete 05:16:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:16:06 Status: Downloaded newer image for alpine:3.14 05:16:06 ---> ac73e934f311 05:16:06 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:16:06 ---> Running in 9de28c27a52d 05:16:06 Removing intermediate container 9de28c27a52d 05:16:06 ---> 04d2903f1b29 05:16:06 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:06 ---> Running in b409f79c8ec6 05:16:07 Removing intermediate container b409f79c8ec6 05:16:07 ---> e90d8b7d9b98 05:16:07 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:16:07 ---> Running in e4c1cc4ea2aa 05:16:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:16:09 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:16:09 (1/6) Installing dumb-init (1.2.5-r1) 05:16:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:16:10 (3/6) Installing libsodium (1.0.18-r0) 05:16:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:16:10 (5/6) Installing libzmq (4.3.4-r0) 05:16:10 (6/6) Installing zeromq (4.3.4-r0) 05:16:10 Executing busybox-1.33.1-r7.trigger 05:16:10 OK: 8 MiB in 20 packages 05:16:11 Removing intermediate container e4c1cc4ea2aa 05:16:11 ---> 8d943fdc80d8 05:16:11 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:16:13 ---> 31a5b322cb76 05:16:13 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:16:13 ---> 88ee5912f9fb 05:16:13 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:16:14 ---> 8651d8705eca 05:16:14 Step 18/23 : EXPOSE 59901 05:16:14 ---> Running in 068fcc083503 05:16:14 Removing intermediate container 068fcc083503 05:16:14 ---> 29d699943185 05:16:14 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:16:14 ---> Running in 960a39ed8d3c 05:16:14 Removing intermediate container 960a39ed8d3c 05:16:14 ---> ed4a633c0e86 05:16:14 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:16:15 ---> Running in 9a77738bb56e 05:16:15 Removing intermediate container 9a77738bb56e 05:16:15 ---> 227fa29e0f41 05:16:15 Step 21/23 : LABEL arch=arm64 05:16:15 ---> Running in ef62f559bc94 05:16:15 Removing intermediate container ef62f559bc94 05:16:15 ---> 2648fd5700e1 05:16:15 Step 22/23 : LABEL git_sha=afc096859ea897e6a3ffd068badbcaefead38123 05:16:15 ---> Running in b28852a5afd0 05:16:16 Removing intermediate container b28852a5afd0 05:16:16 ---> e2d5d555ea47 05:16:16 Step 23/23 : LABEL version=0.0.0 05:16:16 ---> Running in ad0160d6a4c5 05:16:16 Removing intermediate container ad0160d6a4c5 05:16:16 ---> 8bbd365fcbae 05:16:16 [Warning] One or more build-args [ARCH] were not consumed 05:16:16 Successfully built 8bbd365fcbae 05:16:16 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:16:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:17 05:16:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:16:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:17 arm64: Pulling from edgex-lftools-log-publisher 05:16:17 8998bd30e6a1: Pulling fs layer 05:16:17 04944245beec: Pulling fs layer 05:16:17 699f458cf7ca: Pulling fs layer 05:16:17 765212b225bb: Pulling fs layer 05:16:17 f23df028b6ca: Pulling fs layer 05:16:17 d65c8cfc05b1: Pulling fs layer 05:16:17 2437ff75d9bd: Pulling fs layer 05:16:17 765212b225bb: Waiting 05:16:17 f23df028b6ca: Waiting 05:16:17 d65c8cfc05b1: Waiting 05:16:17 2437ff75d9bd: Waiting 05:16:17 04944245beec: Verifying Checksum 05:16:17 04944245beec: Download complete 05:16:17 765212b225bb: Verifying Checksum 05:16:17 765212b225bb: Download complete 05:16:17 f23df028b6ca: Verifying Checksum 05:16:17 f23df028b6ca: Download complete 05:16:17 d65c8cfc05b1: Verifying Checksum 05:16:17 d65c8cfc05b1: Download complete 05:16:18 699f458cf7ca: Verifying Checksum 05:16:18 699f458cf7ca: Download complete 05:16:18 8998bd30e6a1: Verifying Checksum 05:16:18 8998bd30e6a1: Download complete 05:16:21 2437ff75d9bd: Verifying Checksum 05:16:21 2437ff75d9bd: Download complete 05:16:23 8998bd30e6a1: Pull complete 05:16:23 04944245beec: Pull complete 05:16:24 699f458cf7ca: Pull complete 05:16:25 765212b225bb: Pull complete 05:16:26 f23df028b6ca: Pull complete 05:16:26 d65c8cfc05b1: Pull complete 05:16:41 2437ff75d9bd: Pull complete 05:16:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:16:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:16:41 prd-ubuntu20.04-docker-arm64-4c-16g-21207 does not seem to be running inside a container 05:16:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:16:43 $ docker top baa19e32050fef1381aa108c7f05bf92964176a15eca1830c925fdc96f541824 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:44 ---> job-cost.sh 05:16:44 lf-activate-venv: SKIPPING 05:16:44 INFO: No Stack... 05:16:45 INFO: Retrieving Pricing Info for: v3-standard-4 05:16:46 INFO: Archiving Costs [Pipeline] sh 05:16:47 + cut -d, -f6 05:16:47 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:16:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] 05:16:47 Resource [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] did not exist. Created. 05:16:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:48 /w/workspace/device-modbus-go/1@tmp/durable-bf4c28bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:16:48 + echo total: 0.10999999940395355 [Pipeline] stash 05:16:48 Warning: overwriting stash ‘stack-cost’ 05:16:48 Stashed 1 file(s) [Pipeline] } 05:16:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:49 $ docker stop --time=1 baa19e32050fef1381aa108c7f05bf92964176a15eca1830c925fdc96f541824 05:16:50 $ docker rm -f baa19e32050fef1381aa108c7f05bf92964176a15eca1830c925fdc96f541824 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:16:51 provisioning config files... 05:16:51 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/config7397011524683274536tmp [Pipeline] { [Pipeline] sh 05:16:51 + set +x 05:16:51 + curl -s https://codecov.io/bash 05:16:51 + bash -s -- 05:16:51 05:16:51 _____ _ 05:16:51 / ____| | | 05:16:51 | | ___ __| | ___ ___ _____ __ 05:16:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:16:51 | |___| (_) | (_| | __/ (_| (_) \ V / 05:16:51 \_____\___/ \__,_|\___|\___\___/ \_/ 05:16:51 Bash-1.0.6 05:16:51 05:16:51 05:16:51 ==> git version 2.25.1 found 05:16:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:16:51 Release-Date: 2020-01-08 05:16:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:16:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:16:51 ==> Jenkins CI detected. 05:16:51 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-332 05:16:51 project root: . 05:16:51 --> token set from env 05:16:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:16:51 ==> Running gcov in . (disable via -X gcov) 05:16:51 ==> Python coveragepy not found 05:16:51 ==> Searching for coverage reports in: 05:16:51 + . 05:16:51 -> Found 1 reports 05:16:51 ==> Detecting git/mercurial file structure 05:16:51 ==> Reading reports 05:16:51 + ./coverage.out bytes=24065 05:16:51 ==> Appending adjustments 05:16:51 https://docs.codecov.io/docs/fixing-reports 05:16:52 + Found adjustments 05:16:52 ==> Gzipping contents 05:16:52 4.0K /tmp/codecov.DCvIjB.gz 05:16:52 ==> Uploading reports 05:16:52 url: https://codecov.io 05:16:52 query: branch=PR-332&commit=afc096859ea897e6a3ffd068badbcaefead38123&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=332&job=&cmd_args= 05:16:52 -> Pinging Codecov 05:16:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-332&commit=afc096859ea897e6a3ffd068badbcaefead38123&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=332&job=&cmd_args= 05:16:52 -> Uploading to 05:16:52 https://storage.googleapis.com/codecov/v4/raw/2022-04-18/55DBCA73C666E3227836607328DD7E49/afc096859ea897e6a3ffd068badbcaefead38123/32247cfb-1004-489f-9dfe-a1aaeb023bd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T051652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1fceec1616d14dbe004dbe1c878f7b5e4e359faf5e9c4819214234ddd33a57f3 05:16:52 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:52 Dload Upload Total Spent Left Speed 05:16:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4013 0 0 100 4013 0 18076 --:--:-- --:--:-- --:--:-- 18076 05:16:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/afc096859ea897e6a3ffd068badbcaefead38123 [Pipeline] } 05:16:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:16:54 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-332/archives ] 05:16:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-332/archives 05:16:54 total 16 05:16:54 drwxr-xr-x 3 root root 4096 Apr 18 05:06 . 05:16:54 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:06 .. 05:16:54 drwxr-xr-x 2 root root 4096 Apr 18 05:06 cost 05:16:54 -rw-r--r-- 1 root root 87 Apr 18 05:06 cost.csv 05:16:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-332/archives 05:16:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-332/archives 05:16:54 total 16 05:16:54 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:06 . 05:16:54 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:06 .. 05:16:54 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:06 cost 05:16:54 -rw-r--r-- 1 jenkins jenkins 87 Apr 18 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:16:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:16:55 ---> package-listing.sh 05:16:55 ++ facter osfamily 05:16:55 ++ tr '[:upper:]' '[:lower:]' 05:16:55 + OS_FAMILY=debian 05:16:55 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-332 05:16:55 + START_PACKAGES=/tmp/packages_start.txt 05:16:55 + END_PACKAGES=/tmp/packages_end.txt 05:16:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:16:55 + PACKAGES=/tmp/packages_start.txt 05:16:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-332 ']' 05:16:55 + PACKAGES=/tmp/packages_end.txt 05:16:55 + case "${OS_FAMILY}" in 05:16:55 + dpkg -l 05:16:55 + grep '^ii' 05:16:55 + '[' -f /tmp/packages_start.txt ']' 05:16:55 + '[' -f /tmp/packages_end.txt ']' 05:16:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:16:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-332 ']' 05:16:55 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-332/archives/ 05:16:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-332/archives/ [Pipeline] echo 05:16:55 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-332/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:16:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:16:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:56 . [Pipeline] withDockerContainer 05:16:56 prd-ubuntu20.04-docker-8c-8g-21203 does not seem to be running inside a container 05:16:56 $ 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-332/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-332 -v /w/workspace/xfoundry_device-modbus-go_PR-332:/w/workspace/xfoundry_device-modbus-go_PR-332:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-332@tmp:/w/workspace/xfoundry_device-modbus-go_PR-332@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:16:57 $ docker top c472fd376ca21fa34800dff3c4a8f07d4e0e6a1402c9bd137b53230184c63822 -eo pid,comm [Pipeline] { [Pipeline] sh 05:16:57 + touch /tmp/pre-build-complete [Pipeline] sh 05:16:57 + mkdir -p /var/log/sysstat [Pipeline] sh 05:16:58 + ls /var/log/sa-host 05:16:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:58 provisioning config files... 05:16:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-332@tmp/config2972228352202614126tmp [Pipeline] { [Pipeline] echo 05:16:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:16:58 ---> create-netrc.sh [Pipeline] } 05:16:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:16:59 ---> python-tools-install.sh [Pipeline] echo 05:16:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:16:59 ---> sudo-logs.sh 05:16:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:16:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:16:59 ---> job-cost.sh 05:16:59 lf-activate-venv: SKIPPING 05:16:59 DEBUG: total: 0.2199999988079071 05:16:59 INFO: Retrieving Stack Cost... 05:17:00 INFO: Retrieving Pricing Info for: v3-standard-8 05:17:00 INFO: Archiving Costs [Pipeline] echo 05:17:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:17:01 ---> logs-deploy.sh 05:17:01 lf-activate-venv: SKIPPING 05:17:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-332/1 05:17:01 INFO: archiving workspace using pattern(s): 05:17:02 Archives upload complete. 05:17:02 INFO: archiving logs to Nexus