Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5+244abab361647dcef607fbcbfbdaea3ae1f72309 (7c20377ac97c5cd7c2e748b8ab61f0a2a70f3bb4) 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-ssh547506792564492240.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-ssh7892964387290842147.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-328/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-328/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11432148304138626123.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 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-ssh4162517738572285760.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-328/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-328/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8620440061149649632.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-20805 in /w/workspace/xfoundry_device-modbus-go_PR-328 [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-328 # 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 c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5 Merge succeeded, producing fb20ae7f19c4ae04353f9372c51c5483edbd2a06 Checking out Revision fb20ae7f19c4ae04353f9372c51c5483edbd2a06 (PR-328) > 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/328/head:refs/remotes/origin/PR-328 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5 # 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 fb20ae7f19c4ae04353f9372c51c5483edbd2a06 # timeout=10 Commit message: "Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:53:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 7677f4a66675cfedd933a8a3d7d980b923a1d71a # timeout=10 [Pipeline] withCredentials 12:53:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:53:31 ========================================================= 12:53:31 EdgeX Global Pipelines Version Info 12:53:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:53:31 ------------------- 12:53:31 stable info: 12:53:31 ------------------- 12:53:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:53:31 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:53:31 Message: update stable to v1.0.221 12:53:32 ------------------- 12:53:32 experimental info: 12:53:32 ------------------- 12:53:32 Commited By: **** collab-it+edgex@linuxfoundation.org 12:53:32 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:53:32 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-328 [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-328 [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-328 [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb20ae7 [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:53:33 provisioning config files... 12:53:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/config7375205730270317170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:33 ---> docker-login.sh 12:53:33 nexus3.edgexfoundry.org:10001 12:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:33 Configure a credential helper to remove this warning. See 12:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:33 12:53:33 Login Succeeded 12:53:33 nexus3.edgexfoundry.org:10002 12:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:33 Configure a credential helper to remove this warning. See 12:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:33 12:53:33 Login Succeeded 12:53:33 nexus3.edgexfoundry.org:10003 12:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:33 Configure a credential helper to remove this warning. See 12:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:33 12:53:33 Login Succeeded 12:53:33 nexus3.edgexfoundry.org:10004 12:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:34 Configure a credential helper to remove this warning. See 12:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:34 12:53:34 Login Succeeded 12:53:34 docker.io 12:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:34 Configure a credential helper to remove this warning. See 12:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:34 12:53:34 Login Succeeded 12:53:34 ---> docker-login.sh ends [Pipeline] } 12:53:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:53:35 + git rev-list -1 --merges fb20ae7f19c4ae04353f9372c51c5483edbd2a06~1..fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] echo 12:53:35 -----------> git rev-list -1 --merges fb20ae7f19c4ae04353f9372c51c5483edbd2a06~1..fb20ae7f19c4ae04353f9372c51c5483edbd2a06 fb20ae7f19c4ae04353f9372c51c5483edbd2a06 12:53:35 fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [false] [Pipeline] sh 12:53:35 + git log --format=format:%s -1 fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] echo 12:53:35 ========================================================= 12:53:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:53:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:53:35 + git log --format=format:%s -1 fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] echo 12:53:35 [semverPrep] GIT_COMMIT: fb20ae7f19c4ae04353f9372c51c5483edbd2a06, Commit Message: Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD [Pipeline] echo 12:53:35 [semverPrep] This is not a build commit. [Pipeline] sh 12:53:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:53:36 + grep -v github /etc/ssh/ssh_known_hosts 12:53:36 + [ -e /tmp/ssh_known_hosts ] 12:53:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:53:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:53:36 + sudo tee -a /etc/ssh/ssh_known_hosts 12:53:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:53:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:53:36 12:53:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:53:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:53:36 latest: Pulling from edgex-devops/git-semver 12:53:36 a0d0a0d46f8b: Pulling fs layer 12:53:36 3e5f54012d9b: Pulling fs layer 12:53:36 4c7163046ea9: Pulling fs layer 12:53:36 0c2d73faf560: Pulling fs layer 12:53:36 3e5f54012d9b: Download complete 12:53:36 a0d0a0d46f8b: Download complete 12:53:36 0c2d73faf560: Verifying Checksum 12:53:36 0c2d73faf560: Download complete 12:53:36 4c7163046ea9: Verifying Checksum 12:53:36 4c7163046ea9: Download complete 12:53:37 a0d0a0d46f8b: Pull complete 12:53:37 3e5f54012d9b: Pull complete 12:53:37 4c7163046ea9: Pull complete 12:53:37 0c2d73faf560: Pull complete 12:53:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:53:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:53:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:53:37 prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container 12:53:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@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:10004/edgex-devops/git-semver:latest cat 12:53:38 $ docker top dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:53:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:38 [ssh-agent] Looking for ssh-agent implementation... 12:53:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:38 $ docker exec dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c ssh-agent 12:53:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpkMkom/agent.13 12:53:38 SSH_AGENT_PID=20 12:53:38 Running ssh-add (command line suppressed) 12:53:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-328@tmp/private_key_7563220573974683168.key (/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/private_key_7563220573974683168.key) 12:53:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:39 + git tag --points-at HEAD [Pipeline] } 12:53:39 $ docker exec --env ******** --env ******** dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c ssh-agent -k 12:53:39 unset SSH_AUTH_SOCK; 12:53:39 unset SSH_AGENT_PID; 12:53:39 echo Agent pid 20 killed; 12:53:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:53:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:39 [ssh-agent] Looking for ssh-agent implementation... 12:53:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:39 $ docker exec dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c ssh-agent 12:53:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcmJNgG/agent.52 12:53:39 SSH_AGENT_PID=58 12:53:39 Running ssh-add (command line suppressed) 12:53:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-328@tmp/private_key_3289309522797594147.key (/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/private_key_3289309522797594147.key) 12:53:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:40 + git semver init 12:53:40 # -> Open(): unable to determine branch for HEAD 12:53:40 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-328/.git 12:53:40 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-328 12:53:40 # $SEMVER_REMOTE_NAME = origin 12:53:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:53:40 # $SEMVER_USER_NAME = edgex-jenkins 12:53:40 # $SEMVER_BRANCH = PR-328 12:53:40 # $SEMVER_TEMP = /tmp/semver-273186443 12:53:40 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 12:53:41 # '/tmp/semver-273186443' -> '/w/workspace/xfoundry_device-modbus-go_PR-328/.semver' 12:53:41 # -> Force: false 12:53:41 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-328/.semver [Pipeline] } 12:53:41 $ docker exec --env ******** --env ******** dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c ssh-agent -k 12:53:41 unset SSH_AUTH_SOCK; 12:53:41 unset SSH_AGENT_PID; 12:53:41 echo Agent pid 58 killed; 12:53:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:53:41 + git semver [Pipeline] } 12:53:41 $ docker stop --time=1 dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c 12:53:42 $ docker rm -f dd87bd461a2f1c0c4e878e936921880bcd6a441245c3555fb3b7bb8b2df9838c [Pipeline] // withDockerContainer [Pipeline] sh 12:53:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:53:43 Stashed 1 file(s) [Pipeline] echo 12:53:43 [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 12:53:43 provisioning config files... 12:53:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/config2762677607049128039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:43 ---> docker-login.sh 12:53:43 nexus3.edgexfoundry.org:10001 12:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:43 Configure a credential helper to remove this warning. See 12:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:43 12:53:43 Login Succeeded 12:53:43 nexus3.edgexfoundry.org:10002 12:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:43 Configure a credential helper to remove this warning. See 12:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:43 12:53:43 Login Succeeded 12:53:44 nexus3.edgexfoundry.org:10003 12:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:44 Configure a credential helper to remove this warning. See 12:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:44 12:53:44 Login Succeeded 12:53:44 nexus3.edgexfoundry.org:10004 12:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:44 Configure a credential helper to remove this warning. See 12:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:44 12:53:44 Login Succeeded 12:53:44 docker.io 12:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:44 Configure a credential helper to remove this warning. See 12:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:44 12:53:44 Login Succeeded 12:53:44 ---> docker-login.sh ends [Pipeline] } 12:53:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:53:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:44 ========================================================= 12:53:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:53:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:53:45 + 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 . 12:53:45 Sending build context to Docker daemon 5.803MB 12:53:45 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 12:53:45 Step 2/10 : FROM ${BASE} AS builder 12:53:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:53:45 59bf1c3509f3: Pulling fs layer 12:53:45 666ba61612fd: Pulling fs layer 12:53:45 8ed8ca486205: Pulling fs layer 12:53:45 4fe6c5a15a65: Pulling fs layer 12:53:45 22a0e8bec74d: Pulling fs layer 12:53:45 640e595b4fbd: Pulling fs layer 12:53:45 763cafe07f6e: Pulling fs layer 12:53:45 0c0b528cf693: Pulling fs layer 12:53:45 10935f4eaf8b: Pulling fs layer 12:53:45 4fe6c5a15a65: Waiting 12:53:45 22a0e8bec74d: Waiting 12:53:45 640e595b4fbd: Waiting 12:53:45 763cafe07f6e: Waiting 12:53:45 0c0b528cf693: Waiting 12:53:45 10935f4eaf8b: Waiting 12:53:45 8ed8ca486205: Verifying Checksum 12:53:45 8ed8ca486205: Download complete 12:53:45 666ba61612fd: Download complete 12:53:45 22a0e8bec74d: Verifying Checksum 12:53:45 22a0e8bec74d: Download complete 12:53:45 640e595b4fbd: Verifying Checksum 12:53:45 640e595b4fbd: Download complete 12:53:45 59bf1c3509f3: Verifying Checksum 12:53:45 763cafe07f6e: Verifying Checksum 12:53:45 763cafe07f6e: Download complete 12:53:45 0c0b528cf693: Verifying Checksum 12:53:45 0c0b528cf693: Download complete 12:53:45 59bf1c3509f3: Pull complete 12:53:45 666ba61612fd: Pull complete 12:53:45 8ed8ca486205: Pull complete 12:53:45 10935f4eaf8b: Verifying Checksum 12:53:45 10935f4eaf8b: Download complete 12:53:45 4fe6c5a15a65: Download complete 12:53:50 4fe6c5a15a65: Pull complete 12:53:50 22a0e8bec74d: Pull complete 12:53:50 640e595b4fbd: Pull complete 12:53:50 763cafe07f6e: Pull complete 12:53:50 0c0b528cf693: Pull complete 12:53:52 10935f4eaf8b: Pull complete 12:53:52 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:53:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:53:52 ---> 99d49a6021b9 12:53:52 Step 3/10 : ARG MAKE='make build' 12:53:53 ---> Running in 1c330e47b04b 12:53:53 Removing intermediate container 1c330e47b04b 12:53:53 ---> 781410217b96 12:53:53 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:53:53 ---> Running in a077e800058e 12:53:54 Removing intermediate container a077e800058e 12:53:54 ---> c9010de55c35 12:53:54 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:53:54 ---> Running in 84065fb72cb0 12:53:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:53:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:53:55 (1/8) Installing openssh-keygen (8.8_p1-r1) 12:53:55 (2/8) Installing libedit (20210910.3.1-r0) 12:53:55 (3/8) Installing openssh-client-common (8.8_p1-r1) 12:53:55 (4/8) Installing openssh-client-default (8.8_p1-r1) 12:53:55 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 12:53:56 (6/8) Installing openssh-server-common (8.8_p1-r1) 12:53:56 (7/8) Installing openssh-server (8.8_p1-r1) 12:53:56 (8/8) Installing openssh (8.8_p1-r1) 12:53:56 Executing busybox-1.34.1-r3.trigger 12:53:56 OK: 226 MiB in 60 packages 12:53:56 Removing intermediate container 84065fb72cb0 12:53:56 ---> 294e0a89f78c 12:53:56 Step 6/10 : WORKDIR /device-modbus-go 12:53:56 ---> Running in ec01198017a6 12:53:57 Removing intermediate container ec01198017a6 12:53:57 ---> c2d041b98b24 12:53:57 Step 7/10 : COPY go.mod vendor* ./ 12:53:57 ---> 73b67422da1f 12:53:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:53:57 ---> Running in df725d6f4f1b 12:53:58 Still waiting to schedule task 12:53:58 ‘prd-ubuntu20.04-docker-arm64-4c-16g-20806’ is offline 12:54:11 Removing intermediate container df725d6f4f1b 12:54:11 ---> e6e2d7638b84 12:54:11 Step 9/10 : COPY . . 12:54:11 ---> 6f38cc9b2c82 12:54:11 Step 10/10 : RUN ${MAKE} 12:54:11 ---> Running in 95f834460e3d 12:54:11 noop 12:54:11 Removing intermediate container 95f834460e3d 12:54:11 ---> bd3d73d8e31e 12:54:11 Successfully built bd3d73d8e31e 12:54:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:54:12 + docker inspect -f . ci-base-image-x86_64 12:54:12 . [Pipeline] withDockerContainer 12:54:12 prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container 12:54:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:54:12 $ docker top 711be6742fd191dc81c7ec6990d8e2423bfa9dacb94c4b0b1dd1e9c84e40e7ea -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:13 + go version 12:54:13 go version go1.17.6 linux/amd64 [Pipeline] } 12:54:13 $ docker stop --time=1 711be6742fd191dc81c7ec6990d8e2423bfa9dacb94c4b0b1dd1e9c84e40e7ea 12:54:14 $ docker rm -f 711be6742fd191dc81c7ec6990d8e2423bfa9dacb94c4b0b1dd1e9c84e40e7ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:54:14 + docker inspect -f . ci-base-image-x86_64 12:54:14 . [Pipeline] withDockerContainer 12:54:14 prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container 12:54:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:54:15 $ docker top 88cbbf32ffdf47947e1c3b5447fb9b536493c80f0f803a3eaefe1e0123a6b20c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:54:15 + make test 12:54:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:54:15 ? github.com/edgexfoundry/device-modbus-go [no test files] 12:54:24 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 12:54:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 46.4% of statements 12:54:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:54:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:54:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:54:34 ./bin/test-attribution-txt.sh [Pipeline] echo 12:54:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:54:34 $ docker stop --time=1 88cbbf32ffdf47947e1c3b5447fb9b536493c80f0f803a3eaefe1e0123a6b20c 12:54:36 $ docker rm -f 88cbbf32ffdf47947e1c3b5447fb9b536493c80f0f803a3eaefe1e0123a6b20c [Pipeline] // withDockerContainer [Pipeline] sh 12:54:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:54:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:54:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:54:37 + ls -al . 12:54:37 total 200 12:54:37 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 12:54 . 12:54:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:53 .. 12:54:37 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 12:53 .dockerignore 12:54:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 12:53 .git 12:54:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:53 .github 12:54:37 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 12:53 .gitignore 12:54:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 12:53 .golangci.yml 12:54:37 drwx------ 3 jenkins jenkins 4096 Apr 13 12:53 .semver 12:54:37 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 12:53 Attribution.txt 12:54:37 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 12:53 CHANGELOG.md 12:54:37 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 12:53 Dockerfile 12:54:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 12:53 GOVERNANCE.md 12:54:37 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 12:53 Jenkinsfile 12:54:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 12:53 LICENSE 12:54:37 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 12:53 Makefile 12:54:37 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 12:53 OWNERS.md 12:54:37 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 12:53 README.md 12:54:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 12:53 VERSION 12:54:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:53 bin 12:54:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:53 cmd 12:54:37 -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 12:54 coverage.out 12:54:37 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 12:53 go.mod 12:54:37 -rw-rw-r-- 1 jenkins jenkins 54457 Apr 13 12:53 go.sum 12:54:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:53 internal 12:54:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:53 simulator 12:54:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:53 snap 12:54:37 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 12:53 version.go [Pipeline] isUnix [Pipeline] sh 12:54:37 + 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=fb20ae7f19c4ae04353f9372c51c5483edbd2a06 --label arch=amd64 --label version=0.0.0 . 12:54:37 Sending build context to Docker daemon 5.828MB 12:54:37 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 12:54:37 Step 2/23 : FROM ${BASE} AS builder 12:54:37 ---> bd3d73d8e31e 12:54:37 Step 3/23 : ARG MAKE='make build' 12:54:37 ---> Running in 4162a76adc18 12:54:38 Removing intermediate container 4162a76adc18 12:54:38 ---> dac40d2a5b51 12:54:38 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:54:38 ---> Running in e933fa3d59b0 12:54:38 Removing intermediate container e933fa3d59b0 12:54:38 ---> 9f0868b765b7 12:54:38 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:54:38 ---> Running in 031903a02645 12:54:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:54:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:54:40 OK: 226 MiB in 60 packages 12:54:40 Removing intermediate container 031903a02645 12:54:40 ---> 80970ccc6fb3 12:54:40 Step 6/23 : WORKDIR /device-modbus-go 12:54:40 ---> Running in 10e814e73219 12:54:40 Removing intermediate container 10e814e73219 12:54:40 ---> 836fcfe37084 12:54:40 Step 7/23 : COPY go.mod vendor* ./ 12:54:40 ---> d1191fc72eed 12:54:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:54:40 ---> Running in b98715a84cd0 12:54:41 Removing intermediate container b98715a84cd0 12:54:41 ---> 83081a201ad9 12:54:41 Step 9/23 : COPY . . 12:54:41 ---> 9ddb4ae947ac 12:54:41 Step 10/23 : RUN ${MAKE} 12:54:41 ---> Running in 961151ed851f 12:54:41 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 12:54:59 Removing intermediate container 961151ed851f 12:54:59 ---> cf9b9b58175b 12:54:59 Step 11/23 : FROM alpine:3.14 12:55:00 3.14: Pulling from library/alpine 12:55:00 8663204ce13b: Pulling fs layer 12:55:00 8663204ce13b: Verifying Checksum 12:55:00 8663204ce13b: Download complete 12:55:00 8663204ce13b: Pull complete 12:55:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:55:00 Status: Downloaded newer image for alpine:3.14 12:55:00 ---> e04c818066af 12:55:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 12:55:01 ---> Running in cc6dc90946d9 12:55:01 Removing intermediate container cc6dc90946d9 12:55:01 ---> dc3def6a12c3 12:55:01 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:55:01 ---> Running in 888e10696193 12:55:01 Removing intermediate container 888e10696193 12:55:01 ---> 189b562569c4 12:55:01 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 12:55:01 ---> Running in 7a881331a140 12:55:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:55:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:55:03 (1/6) Installing dumb-init (1.2.5-r1) 12:55:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:55:03 (3/6) Installing libsodium (1.0.18-r0) 12:55:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:55:03 (5/6) Installing libzmq (4.3.4-r0) 12:55:03 (6/6) Installing zeromq (4.3.4-r0) 12:55:03 Executing busybox-1.33.1-r7.trigger 12:55:03 OK: 8 MiB in 20 packages 12:55:03 Removing intermediate container 7a881331a140 12:55:03 ---> adf2914c63ad 12:55:03 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 12:55:04 ---> 8a4502b9311d 12:55:04 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 12:55:04 ---> f3b9f66444b8 12:55:04 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 12:55:04 ---> e72dfa9ff2cc 12:55:04 Step 18/23 : EXPOSE 59901 12:55:04 ---> Running in fe496b89b0fd 12:55:04 Removing intermediate container fe496b89b0fd 12:55:04 ---> 37e18cdfd490 12:55:04 Step 19/23 : ENTRYPOINT ["/device-modbus"] 12:55:04 ---> Running in 862548e19af5 12:55:04 Removing intermediate container 862548e19af5 12:55:04 ---> 3e1e2ce7f3f8 12:55:04 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:55:05 ---> Running in 108c59aac546 12:55:05 Removing intermediate container 108c59aac546 12:55:05 ---> 3111854fd84c 12:55:05 Step 21/23 : LABEL arch=amd64 12:55:05 ---> Running in 81c42eb3976c 12:55:05 Removing intermediate container 81c42eb3976c 12:55:05 ---> ed25e5f57437 12:55:05 Step 22/23 : LABEL git_sha=fb20ae7f19c4ae04353f9372c51c5483edbd2a06 12:55:05 ---> Running in 63c90080f5ff 12:55:05 Removing intermediate container 63c90080f5ff 12:55:05 ---> 3ff6571906ce 12:55:05 Step 23/23 : LABEL version=0.0.0 12:55:05 ---> Running in c98e122bfa90 12:55:05 Removing intermediate container c98e122bfa90 12:55:05 ---> 5c2c9fc9feec 12:55:05 [Warning] One or more build-args [ARCH] were not consumed 12:55:05 Successfully built 5c2c9fc9feec 12:55:05 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 12:55:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:05 12:55:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:55:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:06 latest: Pulling from edgex-lftools-log-publisher 12:55:06 5eb5b503b376: Pulling fs layer 12:55:06 5c69ac0246d0: Pulling fs layer 12:55:06 ec43610c2a17: Pulling fs layer 12:55:06 3a2ae6a8a46f: Pulling fs layer 12:55:06 33b1e0a273af: Pulling fs layer 12:55:06 5d3b04190fa2: Pulling fs layer 12:55:06 2f39f015ded8: Pulling fs layer 12:55:06 33b1e0a273af: Waiting 12:55:06 2f39f015ded8: Waiting 12:55:06 5d3b04190fa2: Waiting 12:55:06 3a2ae6a8a46f: Waiting 12:55:06 5c69ac0246d0: Download complete 12:55:06 3a2ae6a8a46f: Verifying Checksum 12:55:06 3a2ae6a8a46f: Download complete 12:55:06 33b1e0a273af: Verifying Checksum 12:55:06 33b1e0a273af: Download complete 12:55:06 5d3b04190fa2: Verifying Checksum 12:55:06 5d3b04190fa2: Download complete 12:55:06 ec43610c2a17: Verifying Checksum 12:55:06 ec43610c2a17: Download complete 12:55:06 5eb5b503b376: Verifying Checksum 12:55:06 5eb5b503b376: Download complete 12:55:07 2f39f015ded8: Download complete 12:55:07 5eb5b503b376: Pull complete 12:55:07 5c69ac0246d0: Pull complete 12:55:08 ec43610c2a17: Pull complete 12:55:08 3a2ae6a8a46f: Pull complete 12:55:08 33b1e0a273af: Pull complete 12:55:08 5d3b04190fa2: Pull complete 12:55:12 2f39f015ded8: Pull complete 12:55:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:55:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:55:12 prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container 12:55:12 $ 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-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:55:14 $ docker top 8522f25cd75e0ea56a32d9f30ea99d2647228b5de5c928fe5e1702328d85f060 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:14 ---> job-cost.sh 12:55:14 lf-activate-venv: SKIPPING 12:55:14 INFO: No Stack... 12:55:15 INFO: Retrieving Pricing Info for: v3-standard-8 12:55:15 INFO: Archiving Costs [Pipeline] sh 12:55:16 + cat /w/workspace/xfoundry_device-modbus-go_PR-328/archives/cost.csv 12:55:16 + cut -d, -f6 [Pipeline] lock 12:55:16 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] 12:55:16 Resource [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] did not exist. Created. 12:55:16 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:55:16 + echo total: 0.2199999988079071 [Pipeline] stash 12:55:16 Stashed 1 file(s) [Pipeline] } 12:55:16 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [Pipeline] // lock [Pipeline] } 12:55:16 $ docker stop --time=1 8522f25cd75e0ea56a32d9f30ea99d2647228b5de5c928fe5e1702328d85f060 12:55:17 $ docker rm -f 8522f25cd75e0ea56a32d9f30ea99d2647228b5de5c928fe5e1702328d85f060 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:56:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20807 in /w/workspace/xfoundry_device-modbus-go_PR-328 [Pipeline] { [Pipeline] ws 12:56:34 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 12:56:35 Selected Git installation does not exist. Using Default 12:56:35 The recommended git tool is: NONE 12:56:42 using credential edgex-jenkins-ssh 12:56:42 Cloning the remote Git repository 12:56:42 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 12:56:42 > git init /w/workspace/device-modbus-go/3 # timeout=10 12:56:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:56:43 > git --version # timeout=10 12:56:43 > git --version # 'git version 2.25.1' 12:56:43 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:56:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:56:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:56:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:56:45 Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5 12:56:45 Merge succeeded, producing 105ef4396ff12e353ccd07ed37b5e35ed86f5f49 12:56:45 Checking out Revision 105ef4396ff12e353ccd07ed37b5e35ed86f5f49 (PR-328) 12:56:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:56:45 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/328/head:refs/remotes/origin/PR-328 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:56:45 > git config core.sparsecheckout # timeout=10 12:56:45 > git checkout -f c9002b5e4dd2f2db2aacebcf5ad02ef26a3c0ef5 # timeout=10 12:56:45 > git remote # timeout=10 12:56:45 > git config --get remote.origin.url # timeout=10 12:56:45 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:45 > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 12:56:45 > git rev-parse HEAD^{commit} # timeout=10 12:56:45 > git config core.sparsecheckout # timeout=10 12:56:45 > git checkout -f 105ef4396ff12e353ccd07ed37b5e35ed86f5f49 # timeout=10 12:56:50 Commit message: "Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD" 12:56:50 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:56:50 > git rev-list --no-walk 7677f4a66675cfedd933a8a3d7d980b923a1d71a # timeout=10 12:56:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:56:51 % Total % Received % Xferd Average Speed Time Time Time Current 12:56:51 Dload Upload Total Spent Left Speed 12:56:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 12:56:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:56:52 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 12:56:52 12:56:52 { 12:56:52 "registry-mirrors": [ 12:56:52 "https://nexus3.edgexfoundry.org:10001" 12:56:52 ], 12:56:52 "bip": "10.250.0.254/24", 12:56:52 "hosts": [ 12:56:52 "tcp://0.0.0.0:5555", 12:56:52 "unix:///var/run/docker.sock" 12:56:52 ], 12:56:52 "mtu": 1458, 12:56:52 "selinux-enabled": true, 12:56:52 "seccomp-profile": "/etc/docker/seccomp.json" 12:56:52 } [Pipeline] sh 12:56:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:56:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:57:11 provisioning config files... 12:57:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config2497939007713966949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:57:11 ---> docker-login.sh 12:57:11 nexus3.edgexfoundry.org:10001 12:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:12 Configure a credential helper to remove this warning. See 12:57:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:12 12:57:12 Login Succeeded 12:57:12 nexus3.edgexfoundry.org:10002 12:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:13 Configure a credential helper to remove this warning. See 12:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:13 12:57:13 Login Succeeded 12:57:13 nexus3.edgexfoundry.org:10003 12:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:13 Configure a credential helper to remove this warning. See 12:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:13 12:57:13 Login Succeeded 12:57:13 nexus3.edgexfoundry.org:10004 12:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:13 Configure a credential helper to remove this warning. See 12:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:13 12:57:13 Login Succeeded 12:57:13 docker.io 12:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:57:14 Configure a credential helper to remove this warning. See 12:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:57:14 12:57:14 Login Succeeded 12:57:14 ---> docker-login.sh ends [Pipeline] } 12:57:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:57:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:57:15 ========================================================= 12:57:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:57:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:57:15 + 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 . 12:57:15 Sending build context to Docker daemon 3.044MB 12:57:16 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 12:57:16 Step 2/10 : FROM ${BASE} AS builder 12:57:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:57:16 9b3977197b4f: Pulling fs layer 12:57:16 1a89e8eeedd5: Pulling fs layer 12:57:16 94645a83ff95: Pulling fs layer 12:57:16 3f3a8bcf1eab: Pulling fs layer 12:57:16 0c92f367c5e7: Pulling fs layer 12:57:16 f7c0051592d6: Pulling fs layer 12:57:16 a227ed2f7395: Pulling fs layer 12:57:16 7b1c46037f91: Pulling fs layer 12:57:16 3f3a8bcf1eab: Waiting 12:57:16 f7c0051592d6: Waiting 12:57:16 0c92f367c5e7: Waiting 12:57:16 a227ed2f7395: Waiting 12:57:16 7b1c46037f91: Waiting 12:57:16 94645a83ff95: Verifying Checksum 12:57:16 94645a83ff95: Download complete 12:57:16 1a89e8eeedd5: Download complete 12:57:16 0c92f367c5e7: Verifying Checksum 12:57:16 0c92f367c5e7: Download complete 12:57:16 f7c0051592d6: Verifying Checksum 12:57:16 f7c0051592d6: Download complete 12:57:16 9b3977197b4f: Verifying Checksum 12:57:16 9b3977197b4f: Download complete 12:57:16 a227ed2f7395: Verifying Checksum 12:57:16 a227ed2f7395: Download complete 12:57:17 9b3977197b4f: Pull complete 12:57:17 1a89e8eeedd5: Pull complete 12:57:18 94645a83ff95: Pull complete 12:57:18 7b1c46037f91: Verifying Checksum 12:57:18 7b1c46037f91: Download complete 12:57:18 3f3a8bcf1eab: Verifying Checksum 12:57:18 3f3a8bcf1eab: Download complete 12:57:31 3f3a8bcf1eab: Pull complete 12:57:31 0c92f367c5e7: Pull complete 12:57:31 f7c0051592d6: Pull complete 12:57:31 a227ed2f7395: Pull complete 12:57:36 7b1c46037f91: Pull complete 12:57:36 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:57:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:57:36 ---> f79e39bc4007 12:57:36 Step 3/10 : ARG MAKE='make build' 12:57:38 ---> Running in 63eb4afe6faa 12:57:38 Removing intermediate container 63eb4afe6faa 12:57:38 ---> 4b9d373d9acf 12:57:38 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:57:38 ---> Running in 592fdea284fc 12:57:40 Removing intermediate container 592fdea284fc 12:57:40 ---> f8490c1ef99d 12:57:40 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:57:40 ---> Running in 1c49d859cd8f 12:57:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:57:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:57:43 (1/8) Installing openssh-keygen (8.8_p1-r1) 12:57:43 (2/8) Installing libedit (20210910.3.1-r0) 12:57:43 (3/8) Installing openssh-client-common (8.8_p1-r1) 12:57:43 (4/8) Installing openssh-client-default (8.8_p1-r1) 12:57:43 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 12:57:43 (6/8) Installing openssh-server-common (8.8_p1-r1) 12:57:43 (7/8) Installing openssh-server (8.8_p1-r1) 12:57:43 (8/8) Installing openssh (8.8_p1-r1) 12:57:43 Executing busybox-1.34.1-r3.trigger 12:57:43 OK: 226 MiB in 60 packages 12:57:45 Removing intermediate container 1c49d859cd8f 12:57:45 ---> 6c61b10199de 12:57:45 Step 6/10 : WORKDIR /device-modbus-go 12:57:45 ---> Running in c726ab4c4649 12:57:45 Removing intermediate container c726ab4c4649 12:57:45 ---> 8f391df1c371 12:57:45 Step 7/10 : COPY go.mod vendor* ./ 12:57:45 ---> c21f7b1de791 12:57:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:57:46 ---> Running in 4f3e32c1d1be 12:58:33 Removing intermediate container 4f3e32c1d1be 12:58:33 ---> bdf9a369c9f9 12:58:33 Step 9/10 : COPY . . 12:58:33 ---> 956b124983b6 12:58:33 Step 10/10 : RUN ${MAKE} 12:58:33 ---> Running in f967ea01ac37 12:58:33 noop 12:58:34 Removing intermediate container f967ea01ac37 12:58:34 ---> aa5e1296f729 12:58:34 Successfully built aa5e1296f729 12:58:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:58:34 + docker inspect -f . ci-base-image-arm64 12:58:34 . [Pipeline] withDockerContainer 12:58:34 prd-ubuntu20.04-docker-arm64-4c-16g-20807 does not seem to be running inside a container 12:58:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:58:36 $ docker top 1a7d619a3e28f1c03efec79c01dffb0582172d694ed5d04c57160716b2e28d47 -eo pid,comm [Pipeline] { [Pipeline] sh 12:58:37 + go version 12:58:37 go version go1.17.6 linux/arm64 [Pipeline] } 12:58:37 $ docker stop --time=1 1a7d619a3e28f1c03efec79c01dffb0582172d694ed5d04c57160716b2e28d47 12:58:38 $ docker rm -f 1a7d619a3e28f1c03efec79c01dffb0582172d694ed5d04c57160716b2e28d47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:58:39 + docker inspect -f . ci-base-image-arm64 12:58:39 . [Pipeline] withDockerContainer 12:58:39 prd-ubuntu20.04-docker-arm64-4c-16g-20807 does not seem to be running inside a container 12:58:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:58:40 $ docker top 0bf8f5a914374d773a28a288d2c39ff85f1a1a274242fc329c01754bc8e3f13b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:58:41 + make test 12:58:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:58:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 13:00:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 13:00:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 46.4% of statements 13:00:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:00:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:00:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:32 ./bin/test-attribution-txt.sh [Pipeline] echo 13:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:33 $ docker stop --time=1 0bf8f5a914374d773a28a288d2c39ff85f1a1a274242fc329c01754bc8e3f13b 13:00:34 $ docker rm -f 0bf8f5a914374d773a28a288d2c39ff85f1a1a274242fc329c01754bc8e3f13b [Pipeline] // withDockerContainer [Pipeline] sh 13:00:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:35 Warning: overwriting stash ‘coverage-report’ 13:00:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:37 + ls -al . 13:00:37 total 196 13:00:37 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 13:00 . 13:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:56 .. 13:00:37 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 12:56 .dockerignore 13:00:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 12:56 .git 13:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:56 .github 13:00:37 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 12:56 .gitignore 13:00:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 12:56 .golangci.yml 13:00:37 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 12:56 Attribution.txt 13:00:37 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 12:56 CHANGELOG.md 13:00:37 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 12:56 Dockerfile 13:00:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 12:56 GOVERNANCE.md 13:00:37 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 12:56 Jenkinsfile 13:00:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 12:56 LICENSE 13:00:37 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 12:56 Makefile 13:00:37 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 12:56 OWNERS.md 13:00:37 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 12:56 README.md 13:00:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 12:53 VERSION 13:00:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:56 bin 13:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:56 cmd 13:00:37 -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 13:00 coverage.out 13:00:37 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 12:56 go.mod 13:00:37 -rw-rw-r-- 1 jenkins jenkins 54457 Apr 13 12:56 go.sum 13:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:56 internal 13:00:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:56 simulator 13:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:56 snap 13:00:37 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 12:56 version.go [Pipeline] isUnix [Pipeline] sh 13:00:37 + 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=105ef4396ff12e353ccd07ed37b5e35ed86f5f49 --label arch=arm64 --label version=0.0.0 . 13:00:37 Sending build context to Docker daemon 3.069MB 13:00:37 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 13:00:37 Step 2/23 : FROM ${BASE} AS builder 13:00:37 ---> aa5e1296f729 13:00:37 Step 3/23 : ARG MAKE='make build' 13:00:37 ---> Running in 80cd5d5cf45d 13:00:38 Removing intermediate container 80cd5d5cf45d 13:00:38 ---> cc1456280cb9 13:00:38 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:00:38 ---> Running in 8fc3508e71ee 13:00:40 Removing intermediate container 8fc3508e71ee 13:00:40 ---> 252da91544a0 13:00:40 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 13:00:40 ---> Running in 286faa2f1e8f 13:00:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:00:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:00:42 OK: 226 MiB in 60 packages 13:00:43 Removing intermediate container 286faa2f1e8f 13:00:43 ---> ae7c159b1c0e 13:00:43 Step 6/23 : WORKDIR /device-modbus-go 13:00:43 ---> Running in 2f1cbf524153 13:00:44 Removing intermediate container 2f1cbf524153 13:00:44 ---> 5872965738d7 13:00:44 Step 7/23 : COPY go.mod vendor* ./ 13:00:44 ---> cc416d8ffc33 13:00:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:44 ---> Running in c73e787d513a 13:00:46 Removing intermediate container c73e787d513a 13:00:46 ---> d368356fcf91 13:00:46 Step 9/23 : COPY . . 13:00:47 ---> 0a5321ddd51f 13:00:47 Step 10/23 : RUN ${MAKE} 13:00:47 ---> Running in aa543d7ad156 13:00:48 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 13:02:55 Removing intermediate container aa543d7ad156 13:02:55 ---> 9887bb16af3e 13:02:55 Step 11/23 : FROM alpine:3.14 13:02:55 3.14: Pulling from library/alpine 13:02:55 455c02918c45: Pulling fs layer 13:02:55 455c02918c45: Verifying Checksum 13:02:55 455c02918c45: Download complete 13:02:55 455c02918c45: Pull complete 13:02:55 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:02:55 Status: Downloaded newer image for alpine:3.14 13:02:55 ---> ac73e934f311 13:02:55 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 13:02:55 ---> Running in bf20a4c5a33a 13:02:55 Removing intermediate container bf20a4c5a33a 13:02:55 ---> 6c6af656d814 13:02:55 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:02:55 ---> Running in 78716725a8a6 13:02:55 Removing intermediate container 78716725a8a6 13:02:55 ---> 30e0085f2379 13:02:55 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 13:02:55 ---> Running in b2dd3a488b18 13:02:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:02:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:02:55 (1/6) Installing dumb-init (1.2.5-r1) 13:02:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:02:55 (3/6) Installing libsodium (1.0.18-r0) 13:02:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:02:55 (5/6) Installing libzmq (4.3.4-r0) 13:02:55 (6/6) Installing zeromq (4.3.4-r0) 13:02:55 Executing busybox-1.33.1-r7.trigger 13:02:55 OK: 8 MiB in 20 packages 13:02:55 Removing intermediate container b2dd3a488b18 13:02:55 ---> 0c6ee4bd9f17 13:02:55 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 13:02:56 ---> 6386cc1a0612 13:02:56 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 13:02:56 ---> 0be88fa29027 13:02:56 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 13:02:57 ---> b76ff96c59ca 13:02:57 Step 18/23 : EXPOSE 59901 13:02:57 ---> Running in db12fb2d0cb8 13:02:57 Removing intermediate container db12fb2d0cb8 13:02:57 ---> e81169320c34 13:02:57 Step 19/23 : ENTRYPOINT ["/device-modbus"] 13:02:57 ---> Running in a464d52f2ac3 13:02:58 Removing intermediate container a464d52f2ac3 13:02:58 ---> 1b714d3e8c23 13:02:58 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:02:58 ---> Running in 609e3c241e1a 13:02:58 Removing intermediate container 609e3c241e1a 13:02:58 ---> 63a3e29f82dd 13:02:58 Step 21/23 : LABEL arch=arm64 13:02:58 ---> Running in 20450c428f9c 13:02:58 Removing intermediate container 20450c428f9c 13:02:58 ---> 2c695a60d37b 13:02:58 Step 22/23 : LABEL git_sha=105ef4396ff12e353ccd07ed37b5e35ed86f5f49 13:02:58 ---> Running in 25b1e0ecf8c1 13:02:59 Removing intermediate container 25b1e0ecf8c1 13:02:59 ---> 57df6a00936b 13:02:59 Step 23/23 : LABEL version=0.0.0 13:02:59 ---> Running in 93f39c16495f 13:02:59 Removing intermediate container 93f39c16495f 13:02:59 ---> 9ee394ac1df7 13:02:59 [Warning] One or more build-args [ARCH] were not consumed 13:02:59 Successfully built 9ee394ac1df7 13:02:59 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 13:03:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:03:00 13:03:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:03:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:03:00 arm64: Pulling from edgex-lftools-log-publisher 13:03:00 8998bd30e6a1: Pulling fs layer 13:03:00 04944245beec: Pulling fs layer 13:03:00 699f458cf7ca: Pulling fs layer 13:03:00 765212b225bb: Pulling fs layer 13:03:00 f23df028b6ca: Pulling fs layer 13:03:00 d65c8cfc05b1: Pulling fs layer 13:03:00 2437ff75d9bd: Pulling fs layer 13:03:00 f23df028b6ca: Waiting 13:03:00 d65c8cfc05b1: Waiting 13:03:00 2437ff75d9bd: Waiting 13:03:00 765212b225bb: Waiting 13:03:00 04944245beec: Download complete 13:03:00 765212b225bb: Download complete 13:03:00 f23df028b6ca: Verifying Checksum 13:03:00 f23df028b6ca: Download complete 13:03:00 d65c8cfc05b1: Verifying Checksum 13:03:00 d65c8cfc05b1: Download complete 13:03:01 699f458cf7ca: Verifying Checksum 13:03:01 699f458cf7ca: Download complete 13:03:01 8998bd30e6a1: Verifying Checksum 13:03:01 8998bd30e6a1: Download complete 13:03:03 2437ff75d9bd: Verifying Checksum 13:03:03 2437ff75d9bd: Download complete 13:03:05 8998bd30e6a1: Pull complete 13:03:06 04944245beec: Pull complete 13:03:07 699f458cf7ca: Pull complete 13:03:07 765212b225bb: Pull complete 13:03:08 f23df028b6ca: Pull complete 13:03:08 d65c8cfc05b1: Pull complete 13:03:23 2437ff75d9bd: Pull complete 13:03:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:03:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:03:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:03:24 prd-ubuntu20.04-docker-arm64-4c-16g-20807 does not seem to be running inside a container 13:03:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:03:26 $ docker top 832abd66e77beb5291178d8505a7725bdadf684c7361476e9c0dcd2bdf252c3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:27 ---> job-cost.sh 13:03:27 lf-activate-venv: SKIPPING 13:03:27 INFO: No Stack... 13:03:27 INFO: Retrieving Pricing Info for: v3-standard-4 13:03:28 INFO: Archiving Costs [Pipeline] sh 13:03:29 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 13:03:29 + cut -d, -f6 [Pipeline] lock 13:03:29 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] 13:03:29 Resource [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] did not exist. Created. 13:03:29 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:03:30 /w/workspace/device-modbus-go/3@tmp/durable-3897fe4c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:03:31 + echo total: 0.10999999940395355 [Pipeline] stash 13:03:31 Warning: overwriting stash ‘stack-cost’ 13:03:31 Stashed 1 file(s) [Pipeline] } 13:03:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-328-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:03:31 $ docker stop --time=1 832abd66e77beb5291178d8505a7725bdadf684c7361476e9c0dcd2bdf252c3f 13:03:32 $ docker rm -f 832abd66e77beb5291178d8505a7725bdadf684c7361476e9c0dcd2bdf252c3f [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 13:03:33 provisioning config files... 13:03:33 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/config6766932577208918119tmp [Pipeline] { [Pipeline] sh 13:03:33 + set +x 13:03:33 + curl -s https://codecov.io/bash 13:03:33 + bash -s -- 13:03:33 13:03:33 _____ _ 13:03:33 / ____| | | 13:03:33 | | ___ __| | ___ ___ _____ __ 13:03:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:03:33 | |___| (_) | (_| | __/ (_| (_) \ V / 13:03:33 \_____\___/ \__,_|\___|\___\___/ \_/ 13:03:33 Bash-1.0.6 13:03:33 13:03:33 13:03:33 ==> git version 2.25.1 found 13:03:33 ==> 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 13:03:33 Release-Date: 2020-01-08 13:03:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:03:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:03:33 ==> Jenkins CI detected. 13:03:33 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-328 13:03:33 project root: . 13:03:33 --> token set from env 13:03:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:03:33 ==> Running gcov in . (disable via -X gcov) 13:03:33 ==> Python coveragepy not found 13:03:33 ==> Searching for coverage reports in: 13:03:33 + . 13:03:33 -> Found 1 reports 13:03:33 ==> Detecting git/mercurial file structure 13:03:33 ==> Reading reports 13:03:33 + ./coverage.out bytes=24065 13:03:33 ==> Appending adjustments 13:03:33 https://docs.codecov.io/docs/fixing-reports 13:03:33 + Found adjustments 13:03:33 ==> Gzipping contents 13:03:33 4.0K /tmp/codecov.7se3eE.gz 13:03:33 ==> Uploading reports 13:03:33 url: https://codecov.io 13:03:33 query: branch=PR-328&commit=fb20ae7f19c4ae04353f9372c51c5483edbd2a06&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-328%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=328&job=&cmd_args= 13:03:33 -> Pinging Codecov 13:03:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-328&commit=fb20ae7f19c4ae04353f9372c51c5483edbd2a06&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-328%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=328&job=&cmd_args= 13:03:33 -> Uploading to 13:03:33 https://storage.googleapis.com/codecov/v4/raw/2022-04-13/55DBCA73C666E3227836607328DD7E49/fb20ae7f19c4ae04353f9372c51c5483edbd2a06/1f1d50c6-d52e-491c-b6e1-06ec7ff45dfb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T130333Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e639e67e68e4813e4bf6bccb5ce488e029a3be86c9283b3013c26993bc9bbe75 13:03:33 % Total % Received % Xferd Average Speed Time Time Time Current 13:03:33 Dload Upload Total Spent Left Speed 13:03:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4005 0 0 100 4005 0 17337 --:--:-- --:--:-- --:--:-- 17337 13:03:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/fb20ae7f19c4ae04353f9372c51c5483edbd2a06 [Pipeline] } 13:03:34 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 13:03:34 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-328/archives ] 13:03:34 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-328/archives 13:03:34 total 16 13:03:34 drwxr-xr-x 3 root root 4096 Apr 13 12:55 . 13:03:34 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 12:55 .. 13:03:34 drwxr-xr-x 2 root root 4096 Apr 13 12:55 cost 13:03:34 -rw-r--r-- 1 root root 87 Apr 13 12:55 cost.csv 13:03:34 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-328/archives 13:03:34 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-328/archives 13:03:34 total 16 13:03:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 12:55 . 13:03:34 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 12:55 .. 13:03:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 12:55 cost 13:03:34 -rw-r--r-- 1 jenkins jenkins 87 Apr 13 12:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:03:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:03:36 ---> package-listing.sh 13:03:36 ++ facter osfamily 13:03:36 ++ tr '[:upper:]' '[:lower:]' 13:03:36 + OS_FAMILY=debian 13:03:36 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-328 13:03:36 + START_PACKAGES=/tmp/packages_start.txt 13:03:36 + END_PACKAGES=/tmp/packages_end.txt 13:03:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:03:36 + PACKAGES=/tmp/packages_start.txt 13:03:36 + '[' /w/workspace/xfoundry_device-modbus-go_PR-328 ']' 13:03:36 + PACKAGES=/tmp/packages_end.txt 13:03:36 + case "${OS_FAMILY}" in 13:03:36 + dpkg -l 13:03:36 + grep '^ii' 13:03:36 + '[' -f /tmp/packages_start.txt ']' 13:03:36 + '[' -f /tmp/packages_end.txt ']' 13:03:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:03:36 + '[' /w/workspace/xfoundry_device-modbus-go_PR-328 ']' 13:03:36 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-328/archives/ 13:03:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-328/archives/ [Pipeline] echo 13:03:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-328/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:03:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:03:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:03:37 . [Pipeline] withDockerContainer 13:03:37 prd-ubuntu20.04-docker-8c-8g-20805 does not seem to be running inside a container 13:03:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-328/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-328 -v /w/workspace/xfoundry_device-modbus-go_PR-328:/w/workspace/xfoundry_device-modbus-go_PR-328:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-328@tmp:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:03:37 $ docker top 193f4981410d515b5f9fd0973d775dbeebac940666010c79bd1b4c9021300a8d -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:37 + touch /tmp/pre-build-complete [Pipeline] sh 13:03:38 + mkdir -p /var/log/sysstat [Pipeline] sh 13:03:38 + ls /var/log/sa-host 13:03:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:03:38 provisioning config files... 13:03:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-328@tmp/config1020496701804864340tmp [Pipeline] { [Pipeline] echo 13:03:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:03:38 ---> create-netrc.sh [Pipeline] } 13:03:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:03:39 ---> python-tools-install.sh [Pipeline] echo 13:03:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:03:39 ---> sudo-logs.sh 13:03:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:03:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:03:39 ---> job-cost.sh 13:03:39 lf-activate-venv: SKIPPING 13:03:39 DEBUG: total: 0.2199999988079071 13:03:39 INFO: Retrieving Stack Cost... 13:03:40 INFO: Retrieving Pricing Info for: v3-standard-8 13:03:40 INFO: Archiving Costs [Pipeline] echo 13:03:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:03:40 ---> logs-deploy.sh 13:03:40 lf-activate-venv: SKIPPING 13:03:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-328/3 13:03:40 INFO: archiving workspace using pattern(s): 13:03:41 Archives upload complete. 13:03:41 INFO: archiving logs to Nexus