Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 111b0946ec5749ca592e50224ec8488a26173b9a 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-ssh5685080893467584403.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh10958772581197006312.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 dae07dc806156effb2cae02074e2f5f64a063e83 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10761539582872484166.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh13595732303287854393.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16152764955966048609.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2088 in /w/workspace/gexfoundry_device-modbus-go_main [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/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh8520533772444626595.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 111b0946ec5749ca592e50224ec8488a26173b9a (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 111b0946ec5749ca592e50224ec8488a26173b9a # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/go-1_17-dockerfile-changes" > git rev-list --no-walk ec5780f49cc8d227830b26f24a2b43a0b649d736 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:13:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:13:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:13:47 ========================================================= 20:13:47 EdgeX Global Pipelines Version Info 20:13:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:13:48 ------------------- 20:13:48 stable info: 20:13:48 ------------------- 20:13:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:48 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:13:48 Message: update stable to v1.0.219 20:13:48 ------------------- 20:13:48 experimental info: 20:13:48 ------------------- 20:13:48 Commited By: **** collab-it+edgex@linuxfoundation.org 20:13:48 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:13:48 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 111b094 [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:49 provisioning config files... 20:13:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4215549813309773702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:49 ---> docker-login.sh 20:13:49 nexus3.edgexfoundry.org:10001 20:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 nexus3.edgexfoundry.org:10002 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 nexus3.edgexfoundry.org:10003 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 nexus3.edgexfoundry.org:10004 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 docker.io 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 ---> docker-login.sh ends [Pipeline] } 20:13:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:13:51 + git rev-list -1 --merges 111b0946ec5749ca592e50224ec8488a26173b9a~1..111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] echo 20:13:51 -----------> git rev-list -1 --merges 111b0946ec5749ca592e50224ec8488a26173b9a~1..111b0946ec5749ca592e50224ec8488a26173b9a 111b0946ec5749ca592e50224ec8488a26173b9a 20:13:51 111b0946ec5749ca592e50224ec8488a26173b9a [false] [Pipeline] sh 20:13:51 + git log --format=format:%s -1 111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] echo 20:13:51 ========================================================= 20:13:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:13:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:52 + git log --format=format:%s -1 111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] echo 20:13:52 [semverPrep] GIT_COMMIT: 111b0946ec5749ca592e50224ec8488a26173b9a, Commit Message: Merge pull request #306 from ernestojeda/go-1_17-dockerfile-changes [Pipeline] echo 20:13:52 [semverPrep] This is not a build commit. [Pipeline] sh 20:13:52 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:13:52 + grep -v github /etc/ssh/ssh_known_hosts 20:13:52 + '[' -e /tmp/ssh_known_hosts ']' 20:13:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:13:52 + sudo tee -a /etc/ssh/ssh_known_hosts 20:13:52 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:13:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:13:52 20:13:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:13:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:13:53 latest: Pulling from edgex-devops/git-semver 20:13:53 a0d0a0d46f8b: Pulling fs layer 20:13:53 3e5f54012d9b: Pulling fs layer 20:13:53 4c7163046ea9: Pulling fs layer 20:13:53 0c2d73faf560: Pulling fs layer 20:13:53 0c2d73faf560: Waiting 20:13:53 3e5f54012d9b: Verifying Checksum 20:13:53 3e5f54012d9b: Download complete 20:13:53 a0d0a0d46f8b: Verifying Checksum 20:13:53 a0d0a0d46f8b: Download complete 20:13:53 4c7163046ea9: Verifying Checksum 20:13:53 4c7163046ea9: Download complete 20:13:53 0c2d73faf560: Verifying Checksum 20:13:53 0c2d73faf560: Download complete 20:13:53 a0d0a0d46f8b: Pull complete 20:13:53 3e5f54012d9b: Pull complete 20:13:53 4c7163046ea9: Pull complete 20:13:54 0c2d73faf560: Pull complete 20:13:54 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:13:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:13:54 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:13:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:13:54 $ docker top ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:13:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:13:55 [ssh-agent] Looking for ssh-agent implementation... 20:13:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:13:55 $ docker exec ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 ssh-agent 20:13:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDanmJi/agent.15 20:13:55 SSH_AGENT_PID=22 20:13:55 Running ssh-add (command line suppressed) 20:13:55 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4730090722234756324.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4730090722234756324.key) 20:13:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:13:55 + git tag --points-at HEAD [Pipeline] } 20:13:55 $ docker exec --env ******** --env ******** ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 ssh-agent -k 20:13:55 unset SSH_AUTH_SOCK; 20:13:55 unset SSH_AGENT_PID; 20:13:55 echo Agent pid 22 killed; 20:13:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:13:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:13:55 [ssh-agent] Looking for ssh-agent implementation... 20:13:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:13:55 $ docker exec ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 ssh-agent 20:13:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXODPDPm/agent.55 20:13:55 SSH_AGENT_PID=62 20:13:55 Running ssh-add (command line suppressed) 20:13:56 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1050094006230959978.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1050094006230959978.key) 20:13:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:13:56 + git semver init 20:13:56 # -> Open(): unable to determine branch for HEAD 20:13:56 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 20:13:56 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 20:13:56 # $SEMVER_REMOTE_NAME = origin 20:13:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:13:56 # $SEMVER_USER_NAME = edgex-jenkins 20:13:56 # $SEMVER_BRANCH = main 20:13:56 # $SEMVER_TEMP = /tmp/semver-462889328 20:13:56 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 20:13:57 # '/tmp/semver-462889328' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 20:13:57 # -> Force: false 20:13:57 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 20:13:57 $ docker exec --env ******** --env ******** ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 ssh-agent -k 20:13:57 unset SSH_AUTH_SOCK; 20:13:57 unset SSH_AGENT_PID; 20:13:57 echo Agent pid 62 killed; 20:13:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:13:57 + git semver [Pipeline] } 20:13:57 $ docker stop --time=1 ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 20:13:59 $ docker rm -f ceaa0d8d5ae8ba84e61c804a9fce52b69191318c681bd6b19c72c84e96274909 [Pipeline] // withDockerContainer [Pipeline] sh 20:13:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:13:59 Stashed 1 file(s) [Pipeline] echo 20:13:59 [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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 20:13:59 provisioning config files... 20:13:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5224093866419001779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:00 ---> docker-login.sh 20:14:00 nexus3.edgexfoundry.org:10001 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 nexus3.edgexfoundry.org:10002 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 nexus3.edgexfoundry.org:10003 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 nexus3.edgexfoundry.org:10004 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 docker.io 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 ---> docker-login.sh ends [Pipeline] } 20:14:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:01 ========================================================= 20:14:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:14:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:14:01 + 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 . 20:14:01 Sending build context to Docker daemon 5.686MB 20:14:01 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 20:14:01 Step 2/10 : FROM ${BASE} AS builder 20:14:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:01 59bf1c3509f3: Pulling fs layer 20:14:01 666ba61612fd: Pulling fs layer 20:14:01 8ed8ca486205: Pulling fs layer 20:14:01 4fe6c5a15a65: Pulling fs layer 20:14:01 22a0e8bec74d: Pulling fs layer 20:14:01 f965cba54748: Pulling fs layer 20:14:01 861ffc35075e: Pulling fs layer 20:14:01 4b385c91608e: Pulling fs layer 20:14:01 560528eb2ebb: Pulling fs layer 20:14:01 4fe6c5a15a65: Waiting 20:14:01 22a0e8bec74d: Waiting 20:14:01 f965cba54748: Waiting 20:14:01 861ffc35075e: Waiting 20:14:01 4b385c91608e: Waiting 20:14:01 560528eb2ebb: Waiting 20:14:01 8ed8ca486205: Verifying Checksum 20:14:01 8ed8ca486205: Download complete 20:14:01 666ba61612fd: Verifying Checksum 20:14:01 666ba61612fd: Download complete 20:14:01 22a0e8bec74d: Verifying Checksum 20:14:01 22a0e8bec74d: Download complete 20:14:01 f965cba54748: Verifying Checksum 20:14:01 f965cba54748: Download complete 20:14:01 59bf1c3509f3: Verifying Checksum 20:14:01 861ffc35075e: Verifying Checksum 20:14:01 861ffc35075e: Download complete 20:14:01 4b385c91608e: Verifying Checksum 20:14:01 4b385c91608e: Download complete 20:14:01 59bf1c3509f3: Pull complete 20:14:02 666ba61612fd: Pull complete 20:14:02 4fe6c5a15a65: Verifying Checksum 20:14:02 4fe6c5a15a65: Download complete 20:14:02 560528eb2ebb: Verifying Checksum 20:14:02 560528eb2ebb: Download complete 20:14:02 8ed8ca486205: Pull complete 20:14:06 4fe6c5a15a65: Pull complete 20:14:06 22a0e8bec74d: Pull complete 20:14:06 f965cba54748: Pull complete 20:14:06 861ffc35075e: Pull complete 20:14:06 4b385c91608e: Pull complete 20:14:09 560528eb2ebb: Pull complete 20:14:09 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 20:14:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:14:09 ---> dd4a08f94e63 20:14:09 Step 3/10 : ARG MAKE='make build' 20:14:10 ---> Running in 2ec4d1e1ca37 20:14:11 Removing intermediate container 2ec4d1e1ca37 20:14:11 ---> e46e41d3bed1 20:14:11 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:11 ---> Running in c4f6efd1889d 20:14:11 Removing intermediate container c4f6efd1889d 20:14:11 ---> 4f46acbe51ad 20:14:11 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:14:11 ---> Running in e1bbd85500d1 20:14:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:14:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:14:13 (1/8) Installing openssh-keygen (8.8_p1-r1) 20:14:13 (2/8) Installing libedit (20210910.3.1-r0) 20:14:13 (3/8) Installing openssh-client-common (8.8_p1-r1) 20:14:13 (4/8) Installing openssh-client-default (8.8_p1-r1) 20:14:13 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 20:14:13 (6/8) Installing openssh-server-common (8.8_p1-r1) 20:14:13 (7/8) Installing openssh-server (8.8_p1-r1) 20:14:14 (8/8) Installing openssh (8.8_p1-r1) 20:14:14 Executing busybox-1.34.1-r3.trigger 20:14:14 OK: 226 MiB in 60 packages 20:14:14 Removing intermediate container e1bbd85500d1 20:14:14 ---> a0cf85cb6a3a 20:14:14 Step 6/10 : WORKDIR /device-modbus-go 20:14:14 ---> Running in 854bebecc171 20:14:14 Removing intermediate container 854bebecc171 20:14:14 ---> f53b748c7c7d 20:14:14 Step 7/10 : COPY go.mod vendor* ./ 20:14:14 ---> a81f337cf7c0 20:14:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:14 ---> Running in a07f9c0b7566 20:14:14 Still waiting to schedule task 20:14:14 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:14:14 ‘prd-centos7-docker-4c-2g-2092’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:14:14 ‘prd-centos7-docker-4c-2g-2093’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:14:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2091’ is offline 20:14:46 Removing intermediate container a07f9c0b7566 20:14:46 ---> 93dec82ee9ad 20:14:46 Step 9/10 : COPY . . 20:14:46 ---> 3a96d2f58348 20:14:46 Step 10/10 : RUN ${MAKE} 20:14:46 ---> Running in 90b2d505b00a 20:14:46 noop 20:14:46 Removing intermediate container 90b2d505b00a 20:14:46 ---> 6e0475f50c56 20:14:46 Successfully built 6e0475f50c56 20:14:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:14:47 + docker inspect -f . ci-base-image-x86_64 20:14:47 . [Pipeline] withDockerContainer 20:14:47 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:14:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 20:14:47 $ docker top 9e74f750d7f70da9900209c45b27ff9e51ccf77b9659761978dbc2fb71f4a85f -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:47 + go version 20:14:47 go version go1.17.6 linux/amd64 [Pipeline] } 20:14:47 $ docker stop --time=1 9e74f750d7f70da9900209c45b27ff9e51ccf77b9659761978dbc2fb71f4a85f 20:14:49 $ docker rm -f 9e74f750d7f70da9900209c45b27ff9e51ccf77b9659761978dbc2fb71f4a85f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:49 + docker inspect -f . ci-base-image-x86_64 20:14:49 . [Pipeline] withDockerContainer 20:14:49 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 20:14:50 $ docker top 897d25c9046805599631627a7b791ad72d37716eb1553ec4bcfd80da3c43ac44 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:14:50 + make test 20:14:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:14:50 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:15:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:15:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.6% of statements 20:15:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:15:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:10 ./bin/test-attribution-txt.sh [Pipeline] echo 20:15:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:11 $ docker stop --time=1 897d25c9046805599631627a7b791ad72d37716eb1553ec4bcfd80da3c43ac44 20:15:12 $ docker rm -f 897d25c9046805599631627a7b791ad72d37716eb1553ec4bcfd80da3c43ac44 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:13 + ls -al . 20:15:13 total 152 20:15:13 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:15 . 20:15:13 drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 20:13 .. 20:15:13 -rw-rw-r--. 1 jenkins jenkins 8010 Jan 19 20:13 Attribution.txt 20:15:13 drwxrwxr-x. 2 jenkins jenkins 60 Jan 19 20:13 bin 20:15:13 -rw-rw-r--. 1 jenkins jenkins 6038 Jan 19 20:13 CHANGELOG.md 20:15:13 drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 20:13 cmd 20:15:13 -rw-r--r--. 1 jenkins jenkins 23727 Jan 19 20:15 coverage.out 20:15:13 -rw-rw-r--. 1 jenkins jenkins 1546 Jan 19 20:13 Dockerfile 20:15:13 -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 20:13 .dockerignore 20:15:13 drwxrwxr-x. 8 jenkins jenkins 162 Jan 19 20:13 .git 20:15:13 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 20:13 .github 20:15:13 -rw-rw-r--. 1 jenkins jenkins 331 Jan 19 20:13 .gitignore 20:15:13 -rw-rw-r--. 1 jenkins jenkins 300 Jan 19 20:13 go.mod 20:15:13 -rw-rw-r--. 1 jenkins jenkins 49511 Jan 19 20:13 go.sum 20:15:13 -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 20:13 GOVERNANCE.md 20:15:13 drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 20:13 internal 20:15:13 -rw-rw-r--. 1 jenkins jenkins 679 Jan 19 20:13 Jenkinsfile 20:15:13 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 20:13 LICENSE 20:15:13 -rw-rw-r--. 1 jenkins jenkins 1009 Jan 19 20:13 Makefile 20:15:13 -rw-rw-r--. 1 jenkins jenkins 622 Jan 19 20:13 OWNERS.md 20:15:13 -rw-rw-r--. 1 jenkins jenkins 3488 Jan 19 20:13 README.md 20:15:13 drwx------. 3 jenkins jenkins 57 Jan 19 20:13 .semver 20:15:13 drwxrwxr-x. 2 jenkins jenkins 52 Jan 19 20:13 simulator 20:15:13 drwxrwxr-x. 4 jenkins jenkins 71 Jan 19 20:13 snap 20:15:13 -rw-rw-r--. 1 jenkins jenkins 11 Jan 19 20:13 VERSION 20:15:13 -rw-rw-r--. 1 jenkins jenkins 229 Jan 19 20:13 version.go [Pipeline] isUnix [Pipeline] sh 20:15:14 + 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=111b0946ec5749ca592e50224ec8488a26173b9a --label arch=amd64 --label version=2.2.0-dev.4 . 20:15:14 Sending build context to Docker daemon 5.711MB 20:15:14 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 20:15:14 Step 2/23 : FROM ${BASE} AS builder 20:15:14 ---> 6e0475f50c56 20:15:14 Step 3/23 : ARG MAKE='make build' 20:15:14 ---> Running in 26386ab5af62 20:15:14 Removing intermediate container 26386ab5af62 20:15:14 ---> 6e440f4f5187 20:15:14 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:14 ---> Running in 40fd50da332c 20:15:14 Removing intermediate container 40fd50da332c 20:15:14 ---> 83191b67ce29 20:15:14 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:15:14 ---> Running in b78723fa55aa 20:15:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:15:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:15:16 OK: 226 MiB in 60 packages 20:15:16 Removing intermediate container b78723fa55aa 20:15:16 ---> 11ef6740a947 20:15:16 Step 6/23 : WORKDIR /device-modbus-go 20:15:16 ---> Running in 35f008e6c34e 20:15:16 Removing intermediate container 35f008e6c34e 20:15:16 ---> a66cc0e8337e 20:15:16 Step 7/23 : COPY go.mod vendor* ./ 20:15:16 ---> 8ad0aadb14d6 20:15:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:16 ---> Running in 01540c0582a0 20:15:17 Removing intermediate container 01540c0582a0 20:15:17 ---> 17b4a93deb07 20:15:17 Step 9/23 : COPY . . 20:15:17 ---> 139109ae0ef7 20:15:17 Step 10/23 : RUN ${MAKE} 20:15:17 ---> Running in 26dc39fe4888 20:15:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.4" -o cmd/device-modbus ./cmd 20:15:30 Removing intermediate container 26dc39fe4888 20:15:30 ---> ea02bc8b35cb 20:15:30 Step 11/23 : FROM alpine:3.14 20:15:30 3.14: Pulling from library/alpine 20:15:30 97518928ae5f: Pulling fs layer 20:15:30 97518928ae5f: Verifying Checksum 20:15:30 97518928ae5f: Download complete 20:15:31 97518928ae5f: Pull complete 20:15:31 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:15:31 Status: Downloaded newer image for alpine:3.14 20:15:31 ---> 0a97eee8041e 20:15:31 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:15:31 ---> Running in 1228e315555c 20:15:31 Removing intermediate container 1228e315555c 20:15:31 ---> 8079b89162d0 20:15:31 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:31 ---> Running in 7d4f46b6d802 20:15:31 Removing intermediate container 7d4f46b6d802 20:15:31 ---> 153968b95dde 20:15:31 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 20:15:31 ---> Running in 9d1c915308e3 20:15:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:15:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:15:33 (1/6) Installing dumb-init (1.2.5-r1) 20:15:33 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:15:33 (3/6) Installing libsodium (1.0.18-r0) 20:15:33 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:15:33 (5/6) Installing libzmq (4.3.4-r0) 20:15:33 (6/6) Installing zeromq (4.3.4-r0) 20:15:33 Executing busybox-1.33.1-r6.trigger 20:15:33 OK: 8 MiB in 20 packages 20:15:34 Removing intermediate container 9d1c915308e3 20:15:34 ---> 0c80cf4e262f 20:15:34 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 20:15:34 ---> 053ff0d3e452 20:15:34 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 20:15:34 ---> 05dcc4494eab 20:15:34 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:15:34 ---> a4cfd76df735 20:15:34 Step 18/23 : EXPOSE 59901 20:15:34 ---> Running in fa8a977798fa 20:15:34 Removing intermediate container fa8a977798fa 20:15:34 ---> 354f4e1ca6a0 20:15:34 Step 19/23 : ENTRYPOINT ["/device-modbus"] 20:15:34 ---> Running in 831aeadf4a7b 20:15:34 Removing intermediate container 831aeadf4a7b 20:15:34 ---> 91a94c4c1c0e 20:15:34 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:15:34 ---> Running in e4fd0a491699 20:15:35 Removing intermediate container e4fd0a491699 20:15:35 ---> ba382445b044 20:15:35 Step 21/23 : LABEL arch=amd64 20:15:35 ---> Running in 2be65cff46d5 20:15:35 Removing intermediate container 2be65cff46d5 20:15:35 ---> da0abaacb2be 20:15:35 Step 22/23 : LABEL git_sha=111b0946ec5749ca592e50224ec8488a26173b9a 20:15:35 ---> Running in 5e12f367d4b4 20:15:35 Removing intermediate container 5e12f367d4b4 20:15:35 ---> 2260fe3427f1 20:15:35 Step 23/23 : LABEL version=2.2.0-dev.4 20:15:35 ---> Running in 39d71bcb6638 20:15:35 Removing intermediate container 39d71bcb6638 20:15:35 ---> 56b25bd74147 20:15:35 [Warning] One or more build-args [ARCH] were not consumed 20:15:35 Successfully built 56b25bd74147 20:15:35 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:35 provisioning config files... 20:15:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5087661425201689226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:35 ---> docker-login.sh 20:15:35 nexus3.edgexfoundry.org:10001 20:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:35 Configure a credential helper to remove this warning. See 20:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:35 20:15:35 Login Succeeded 20:15:35 nexus3.edgexfoundry.org:10002 20:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:36 Configure a credential helper to remove this warning. See 20:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:36 20:15:36 Login Succeeded 20:15:36 nexus3.edgexfoundry.org:10003 20:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:36 Configure a credential helper to remove this warning. See 20:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:36 20:15:36 Login Succeeded 20:15:36 nexus3.edgexfoundry.org:10004 20:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:36 Configure a credential helper to remove this warning. See 20:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:36 20:15:36 Login Succeeded 20:15:36 docker.io 20:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:36 Configure a credential helper to remove this warning. See 20:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:36 20:15:36 Login Succeeded 20:15:36 ---> docker-login.sh ends [Pipeline] } 20:15:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:15:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:36 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 20:15:36 111b0946ec5749ca592e50224ec8488a26173b9a 20:15:36 latest 20:15:36 2.2.0-dev.4 20:15:36 111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 20:15:36 main 20:15:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:15:37 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] isUnix [Pipeline] sh 20:15:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a 20:15:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:15:37 97b8a33daf5d: Preparing 20:15:37 5998ffbe3b4b: Preparing 20:15:37 59882dc804e0: Preparing 20:15:37 33c5384a8e46: Preparing 20:15:37 65dc795b348d: Preparing 20:15:37 1a058d5342cc: Preparing 20:15:37 1a058d5342cc: Waiting 20:15:37 97b8a33daf5d: Pushed 20:15:37 65dc795b348d: Pushed 20:15:37 1a058d5342cc: Layer already exists 20:15:37 5998ffbe3b4b: Pushed 20:15:37 33c5384a8e46: Pushed 20:15:38 59882dc804e0: Pushed 20:15:38 111b0946ec5749ca592e50224ec8488a26173b9a: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] isUnix [Pipeline] sh 20:15:38 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 20:15:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 20:15:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:15:39 97b8a33daf5d: Preparing 20:15:39 5998ffbe3b4b: Preparing 20:15:39 59882dc804e0: Preparing 20:15:39 33c5384a8e46: Preparing 20:15:39 65dc795b348d: Preparing 20:15:39 1a058d5342cc: Preparing 20:15:39 1a058d5342cc: Waiting 20:15:39 65dc795b348d: Layer already exists 20:15:39 59882dc804e0: Layer already exists 20:15:39 97b8a33daf5d: Layer already exists 20:15:39 33c5384a8e46: Layer already exists 20:15:39 5998ffbe3b4b: Layer already exists 20:15:39 1a058d5342cc: Layer already exists 20:15:39 latest: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] isUnix [Pipeline] sh 20:15:39 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 20:15:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.4 20:15:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:15:39 97b8a33daf5d: Preparing 20:15:39 5998ffbe3b4b: Preparing 20:15:39 59882dc804e0: Preparing 20:15:39 33c5384a8e46: Preparing 20:15:39 65dc795b348d: Preparing 20:15:39 1a058d5342cc: Preparing 20:15:39 1a058d5342cc: Waiting 20:15:39 33c5384a8e46: Layer already exists 20:15:39 5998ffbe3b4b: Layer already exists 20:15:39 65dc795b348d: Layer already exists 20:15:39 97b8a33daf5d: Layer already exists 20:15:39 59882dc804e0: Layer already exists 20:15:39 1a058d5342cc: Layer already exists 20:15:39 2.2.0-dev.4: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] isUnix [Pipeline] sh 20:15:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 20:15:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 20:15:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:15:40 97b8a33daf5d: Preparing 20:15:40 5998ffbe3b4b: Preparing 20:15:40 59882dc804e0: Preparing 20:15:40 33c5384a8e46: Preparing 20:15:40 65dc795b348d: Preparing 20:15:40 1a058d5342cc: Preparing 20:15:40 1a058d5342cc: Waiting 20:15:40 65dc795b348d: Layer already exists 20:15:40 59882dc804e0: Layer already exists 20:15:40 97b8a33daf5d: Layer already exists 20:15:40 5998ffbe3b4b: Layer already exists 20:15:40 33c5384a8e46: Layer already exists 20:15:40 1a058d5342cc: Layer already exists 20:15:40 111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] isUnix [Pipeline] sh 20:15:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 20:15:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 20:15:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:15:40 97b8a33daf5d: Preparing 20:15:40 5998ffbe3b4b: Preparing 20:15:40 59882dc804e0: Preparing 20:15:40 33c5384a8e46: Preparing 20:15:40 65dc795b348d: Preparing 20:15:40 1a058d5342cc: Preparing 20:15:40 1a058d5342cc: Waiting 20:15:40 59882dc804e0: Layer already exists 20:15:40 5998ffbe3b4b: Layer already exists 20:15:40 65dc795b348d: Layer already exists 20:15:40 97b8a33daf5d: Layer already exists 20:15:40 33c5384a8e46: Layer already exists 20:15:40 1a058d5342cc: Layer already exists 20:15:40 main: digest: sha256:e3fb2f7bfc3a4498e9267fc79645f2d4dcc2a69f05f8c1028bc7b9b8ca9199d9 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:15:40 ===================================================== [Pipeline] echo 20:15:41 taggedImages: 20:15:41 - nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a 20:15:41 - nexus3.edgexfoundry.org:10004/device-modbus:latest 20:15:41 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.4 20:15:41 - nexus3.edgexfoundry.org:10004/device-modbus:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 20:15:41 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:15:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:41 20:15:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:15:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:41 latest: Pulling from edgex-lftools-log-publisher 20:15:41 b4d181a07f80: Pulling fs layer 20:15:41 a1111a8f2ec3: Pulling fs layer 20:15:41 ed53099fbce6: Pulling fs layer 20:15:41 dc539afda2c1: Pulling fs layer 20:15:41 77bc0d833cb6: Pulling fs layer 20:15:41 9065ff56babe: Pulling fs layer 20:15:41 d287ab97295c: Pulling fs layer 20:15:41 77bc0d833cb6: Waiting 20:15:41 9065ff56babe: Waiting 20:15:41 d287ab97295c: Waiting 20:15:41 dc539afda2c1: Waiting 20:15:41 a1111a8f2ec3: Verifying Checksum 20:15:41 a1111a8f2ec3: Download complete 20:15:41 dc539afda2c1: Verifying Checksum 20:15:41 dc539afda2c1: Download complete 20:15:42 ed53099fbce6: Verifying Checksum 20:15:42 ed53099fbce6: Download complete 20:15:42 9065ff56babe: Verifying Checksum 20:15:42 9065ff56babe: Download complete 20:15:42 77bc0d833cb6: Verifying Checksum 20:15:42 77bc0d833cb6: Download complete 20:15:42 b4d181a07f80: Verifying Checksum 20:15:42 b4d181a07f80: Download complete 20:15:42 d287ab97295c: Verifying Checksum 20:15:42 d287ab97295c: Download complete 20:15:43 b4d181a07f80: Pull complete 20:15:43 a1111a8f2ec3: Pull complete 20:15:44 ed53099fbce6: Pull complete 20:15:44 dc539afda2c1: Pull complete 20:15:44 77bc0d833cb6: Pull complete 20:15:44 9065ff56babe: Pull complete 20:15:50 d287ab97295c: Pull complete 20:15:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:15:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:15:50 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:15: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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 20:15:54 $ docker top c63c936f516352c97bf46a8d8200d9e26d7347298f81cff52dd3d0ae1ec64b3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:54 ---> job-cost.sh 20:15:54 lf-activate-venv: SKIPPING 20:15:54 INFO: No Stack... 20:15:55 INFO: Retrieving Pricing Info for: v3-standard-2 20:15:55 INFO: Archiving Costs [Pipeline] sh 20:15:55 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 20:15:55 + cut -d, -f6 [Pipeline] lock 20:15:55 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] 20:15:55 Resource [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] did not exist. Created. 20:15:55 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:56 + echo total: 0.05999999865889549 [Pipeline] stash 20:15:56 Stashed 1 file(s) [Pipeline] } 20:15:56 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:56 $ docker stop --time=1 c63c936f516352c97bf46a8d8200d9e26d7347298f81cff52dd3d0ae1ec64b3a 20:15:57 $ docker rm -f c63c936f516352c97bf46a8d8200d9e26d7347298f81cff52dd3d0ae1ec64b3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:16:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2096 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 20:16:24 Running in /w/workspace/device-modbus-go/21 [Pipeline] { [Pipeline] checkout 20:16:24 Selected Git installation does not exist. Using Default 20:16:24 The recommended git tool is: NONE 20:16:30 using credential edgex-jenkins-ssh 20:16:30 Cloning the remote Git repository 20:16:30 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:16:30 > git init /w/workspace/device-modbus-go/21 # timeout=10 20:16:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:16:30 > git --version # timeout=10 20:16:30 > git --version # 'git version 2.17.1' 20:16:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:16:32 Avoid second fetch 20:16:32 Checking out Revision 111b0946ec5749ca592e50224ec8488a26173b9a (main) 20:16:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:16:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:16:32 > git config core.sparsecheckout # timeout=10 20:16:32 > git checkout -f 111b0946ec5749ca592e50224ec8488a26173b9a # timeout=10 20:16:36 Commit message: "Merge pull request #306 from ernestojeda/go-1_17-dockerfile-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:16:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:16:37 % Total % Received % Xferd Average Speed Time Time Time Current 20:16:37 Dload Upload Total Spent Left Speed 20:16:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh 20:16:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:16:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:16:38 + sudo tee /etc/docker/daemon.new 20:16:38 { 20:16:38 "registry-mirrors": [ 20:16:38 "https://nexus3.edgexfoundry.org:10001" 20:16:38 ], 20:16:38 "bip": "10.250.0.254/24", 20:16:38 "hosts": [ 20:16:38 "tcp://0.0.0.0:5555", 20:16:38 "unix:///var/run/docker.sock" 20:16:38 ], 20:16:38 "mtu": 1458, 20:16:38 "selinux-enabled": true, 20:16:38 "seccomp-profile": "/etc/docker/seccomp.json" 20:16:38 } [Pipeline] sh 20:16:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:16:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:57 provisioning config files... 20:16:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/21@tmp/config6208605740769461582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:58 ---> docker-login.sh 20:16:58 nexus3.edgexfoundry.org:10001 20:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:59 Configure a credential helper to remove this warning. See 20:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:59 20:16:59 Login Succeeded 20:16:59 nexus3.edgexfoundry.org:10002 20:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:59 Configure a credential helper to remove this warning. See 20:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:59 20:16:59 Login Succeeded 20:16:59 nexus3.edgexfoundry.org:10003 20:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:00 Configure a credential helper to remove this warning. See 20:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:00 20:17:00 Login Succeeded 20:17:00 nexus3.edgexfoundry.org:10004 20:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:00 Configure a credential helper to remove this warning. See 20:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:00 20:17:00 Login Succeeded 20:17:00 docker.io 20:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:01 Configure a credential helper to remove this warning. See 20:17:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:01 20:17:01 Login Succeeded 20:17:01 ---> docker-login.sh ends [Pipeline] } 20:17:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:17:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:01 ========================================================= 20:17:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:17:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:17:02 + 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 . 20:17:02 Sending build context to Docker daemon 2.973MB 20:17:02 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 20:17:02 Step 2/10 : FROM ${BASE} AS builder 20:17:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:17:02 9b3977197b4f: Pulling fs layer 20:17:02 1a89e8eeedd5: Pulling fs layer 20:17:02 94645a83ff95: Pulling fs layer 20:17:02 3f3a8bcf1eab: Pulling fs layer 20:17:02 0c92f367c5e7: Pulling fs layer 20:17:02 4b8299f9d1f4: Pulling fs layer 20:17:02 9a6b49a46696: Pulling fs layer 20:17:02 cf05db05a679: Pulling fs layer 20:17:02 4b8299f9d1f4: Waiting 20:17:02 9a6b49a46696: Waiting 20:17:02 cf05db05a679: Waiting 20:17:02 3f3a8bcf1eab: Waiting 20:17:02 0c92f367c5e7: Waiting 20:17:02 94645a83ff95: Verifying Checksum 20:17:02 94645a83ff95: Download complete 20:17:02 1a89e8eeedd5: Verifying Checksum 20:17:02 1a89e8eeedd5: Download complete 20:17:02 0c92f367c5e7: Download complete 20:17:02 4b8299f9d1f4: Verifying Checksum 20:17:02 4b8299f9d1f4: Download complete 20:17:02 9b3977197b4f: Verifying Checksum 20:17:02 9a6b49a46696: Verifying Checksum 20:17:02 9a6b49a46696: Download complete 20:17:03 9b3977197b4f: Pull complete 20:17:04 1a89e8eeedd5: Pull complete 20:17:04 94645a83ff95: Pull complete 20:17:04 cf05db05a679: Verifying Checksum 20:17:04 cf05db05a679: Download complete 20:17:05 3f3a8bcf1eab: Verifying Checksum 20:17:05 3f3a8bcf1eab: Download complete 20:17:17 3f3a8bcf1eab: Pull complete 20:17:17 0c92f367c5e7: Pull complete 20:17:17 4b8299f9d1f4: Pull complete 20:17:17 9a6b49a46696: Pull complete 20:17:23 cf05db05a679: Pull complete 20:17:23 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 20:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:17:23 ---> 0ccda1f7e2ee 20:17:23 Step 3/10 : ARG MAKE='make build' 20:17:24 ---> Running in 7584e103d48e 20:17:25 Removing intermediate container 7584e103d48e 20:17:25 ---> de8dc3c1c4e2 20:17:25 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:17:25 ---> Running in 5b88621112e3 20:17:27 Removing intermediate container 5b88621112e3 20:17:27 ---> 813ad8634e12 20:17:27 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:17:27 ---> Running in 49decd54e3e3 20:17:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:17:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:17:30 (1/8) Installing openssh-keygen (8.8_p1-r1) 20:17:30 (2/8) Installing libedit (20210910.3.1-r0) 20:17:30 (3/8) Installing openssh-client-common (8.8_p1-r1) 20:17:30 (4/8) Installing openssh-client-default (8.8_p1-r1) 20:17:30 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 20:17:31 (6/8) Installing openssh-server-common (8.8_p1-r1) 20:17:31 (7/8) Installing openssh-server (8.8_p1-r1) 20:17:31 (8/8) Installing openssh (8.8_p1-r1) 20:17:31 Executing busybox-1.34.1-r3.trigger 20:17:31 OK: 226 MiB in 60 packages 20:17:32 Removing intermediate container 49decd54e3e3 20:17:32 ---> 0e74a23d275b 20:17:32 Step 6/10 : WORKDIR /device-modbus-go 20:17:32 ---> Running in 88a04b5b02a8 20:17:33 Removing intermediate container 88a04b5b02a8 20:17:33 ---> b3d93b05f178 20:17:33 Step 7/10 : COPY go.mod vendor* ./ 20:17:33 ---> 4924752d7ff5 20:17:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:33 ---> Running in d353a9c24410 20:18:55 Removing intermediate container d353a9c24410 20:18:55 ---> 9543c5612e6f 20:18:55 Step 9/10 : COPY . . 20:18:55 ---> 350794b9cee5 20:18:55 Step 10/10 : RUN ${MAKE} 20:18:55 ---> Running in 481f07ca8045 20:18:55 noop 20:18:55 Removing intermediate container 481f07ca8045 20:18:55 ---> e15e969627eb 20:18:55 Successfully built e15e969627eb 20:18:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:18:55 + docker inspect -f . ci-base-image-arm64 20:18:55 . [Pipeline] withDockerContainer 20:18:56 prd-ubuntu18.04-docker-arm64-4c-16g-2096 does not seem to be running inside a container 20:18:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/21 -v /w/workspace/device-modbus-go/21:/w/workspace/device-modbus-go/21:rw,z -v /w/workspace/device-modbus-go/21@tmp:/w/workspace/device-modbus-go/21@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 ******** ci-base-image-arm64 cat 20:18:57 $ docker top 1884ff6e68c38f71a1ca02c74bf5cc4b080db870d05296855d1e6f41decfa6c0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:58 + go version 20:18:58 go version go1.17.6 linux/arm64 [Pipeline] } 20:18:58 $ docker stop --time=1 1884ff6e68c38f71a1ca02c74bf5cc4b080db870d05296855d1e6f41decfa6c0 20:19:00 $ docker rm -f 1884ff6e68c38f71a1ca02c74bf5cc4b080db870d05296855d1e6f41decfa6c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:19:01 + docker inspect -f . ci-base-image-arm64 20:19:01 . [Pipeline] withDockerContainer 20:19:01 prd-ubuntu18.04-docker-arm64-4c-16g-2096 does not seem to be running inside a container 20:19:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/21 -v /w/workspace/device-modbus-go/21:/w/workspace/device-modbus-go/21:rw,z -v /w/workspace/device-modbus-go/21@tmp:/w/workspace/device-modbus-go/21@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 ******** ci-base-image-arm64 cat 20:19:02 $ docker top bd813d611a2cfe05fca0bc5f04ba498ed9d10937ac3edb83bbf9186902e98df3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:19:03 + make test 20:19:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:19:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:20:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:20:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 46.6% of statements 20:20:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:20:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:20:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:20:29 ./bin/test-attribution-txt.sh [Pipeline] echo 20:20:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:20:29 $ docker stop --time=1 bd813d611a2cfe05fca0bc5f04ba498ed9d10937ac3edb83bbf9186902e98df3 20:20:30 $ docker rm -f bd813d611a2cfe05fca0bc5f04ba498ed9d10937ac3edb83bbf9186902e98df3 [Pipeline] // withDockerContainer [Pipeline] sh 20:20:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:20:31 Warning: overwriting stash ‘coverage-report’ 20:20:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:20:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:20:33 + ls -al . 20:20:33 total 184 20:20:33 drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 20:20 . 20:20:33 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:16 .. 20:20:33 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 20:16 .dockerignore 20:20:33 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:16 .git 20:20:33 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:16 .github 20:20:33 -rw-rw-r-- 1 jenkins jenkins 331 Jan 19 20:16 .gitignore 20:20:33 -rw-rw-r-- 1 jenkins jenkins 8010 Jan 19 20:16 Attribution.txt 20:20:33 -rw-rw-r-- 1 jenkins jenkins 6038 Jan 19 20:16 CHANGELOG.md 20:20:33 -rw-rw-r-- 1 jenkins jenkins 1546 Jan 19 20:16 Dockerfile 20:20:33 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 20:16 GOVERNANCE.md 20:20:33 -rw-rw-r-- 1 jenkins jenkins 679 Jan 19 20:16 Jenkinsfile 20:20:33 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 20:16 LICENSE 20:20:33 -rw-rw-r-- 1 jenkins jenkins 1009 Jan 19 20:16 Makefile 20:20:33 -rw-rw-r-- 1 jenkins jenkins 622 Jan 19 20:16 OWNERS.md 20:20:33 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 19 20:16 README.md 20:20:33 -rw-rw-r-- 1 jenkins jenkins 11 Jan 19 20:13 VERSION 20:20:33 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:16 bin 20:20:33 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:16 cmd 20:20:33 -rw-r--r-- 1 jenkins jenkins 23727 Jan 19 20:20 coverage.out 20:20:33 -rw-rw-r-- 1 jenkins jenkins 300 Jan 19 20:16 go.mod 20:20:33 -rw-rw-r-- 1 jenkins jenkins 49511 Jan 19 20:16 go.sum 20:20:33 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:16 internal 20:20:33 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:16 simulator 20:20:33 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:16 snap 20:20:33 -rw-rw-r-- 1 jenkins jenkins 229 Jan 19 20:16 version.go [Pipeline] isUnix [Pipeline] sh 20:20:33 + 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=111b0946ec5749ca592e50224ec8488a26173b9a --label arch=arm64 --label version=2.2.0-dev.4 . 20:20:33 Sending build context to Docker daemon 2.997MB 20:20:33 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 20:20:34 Step 2/23 : FROM ${BASE} AS builder 20:20:34 ---> e15e969627eb 20:20:34 Step 3/23 : ARG MAKE='make build' 20:20:34 ---> Running in ba3b18908145 20:20:34 Removing intermediate container ba3b18908145 20:20:34 ---> 48c92a1ce0f6 20:20:34 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:20:34 ---> Running in d07cd7b00b28 20:20:36 Removing intermediate container d07cd7b00b28 20:20:36 ---> fd22e3aad6c3 20:20:36 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:20:36 ---> Running in 19d7ac687555 20:20:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:20:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:20:39 OK: 226 MiB in 60 packages 20:20:40 Removing intermediate container 19d7ac687555 20:20:40 ---> 4cc933472bc9 20:20:40 Step 6/23 : WORKDIR /device-modbus-go 20:20:40 ---> Running in 6ec772f5a490 20:20:41 Removing intermediate container 6ec772f5a490 20:20:41 ---> 9922d755de76 20:20:41 Step 7/23 : COPY go.mod vendor* ./ 20:20:41 ---> 19e3f3e1ddd0 20:20:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:20:41 ---> Running in cc202e784b11 20:20:44 Removing intermediate container cc202e784b11 20:20:44 ---> 06015a67c005 20:20:44 Step 9/23 : COPY . . 20:20:45 ---> 7ad029071f61 20:20:45 Step 10/23 : RUN ${MAKE} 20:20:45 ---> Running in 53e25aa37335 20:20:46 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.4" -o cmd/device-modbus ./cmd 20:21:33 Removing intermediate container 53e25aa37335 20:21:33 ---> d08f2dda9eb8 20:21:33 Step 11/23 : FROM alpine:3.14 20:21:33 3.14: Pulling from library/alpine 20:21:33 be307f383ecc: Pulling fs layer 20:21:33 be307f383ecc: Verifying Checksum 20:21:33 be307f383ecc: Download complete 20:21:33 be307f383ecc: Pull complete 20:21:33 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:21:33 Status: Downloaded newer image for alpine:3.14 20:21:33 ---> 5b8b7b635229 20:21:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:21:33 ---> Running in 7eba4cafd5bd 20:21:33 Removing intermediate container 7eba4cafd5bd 20:21:33 ---> 723312614657 20:21:33 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:33 ---> Running in 795bb42d079b 20:21:34 Removing intermediate container 795bb42d079b 20:21:34 ---> d3393b0176f2 20:21:34 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 20:21:34 ---> Running in 97f93a9f6c9a 20:21:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:21:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:21:37 (1/6) Installing dumb-init (1.2.5-r1) 20:21:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:21:37 (3/6) Installing libsodium (1.0.18-r0) 20:21:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:21:38 (5/6) Installing libzmq (4.3.4-r0) 20:21:38 (6/6) Installing zeromq (4.3.4-r0) 20:21:38 Executing busybox-1.33.1-r6.trigger 20:21:38 OK: 8 MiB in 20 packages 20:21:39 Removing intermediate container 97f93a9f6c9a 20:21:39 ---> 79f4d71a276b 20:21:39 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 20:21:40 ---> e7776208d6f9 20:21:40 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 20:21:41 ---> e7134fbf059f 20:21:41 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:21:41 ---> 7afe48d38afd 20:21:41 Step 18/23 : EXPOSE 59901 20:21:41 ---> Running in 4a7ef779c042 20:21:42 Removing intermediate container 4a7ef779c042 20:21:42 ---> 8195e8acfc11 20:21:42 Step 19/23 : ENTRYPOINT ["/device-modbus"] 20:21:42 ---> Running in 320c7c95727d 20:21:42 Removing intermediate container 320c7c95727d 20:21:42 ---> 85b0959d1a31 20:21:42 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:21:42 ---> Running in 38ec6b9f21a0 20:21:43 Removing intermediate container 38ec6b9f21a0 20:21:43 ---> 1a9300a77f1e 20:21:43 Step 21/23 : LABEL arch=arm64 20:21:43 ---> Running in 2d3bb42852fc 20:21:43 Removing intermediate container 2d3bb42852fc 20:21:43 ---> 2538536dec67 20:21:43 Step 22/23 : LABEL git_sha=111b0946ec5749ca592e50224ec8488a26173b9a 20:21:43 ---> Running in 0b47ad2112fc 20:21:43 Removing intermediate container 0b47ad2112fc 20:21:43 ---> 96fe7728d729 20:21:43 Step 23/23 : LABEL version=2.2.0-dev.4 20:21:43 ---> Running in 35c4524c656a 20:21:44 Removing intermediate container 35c4524c656a 20:21:44 ---> 42c0ab1da3cc 20:21:44 [Warning] One or more build-args [ARCH] were not consumed 20:21:44 Successfully built 42c0ab1da3cc 20:21:44 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:44 provisioning config files... 20:21:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/21@tmp/config493881967414214471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:21:45 ---> docker-login.sh 20:21:45 nexus3.edgexfoundry.org:10001 20:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:45 Configure a credential helper to remove this warning. See 20:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:45 20:21:45 Login Succeeded 20:21:45 nexus3.edgexfoundry.org:10002 20:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:45 Configure a credential helper to remove this warning. See 20:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:45 20:21:45 Login Succeeded 20:21:45 nexus3.edgexfoundry.org:10003 20:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:46 Configure a credential helper to remove this warning. See 20:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:46 20:21:46 Login Succeeded 20:21:46 nexus3.edgexfoundry.org:10004 20:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:46 Configure a credential helper to remove this warning. See 20:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:46 20:21:46 Login Succeeded 20:21:46 docker.io 20:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:47 Configure a credential helper to remove this warning. See 20:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:47 20:21:47 Login Succeeded 20:21:47 ---> docker-login.sh ends [Pipeline] } 20:21:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:21:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:21:47 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 20:21:47 111b0946ec5749ca592e50224ec8488a26173b9a 20:21:47 latest 20:21:47 2.2.0-dev.4 20:21:47 111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 20:21:47 main 20:21:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:21:48 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] isUnix [Pipeline] sh 20:21:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a 20:21:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:21:48 a767b1f9e8d4: Preparing 20:21:48 90eec7665b00: Preparing 20:21:48 9dcab88800b0: Preparing 20:21:48 f40a4e5588b8: Preparing 20:21:48 b5bc22d0a7e1: Preparing 20:21:48 62170e181a92: Preparing 20:21:48 62170e181a92: Waiting 20:21:48 90eec7665b00: Pushed 20:21:48 a767b1f9e8d4: Pushed 20:21:48 b5bc22d0a7e1: Pushed 20:21:48 62170e181a92: Layer already exists 20:21:49 f40a4e5588b8: Pushed 20:21:51 9dcab88800b0: Pushed 20:21:51 111b0946ec5749ca592e50224ec8488a26173b9a: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] isUnix [Pipeline] sh 20:21:51 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:21:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:21:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:21:52 a767b1f9e8d4: Preparing 20:21:52 90eec7665b00: Preparing 20:21:52 9dcab88800b0: Preparing 20:21:52 f40a4e5588b8: Preparing 20:21:52 b5bc22d0a7e1: Preparing 20:21:52 62170e181a92: Preparing 20:21:52 62170e181a92: Waiting 20:21:52 f40a4e5588b8: Layer already exists 20:21:52 90eec7665b00: Layer already exists 20:21:52 b5bc22d0a7e1: Layer already exists 20:21:52 a767b1f9e8d4: Layer already exists 20:21:52 9dcab88800b0: Layer already exists 20:21:52 62170e181a92: Layer already exists 20:21:52 latest: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] isUnix [Pipeline] sh 20:21:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 20:21:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.4 20:21:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:21:53 a767b1f9e8d4: Preparing 20:21:53 90eec7665b00: Preparing 20:21:53 9dcab88800b0: Preparing 20:21:53 f40a4e5588b8: Preparing 20:21:53 b5bc22d0a7e1: Preparing 20:21:53 62170e181a92: Preparing 20:21:53 62170e181a92: Waiting 20:21:53 a767b1f9e8d4: Layer already exists 20:21:53 9dcab88800b0: Layer already exists 20:21:53 b5bc22d0a7e1: Layer already exists 20:21:53 90eec7665b00: Layer already exists 20:21:53 f40a4e5588b8: Layer already exists 20:21:53 62170e181a92: Layer already exists 20:21:53 2.2.0-dev.4: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] isUnix [Pipeline] sh 20:21:53 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 20:21:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 20:21:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:21:54 a767b1f9e8d4: Preparing 20:21:54 90eec7665b00: Preparing 20:21:54 9dcab88800b0: Preparing 20:21:54 f40a4e5588b8: Preparing 20:21:54 b5bc22d0a7e1: Preparing 20:21:54 62170e181a92: Preparing 20:21:54 62170e181a92: Waiting 20:21:54 90eec7665b00: Layer already exists 20:21:54 a767b1f9e8d4: Layer already exists 20:21:54 f40a4e5588b8: Layer already exists 20:21:54 b5bc22d0a7e1: Layer already exists 20:21:54 9dcab88800b0: Layer already exists 20:21:54 62170e181a92: Layer already exists 20:21:54 111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] isUnix [Pipeline] sh 20:21:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 20:21:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 20:21:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 20:21:54 a767b1f9e8d4: Preparing 20:21:54 90eec7665b00: Preparing 20:21:54 9dcab88800b0: Preparing 20:21:54 f40a4e5588b8: Preparing 20:21:54 b5bc22d0a7e1: Preparing 20:21:54 62170e181a92: Preparing 20:21:54 62170e181a92: Waiting 20:21:54 f40a4e5588b8: Layer already exists 20:21:54 b5bc22d0a7e1: Layer already exists 20:21:54 a767b1f9e8d4: Layer already exists 20:21:54 9dcab88800b0: Layer already exists 20:21:54 90eec7665b00: Layer already exists 20:21:54 62170e181a92: Layer already exists 20:21:55 main: digest: sha256:b3fa41e0b8b10e81409e55938902bb9b62371b0e0c38a124ae794a459a784553 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:21:55 ===================================================== [Pipeline] echo 20:21:55 taggedImages: 20:21:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a 20:21:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 20:21:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.4 20:21:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:111b0946ec5749ca592e50224ec8488a26173b9a-2.2.0-dev.4 20:21:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:21:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:21:55 20:21:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:21:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:21:56 arm64: Pulling from edgex-lftools-log-publisher 20:21:56 448f6bf000e3: Pulling fs layer 20:21:56 f757da607395: Pulling fs layer 20:21:56 05883995daec: Pulling fs layer 20:21:56 8603b9c90790: Pulling fs layer 20:21:56 1560dd03e051: Pulling fs layer 20:21:56 27f5ce0e4adf: Pulling fs layer 20:21:56 c2d8d7efcc4b: Pulling fs layer 20:21:56 8603b9c90790: Waiting 20:21:56 1560dd03e051: Waiting 20:21:56 27f5ce0e4adf: Waiting 20:21:56 c2d8d7efcc4b: Waiting 20:21:56 f757da607395: Verifying Checksum 20:21:56 f757da607395: Download complete 20:21:56 8603b9c90790: Verifying Checksum 20:21:56 8603b9c90790: Download complete 20:21:56 1560dd03e051: Verifying Checksum 20:21:56 1560dd03e051: Download complete 20:21:56 27f5ce0e4adf: Verifying Checksum 20:21:56 27f5ce0e4adf: Download complete 20:21:56 05883995daec: Verifying Checksum 20:21:56 05883995daec: Download complete 20:21:56 448f6bf000e3: Verifying Checksum 20:21:56 448f6bf000e3: Download complete 20:21:59 c2d8d7efcc4b: Verifying Checksum 20:21:59 c2d8d7efcc4b: Download complete 20:22:00 448f6bf000e3: Pull complete 20:22:00 f757da607395: Pull complete 20:22:02 05883995daec: Pull complete 20:22:02 8603b9c90790: Pull complete 20:22:03 1560dd03e051: Pull complete 20:22:03 27f5ce0e4adf: Pull complete 20:22:18 c2d8d7efcc4b: Pull complete 20:22:18 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:22:18 prd-ubuntu18.04-docker-arm64-4c-16g-2096 does not seem to be running inside a container 20:22:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/21 -v /w/workspace/device-modbus-go/21:/w/workspace/device-modbus-go/21:rw,z -v /w/workspace/device-modbus-go/21@tmp:/w/workspace/device-modbus-go/21@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:arm64 cat 20:22:21 $ docker top 650ba0e79416d8061fb354279efe631b3753de0e543186f39803ba804d02a230 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:22 ---> job-cost.sh 20:22:22 lf-activate-venv: SKIPPING 20:22:22 INFO: No Stack... 20:22:22 INFO: Retrieving Pricing Info for: v3-standard-4 20:22:22 INFO: Archiving Costs [Pipeline] sh 20:22:23 + cat /w/workspace/device-modbus-go/21/archives/cost.csv 20:22:23 + cut -d, -f6 [Pipeline] lock 20:22:23 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] 20:22:23 Resource [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] did not exist. Created. 20:22:23 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:22:24 /w/workspace/device-modbus-go/21@tmp/durable-1acb1259/script.sh: 1: /w/workspace/device-modbus-go/21@tmp/durable-1acb1259/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:22:25 + echo total: 0.10999999940395355 [Pipeline] stash 20:22:25 Warning: overwriting stash ‘stack-cost’ 20:22:25 Stashed 1 file(s) [Pipeline] } 20:22:25 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 20:22:25 $ docker stop --time=1 650ba0e79416d8061fb354279efe631b3753de0e543186f39803ba804d02a230 20:22:26 $ docker rm -f 650ba0e79416d8061fb354279efe631b3753de0e543186f39803ba804d02a230 [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 20:22:27 provisioning config files... 20:22:27 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6118356903461495099tmp [Pipeline] { [Pipeline] sh 20:22:27 + set +x 20:22:27 + curl -s https://codecov.io/bash 20:22:27 + bash -s -- 20:22:27 20:22:27 _____ _ 20:22:27 / ____| | | 20:22:27 | | ___ __| | ___ ___ _____ __ 20:22:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:22:27 | |___| (_) | (_| | __/ (_| (_) \ V / 20:22:27 \_____\___/ \__,_|\___|\___\___/ \_/ 20:22:27 Bash-1.0.6 20:22:27 20:22:27 20:22:27 ==> git version 2.24.4 found 20:22:27 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:22:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:22:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:22:27 ==> Jenkins CI detected. 20:22:27 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 20:22:27 project root: . 20:22:27 --> token set from env 20:22:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:22:27 ==> Running gcov in . (disable via -X gcov) 20:22:27 ==> Python coveragepy not found 20:22:27 ==> Searching for coverage reports in: 20:22:27 + . 20:22:27 -> Found 1 reports 20:22:27 ==> Detecting git/mercurial file structure 20:22:27 ==> Reading reports 20:22:27 + ./coverage.out bytes=23727 20:22:27 ==> Appending adjustments 20:22:27 https://docs.codecov.io/docs/fixing-reports 20:22:27 + Found adjustments 20:22:27 ==> Gzipping contents 20:22:27 4.0K /tmp/codecov.Ivrsd9.gz 20:22:27 ==> Uploading reports 20:22:27 url: https://codecov.io 20:22:27 query: branch=main&commit=111b0946ec5749ca592e50224ec8488a26173b9a&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:22:27 -> Pinging Codecov 20:22:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=111b0946ec5749ca592e50224ec8488a26173b9a&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:22:28 -> Uploading to 20:22:28 https://storage.googleapis.com/codecov/v4/raw/2022-01-19/55DBCA73C666E3227836607328DD7E49/111b0946ec5749ca592e50224ec8488a26173b9a/32f673a4-74ec-4317-937e-60944ade8ba1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T202227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d71a2ae1999fe62c12c8f755608d868781be9526cfb0bf189807a885c953414 20:22:28 % Total % Received % Xferd Average Speed Time Time Time Current 20:22:28 Dload Upload Total Spent Left Speed 20:22:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4013 0 0 100 4013 0 13844 --:--:-- --:--:-- --:--:-- 13885 20:22:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] } 20:22:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:22:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:22:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:22:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:22:28 20:22:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:22:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:22:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:22:29 188c0c94c7c5: Pulling fs layer 20:22:29 0ef7d3d256c8: Pulling fs layer 20:22:29 de9db76c5a1d: Pulling fs layer 20:22:29 0eba1c9be4d2: Pulling fs layer 20:22:29 0d57e429df01: Pulling fs layer 20:22:29 4e4be7b47b0d: Pulling fs layer 20:22:29 e1f770b5df2f: Pulling fs layer 20:22:29 85a0685a4137: Pulling fs layer 20:22:29 0eba1c9be4d2: Waiting 20:22:29 0d57e429df01: Waiting 20:22:29 4e4be7b47b0d: Waiting 20:22:29 e1f770b5df2f: Waiting 20:22:29 85a0685a4137: Waiting 20:22:29 de9db76c5a1d: Verifying Checksum 20:22:29 de9db76c5a1d: Download complete 20:22:29 0ef7d3d256c8: Verifying Checksum 20:22:29 0ef7d3d256c8: Download complete 20:22:29 0d57e429df01: Verifying Checksum 20:22:29 0d57e429df01: Download complete 20:22:29 4e4be7b47b0d: Verifying Checksum 20:22:29 4e4be7b47b0d: Download complete 20:22:29 188c0c94c7c5: Verifying Checksum 20:22:29 188c0c94c7c5: Download complete 20:22:29 188c0c94c7c5: Pull complete 20:22:29 e1f770b5df2f: Verifying Checksum 20:22:29 e1f770b5df2f: Download complete 20:22:29 0ef7d3d256c8: Pull complete 20:22:29 de9db76c5a1d: Pull complete 20:22:30 0eba1c9be4d2: Download complete 20:22:30 85a0685a4137: Verifying Checksum 20:22:30 85a0685a4137: Download complete 20:22:34 0eba1c9be4d2: Pull complete 20:22:34 0d57e429df01: Pull complete 20:22:34 4e4be7b47b0d: Pull complete 20:22:34 e1f770b5df2f: Pull complete 20:22:38 85a0685a4137: Pull complete 20:22:38 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:22:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:22:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:22:38 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:22:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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-devops/edgex-snyk-go:1.410.4 cat 20:22:40 $ docker top 2e8280a8778e7635ecf629475a8334b256603843e133120c3f3ac372183adea4 -eo pid,comm [Pipeline] { [Pipeline] echo 20:22:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:22:41 + set -o pipefail 20:22:41 + snyk monitor '--org=edgex-jenkins' 20:22:46 20:22:46 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 20:22:46 20:22:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/87f76acd-2589-47be-8b0e-32dee189b422 20:22:46 20:22:46 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 20:22:46 20:22:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:22:46 20:22:46 [Pipeline] } 20:22:46 $ docker stop --time=1 2e8280a8778e7635ecf629475a8334b256603843e133120c3f3ac372183adea4 20:22:48 $ docker rm -f 2e8280a8778e7635ecf629475a8334b256603843e133120c3f3ac372183adea4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:22:49 + git log --format=format:%s -1 111b0946ec5749ca592e50224ec8488a26173b9a [Pipeline] sh 20:22:49 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:22:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:22:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:22:49 . [Pipeline] withDockerContainer 20:22:49 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:22:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:22:50 $ docker top 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:22:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:22:50 [ssh-agent] Looking for ssh-agent implementation... 20:22:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:22:50 $ docker exec 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc ssh-agent 20:22:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOJHcgf/agent.15 20:22:50 SSH_AGENT_PID=22 20:22:50 Running ssh-add (command line suppressed) 20:22:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2562563424437565230.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2562563424437565230.key) 20:22:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:22:50 + git semver tag 20:22:50 # -> Open(): unable to determine branch for HEAD 20:22:50 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 20:22:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 20:22:50 # $SEMVER_REMOTE_NAME = origin 20:22:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:22:50 # $SEMVER_USER_NAME = edgex-jenkins 20:22:50 # $SEMVER_BRANCH = main 20:22:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:22:50 # 111b0946ec5749ca592e50224ec8488a26173b9a HEAD 20:22:50 # -> Force: false 20:22:50 # 3dbbc5b96b075efc44b470c5b0ff0e3c6b42992e refs/tags/v2.2.0-dev.4 [Pipeline] } 20:22:50 $ docker exec --env ******** --env ******** 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc ssh-agent -k 20:22:51 unset SSH_AUTH_SOCK; 20:22:51 unset SSH_AGENT_PID; 20:22:51 echo Agent pid 22 killed; 20:22:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:22:51 + git semver [Pipeline] } 20:22:51 $ docker stop --time=1 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc 20:22:52 $ docker rm -f 8ae873b4b2ed4cd5f33f935153315ac54091b798ebbd0355c39c18ba4ec99dfc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:22:52 20:22:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:22:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:22:53 0.23.1-centos7: Pulling from edgex-lftools 20:22:53 ab5ef0e58194: Pulling fs layer 20:22:53 9712f1f96733: Pulling fs layer 20:22:53 63f879dbbcfc: Pulling fs layer 20:22:53 0d9ebad4ef96: Pulling fs layer 20:22:53 e9a5061849ea: Pulling fs layer 20:22:53 d747dcd14b5f: Pulling fs layer 20:22:53 2de7ff778b66: Pulling fs layer 20:22:53 0d9ebad4ef96: Waiting 20:22:53 e9a5061849ea: Waiting 20:22:53 2de7ff778b66: Waiting 20:22:53 d747dcd14b5f: Waiting 20:22:53 9712f1f96733: Verifying Checksum 20:22:53 9712f1f96733: Download complete 20:22:53 63f879dbbcfc: Verifying Checksum 20:22:53 63f879dbbcfc: Download complete 20:22:53 ab5ef0e58194: Verifying Checksum 20:22:53 ab5ef0e58194: Download complete 20:22:53 0d9ebad4ef96: Verifying Checksum 20:22:53 0d9ebad4ef96: Download complete 20:22:53 d747dcd14b5f: Verifying Checksum 20:22:53 d747dcd14b5f: Download complete 20:22:53 e9a5061849ea: Verifying Checksum 20:22:53 e9a5061849ea: Download complete 20:22:54 2de7ff778b66: Verifying Checksum 20:22:54 2de7ff778b66: Download complete 20:22:56 ab5ef0e58194: Pull complete 20:22:56 9712f1f96733: Pull complete 20:22:57 63f879dbbcfc: Pull complete 20:23:01 0d9ebad4ef96: Pull complete 20:23:01 e9a5061849ea: Pull complete 20:23:01 d747dcd14b5f: Pull complete 20:23:02 2de7ff778b66: Pull complete 20:23:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:23:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:23:02 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:23:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:23:05 $ docker top 3a80f91fbba23debe627ae029b4cc7b9b87f4f4eb6230c044af80d54fe701b55 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:23:05 provisioning config files... 20:23:05 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3417222519507405747tmp 20:23:05 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config236300733584197470tmp 20:23:05 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2980151482600867006tmp [Pipeline] { [Pipeline] echo 20:23:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:23:06 ---> sigul-configuration.sh 20:23:06 gpg: directory `/root/.gnupg' created 20:23:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:23:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:23:06 gpg: keyring `/root/.gnupg/secring.gpg' created 20:23:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:23:06 gpg: CAST5 encrypted data 20:23:06 gpg: encrypted with 1 passphrase 20:23:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:23:06 + mkdir /home/jenkins 20:23:06 + mkdir /home/jenkins/sigul [Pipeline] sh 20:23:06 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:23:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:23:07 ---> sigul-install.sh 20:23:07 Sigul already installed; skipping installation. [Pipeline] sh 20:23:07 + git tag --list 20:23:07 0.7.1 20:23:07 v1.0.0 20:23:07 v1.1.0 20:23:07 v1.1.1 20:23:07 v1.2.2 20:23:07 v1.3.0 20:23:07 v1.3.1 20:23:07 v2.0.0 20:23:07 v2.0.1-dev.1 20:23:07 v2.0.1-dev.10 20:23:07 v2.0.1-dev.11 20:23:07 v2.0.1-dev.12 20:23:07 v2.0.1-dev.2 20:23:07 v2.0.1-dev.3 20:23:07 v2.0.1-dev.4 20:23:07 v2.0.1-dev.5 20:23:07 v2.0.1-dev.6 20:23:07 v2.0.1-dev.7 20:23:07 v2.0.1-dev.8 20:23:07 v2.0.1-dev.9 20:23:07 v2.1.0 20:23:07 v2.2.0-dev.1 20:23:07 v2.2.0-dev.2 20:23:07 v2.2.0-dev.3 20:23:07 v2.2.0-dev.4 [Pipeline] sh 20:23:07 + lftools sign git-tag v2.2.0-dev.4 20:23:08 Signing Git tag with Sigul... 20:23:08 Signing v2.2.0-dev.4 [Pipeline] echo 20:23:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:23:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:23:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:23:08 $ docker stop --time=1 3a80f91fbba23debe627ae029b4cc7b9b87f4f4eb6230c044af80d54fe701b55 20:23:09 $ docker rm -f 3a80f91fbba23debe627ae029b4cc7b9b87f4f4eb6230c044af80d54fe701b55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:23:10 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:23:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:10 . [Pipeline] withDockerContainer 20:23:10 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:23:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:23:11 $ docker top 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:11 [ssh-agent] Looking for ssh-agent implementation... 20:23:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:11 $ docker exec 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 ssh-agent 20:23:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgJgnjp/agent.14 20:23:11 SSH_AGENT_PID=20 20:23:11 Running ssh-add (command line suppressed) 20:23:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6632667217826044027.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6632667217826044027.key) 20:23:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:11 + git semver bump pre 20:23:11 # -> Open(): unable to determine branch for HEAD 20:23:11 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 20:23:11 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 20:23:11 # $SEMVER_REMOTE_NAME = origin 20:23:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:23:11 # $SEMVER_USER_NAME = edgex-jenkins 20:23:11 # $SEMVER_BRANCH = main 20:23:11 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:23:11 2.2.0-dev.5 [Pipeline] } 20:23:11 $ docker exec --env ******** --env ******** 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 ssh-agent -k 20:23:12 unset SSH_AUTH_SOCK; 20:23:12 unset SSH_AGENT_PID; 20:23:12 echo Agent pid 20 killed; 20:23:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:23:12 + git semver [Pipeline] } 20:23:12 $ docker stop --time=1 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 20:23:13 $ docker rm -f 3c99cf1e0176727251f0d74d651dd08b8e8d6575e85561c2b457cd854f20b693 [Pipeline] // withDockerContainer [Pipeline] sh 20:23:13 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:23:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:14 . [Pipeline] withDockerContainer 20:23:14 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:23:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:23:14 $ docker top 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:14 [ssh-agent] Looking for ssh-agent implementation... 20:23:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:14 $ docker exec 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 ssh-agent 20:23:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkpGmMA/agent.13 20:23:14 SSH_AGENT_PID=19 20:23:14 Running ssh-add (command line suppressed) 20:23:15 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3976993921411053354.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3976993921411053354.key) 20:23:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:15 + git semver push 20:23:15 # -> Open(): unable to determine branch for HEAD 20:23:15 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 20:23:15 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 20:23:15 # $SEMVER_REMOTE_NAME = origin 20:23:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:23:15 # $SEMVER_USER_NAME = edgex-jenkins 20:23:15 # $SEMVER_BRANCH = main 20:23:15 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 20:23:17 $ docker exec --env ******** --env ******** 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 ssh-agent -k 20:23:17 unset SSH_AUTH_SOCK; 20:23:17 unset SSH_AGENT_PID; 20:23:17 echo Agent pid 19 killed; 20:23:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:23:17 + git semver [Pipeline] } 20:23:17 $ docker stop --time=1 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 20:23:18 $ docker rm -f 6919f84bef3b23c198433cea958aab6731d095f223e0c6065d14ee40eece4344 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 20:23:19 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' 20:23:19 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:23:19 total 8 20:23:19 drwxr-xr-x. 3 root root 34 Jan 19 20:15 . 20:23:19 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 19 20:23 .. 20:23:19 drwxr-xr-x. 2 root root 6 Jan 19 20:15 cost 20:23:19 -rw-r--r--. 1 root root 86 Jan 19 20:15 cost.csv 20:23:19 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 20:23:19 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 20:23:19 total 8 20:23:19 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 20:15 . 20:23:19 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 19 20:23 .. 20:23:19 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 20:15 cost 20:23:19 -rw-r--r--. 1 jenkins jenkins 86 Jan 19 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:23:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:23:20 ---> package-listing.sh 20:23:20 ++ facter osfamily 20:23:20 ++ tr '[:upper:]' '[:lower:]' 20:23:20 + OS_FAMILY=redhat 20:23:20 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 20:23:20 + START_PACKAGES=/tmp/packages_start.txt 20:23:20 + END_PACKAGES=/tmp/packages_end.txt 20:23:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:23:20 + PACKAGES=/tmp/packages_start.txt 20:23:20 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:23:20 + PACKAGES=/tmp/packages_end.txt 20:23:20 + case "${OS_FAMILY}" in 20:23:20 + rpm -qa 20:23:20 + sort 20:23:21 + '[' -f /tmp/packages_start.txt ']' 20:23:21 + '[' -f /tmp/packages_end.txt ']' 20:23:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:23:21 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 20:23:21 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 20:23:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 20:23:21 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:23:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:22 . [Pipeline] withDockerContainer 20:23:22 prd-centos7-docker-4c-2g-2088 does not seem to be running inside a container 20:23:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:23:22 $ docker top aba7bb329ca2766f4b37cd906cff60b278616310058bafa290276d1d7f6e690c -eo pid,comm [Pipeline] { [Pipeline] sh 20:23:22 + touch /tmp/pre-build-complete [Pipeline] sh 20:23:23 + mkdir -p /var/log/sysstat [Pipeline] sh 20:23:23 + ls /var/log/sa-host 20:23:23 + sadf -c /var/log/sa-host/sa17 20:23:23 file_magic: OK 20:23:23 HZ: Using current value: 100 20:23:23 file_header: OK 20:23:23 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:23:23 Statistics: 20:23:23 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:23:23 File successfully converted to sysstat format version 12.0.3 20:23:23 + sadf -c /var/log/sa-host/sa19 20:23:23 file_magic: OK 20:23:23 HZ: Using current value: 100 20:23:23 file_header: OK 20:23:23 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:23:23 Statistics: 20:23:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:23:23 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:23:23 provisioning config files... 20:23:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2339413469702522951tmp [Pipeline] { [Pipeline] echo 20:23:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:23:23 ---> create-netrc.sh [Pipeline] } 20:23:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:23:24 ---> python-tools-install.sh [Pipeline] echo 20:23:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:23:24 ---> sudo-logs.sh 20:23:24 Archiving 'sudo' log.. 20:23:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-2088.novalocal: Name or service not known 20:23:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-2088.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:23:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:23:24 ---> job-cost.sh 20:23:24 lf-activate-venv: SKIPPING 20:23:24 DEBUG: total: 0.05999999865889549 20:23:24 INFO: Retrieving Stack Cost... 20:23:25 INFO: Retrieving Pricing Info for: v3-standard-2 20:23:25 INFO: Archiving Costs [Pipeline] echo 20:23:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:23:25 ---> logs-deploy.sh 20:23:25 lf-activate-venv: SKIPPING 20:23:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/21 20:23:25 INFO: archiving workspace using pattern(s): 20:23:26 Archives upload complete. 20:23:26 INFO: archiving logs to Nexus