Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f99c6f6f95ddf2a2695655a7f109a71384649ab 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-ssh6299299383057405928.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8639215943974852945.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/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-ssh12261854323877226379.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10203132538137961468.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/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-ssh10541814600797752326.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Could not update commit status. Message: 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: 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 ‘prd-ubuntu20.04-docker-8c-8g-7830’ Running on prd-ubuntu20.04-docker-8c-8g-7833 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8f99c6f6f95ddf2a2695655a7f109a71384649ab (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 8f99c6f6f95ddf2a2695655a7f109a71384649ab # timeout=10 Commit message: "Merge pull request #315 from hahattan/bump-go-mods" > git rev-list --no-walk 06c546078431ad53f02680b25c8c52d85a6f5705 # timeout=10 Could not update commit status. Message: [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:53:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:53:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:53:01 ========================================================= 14:53:01 EdgeX Global Pipelines Version Info 14:53:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:53:02 ------------------- 14:53:02 stable info: 14:53:02 ------------------- 14:53:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:53:02 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:53:02 Message: update stable to v1.0.221 14:53:03 ------------------- 14:53:03 experimental info: 14:53:03 ------------------- 14:53:03 Commited By: **** collab-it+edgex@linuxfoundation.org 14:53:03 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 14:53:03 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f99c6f [Pipeline] echo 14:53:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:53:03 provisioning config files... 14:53:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6548074495293556991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:53:04 ---> docker-login.sh 14:53:04 nexus3.edgexfoundry.org:10001 14:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:04 Configure a credential helper to remove this warning. See 14:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:04 14:53:04 Login Succeeded 14:53:04 nexus3.edgexfoundry.org:10002 14:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:04 Configure a credential helper to remove this warning. See 14:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:04 14:53:04 Login Succeeded 14:53:04 nexus3.edgexfoundry.org:10003 14:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:04 Configure a credential helper to remove this warning. See 14:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:04 14:53:04 Login Succeeded 14:53:04 nexus3.edgexfoundry.org:10004 14:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:04 Configure a credential helper to remove this warning. See 14:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:04 14:53:04 Login Succeeded 14:53:04 docker.io 14:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:05 Configure a credential helper to remove this warning. See 14:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:05 14:53:05 Login Succeeded 14:53:05 ---> docker-login.sh ends [Pipeline] } 14:53:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:53:05 + git rev-list -1 --merges 8f99c6f6f95ddf2a2695655a7f109a71384649ab~1..8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] echo 14:53:05 -----------> git rev-list -1 --merges 8f99c6f6f95ddf2a2695655a7f109a71384649ab~1..8f99c6f6f95ddf2a2695655a7f109a71384649ab 8f99c6f6f95ddf2a2695655a7f109a71384649ab 14:53:05 8f99c6f6f95ddf2a2695655a7f109a71384649ab [false] [Pipeline] sh 14:53:06 + git log --format=format:%s -1 8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] echo 14:53:06 ========================================================= 14:53:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:53:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:53:06 + git log --format=format:%s -1 8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] echo 14:53:06 [semverPrep] GIT_COMMIT: 8f99c6f6f95ddf2a2695655a7f109a71384649ab, Commit Message: Merge pull request #315 from hahattan/bump-go-mods [Pipeline] echo 14:53:06 [semverPrep] This is not a build commit. [Pipeline] sh 14:53:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:53:06 + grep -v github /etc/ssh/ssh_known_hosts 14:53:06 + [ -e /tmp/ssh_known_hosts ] 14:53:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:53:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:53:06 + sudo tee -a /etc/ssh/ssh_known_hosts 14:53:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:53:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:53:07 14:53:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:53:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:53:07 latest: Pulling from edgex-devops/git-semver 14:53:07 a0d0a0d46f8b: Pulling fs layer 14:53:07 3e5f54012d9b: Pulling fs layer 14:53:07 4c7163046ea9: Pulling fs layer 14:53:07 0c2d73faf560: Pulling fs layer 14:53:07 0c2d73faf560: Waiting 14:53:07 3e5f54012d9b: Verifying Checksum 14:53:07 3e5f54012d9b: Download complete 14:53:07 a0d0a0d46f8b: Download complete 14:53:07 0c2d73faf560: Verifying Checksum 14:53:07 0c2d73faf560: Download complete 14:53:07 4c7163046ea9: Verifying Checksum 14:53:07 4c7163046ea9: Download complete 14:53:07 a0d0a0d46f8b: Pull complete 14:53:07 3e5f54012d9b: Pull complete 14:53:08 4c7163046ea9: Pull complete 14:53:08 0c2d73faf560: Pull complete 14:53:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:53:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:53:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:53:08 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 14:53:08 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:53:09 $ docker top 8e3c6b448b69002deb974607fdbf79cd4c4a49f11567a2172ae6b0bce07c1ce5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:53:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:53:09 [ssh-agent] Looking for ssh-agent implementation... 14:53:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:53:09 $ docker exec 8e3c6b448b69002deb974607fdbf79cd4c4a49f11567a2172ae6b0bce07c1ce5 ssh-agent 14:53:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFphnNl/agent.14 14:53:09 SSH_AGENT_PID=20 14:53:09 Running ssh-add (command line suppressed) 14:53:09 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1503008380604116829.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1503008380604116829.key) 14:53:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:53:10 + git tag --points-at HEAD [Pipeline] } 14:53:10 $ docker exec --env ******** --env ******** 8e3c6b448b69002deb974607fdbf79cd4c4a49f11567a2172ae6b0bce07c1ce5 ssh-agent -k 14:53:10 unset SSH_AUTH_SOCK; 14:53:10 unset SSH_AGENT_PID; 14:53:10 echo Agent pid 20 killed; 14:53:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:53:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:53:10 [ssh-agent] Looking for ssh-agent implementation... 14:53:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:53:10 $ docker exec 8e3c6b448b69002deb974607fdbf79cd4c4a49f11567a2172ae6b0bce07c1ce5 ssh-agent 14:53:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAEGBdh/agent.54 14:53:10 SSH_AGENT_PID=60 14:53:10 Running ssh-add (command line suppressed) 14:53:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7564304391705823945.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7564304391705823945.key) 14:53:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:53:10 + git semver init 14:53:10 # -> Open(): unable to determine branch for HEAD 14:53:10 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 14:53:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 14:53:10 # $SEMVER_REMOTE_NAME = origin 14:53:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:53:10 # $SEMVER_USER_NAME = edgex-jenkins 14:53:10 # $SEMVER_BRANCH = main 14:53:10 # $SEMVER_TEMP = /tmp/semver-417081338 14:53:10 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 14:53:11 # '/tmp/semver-417081338' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 14:53:11 # -> Force: false 14:53:11 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 14:53:11 $ docker exec --env ******** --env ******** 8e3c6b448b69002deb974607fdbf79cd4c4a49f11567a2172ae6b0bce07c1ce5 ssh-agent -k 14:53:12 unset SSH_AUTH_SOCK; 14:53:12 unset SSH_AGENT_PID; 14:53:12 echo Agent pid 60 killed; 14:53:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:53:12 + git semver [Pipeline] } 14:53:12 $ docker stop --time=1 8e3c6b448b69002deb974607fdbf79cd4c4a49f11567a2172ae6b0bce07c1ce5 14:53:13 $ docker rm -f 8e3c6b448b69002deb974607fdbf79cd4c4a49f11567a2172ae6b0bce07c1ce5 [Pipeline] // withDockerContainer [Pipeline] sh 14:53:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:53:14 Stashed 1 file(s) [Pipeline] echo 14:53:14 [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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 14:53:14 provisioning config files... 14:53:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2348565648143540283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:53:14 ---> docker-login.sh 14:53:14 nexus3.edgexfoundry.org:10001 14:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:14 Configure a credential helper to remove this warning. See 14:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:14 14:53:14 Login Succeeded 14:53:14 nexus3.edgexfoundry.org:10002 14:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:15 Configure a credential helper to remove this warning. See 14:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:15 14:53:15 Login Succeeded 14:53:15 nexus3.edgexfoundry.org:10003 14:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:15 Configure a credential helper to remove this warning. See 14:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:15 14:53:15 Login Succeeded 14:53:15 nexus3.edgexfoundry.org:10004 14:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:15 Configure a credential helper to remove this warning. See 14:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:15 14:53:15 Login Succeeded 14:53:15 docker.io 14:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:15 Configure a credential helper to remove this warning. See 14:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:15 14:53:15 Login Succeeded 14:53:15 ---> docker-login.sh ends [Pipeline] } 14:53:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:53:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:53:15 ========================================================= 14:53:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:53:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:53:15 + 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 . 14:53:15 Sending build context to Docker daemon 5.724MB 14:53:15 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 14:53:15 Step 2/10 : FROM ${BASE} AS builder 14:53:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:53:15 59bf1c3509f3: Pulling fs layer 14:53:15 666ba61612fd: Pulling fs layer 14:53:15 8ed8ca486205: Pulling fs layer 14:53:15 4fe6c5a15a65: Pulling fs layer 14:53:15 22a0e8bec74d: Pulling fs layer 14:53:15 640e595b4fbd: Pulling fs layer 14:53:15 763cafe07f6e: Pulling fs layer 14:53:15 0c0b528cf693: Pulling fs layer 14:53:15 10935f4eaf8b: Pulling fs layer 14:53:15 763cafe07f6e: Waiting 14:53:15 0c0b528cf693: Waiting 14:53:15 4fe6c5a15a65: Waiting 14:53:15 22a0e8bec74d: Waiting 14:53:15 640e595b4fbd: Waiting 14:53:15 10935f4eaf8b: Waiting 14:53:16 8ed8ca486205: Download complete 14:53:16 666ba61612fd: Verifying Checksum 14:53:16 666ba61612fd: Download complete 14:53:16 22a0e8bec74d: Verifying Checksum 14:53:16 22a0e8bec74d: Download complete 14:53:16 640e595b4fbd: Verifying Checksum 14:53:16 640e595b4fbd: Download complete 14:53:16 59bf1c3509f3: Verifying Checksum 14:53:16 59bf1c3509f3: Download complete 14:53:16 763cafe07f6e: Verifying Checksum 14:53:16 763cafe07f6e: Download complete 14:53:16 0c0b528cf693: Verifying Checksum 14:53:16 59bf1c3509f3: Pull complete 14:53:16 666ba61612fd: Pull complete 14:53:16 8ed8ca486205: Pull complete 14:53:16 10935f4eaf8b: Verifying Checksum 14:53:16 10935f4eaf8b: Download complete 14:53:17 4fe6c5a15a65: Verifying Checksum 14:53:17 4fe6c5a15a65: Download complete 14:53:20 4fe6c5a15a65: Pull complete 14:53:20 22a0e8bec74d: Pull complete 14:53:20 640e595b4fbd: Pull complete 14:53:20 763cafe07f6e: Pull complete 14:53:20 0c0b528cf693: Pull complete 14:53:23 10935f4eaf8b: Pull complete 14:53:23 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 14:53:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:53:23 ---> 99d49a6021b9 14:53:23 Step 3/10 : ARG MAKE='make build' 14:53:24 ---> Running in ae9f46a70a35 14:53:24 Removing intermediate container ae9f46a70a35 14:53:24 ---> ee2f1ae55224 14:53:24 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:53:24 ---> Running in c75579ddcb9c 14:53:24 Removing intermediate container c75579ddcb9c 14:53:24 ---> f6394b0e2e2f 14:53:24 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:53:24 ---> Running in 18ebc69416bf 14:53:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:53:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:53:26 (1/8) Installing openssh-keygen (8.8_p1-r1) 14:53:26 (2/8) Installing libedit (20210910.3.1-r0) 14:53:26 (3/8) Installing openssh-client-common (8.8_p1-r1) 14:53:26 (4/8) Installing openssh-client-default (8.8_p1-r1) 14:53:26 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 14:53:26 (6/8) Installing openssh-server-common (8.8_p1-r1) 14:53:26 (7/8) Installing openssh-server (8.8_p1-r1) 14:53:26 (8/8) Installing openssh (8.8_p1-r1) 14:53:26 Executing busybox-1.34.1-r3.trigger 14:53:26 OK: 226 MiB in 60 packages 14:53:27 Removing intermediate container 18ebc69416bf 14:53:27 ---> 62e32f7b8e04 14:53:27 Step 6/10 : WORKDIR /device-modbus-go 14:53:27 ---> Running in c6881446da85 14:53:27 Removing intermediate container c6881446da85 14:53:27 ---> 7dcf2e12dc35 14:53:27 Step 7/10 : COPY go.mod vendor* ./ 14:53:27 ---> 6d5649a1ac95 14:53:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:53:27 ---> Running in bd7c9df66c45 14:53:29 Still waiting to schedule task 14:53:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7831’ 14:53:49 Removing intermediate container bd7c9df66c45 14:53:49 ---> c5ffaa0caf44 14:53:49 Step 9/10 : COPY . . 14:53:49 ---> d634149fa2fa 14:53:49 Step 10/10 : RUN ${MAKE} 14:53:49 ---> Running in da56efab9a50 14:53:49 noop 14:53:49 Removing intermediate container da56efab9a50 14:53:49 ---> b190e9270903 14:53:49 Successfully built b190e9270903 14:53:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:53:49 + docker inspect -f . ci-base-image-x86_64 14:53:49 . [Pipeline] withDockerContainer 14:53:49 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 14:53:50 $ 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 ******** ci-base-image-x86_64 cat 14:53:50 $ docker top 399327bee56dcd36002de1e09561b5561435f7838ab28cdf9ebf1e305f4a6465 -eo pid,comm [Pipeline] { [Pipeline] sh 14:53:50 + go version 14:53:50 go version go1.17.6 linux/amd64 [Pipeline] } 14:53:50 $ docker stop --time=1 399327bee56dcd36002de1e09561b5561435f7838ab28cdf9ebf1e305f4a6465 14:53:52 $ docker rm -f 399327bee56dcd36002de1e09561b5561435f7838ab28cdf9ebf1e305f4a6465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:53:52 + docker inspect -f . ci-base-image-x86_64 14:53:52 . [Pipeline] withDockerContainer 14:53:52 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 14:53:52 $ 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 ******** ci-base-image-x86_64 cat 14:53:52 $ docker top 5883e6aa7e6616c8ee6b195a29ee42ceb676763a646066c80fe82624c18864c7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:53:53 + make test 14:53:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:53:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:54:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 14:54:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 46.6% of statements 14:54:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:54:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:54:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:54:02 ./bin/test-attribution-txt.sh [Pipeline] echo 14:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:54:02 $ docker stop --time=1 5883e6aa7e6616c8ee6b195a29ee42ceb676763a646066c80fe82624c18864c7 14:54:04 $ docker rm -f 5883e6aa7e6616c8ee6b195a29ee42ceb676763a646066c80fe82624c18864c7 [Pipeline] // withDockerContainer [Pipeline] sh 14:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:54:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:54:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:54:05 + ls -al . 14:54:05 total 188 14:54:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 14:54 . 14:54:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:52 .. 14:54:05 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 14:52 .dockerignore 14:54:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:52 .git 14:54:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:52 .github 14:54:05 -rw-rw-r-- 1 jenkins jenkins 331 Mar 17 14:52 .gitignore 14:54:05 drwx------ 3 jenkins jenkins 4096 Mar 17 14:53 .semver 14:54:05 -rw-rw-r-- 1 jenkins jenkins 8106 Mar 17 14:52 Attribution.txt 14:54:05 -rw-rw-r-- 1 jenkins jenkins 6038 Mar 17 14:52 CHANGELOG.md 14:54:05 -rw-rw-r-- 1 jenkins jenkins 1546 Mar 17 14:52 Dockerfile 14:54:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 14:52 GOVERNANCE.md 14:54:05 -rw-rw-r-- 1 jenkins jenkins 679 Mar 17 14:52 Jenkinsfile 14:54:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 14:52 LICENSE 14:54:05 -rw-rw-r-- 1 jenkins jenkins 1009 Mar 17 14:52 Makefile 14:54:05 -rw-rw-r-- 1 jenkins jenkins 622 Mar 17 14:52 OWNERS.md 14:54:05 -rw-rw-r-- 1 jenkins jenkins 3680 Mar 17 14:52 README.md 14:54:05 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 14:53 VERSION 14:54:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:52 bin 14:54:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:52 cmd 14:54:05 -rw-r--r-- 1 jenkins jenkins 23727 Mar 17 14:53 coverage.out 14:54:05 -rw-rw-r-- 1 jenkins jenkins 2974 Mar 17 14:52 go.mod 14:54:05 -rw-rw-r-- 1 jenkins jenkins 50753 Mar 17 14:52 go.sum 14:54:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:52 internal 14:54:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:52 simulator 14:54:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:52 snap 14:54:05 -rw-rw-r-- 1 jenkins jenkins 229 Mar 17 14:52 version.go [Pipeline] isUnix [Pipeline] sh 14:54:06 + 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=8f99c6f6f95ddf2a2695655a7f109a71384649ab --label arch=amd64 --label version=2.2.0-dev.7 . 14:54:06 Sending build context to Docker daemon 5.748MB 14:54:06 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 14:54:06 Step 2/23 : FROM ${BASE} AS builder 14:54:06 ---> b190e9270903 14:54:06 Step 3/23 : ARG MAKE='make build' 14:54:06 ---> Running in 059727eb2a16 14:54:06 Removing intermediate container 059727eb2a16 14:54:06 ---> cf513fb19e3a 14:54:06 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:54:06 ---> Running in 6049b63a7f0f 14:54:07 Removing intermediate container 6049b63a7f0f 14:54:07 ---> b177d9f407ec 14:54:07 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:54:07 ---> Running in 800659672a9b 14:54:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:54:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:54:08 OK: 226 MiB in 60 packages 14:54:08 Removing intermediate container 800659672a9b 14:54:08 ---> 12d55355739b 14:54:08 Step 6/23 : WORKDIR /device-modbus-go 14:54:08 ---> Running in 12bd6940cea4 14:54:08 Removing intermediate container 12bd6940cea4 14:54:08 ---> faa36bf8edd3 14:54:08 Step 7/23 : COPY go.mod vendor* ./ 14:54:08 ---> 7a5d2f207eca 14:54:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:54:08 ---> Running in 189db6f822fa 14:54:09 Removing intermediate container 189db6f822fa 14:54:09 ---> 805e653a9216 14:54:09 Step 9/23 : COPY . . 14:54:09 ---> 3df204f3dbe7 14:54:09 Step 10/23 : RUN ${MAKE} 14:54:10 ---> Running in 3fab979a67e2 14:54:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.7" -o cmd/device-modbus ./cmd 14:54:16 Removing intermediate container 3fab979a67e2 14:54:16 ---> 837f60136620 14:54:16 Step 11/23 : FROM alpine:3.14 14:54:17 3.14: Pulling from library/alpine 14:54:17 97518928ae5f: Pulling fs layer 14:54:17 97518928ae5f: Download complete 14:54:17 97518928ae5f: Pull complete 14:54:17 Digest: sha256:644a0e0133e74b52bd41f00116b1de803de1bc22e16e5dd1db72fea53e782f73 14:54:17 Status: Downloaded newer image for alpine:3.14 14:54:17 ---> 0a97eee8041e 14:54:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 14:54:18 ---> Running in a70812508f76 14:54:18 Removing intermediate container a70812508f76 14:54:18 ---> 2472d6d250d7 14:54:18 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:54:18 ---> Running in e0d5a736454f 14:54:18 Removing intermediate container e0d5a736454f 14:54:18 ---> 0b019182b3a1 14:54:18 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 14:54:18 ---> Running in bec10b5d1729 14:54:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:54:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:54:20 (1/6) Installing dumb-init (1.2.5-r1) 14:54:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:54:20 (3/6) Installing libsodium (1.0.18-r0) 14:54:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:54:20 (5/6) Installing libzmq (4.3.4-r0) 14:54:20 (6/6) Installing zeromq (4.3.4-r0) 14:54:20 Executing busybox-1.33.1-r6.trigger 14:54:20 OK: 8 MiB in 20 packages 14:54:21 Removing intermediate container bec10b5d1729 14:54:21 ---> aad07c010335 14:54:21 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 14:54:21 ---> a2d84be8ac84 14:54:21 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 14:54:21 ---> 097f6fa2bcc4 14:54:21 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 14:54:21 ---> bb7f2296f544 14:54:21 Step 18/23 : EXPOSE 59901 14:54:21 ---> Running in f4c393381a76 14:54:21 Removing intermediate container f4c393381a76 14:54:21 ---> 42f137336df5 14:54:21 Step 19/23 : ENTRYPOINT ["/device-modbus"] 14:54:21 ---> Running in 0d9ee7b5b88e 14:54:21 Removing intermediate container 0d9ee7b5b88e 14:54:21 ---> f6bd54793200 14:54:21 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:54:21 ---> Running in 65eb6a00360e 14:54:21 Removing intermediate container 65eb6a00360e 14:54:21 ---> 7dab200b4063 14:54:21 Step 21/23 : LABEL arch=amd64 14:54:22 ---> Running in 41e19ad018a0 14:54:22 Removing intermediate container 41e19ad018a0 14:54:22 ---> 793499b12e5d 14:54:22 Step 22/23 : LABEL git_sha=8f99c6f6f95ddf2a2695655a7f109a71384649ab 14:54:22 ---> Running in 1d2e43e3d4f6 14:54:22 Removing intermediate container 1d2e43e3d4f6 14:54:22 ---> f90951cd1e8d 14:54:22 Step 23/23 : LABEL version=2.2.0-dev.7 14:54:22 ---> Running in 39dbc445119a 14:54:22 Removing intermediate container 39dbc445119a 14:54:22 ---> ba624c4eb70e 14:54:22 [Warning] One or more build-args [ARCH] were not consumed 14:54:22 Successfully built ba624c4eb70e 14:54:22 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:54:22 provisioning config files... 14:54:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6846490430654122894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:54:22 ---> docker-login.sh 14:54:22 nexus3.edgexfoundry.org:10001 14:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:22 Configure a credential helper to remove this warning. See 14:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:22 14:54:22 Login Succeeded 14:54:22 nexus3.edgexfoundry.org:10002 14:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:23 Configure a credential helper to remove this warning. See 14:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:23 14:54:23 Login Succeeded 14:54:23 nexus3.edgexfoundry.org:10003 14:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:23 Configure a credential helper to remove this warning. See 14:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:23 14:54:23 Login Succeeded 14:54:23 nexus3.edgexfoundry.org:10004 14:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:23 Configure a credential helper to remove this warning. See 14:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:23 14:54:23 Login Succeeded 14:54:23 docker.io 14:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:54:23 Configure a credential helper to remove this warning. See 14:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:54:23 14:54:23 Login Succeeded 14:54:23 ---> docker-login.sh ends [Pipeline] } 14:54:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:54:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:54:23 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 14:54:23 8f99c6f6f95ddf2a2695655a7f109a71384649ab 14:54:23 latest 14:54:23 2.2.0-dev.7 14:54:23 8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 14:54:23 main 14:54:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:54:24 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] isUnix [Pipeline] sh 14:54:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab 14:54:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:54:24 03afc3c4ee9e: Preparing 14:54:24 bf28cbdc31b7: Preparing 14:54:24 058ebaf9b03c: Preparing 14:54:24 c213b070916b: Preparing 14:54:24 521325bf19b8: Preparing 14:54:24 1a058d5342cc: Preparing 14:54:24 1a058d5342cc: Waiting 14:54:24 bf28cbdc31b7: Pushed 14:54:24 521325bf19b8: Pushed 14:54:24 03afc3c4ee9e: Pushed 14:54:24 1a058d5342cc: Layer already exists 14:54:24 c213b070916b: Pushed 14:54:25 058ebaf9b03c: Pushed 14:54:25 8f99c6f6f95ddf2a2695655a7f109a71384649ab: digest: sha256:24ea5a4027ba2cb3ea9fcf48a0f58f042c40d4501291049a16e91f6b98624294 size: 1573 [Pipeline] isUnix [Pipeline] sh 14:54:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 14:54:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 14:54:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:54:26 03afc3c4ee9e: Preparing 14:54:26 bf28cbdc31b7: Preparing 14:54:26 058ebaf9b03c: Preparing 14:54:26 c213b070916b: Preparing 14:54:26 521325bf19b8: Preparing 14:54:26 1a058d5342cc: Preparing 14:54:26 c213b070916b: Layer already exists 14:54:26 bf28cbdc31b7: Layer already exists 14:54:26 03afc3c4ee9e: Layer already exists 14:54:26 058ebaf9b03c: Layer already exists 14:54:26 521325bf19b8: Layer already exists 14:54:26 1a058d5342cc: Layer already exists 14:54:26 latest: digest: sha256:24ea5a4027ba2cb3ea9fcf48a0f58f042c40d4501291049a16e91f6b98624294 size: 1573 [Pipeline] isUnix [Pipeline] sh 14:54:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 14:54:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.7 14:54:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:54:26 03afc3c4ee9e: Preparing 14:54:26 bf28cbdc31b7: Preparing 14:54:26 058ebaf9b03c: Preparing 14:54:26 c213b070916b: Preparing 14:54:26 521325bf19b8: Preparing 14:54:26 1a058d5342cc: Preparing 14:54:26 1a058d5342cc: Waiting 14:54:26 058ebaf9b03c: Layer already exists 14:54:26 521325bf19b8: Layer already exists 14:54:26 03afc3c4ee9e: Layer already exists 14:54:26 bf28cbdc31b7: Layer already exists 14:54:26 c213b070916b: Layer already exists 14:54:26 1a058d5342cc: Layer already exists 14:54:26 2.2.0-dev.7: digest: sha256:24ea5a4027ba2cb3ea9fcf48a0f58f042c40d4501291049a16e91f6b98624294 size: 1573 [Pipeline] isUnix [Pipeline] sh 14:54:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 14:54:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 14:54:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:54:27 03afc3c4ee9e: Preparing 14:54:27 bf28cbdc31b7: Preparing 14:54:27 058ebaf9b03c: Preparing 14:54:27 c213b070916b: Preparing 14:54:27 521325bf19b8: Preparing 14:54:27 1a058d5342cc: Preparing 14:54:27 1a058d5342cc: Waiting 14:54:27 03afc3c4ee9e: Layer already exists 14:54:27 521325bf19b8: Layer already exists 14:54:27 c213b070916b: Layer already exists 14:54:27 058ebaf9b03c: Layer already exists 14:54:27 bf28cbdc31b7: Layer already exists 14:54:27 1a058d5342cc: Layer already exists 14:54:27 8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7: digest: sha256:24ea5a4027ba2cb3ea9fcf48a0f58f042c40d4501291049a16e91f6b98624294 size: 1573 [Pipeline] isUnix [Pipeline] sh 14:54:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 14:54:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 14:54:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:54:28 03afc3c4ee9e: Preparing 14:54:28 bf28cbdc31b7: Preparing 14:54:28 058ebaf9b03c: Preparing 14:54:28 c213b070916b: Preparing 14:54:28 521325bf19b8: Preparing 14:54:28 1a058d5342cc: Preparing 14:54:28 1a058d5342cc: Waiting 14:54:28 058ebaf9b03c: Layer already exists 14:54:28 c213b070916b: Layer already exists 14:54:28 03afc3c4ee9e: Layer already exists 14:54:28 521325bf19b8: Layer already exists 14:54:28 bf28cbdc31b7: Layer already exists 14:54:28 1a058d5342cc: Layer already exists 14:54:28 main: digest: sha256:24ea5a4027ba2cb3ea9fcf48a0f58f042c40d4501291049a16e91f6b98624294 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:54:28 ===================================================== [Pipeline] echo 14:54:28 taggedImages: 14:54:28 - nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab 14:54:28 - nexus3.edgexfoundry.org:10004/device-modbus:latest 14:54:28 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.7 14:54:28 - nexus3.edgexfoundry.org:10004/device-modbus:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 14:54:28 - 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 14:54:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:54:28 14:54:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:54:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:54:28 latest: Pulling from edgex-lftools-log-publisher 14:54:28 5eb5b503b376: Pulling fs layer 14:54:28 5c69ac0246d0: Pulling fs layer 14:54:28 ec43610c2a17: Pulling fs layer 14:54:28 3a2ae6a8a46f: Pulling fs layer 14:54:28 33b1e0a273af: Pulling fs layer 14:54:28 5d3b04190fa2: Pulling fs layer 14:54:28 2f39f015ded8: Pulling fs layer 14:54:28 33b1e0a273af: Waiting 14:54:28 5d3b04190fa2: Waiting 14:54:28 2f39f015ded8: Waiting 14:54:28 3a2ae6a8a46f: Waiting 14:54:28 5c69ac0246d0: Verifying Checksum 14:54:28 5c69ac0246d0: Download complete 14:54:28 3a2ae6a8a46f: Verifying Checksum 14:54:28 3a2ae6a8a46f: Download complete 14:54:28 33b1e0a273af: Verifying Checksum 14:54:28 33b1e0a273af: Download complete 14:54:28 5d3b04190fa2: Download complete 14:54:28 ec43610c2a17: Verifying Checksum 14:54:28 ec43610c2a17: Download complete 14:54:29 5eb5b503b376: Verifying Checksum 14:54:29 2f39f015ded8: Download complete 14:54:30 5eb5b503b376: Pull complete 14:54:30 5c69ac0246d0: Pull complete 14:54:30 ec43610c2a17: Pull complete 14:54:30 3a2ae6a8a46f: Pull complete 14:54:31 33b1e0a273af: Pull complete 14:54:31 5d3b04190fa2: Pull complete 14:54:35 2f39f015ded8: Pull complete 14:54:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:54:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:54:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:54:35 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 14:54:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:54:37 $ docker top 704642c4ad5ea14fb7c398dacaf6a03498c95cfadaaa592436d91230fa99fe45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:54:37 ---> job-cost.sh 14:54:37 lf-activate-venv: SKIPPING 14:54:37 INFO: No Stack... 14:54:37 INFO: Retrieving Pricing Info for: v3-standard-8 14:54:38 INFO: Archiving Costs [Pipeline] sh 14:54:38 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 14:54:38 + cut -d, -f6 [Pipeline] lock 14:54:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-24-stack-cost] 14:54:38 Resource [jenkins-edgexfoundry-device-modbus-go-main-24-stack-cost] did not exist. Created. 14:54:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:54:39 + echo total: 0.2199999988079071 [Pipeline] stash 14:54:39 Stashed 1 file(s) [Pipeline] } 14:54:39 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 14:54:39 $ docker stop --time=1 704642c4ad5ea14fb7c398dacaf6a03498c95cfadaaa592436d91230fa99fe45 14:54:40 $ docker rm -f 704642c4ad5ea14fb7c398dacaf6a03498c95cfadaaa592436d91230fa99fe45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:56:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7835 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 14:56:25 Running in /w/workspace/device-modbus-go/24 [Pipeline] { [Pipeline] checkout 14:56:26 Selected Git installation does not exist. Using Default 14:56:26 The recommended git tool is: NONE 14:56:34 using credential edgex-jenkins-ssh 14:56:34 Cloning the remote Git repository 14:56:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 14:56:34 > git init /w/workspace/device-modbus-go/24 # timeout=10 14:56:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:56:35 > git --version # timeout=10 14:56:35 > git --version # 'git version 2.25.1' 14:56:35 using GIT_SSH to set credentials SSH Credentials for GitHub 14:56:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:56:36 Avoid second fetch 14:56:36 Checking out Revision 8f99c6f6f95ddf2a2695655a7f109a71384649ab (main) 14:56:36 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:56:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:56:36 > git config core.sparsecheckout # timeout=10 14:56:36 > git checkout -f 8f99c6f6f95ddf2a2695655a7f109a71384649ab # timeout=10 14:56:41 Commit message: "Merge pull request #315 from hahattan/bump-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:56:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:56:42 % Total % Received % Xferd Average Speed Time Time Time Current 14:56:42 Dload Upload Total Spent Left Speed 14:56:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 14:56:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:56:43 + sudo tee /etc/docker/daemon.new 14:56:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:56:43 { 14:56:43 "registry-mirrors": [ 14:56:43 "https://nexus3.edgexfoundry.org:10001" 14:56:43 ], 14:56:43 "bip": "10.250.0.254/24", 14:56:43 "hosts": [ 14:56:43 "tcp://0.0.0.0:5555", 14:56:43 "unix:///var/run/docker.sock" 14:56:43 ], 14:56:43 "mtu": 1458, 14:56:43 "selinux-enabled": true, 14:56:43 "seccomp-profile": "/etc/docker/seccomp.json" 14:56:43 } [Pipeline] sh 14:56:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:56:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:57:02 provisioning config files... 14:57:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/24@tmp/config6320573980795119739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:57:02 ---> docker-login.sh 14:57:02 nexus3.edgexfoundry.org:10001 14:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:03 Configure a credential helper to remove this warning. See 14:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:03 14:57:03 Login Succeeded 14:57:03 nexus3.edgexfoundry.org:10002 14:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:04 Configure a credential helper to remove this warning. See 14:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:04 14:57:04 Login Succeeded 14:57:04 nexus3.edgexfoundry.org:10003 14:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:04 Configure a credential helper to remove this warning. See 14:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:04 14:57:04 Login Succeeded 14:57:04 nexus3.edgexfoundry.org:10004 14:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:05 Configure a credential helper to remove this warning. See 14:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:05 14:57:05 Login Succeeded 14:57:05 docker.io 14:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:06 Configure a credential helper to remove this warning. See 14:57:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:06 14:57:06 Login Succeeded 14:57:06 ---> docker-login.sh ends [Pipeline] } 14:57:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:57:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:57:07 ========================================================= 14:57:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:57:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:57:07 + 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 . 14:57:08 Sending build context to Docker daemon 3MB 14:57:08 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 14:57:08 Step 2/10 : FROM ${BASE} AS builder 14:57:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:57:08 9b3977197b4f: Pulling fs layer 14:57:08 1a89e8eeedd5: Pulling fs layer 14:57:08 94645a83ff95: Pulling fs layer 14:57:08 3f3a8bcf1eab: Pulling fs layer 14:57:08 0c92f367c5e7: Pulling fs layer 14:57:08 f7c0051592d6: Pulling fs layer 14:57:08 3f3a8bcf1eab: Waiting 14:57:08 a227ed2f7395: Pulling fs layer 14:57:08 7b1c46037f91: Pulling fs layer 14:57:08 7b1c46037f91: Waiting 14:57:08 f7c0051592d6: Waiting 14:57:08 a227ed2f7395: Waiting 14:57:08 0c92f367c5e7: Waiting 14:57:08 94645a83ff95: Verifying Checksum 14:57:08 94645a83ff95: Download complete 14:57:08 1a89e8eeedd5: Verifying Checksum 14:57:08 1a89e8eeedd5: Download complete 14:57:08 0c92f367c5e7: Verifying Checksum 14:57:08 0c92f367c5e7: Download complete 14:57:08 f7c0051592d6: Verifying Checksum 14:57:08 f7c0051592d6: Download complete 14:57:08 9b3977197b4f: Verifying Checksum 14:57:08 9b3977197b4f: Download complete 14:57:08 a227ed2f7395: Verifying Checksum 14:57:08 a227ed2f7395: Download complete 14:57:09 9b3977197b4f: Pull complete 14:57:10 1a89e8eeedd5: Pull complete 14:57:10 94645a83ff95: Pull complete 14:57:10 7b1c46037f91: Verifying Checksum 14:57:10 7b1c46037f91: Download complete 14:57:11 3f3a8bcf1eab: Verifying Checksum 14:57:11 3f3a8bcf1eab: Download complete 14:57:23 3f3a8bcf1eab: Pull complete 14:57:23 0c92f367c5e7: Pull complete 14:57:23 f7c0051592d6: Pull complete 14:57:23 a227ed2f7395: Pull complete 14:57:30 7b1c46037f91: Pull complete 14:57:30 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 14:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:57:30 ---> f79e39bc4007 14:57:30 Step 3/10 : ARG MAKE='make build' 14:57:31 ---> Running in 035038d1d41f 14:57:31 Removing intermediate container 035038d1d41f 14:57:31 ---> ee94dfd10815 14:57:31 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:57:31 ---> Running in 2d4e3cc288b8 14:57:33 Removing intermediate container 2d4e3cc288b8 14:57:33 ---> 137747152ce0 14:57:33 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 14:57:33 ---> Running in 51ee7b2f7ba0 14:57:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:57:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:57:36 (1/8) Installing openssh-keygen (8.8_p1-r1) 14:57:36 (2/8) Installing libedit (20210910.3.1-r0) 14:57:36 (3/8) Installing openssh-client-common (8.8_p1-r1) 14:57:36 (4/8) Installing openssh-client-default (8.8_p1-r1) 14:57:36 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 14:57:37 (6/8) Installing openssh-server-common (8.8_p1-r1) 14:57:37 (7/8) Installing openssh-server (8.8_p1-r1) 14:57:37 (8/8) Installing openssh (8.8_p1-r1) 14:57:37 Executing busybox-1.34.1-r3.trigger 14:57:37 OK: 226 MiB in 60 packages 14:57:38 Removing intermediate container 51ee7b2f7ba0 14:57:38 ---> eae21891c2fa 14:57:38 Step 6/10 : WORKDIR /device-modbus-go 14:57:38 ---> Running in b2da68b12239 14:57:38 Removing intermediate container b2da68b12239 14:57:38 ---> 69b57e828e41 14:57:38 Step 7/10 : COPY go.mod vendor* ./ 14:57:39 ---> 0f7a64a41491 14:57:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:57:39 ---> Running in a10cd1d2c910 14:59:01 Removing intermediate container a10cd1d2c910 14:59:01 ---> 633e3af5677d 14:59:01 Step 9/10 : COPY . . 14:59:01 ---> a6014593c18a 14:59:01 Step 10/10 : RUN ${MAKE} 14:59:01 ---> Running in ddc43aa54137 14:59:01 noop 14:59:01 Removing intermediate container ddc43aa54137 14:59:01 ---> c4291797d0b2 14:59:01 Successfully built c4291797d0b2 14:59:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:59:01 + docker inspect -f . ci-base-image-arm64 14:59:01 . [Pipeline] withDockerContainer 14:59:02 prd-ubuntu20.04-docker-arm64-4c-16g-7835 does not seem to be running inside a container 14:59:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/24 -v /w/workspace/device-modbus-go/24:/w/workspace/device-modbus-go/24:rw,z -v /w/workspace/device-modbus-go/24@tmp:/w/workspace/device-modbus-go/24@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 14:59:03 $ docker top 23b18922af087ce4c448a4493a6e15fa187faf60f70acd0054bd1d5076b4c1cb -eo pid,comm [Pipeline] { [Pipeline] sh 14:59:04 + go version 14:59:04 go version go1.17.6 linux/arm64 [Pipeline] } 14:59:04 $ docker stop --time=1 23b18922af087ce4c448a4493a6e15fa187faf60f70acd0054bd1d5076b4c1cb 14:59:06 $ docker rm -f 23b18922af087ce4c448a4493a6e15fa187faf60f70acd0054bd1d5076b4c1cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:59:06 + docker inspect -f . ci-base-image-arm64 14:59:06 . [Pipeline] withDockerContainer 14:59:07 prd-ubuntu20.04-docker-arm64-4c-16g-7835 does not seem to be running inside a container 14:59:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/24 -v /w/workspace/device-modbus-go/24:/w/workspace/device-modbus-go/24:rw,z -v /w/workspace/device-modbus-go/24@tmp:/w/workspace/device-modbus-go/24@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 14:59:08 $ docker top 7e1c4cc96f837aef1f32706e767c330b275c57d05caeeb12422ada3a769aa38f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:59:09 + make test 14:59:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:59:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:00:07 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:00:07 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 46.6% of statements 15:00:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:00:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:00:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:00:25 ./bin/test-attribution-txt.sh [Pipeline] echo 15:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:00:27 $ docker stop --time=1 7e1c4cc96f837aef1f32706e767c330b275c57d05caeeb12422ada3a769aa38f 15:00:29 $ docker rm -f 7e1c4cc96f837aef1f32706e767c330b275c57d05caeeb12422ada3a769aa38f [Pipeline] // withDockerContainer [Pipeline] sh 15:00:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:00:29 Warning: overwriting stash ‘coverage-report’ 15:00:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:00:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:00:31 + ls -al . 15:00:31 total 184 15:00:31 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 15:00 . 15:00:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:56 .. 15:00:31 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 14:56 .dockerignore 15:00:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 14:56 .git 15:00:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:56 .github 15:00:31 -rw-rw-r-- 1 jenkins jenkins 331 Mar 17 14:56 .gitignore 15:00:31 -rw-rw-r-- 1 jenkins jenkins 8106 Mar 17 14:56 Attribution.txt 15:00:31 -rw-rw-r-- 1 jenkins jenkins 6038 Mar 17 14:56 CHANGELOG.md 15:00:31 -rw-rw-r-- 1 jenkins jenkins 1546 Mar 17 14:56 Dockerfile 15:00:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 14:56 GOVERNANCE.md 15:00:31 -rw-rw-r-- 1 jenkins jenkins 679 Mar 17 14:56 Jenkinsfile 15:00:31 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 14:56 LICENSE 15:00:31 -rw-rw-r-- 1 jenkins jenkins 1009 Mar 17 14:56 Makefile 15:00:31 -rw-rw-r-- 1 jenkins jenkins 622 Mar 17 14:56 OWNERS.md 15:00:31 -rw-rw-r-- 1 jenkins jenkins 3680 Mar 17 14:56 README.md 15:00:31 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 14:53 VERSION 15:00:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:56 bin 15:00:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:56 cmd 15:00:31 -rw-r--r-- 1 jenkins jenkins 23727 Mar 17 15:00 coverage.out 15:00:31 -rw-rw-r-- 1 jenkins jenkins 2974 Mar 17 14:56 go.mod 15:00:31 -rw-rw-r-- 1 jenkins jenkins 50753 Mar 17 14:56 go.sum 15:00:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 14:56 internal 15:00:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 14:56 simulator 15:00:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 14:56 snap 15:00:31 -rw-rw-r-- 1 jenkins jenkins 229 Mar 17 14:56 version.go [Pipeline] isUnix [Pipeline] sh 15:00:31 + 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=8f99c6f6f95ddf2a2695655a7f109a71384649ab --label arch=arm64 --label version=2.2.0-dev.7 . 15:00:31 Sending build context to Docker daemon 3.025MB 15:00:32 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 15:00:32 Step 2/23 : FROM ${BASE} AS builder 15:00:32 ---> c4291797d0b2 15:00:32 Step 3/23 : ARG MAKE='make build' 15:00:32 ---> Running in 5fc8a885ab08 15:00:32 Removing intermediate container 5fc8a885ab08 15:00:32 ---> 452d74feba3e 15:00:32 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:00:32 ---> Running in e376d64bfe40 15:00:34 Removing intermediate container e376d64bfe40 15:00:34 ---> 0225ca976e48 15:00:34 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 15:00:34 ---> Running in 1b296a1693b0 15:00:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:00:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:00:36 OK: 226 MiB in 60 packages 15:00:37 Removing intermediate container 1b296a1693b0 15:00:37 ---> ba7a9a16328c 15:00:37 Step 6/23 : WORKDIR /device-modbus-go 15:00:37 ---> Running in b5e1f07c05d2 15:00:38 Removing intermediate container b5e1f07c05d2 15:00:38 ---> 965009076c83 15:00:38 Step 7/23 : COPY go.mod vendor* ./ 15:00:38 ---> 63b4d97b9407 15:00:38 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:00:38 ---> Running in deaa55a529cd 15:00:40 Removing intermediate container deaa55a529cd 15:00:40 ---> fc666894a630 15:00:40 Step 9/23 : COPY . . 15:00:41 ---> a0b63832472d 15:00:41 Step 10/23 : RUN ${MAKE} 15:00:42 ---> Running in dc7bf44c52f2 15:00:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.7" -o cmd/device-modbus ./cmd 15:01:30 Removing intermediate container dc7bf44c52f2 15:01:30 ---> 25bc4f9f3435 15:01:30 Step 11/23 : FROM alpine:3.14 15:01:30 3.14: Pulling from library/alpine 15:01:30 be307f383ecc: Pulling fs layer 15:01:30 be307f383ecc: Verifying Checksum 15:01:30 be307f383ecc: Download complete 15:01:30 be307f383ecc: Pull complete 15:01:30 Digest: sha256:644a0e0133e74b52bd41f00116b1de803de1bc22e16e5dd1db72fea53e782f73 15:01:30 Status: Downloaded newer image for alpine:3.14 15:01:30 ---> 5b8b7b635229 15:01:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 15:01:30 ---> Running in c926b3fd2232 15:01:30 Removing intermediate container c926b3fd2232 15:01:30 ---> 58cdd5cdf6f0 15:01:30 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:01:30 ---> Running in b7d379312502 15:01:30 Removing intermediate container b7d379312502 15:01:30 ---> a7b60da7ce55 15:01:30 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 15:01:30 ---> Running in 40e8f7374c8e 15:01:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:01:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:01:31 (1/6) Installing dumb-init (1.2.5-r1) 15:01:31 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:01:31 (3/6) Installing libsodium (1.0.18-r0) 15:01:31 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:01:31 (5/6) Installing libzmq (4.3.4-r0) 15:01:31 (6/6) Installing zeromq (4.3.4-r0) 15:01:31 Executing busybox-1.33.1-r6.trigger 15:01:31 OK: 8 MiB in 20 packages 15:01:32 Removing intermediate container 40e8f7374c8e 15:01:32 ---> 57376b96b72c 15:01:32 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 15:01:33 ---> 50f194902fbd 15:01:33 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 15:01:34 ---> e8a8b116a6c4 15:01:34 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 15:01:34 ---> 5c8b25e3ad29 15:01:34 Step 18/23 : EXPOSE 59901 15:01:34 ---> Running in 54c202db3b99 15:01:35 Removing intermediate container 54c202db3b99 15:01:35 ---> 26701a9e06af 15:01:35 Step 19/23 : ENTRYPOINT ["/device-modbus"] 15:01:35 ---> Running in 86488fc6795e 15:01:35 Removing intermediate container 86488fc6795e 15:01:35 ---> 43acde1649d8 15:01:35 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:01:35 ---> Running in 3c9f44207703 15:01:35 Removing intermediate container 3c9f44207703 15:01:35 ---> b417aa80d6d0 15:01:35 Step 21/23 : LABEL arch=arm64 15:01:35 ---> Running in 81acac4814bf 15:01:36 Removing intermediate container 81acac4814bf 15:01:36 ---> 92a1be038388 15:01:36 Step 22/23 : LABEL git_sha=8f99c6f6f95ddf2a2695655a7f109a71384649ab 15:01:36 ---> Running in 52837f4b0668 15:01:36 Removing intermediate container 52837f4b0668 15:01:36 ---> 1937fe62b590 15:01:36 Step 23/23 : LABEL version=2.2.0-dev.7 15:01:36 ---> Running in ecb0574a0ea3 15:01:37 Removing intermediate container ecb0574a0ea3 15:01:37 ---> 3e02ca9dcd60 15:01:37 [Warning] One or more build-args [ARCH] were not consumed 15:01:37 Successfully built 3e02ca9dcd60 15:01:37 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 15:01:37 provisioning config files... 15:01:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/24@tmp/config5655609384782007193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:01:37 ---> docker-login.sh 15:01:37 nexus3.edgexfoundry.org:10001 15:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:37 Configure a credential helper to remove this warning. See 15:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:37 15:01:37 Login Succeeded 15:01:37 nexus3.edgexfoundry.org:10002 15:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:38 Configure a credential helper to remove this warning. See 15:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:38 15:01:38 Login Succeeded 15:01:38 nexus3.edgexfoundry.org:10003 15:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:38 Configure a credential helper to remove this warning. See 15:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:38 15:01:38 Login Succeeded 15:01:38 nexus3.edgexfoundry.org:10004 15:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:39 Configure a credential helper to remove this warning. See 15:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:39 15:01:39 Login Succeeded 15:01:39 docker.io 15:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:40 Configure a credential helper to remove this warning. See 15:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:40 15:01:40 Login Succeeded 15:01:40 ---> docker-login.sh ends [Pipeline] } 15:01:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:01:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:01:40 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 15:01:40 8f99c6f6f95ddf2a2695655a7f109a71384649ab 15:01:40 latest 15:01:40 2.2.0-dev.7 15:01:40 8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 15:01:40 main 15:01:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:01:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] isUnix [Pipeline] sh 15:01:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab 15:01:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:01:40 e5098adae287: Preparing 15:01:40 d0e20f55bd07: Preparing 15:01:40 d5b5ace3acdb: Preparing 15:01:40 1046675f30fb: Preparing 15:01:40 380691ae2e57: Preparing 15:01:40 62170e181a92: Preparing 15:01:40 62170e181a92: Waiting 15:01:41 380691ae2e57: Pushed 15:01:41 e5098adae287: Pushed 15:01:41 d0e20f55bd07: Pushed 15:01:41 62170e181a92: Layer already exists 15:01:41 1046675f30fb: Pushed 15:01:44 d5b5ace3acdb: Pushed 15:01:44 8f99c6f6f95ddf2a2695655a7f109a71384649ab: digest: sha256:b97f2e7f9794ab6db2bcce6853c18b6ef31956847864c4aae55a3d63b11a53f3 size: 1572 [Pipeline] isUnix [Pipeline] sh 15:01:44 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:01:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 15:01:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:01:45 e5098adae287: Preparing 15:01:45 d0e20f55bd07: Preparing 15:01:45 d5b5ace3acdb: Preparing 15:01:45 1046675f30fb: Preparing 15:01:45 380691ae2e57: Preparing 15:01:45 62170e181a92: Preparing 15:01:45 62170e181a92: Waiting 15:01:45 d5b5ace3acdb: Layer already exists 15:01:45 d0e20f55bd07: Layer already exists 15:01:45 380691ae2e57: Layer already exists 15:01:45 1046675f30fb: Layer already exists 15:01:45 e5098adae287: Layer already exists 15:01:45 62170e181a92: Layer already exists 15:01:45 latest: digest: sha256:b97f2e7f9794ab6db2bcce6853c18b6ef31956847864c4aae55a3d63b11a53f3 size: 1572 [Pipeline] isUnix [Pipeline] sh 15:01:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 15:01:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.7 15:01:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:01:46 e5098adae287: Preparing 15:01:46 d0e20f55bd07: Preparing 15:01:46 d5b5ace3acdb: Preparing 15:01:46 1046675f30fb: Preparing 15:01:46 380691ae2e57: Preparing 15:01:46 62170e181a92: Preparing 15:01:46 62170e181a92: Waiting 15:01:46 1046675f30fb: Layer already exists 15:01:46 380691ae2e57: Layer already exists 15:01:46 d5b5ace3acdb: Layer already exists 15:01:46 e5098adae287: Layer already exists 15:01:46 d0e20f55bd07: Layer already exists 15:01:46 62170e181a92: Layer already exists 15:01:46 2.2.0-dev.7: digest: sha256:b97f2e7f9794ab6db2bcce6853c18b6ef31956847864c4aae55a3d63b11a53f3 size: 1572 [Pipeline] isUnix [Pipeline] sh 15:01:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 15:01:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 15:01:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:01:46 e5098adae287: Preparing 15:01:46 d0e20f55bd07: Preparing 15:01:46 d5b5ace3acdb: Preparing 15:01:46 1046675f30fb: Preparing 15:01:46 380691ae2e57: Preparing 15:01:46 62170e181a92: Preparing 15:01:46 62170e181a92: Waiting 15:01:46 1046675f30fb: Layer already exists 15:01:46 d0e20f55bd07: Layer already exists 15:01:46 d5b5ace3acdb: Layer already exists 15:01:46 380691ae2e57: Layer already exists 15:01:46 e5098adae287: Layer already exists 15:01:46 62170e181a92: Layer already exists 15:01:47 8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7: digest: sha256:b97f2e7f9794ab6db2bcce6853c18b6ef31956847864c4aae55a3d63b11a53f3 size: 1572 [Pipeline] isUnix [Pipeline] sh 15:01:47 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 15:01:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 15:01:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 15:01:47 e5098adae287: Preparing 15:01:47 d0e20f55bd07: Preparing 15:01:47 d5b5ace3acdb: Preparing 15:01:47 1046675f30fb: Preparing 15:01:47 380691ae2e57: Preparing 15:01:47 62170e181a92: Preparing 15:01:47 62170e181a92: Waiting 15:01:47 d5b5ace3acdb: Layer already exists 15:01:47 1046675f30fb: Layer already exists 15:01:47 380691ae2e57: Layer already exists 15:01:47 e5098adae287: Layer already exists 15:01:47 d0e20f55bd07: Layer already exists 15:01:47 62170e181a92: Layer already exists 15:01:48 main: digest: sha256:b97f2e7f9794ab6db2bcce6853c18b6ef31956847864c4aae55a3d63b11a53f3 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:01:48 ===================================================== [Pipeline] echo 15:01:48 taggedImages: 15:01:48 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab 15:01:48 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 15:01:48 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.7 15:01:48 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8f99c6f6f95ddf2a2695655a7f109a71384649ab-2.2.0-dev.7 15:01:48 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:01:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:01:48 15:01:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:01:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:01:49 arm64: Pulling from edgex-lftools-log-publisher 15:01:49 8998bd30e6a1: Pulling fs layer 15:01:49 04944245beec: Pulling fs layer 15:01:49 699f458cf7ca: Pulling fs layer 15:01:49 765212b225bb: Pulling fs layer 15:01:49 f23df028b6ca: Pulling fs layer 15:01:49 d65c8cfc05b1: Pulling fs layer 15:01:49 2437ff75d9bd: Pulling fs layer 15:01:49 f23df028b6ca: Waiting 15:01:49 d65c8cfc05b1: Waiting 15:01:49 2437ff75d9bd: Waiting 15:01:49 765212b225bb: Waiting 15:01:49 04944245beec: Verifying Checksum 15:01:49 04944245beec: Download complete 15:01:49 765212b225bb: Verifying Checksum 15:01:49 765212b225bb: Download complete 15:01:49 f23df028b6ca: Verifying Checksum 15:01:49 f23df028b6ca: Download complete 15:01:49 d65c8cfc05b1: Download complete 15:01:49 699f458cf7ca: Verifying Checksum 15:01:49 699f458cf7ca: Download complete 15:01:49 8998bd30e6a1: Verifying Checksum 15:01:49 8998bd30e6a1: Download complete 15:01:52 2437ff75d9bd: Verifying Checksum 15:01:52 2437ff75d9bd: Download complete 15:01:53 8998bd30e6a1: Pull complete 15:01:54 04944245beec: Pull complete 15:01:55 699f458cf7ca: Pull complete 15:01:56 765212b225bb: Pull complete 15:01:57 f23df028b6ca: Pull complete 15:01:57 d65c8cfc05b1: Pull complete 15:02:12 2437ff75d9bd: Pull complete 15:02:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:02:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:02:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:02:12 prd-ubuntu20.04-docker-arm64-4c-16g-7835 does not seem to be running inside a container 15:02:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/24 -v /w/workspace/device-modbus-go/24:/w/workspace/device-modbus-go/24:rw,z -v /w/workspace/device-modbus-go/24@tmp:/w/workspace/device-modbus-go/24@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 15:02:15 $ docker top 485aac6993db7fc98630dc0cb7842f5599b635a21a94fb2510e98cc3e12ffda7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:02:16 ---> job-cost.sh 15:02:16 lf-activate-venv: SKIPPING 15:02:16 INFO: No Stack... 15:02:16 INFO: Retrieving Pricing Info for: v3-standard-4 15:02:17 INFO: Archiving Costs [Pipeline] sh 15:02:18 + cut -d, -f6 15:02:18 + cat /w/workspace/device-modbus-go/24/archives/cost.csv [Pipeline] lock 15:02:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-24-stack-cost] 15:02:18 Resource [jenkins-edgexfoundry-device-modbus-go-main-24-stack-cost] did not exist. Created. 15:02:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:02:19 /w/workspace/device-modbus-go/24@tmp/durable-1407d8a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:02:19 + echo total: 0.10999999940395355 [Pipeline] stash 15:02:19 Warning: overwriting stash ‘stack-cost’ 15:02:19 Stashed 1 file(s) [Pipeline] } 15:02:19 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 15:02:19 $ docker stop --time=1 485aac6993db7fc98630dc0cb7842f5599b635a21a94fb2510e98cc3e12ffda7 15:02:21 $ docker rm -f 485aac6993db7fc98630dc0cb7842f5599b635a21a94fb2510e98cc3e12ffda7 [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 15:02:21 provisioning config files... 15:02:21 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3190489766416483537tmp [Pipeline] { [Pipeline] sh 15:02:22 + set +x 15:02:22 + curl -s https://codecov.io/bash 15:02:22 + bash -s -- 15:02:22 15:02:22 _____ _ 15:02:22 / ____| | | 15:02:22 | | ___ __| | ___ ___ _____ __ 15:02:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:02:22 | |___| (_) | (_| | __/ (_| (_) \ V / 15:02:22 \_____\___/ \__,_|\___|\___\___/ \_/ 15:02:22 Bash-1.0.6 15:02:22 15:02:22 15:02:22 ==> git version 2.25.1 found 15:02:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:02:22 Release-Date: 2020-01-08 15:02:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:02:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:02:22 ==> Jenkins CI detected. 15:02:22 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 15:02:22 project root: . 15:02:22 --> token set from env 15:02:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:02:22 ==> Running gcov in . (disable via -X gcov) 15:02:22 ==> Python coveragepy not found 15:02:22 ==> Searching for coverage reports in: 15:02:22 + . 15:02:22 -> Found 1 reports 15:02:22 ==> Detecting git/mercurial file structure 15:02:22 ==> Reading reports 15:02:22 + ./coverage.out bytes=23727 15:02:22 ==> Appending adjustments 15:02:22 https://docs.codecov.io/docs/fixing-reports 15:02:22 + Found adjustments 15:02:22 ==> Gzipping contents 15:02:22 4.0K /tmp/codecov.Pf8qxH.gz 15:02:22 ==> Uploading reports 15:02:22 url: https://codecov.io 15:02:22 query: branch=main&commit=8f99c6f6f95ddf2a2695655a7f109a71384649ab&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:02:22 -> Pinging Codecov 15:02:22 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=8f99c6f6f95ddf2a2695655a7f109a71384649ab&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:02:22 -> Uploading to 15:02:22 https://storage.googleapis.com/codecov/v4/raw/2022-03-17/55DBCA73C666E3227836607328DD7E49/8f99c6f6f95ddf2a2695655a7f109a71384649ab/61f96689-30c9-486d-bd0b-c57031058b1e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T150222Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3f20c4bff375b847e9c41a50c1d5c7c6a8f52f54bb323b45e52be75500b8ba7 15:02:22 % Total % Received % Xferd Average Speed Time Time Time Current 15:02:22 Dload Upload Total Spent Left Speed 15:02:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3969 0 0 100 3969 0 12100 --:--:-- --:--:-- --:--:-- 12100 15:02:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] } 15:02:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:02:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:02:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:02:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:02:23 15:02:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:02:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:02:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:02:23 188c0c94c7c5: Pulling fs layer 15:02:23 0ef7d3d256c8: Pulling fs layer 15:02:23 de9db76c5a1d: Pulling fs layer 15:02:23 0eba1c9be4d2: Pulling fs layer 15:02:23 0d57e429df01: Pulling fs layer 15:02:23 4e4be7b47b0d: Pulling fs layer 15:02:23 e1f770b5df2f: Pulling fs layer 15:02:23 85a0685a4137: Pulling fs layer 15:02:23 e1f770b5df2f: Waiting 15:02:23 85a0685a4137: Waiting 15:02:23 0eba1c9be4d2: Waiting 15:02:23 0d57e429df01: Waiting 15:02:23 4e4be7b47b0d: Waiting 15:02:23 de9db76c5a1d: Verifying Checksum 15:02:23 de9db76c5a1d: Download complete 15:02:23 0ef7d3d256c8: Verifying Checksum 15:02:23 0ef7d3d256c8: Download complete 15:02:23 0d57e429df01: Verifying Checksum 15:02:23 0d57e429df01: Download complete 15:02:23 4e4be7b47b0d: Verifying Checksum 15:02:23 4e4be7b47b0d: Download complete 15:02:23 188c0c94c7c5: Download complete 15:02:23 188c0c94c7c5: Pull complete 15:02:23 e1f770b5df2f: Verifying Checksum 15:02:23 e1f770b5df2f: Download complete 15:02:23 0ef7d3d256c8: Pull complete 15:02:23 de9db76c5a1d: Pull complete 15:02:24 0eba1c9be4d2: Verifying Checksum 15:02:24 0eba1c9be4d2: Download complete 15:02:24 85a0685a4137: Verifying Checksum 15:02:24 85a0685a4137: Download complete 15:02:27 0eba1c9be4d2: Pull complete 15:02:27 0d57e429df01: Pull complete 15:02:27 4e4be7b47b0d: Pull complete 15:02:28 e1f770b5df2f: Pull complete 15:02:31 85a0685a4137: Pull complete 15:02:31 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:02:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:02:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:02:31 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 15:02:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:02:33 $ docker top a903584fb1f790c37748a7e85b14a2db95f6c4cb7bb833d15955a16c321b30da -eo pid,comm [Pipeline] { [Pipeline] echo 15:02:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:02:33 + set -o pipefail 15:02:33 + snyk monitor '--org=edgex-jenkins' 15:02:37 15:02:37 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 15:02:37 15:02:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/1059e9d9-41a9-452f-858e-1988c2323397 15:02:37 15:02:37 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 15:02:37 15:02:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:02:37 15:02:37 [Pipeline] } 15:02:37 $ docker stop --time=1 a903584fb1f790c37748a7e85b14a2db95f6c4cb7bb833d15955a16c321b30da 15:02:39 $ docker rm -f a903584fb1f790c37748a7e85b14a2db95f6c4cb7bb833d15955a16c321b30da [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 15:02:40 + git log --format=format:%s -1 8f99c6f6f95ddf2a2695655a7f109a71384649ab [Pipeline] sh 15:02:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:02:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:02:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:02:40 . [Pipeline] withDockerContainer 15:02:40 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 15:02:40 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:02:41 $ docker top 9315eb1620f2165203e3b15f0450b17e371bdfead0bedb7aebf184fd8828b843 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:02:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:02:41 [ssh-agent] Looking for ssh-agent implementation... 15:02:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:02:41 $ docker exec 9315eb1620f2165203e3b15f0450b17e371bdfead0bedb7aebf184fd8828b843 ssh-agent 15:02:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJNOPHM/agent.14 15:02:41 SSH_AGENT_PID=20 15:02:41 Running ssh-add (command line suppressed) 15:02:41 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6289616447800926564.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6289616447800926564.key) 15:02:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:02:42 + git semver tag 15:02:42 # -> Open(): unable to determine branch for HEAD 15:02:42 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 15:02:42 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 15:02:42 # $SEMVER_REMOTE_NAME = origin 15:02:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:02:42 # $SEMVER_USER_NAME = edgex-jenkins 15:02:42 # $SEMVER_BRANCH = main 15:02:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 15:02:42 # 8f99c6f6f95ddf2a2695655a7f109a71384649ab HEAD 15:02:42 # -> Force: false 15:02:42 # ad63b97476620a2ffbea8cad6faff61b1426de2d refs/tags/v2.2.0-dev.7 [Pipeline] } 15:02:42 $ docker exec --env ******** --env ******** 9315eb1620f2165203e3b15f0450b17e371bdfead0bedb7aebf184fd8828b843 ssh-agent -k 15:02:42 unset SSH_AUTH_SOCK; 15:02:42 unset SSH_AGENT_PID; 15:02:42 echo Agent pid 20 killed; 15:02:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:02:42 + git semver [Pipeline] } 15:02:42 $ docker stop --time=1 9315eb1620f2165203e3b15f0450b17e371bdfead0bedb7aebf184fd8828b843 15:02:43 $ docker rm -f 9315eb1620f2165203e3b15f0450b17e371bdfead0bedb7aebf184fd8828b843 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:02:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:02:44 15:02:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:02:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:02:44 0.23.1-centos7: Pulling from edgex-lftools 15:02:44 ab5ef0e58194: Pulling fs layer 15:02:44 9712f1f96733: Pulling fs layer 15:02:44 63f879dbbcfc: Pulling fs layer 15:02:44 0d9ebad4ef96: Pulling fs layer 15:02:44 e9a5061849ea: Pulling fs layer 15:02:44 d747dcd14b5f: Pulling fs layer 15:02:44 2de7ff778b66: Pulling fs layer 15:02:44 e9a5061849ea: Waiting 15:02:44 0d9ebad4ef96: Waiting 15:02:44 d747dcd14b5f: Waiting 15:02:44 9712f1f96733: Verifying Checksum 15:02:44 9712f1f96733: Download complete 15:02:44 63f879dbbcfc: Verifying Checksum 15:02:44 63f879dbbcfc: Download complete 15:02:45 0d9ebad4ef96: Verifying Checksum 15:02:45 0d9ebad4ef96: Download complete 15:02:45 d747dcd14b5f: Verifying Checksum 15:02:45 d747dcd14b5f: Download complete 15:02:45 e9a5061849ea: Verifying Checksum 15:02:45 e9a5061849ea: Download complete 15:02:45 ab5ef0e58194: Verifying Checksum 15:02:45 ab5ef0e58194: Download complete 15:02:45 2de7ff778b66: Verifying Checksum 15:02:45 2de7ff778b66: Download complete 15:02:47 ab5ef0e58194: Pull complete 15:02:47 9712f1f96733: Pull complete 15:02:48 63f879dbbcfc: Pull complete 15:02:52 0d9ebad4ef96: Pull complete 15:02:52 e9a5061849ea: Pull complete 15:02:52 d747dcd14b5f: Pull complete 15:02:53 2de7ff778b66: Pull complete 15:02:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:02:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:02:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:02:53 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 15:02:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:02:55 $ docker top 1d36dc84e17d5d3cf75a403edf4fef2090e4b3137e38e566ee5f707445f37c79 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:02:55 provisioning config files... 15:02:55 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2596939020963365811tmp 15:02:55 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config505510378158008116tmp 15:02:55 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1774883130326487672tmp [Pipeline] { [Pipeline] echo 15:02:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:02:56 ---> sigul-configuration.sh 15:02:56 gpg: directory `/root/.gnupg' created 15:02:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:02:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:02:56 gpg: keyring `/root/.gnupg/secring.gpg' created 15:02:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:02:56 gpg: CAST5 encrypted data 15:02:56 gpg: encrypted with 1 passphrase 15:02:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:02:56 + mkdir /home/jenkins 15:02:56 + mkdir /home/jenkins/sigul [Pipeline] sh 15:02:56 + 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 15:02:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:02:57 ---> sigul-install.sh 15:02:57 Sigul already installed; skipping installation. [Pipeline] sh 15:02:57 + git tag --list 15:02:57 0.7.1 15:02:57 v1.0.0 15:02:57 v1.1.0 15:02:57 v1.1.1 15:02:57 v1.2.2 15:02:57 v1.3.0 15:02:57 v1.3.1 15:02:57 v2.0.0 15:02:57 v2.0.1-dev.1 15:02:57 v2.0.1-dev.10 15:02:57 v2.0.1-dev.11 15:02:57 v2.0.1-dev.12 15:02:57 v2.0.1-dev.2 15:02:57 v2.0.1-dev.3 15:02:57 v2.0.1-dev.4 15:02:57 v2.0.1-dev.5 15:02:57 v2.0.1-dev.6 15:02:57 v2.0.1-dev.7 15:02:57 v2.0.1-dev.8 15:02:57 v2.0.1-dev.9 15:02:57 v2.1.0 15:02:57 v2.2.0-dev.1 15:02:57 v2.2.0-dev.2 15:02:57 v2.2.0-dev.3 15:02:57 v2.2.0-dev.4 15:02:57 v2.2.0-dev.5 15:02:57 v2.2.0-dev.6 15:02:57 v2.2.0-dev.7 [Pipeline] sh 15:02:57 + lftools sign git-tag v2.2.0-dev.7 15:02:58 Signing Git tag with Sigul... 15:02:58 Signing v2.2.0-dev.7 [Pipeline] echo 15:02:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:02:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:02:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:02:58 $ docker stop --time=1 1d36dc84e17d5d3cf75a403edf4fef2090e4b3137e38e566ee5f707445f37c79 15:03:00 $ docker rm -f 1d36dc84e17d5d3cf75a403edf4fef2090e4b3137e38e566ee5f707445f37c79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:03:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:03:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:03:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:03:00 . [Pipeline] withDockerContainer 15:03:00 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 15:03:00 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:03:01 $ docker top c51b2a644ad03ad4ad7c60d915cf0af24bebe0755127d8c53d6ff89aa43a7477 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:03:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:01 [ssh-agent] Looking for ssh-agent implementation... 15:03:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:01 $ docker exec c51b2a644ad03ad4ad7c60d915cf0af24bebe0755127d8c53d6ff89aa43a7477 ssh-agent 15:03:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEfPeIm/agent.14 15:03:01 SSH_AGENT_PID=21 15:03:01 Running ssh-add (command line suppressed) 15:03:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5802935081144360894.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5802935081144360894.key) 15:03:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:02 + git semver bump pre 15:03:02 # -> Open(): unable to determine branch for HEAD 15:03:02 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 15:03:02 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 15:03:02 # $SEMVER_REMOTE_NAME = origin 15:03:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:03:02 # $SEMVER_USER_NAME = edgex-jenkins 15:03:02 # $SEMVER_BRANCH = main 15:03:02 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 15:03:02 2.2.0-dev.8 [Pipeline] } 15:03:02 $ docker exec --env ******** --env ******** c51b2a644ad03ad4ad7c60d915cf0af24bebe0755127d8c53d6ff89aa43a7477 ssh-agent -k 15:03:02 unset SSH_AUTH_SOCK; 15:03:02 unset SSH_AGENT_PID; 15:03:02 echo Agent pid 21 killed; 15:03:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:03:02 + git semver [Pipeline] } 15:03:02 $ docker stop --time=1 c51b2a644ad03ad4ad7c60d915cf0af24bebe0755127d8c53d6ff89aa43a7477 15:03:03 $ docker rm -f c51b2a644ad03ad4ad7c60d915cf0af24bebe0755127d8c53d6ff89aa43a7477 [Pipeline] // withDockerContainer [Pipeline] sh 15:03:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:03:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:03:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:03:04 . [Pipeline] withDockerContainer 15:03:04 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 15:03:04 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:03:05 $ docker top b93a7db165bb0c921d94cb902e6b75a2c2a375a713059674a9987dec74582fef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:03:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:05 [ssh-agent] Looking for ssh-agent implementation... 15:03:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:05 $ docker exec b93a7db165bb0c921d94cb902e6b75a2c2a375a713059674a9987dec74582fef ssh-agent 15:03:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIMoINJ/agent.14 15:03:05 SSH_AGENT_PID=21 15:03:05 Running ssh-add (command line suppressed) 15:03:05 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_219155165765615017.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_219155165765615017.key) 15:03:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:05 + git semver push 15:03:05 # -> Open(): unable to determine branch for HEAD 15:03:05 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 15:03:05 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 15:03:05 # $SEMVER_REMOTE_NAME = origin 15:03:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:03:05 # $SEMVER_USER_NAME = edgex-jenkins 15:03:05 # $SEMVER_BRANCH = main 15:03:05 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 15:03:11 git-semver-push: command error on refs/heads/semver: Internal Server Error [Pipeline] } 15:03:11 $ docker exec --env ******** --env ******** b93a7db165bb0c921d94cb902e6b75a2c2a375a713059674a9987dec74582fef ssh-agent -k 15:03:11 unset SSH_AUTH_SOCK; 15:03:11 unset SSH_AGENT_PID; 15:03:11 echo Agent pid 21 killed; 15:03:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:03:11 $ docker stop --time=1 b93a7db165bb0c921d94cb902e6b75a2c2a375a713059674a9987dec74582fef 15:03:12 $ docker rm -f b93a7db165bb0c921d94cb902e6b75a2c2a375a713059674a9987dec74582fef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:03:13 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 15:03:13 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 15:03:13 total 16 15:03:13 drwxr-xr-x 3 root root 4096 Mar 17 14:54 . 15:03:13 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 15:02 .. 15:03:13 drwxr-xr-x 2 root root 4096 Mar 17 14:54 cost 15:03:13 -rw-r--r-- 1 root root 86 Mar 17 14:54 cost.csv 15:03:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 15:03:13 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 15:03:13 total 16 15:03:13 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 14:54 . 15:03:13 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 15:02 .. 15:03:13 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 14:54 cost 15:03:13 -rw-r--r-- 1 jenkins jenkins 86 Mar 17 14:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:03:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:03:14 ---> package-listing.sh 15:03:14 ++ facter osfamily 15:03:14 ++ tr '[:upper:]' '[:lower:]' 15:03:14 + OS_FAMILY=debian 15:03:14 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 15:03:14 + START_PACKAGES=/tmp/packages_start.txt 15:03:14 + END_PACKAGES=/tmp/packages_end.txt 15:03:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:03:14 + PACKAGES=/tmp/packages_start.txt 15:03:14 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 15:03:14 + PACKAGES=/tmp/packages_end.txt 15:03:14 + case "${OS_FAMILY}" in 15:03:14 + dpkg -l 15:03:14 + grep '^ii' 15:03:14 + '[' -f /tmp/packages_start.txt ']' 15:03:14 + '[' -f /tmp/packages_end.txt ']' 15:03:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:03:14 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 15:03:14 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 15:03:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 15:03:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 15:03:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:03:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:03:15 . [Pipeline] withDockerContainer 15:03:15 prd-ubuntu20.04-docker-8c-8g-7833 does not seem to be running inside a container 15:03:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:03:15 $ docker top d4f2d22353fd1ea782c01269c10b27f5610bea117f97858e51f55bcd9fdc9f92 -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:16 + touch /tmp/pre-build-complete [Pipeline] sh 15:03:16 + mkdir -p /var/log/sysstat [Pipeline] sh 15:03:16 + ls /var/log/sa-host 15:03:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:03:16 provisioning config files... 15:03:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2028595474989358516tmp [Pipeline] { [Pipeline] echo 15:03:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:03:17 ---> create-netrc.sh [Pipeline] } 15:03:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:03:17 ---> python-tools-install.sh [Pipeline] echo 15:03:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:03:17 ---> sudo-logs.sh 15:03:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:03:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:03:18 ---> job-cost.sh 15:03:18 lf-activate-venv: SKIPPING 15:03:18 DEBUG: total: 0.2199999988079071 15:03:18 INFO: Retrieving Stack Cost... 15:03:18 INFO: Retrieving Pricing Info for: v3-standard-8 15:03:19 INFO: Archiving Costs [Pipeline] echo 15:03:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:03:19 ---> logs-deploy.sh 15:03:19 lf-activate-venv: SKIPPING 15:03:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/24 15:03:19 INFO: archiving workspace using pattern(s): 15:03:20 Archives upload complete. 15:03:20 INFO: archiving logs to Nexus 15:03:21 ---> uname -a: 15:03:21 Linux prd-ubuntu20-04-docker-8c-8g-7833 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 15:03:21 15:03:21 15:03:21 ---> lscpu: 15:03:21 Architecture: x86_64 15:03:21 CPU op-mode(s): 32-bit, 64-bit 15:03:21 Byte Order: Little Endian 15:03:21 Address sizes: 40 bits physical, 48 bits virtual 15:03:21 CPU(s): 8 15:03:21 On-line CPU(s) list: 0-7 15:03:21 Thread(s) per core: 1 15:03:21 Core(s) per socket: 1 15:03:21 Socket(s): 8 15:03:21 NUMA node(s): 1 15:03:21 Vendor ID: AuthenticAMD 15:03:21 CPU family: 23 15:03:21 Model: 49 15:03:21 Model name: AMD EPYC-Rome Processor 15:03:21 Stepping: 0 15:03:21 CPU MHz: 2799.998 15:03:21 BogoMIPS: 5599.99 15:03:21 Virtualization: AMD-V 15:03:21 Hypervisor vendor: KVM 15:03:21 Virtualization type: full 15:03:21 L1d cache: 256 KiB 15:03:21 L1i cache: 256 KiB 15:03:21 L2 cache: 4 MiB 15:03:21 L3 cache: 128 MiB 15:03:21 NUMA node0 CPU(s): 0-7 15:03:21 Vulnerability Itlb multihit: Not affected 15:03:21 Vulnerability L1tf: Not affected 15:03:21 Vulnerability Mds: Not affected 15:03:21 Vulnerability Meltdown: Not affected 15:03:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:03:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 15:03:21 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 15:03:21 Vulnerability Srbds: Not affected 15:03:21 Vulnerability Tsx async abort: Not affected 15:03:21 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 15:03:21 15:03:21