Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f4ca74df0424dae884c5f6599910fb97153f1e42 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-ssh1338223315851571955.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-ssh18276590226717934511.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-ssh9016980415500108251.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-ssh16035838715634920288.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-ssh14611389087796512952.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap: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 Running on prd-ubuntu20.04-docker-8c-8g-19479 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 f4ca74df0424dae884c5f6599910fb97153f1e42 (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 f4ca74df0424dae884c5f6599910fb97153f1e42 # timeout=10 Commit message: "Merge pull request #327 from farshidtz/snap-appstream" > git rev-list --no-walk 1c15b26e628de1330ea15a2b39e616284bb6f9fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:18:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:18:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:18:17 ========================================================= 10:18:17 EdgeX Global Pipelines Version Info 10:18:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:18:18 ------------------- 10:18:18 stable info: 10:18:18 ------------------- 10:18:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:18:18 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:18:18 Message: update stable to v1.0.221 10:18:19 ------------------- 10:18:19 experimental info: 10:18:19 ------------------- 10:18:19 Commited By: **** collab-it+edgex@linuxfoundation.org 10:18:19 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:18:19 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4ca74d [Pipeline] echo 10:18:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:19 provisioning config files... 10:18:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5712932188847588855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:20 ---> docker-login.sh 10:18:20 nexus3.edgexfoundry.org:10001 10:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:20 Configure a credential helper to remove this warning. See 10:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:20 10:18:20 Login Succeeded 10:18:20 nexus3.edgexfoundry.org:10002 10:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:20 Configure a credential helper to remove this warning. See 10:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:20 10:18:20 Login Succeeded 10:18:20 nexus3.edgexfoundry.org:10003 10:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:20 Configure a credential helper to remove this warning. See 10:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:20 10:18:20 Login Succeeded 10:18:20 nexus3.edgexfoundry.org:10004 10:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:20 Configure a credential helper to remove this warning. See 10:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:20 10:18:20 Login Succeeded 10:18:20 docker.io 10:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:21 Configure a credential helper to remove this warning. See 10:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:21 10:18:21 Login Succeeded 10:18:21 ---> docker-login.sh ends [Pipeline] } 10:18:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:18:21 + git rev-list -1 --merges f4ca74df0424dae884c5f6599910fb97153f1e42~1..f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] echo 10:18:21 -----------> git rev-list -1 --merges f4ca74df0424dae884c5f6599910fb97153f1e42~1..f4ca74df0424dae884c5f6599910fb97153f1e42 f4ca74df0424dae884c5f6599910fb97153f1e42 10:18:21 f4ca74df0424dae884c5f6599910fb97153f1e42 [false] [Pipeline] sh 10:18:22 + git log --format=format:%s -1 f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] echo 10:18:22 ========================================================= 10:18:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:18:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:18:22 + git log --format=format:%s -1 f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] echo 10:18:22 [semverPrep] GIT_COMMIT: f4ca74df0424dae884c5f6599910fb97153f1e42, Commit Message: Merge pull request #327 from farshidtz/snap-appstream [Pipeline] echo 10:18:22 [semverPrep] This is not a build commit. [Pipeline] sh 10:18:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:18:23 + grep -v github /etc/ssh/ssh_known_hosts 10:18:23 + [ -e /tmp/ssh_known_hosts ] 10:18:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:18:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:18:23 + sudo tee -a /etc/ssh/ssh_known_hosts 10:18:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:23 10:18:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:18:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:23 latest: Pulling from edgex-devops/git-semver 10:18:23 a0d0a0d46f8b: Pulling fs layer 10:18:23 3e5f54012d9b: Pulling fs layer 10:18:23 4c7163046ea9: Pulling fs layer 10:18:23 0c2d73faf560: Pulling fs layer 10:18:23 0c2d73faf560: Waiting 10:18:23 3e5f54012d9b: Verifying Checksum 10:18:23 3e5f54012d9b: Download complete 10:18:23 a0d0a0d46f8b: Verifying Checksum 10:18:23 a0d0a0d46f8b: Download complete 10:18:23 4c7163046ea9: Verifying Checksum 10:18:23 4c7163046ea9: Download complete 10:18:23 0c2d73faf560: Verifying Checksum 10:18:23 0c2d73faf560: Download complete 10:18:24 a0d0a0d46f8b: Pull complete 10:18:24 3e5f54012d9b: Pull complete 10:18:24 4c7163046ea9: Pull complete 10:18:24 0c2d73faf560: Pull complete 10:18:24 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:18:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:18:24 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:18:24 $ 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 10:18:25 $ docker top e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:18:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:25 [ssh-agent] Looking for ssh-agent implementation... 10:18:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:25 $ docker exec e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 ssh-agent 10:18:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLfjhif/agent.13 10:18:25 SSH_AGENT_PID=19 10:18:25 Running ssh-add (command line suppressed) 10:18:25 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4697114413665625733.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4697114413665625733.key) 10:18:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:26 + git tag --points-at HEAD [Pipeline] } 10:18:26 $ docker exec --env ******** --env ******** e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 ssh-agent -k 10:18:26 unset SSH_AUTH_SOCK; 10:18:26 unset SSH_AGENT_PID; 10:18:26 echo Agent pid 19 killed; 10:18:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:18:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:26 [ssh-agent] Looking for ssh-agent implementation... 10:18:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:26 $ docker exec e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 ssh-agent 10:18:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDKkFml/agent.52 10:18:26 SSH_AGENT_PID=59 10:18:26 Running ssh-add (command line suppressed) 10:18:26 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_812581157005432142.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_812581157005432142.key) 10:18:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:27 + git semver init 10:18:27 # -> Open(): unable to determine branch for HEAD 10:18:27 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 10:18:27 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 10:18:27 # $SEMVER_REMOTE_NAME = origin 10:18:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:18:27 # $SEMVER_USER_NAME = edgex-jenkins 10:18:27 # $SEMVER_BRANCH = main 10:18:27 # $SEMVER_TEMP = /tmp/semver-621323507 10:18:27 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 10:18:28 # '/tmp/semver-621323507' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' 10:18:28 # -> Force: false 10:18:28 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 10:18:28 $ docker exec --env ******** --env ******** e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 ssh-agent -k 10:18:28 unset SSH_AUTH_SOCK; 10:18:28 unset SSH_AGENT_PID; 10:18:28 echo Agent pid 59 killed; 10:18:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:18:28 + git semver [Pipeline] } 10:18:28 $ docker stop --time=1 e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 10:18:29 $ docker rm -f e017671fe3b071d0cefc14f067e00d67b681cf74082e9c04536cc9fb22dad1c9 [Pipeline] // withDockerContainer [Pipeline] sh 10:18:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:18:30 Stashed 1 file(s) [Pipeline] echo 10:18:30 [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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 10:18:30 provisioning config files... 10:18:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4392661734766911229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:30 ---> docker-login.sh 10:18:30 nexus3.edgexfoundry.org:10001 10:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:30 Configure a credential helper to remove this warning. See 10:18:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:30 10:18:30 Login Succeeded 10:18:30 nexus3.edgexfoundry.org:10002 10:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:31 Configure a credential helper to remove this warning. See 10:18:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:31 10:18:31 Login Succeeded 10:18:31 nexus3.edgexfoundry.org:10003 10:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:31 Configure a credential helper to remove this warning. See 10:18:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:31 10:18:31 Login Succeeded 10:18:31 nexus3.edgexfoundry.org:10004 10:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:31 Configure a credential helper to remove this warning. See 10:18:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:31 10:18:31 Login Succeeded 10:18:31 docker.io 10:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:31 Configure a credential helper to remove this warning. See 10:18:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:31 10:18:31 Login Succeeded 10:18:31 ---> docker-login.sh ends [Pipeline] } 10:18:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:18:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:31 ========================================================= 10:18:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:18:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:18:32 + 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 . 10:18:32 Sending build context to Docker daemon 5.777MB 10:18:32 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 10:18:32 Step 2/10 : FROM ${BASE} AS builder 10:18:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:18:32 59bf1c3509f3: Pulling fs layer 10:18:32 666ba61612fd: Pulling fs layer 10:18:32 8ed8ca486205: Pulling fs layer 10:18:32 4fe6c5a15a65: Pulling fs layer 10:18:32 22a0e8bec74d: Pulling fs layer 10:18:32 640e595b4fbd: Pulling fs layer 10:18:32 763cafe07f6e: Pulling fs layer 10:18:32 0c0b528cf693: Pulling fs layer 10:18:32 10935f4eaf8b: Pulling fs layer 10:18:32 4fe6c5a15a65: Waiting 10:18:32 640e595b4fbd: Waiting 10:18:32 22a0e8bec74d: Waiting 10:18:32 763cafe07f6e: Waiting 10:18:32 0c0b528cf693: Waiting 10:18:32 10935f4eaf8b: Waiting 10:18:32 8ed8ca486205: Download complete 10:18:32 666ba61612fd: Verifying Checksum 10:18:32 666ba61612fd: Download complete 10:18:32 22a0e8bec74d: Verifying Checksum 10:18:32 22a0e8bec74d: Download complete 10:18:32 640e595b4fbd: Download complete 10:18:32 59bf1c3509f3: Verifying Checksum 10:18:32 59bf1c3509f3: Download complete 10:18:32 763cafe07f6e: Verifying Checksum 10:18:32 763cafe07f6e: Download complete 10:18:32 0c0b528cf693: Verifying Checksum 10:18:32 0c0b528cf693: Download complete 10:18:32 59bf1c3509f3: Pull complete 10:18:32 666ba61612fd: Pull complete 10:18:32 8ed8ca486205: Pull complete 10:18:32 10935f4eaf8b: Verifying Checksum 10:18:32 10935f4eaf8b: Download complete 10:18:32 4fe6c5a15a65: Verifying Checksum 10:18:32 4fe6c5a15a65: Download complete 10:18:37 4fe6c5a15a65: Pull complete 10:18:37 22a0e8bec74d: Pull complete 10:18:37 640e595b4fbd: Pull complete 10:18:37 763cafe07f6e: Pull complete 10:18:37 0c0b528cf693: Pull complete 10:18:39 10935f4eaf8b: Pull complete 10:18:39 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 10:18:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:18:39 ---> 99d49a6021b9 10:18:39 Step 3/10 : ARG MAKE='make build' 10:18:40 ---> Running in f702173e35dd 10:18:40 Removing intermediate container f702173e35dd 10:18:40 ---> bccf0bc7daa7 10:18:40 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:18:40 ---> Running in 7225f7da3624 10:18:41 Removing intermediate container 7225f7da3624 10:18:41 ---> aa566ab3b0ae 10:18:41 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:18:41 ---> Running in bf7a7a67b6f9 10:18:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:18:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:18:42 (1/8) Installing openssh-keygen (8.8_p1-r1) 10:18:42 (2/8) Installing libedit (20210910.3.1-r0) 10:18:43 (3/8) Installing openssh-client-common (8.8_p1-r1) 10:18:43 (4/8) Installing openssh-client-default (8.8_p1-r1) 10:18:43 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 10:18:43 (6/8) Installing openssh-server-common (8.8_p1-r1) 10:18:43 (7/8) Installing openssh-server (8.8_p1-r1) 10:18:43 (8/8) Installing openssh (8.8_p1-r1) 10:18:43 Executing busybox-1.34.1-r3.trigger 10:18:43 OK: 226 MiB in 60 packages 10:18:43 Removing intermediate container bf7a7a67b6f9 10:18:43 ---> 5f3aaa1b6165 10:18:43 Step 6/10 : WORKDIR /device-modbus-go 10:18:44 ---> Running in 5c6c8fe24b40 10:18:44 Removing intermediate container 5c6c8fe24b40 10:18:44 ---> d0bff52f4ab3 10:18:44 Step 7/10 : COPY go.mod vendor* ./ 10:18:44 ---> 6e858cc9d73f 10:18:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:18:44 ---> Running in 0eb54b6f7b30 10:18:45 Still waiting to schedule task 10:18:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:19:02 Removing intermediate container 0eb54b6f7b30 10:19:02 ---> 5d87486daa90 10:19:02 Step 9/10 : COPY . . 10:19:02 ---> 0935dac6c8a4 10:19:02 Step 10/10 : RUN ${MAKE} 10:19:02 ---> Running in e9bb52a703a9 10:19:02 noop 10:19:02 Removing intermediate container e9bb52a703a9 10:19:02 ---> c7d6730126b1 10:19:02 Successfully built c7d6730126b1 10:19:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:19:02 + docker inspect -f . ci-base-image-x86_64 10:19:02 . [Pipeline] withDockerContainer 10:19:02 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:19:03 $ 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 10:19:03 $ docker top 393294737be28ab75b22648072628bf90cc37faec162b148e018014928e2185c -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:03 + go version 10:19:03 go version go1.17.6 linux/amd64 [Pipeline] } 10:19:03 $ docker stop --time=1 393294737be28ab75b22648072628bf90cc37faec162b148e018014928e2185c 10:19:05 $ docker rm -f 393294737be28ab75b22648072628bf90cc37faec162b148e018014928e2185c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:19:05 + docker inspect -f . ci-base-image-x86_64 10:19:05 . [Pipeline] withDockerContainer 10:19:05 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:19:05 $ 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 10:19:06 $ docker top 3beae0de645d5356bd202d70f8a4f12759898cb045eca2d488f65ff56e9407b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:19:06 + make test 10:19:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:19:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:19:17 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:19:17 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 46.4% of statements 10:19:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:19:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:19:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:19:27 ./bin/test-attribution-txt.sh [Pipeline] echo 10:19:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:19:27 $ docker stop --time=1 3beae0de645d5356bd202d70f8a4f12759898cb045eca2d488f65ff56e9407b1 10:19:29 $ docker rm -f 3beae0de645d5356bd202d70f8a4f12759898cb045eca2d488f65ff56e9407b1 [Pipeline] // withDockerContainer [Pipeline] sh 10:19:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:19:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:19:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:19:31 + ls -al . 10:19:31 total 180 10:19:31 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 10:19 . 10:19:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:18 .. 10:19:31 -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 10:18 .dockerignore 10:19:31 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 10:18 .git 10:19:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 .github 10:19:31 -rw-rw-r-- 1 jenkins jenkins 331 Apr 11 10:18 .gitignore 10:19:31 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 10:18 .golangci.yml 10:19:31 drwx------ 3 jenkins jenkins 4096 Apr 11 10:18 .semver 10:19:31 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 11 10:18 Attribution.txt 10:19:31 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 11 10:18 CHANGELOG.md 10:19:31 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 11 10:18 Dockerfile 10:19:31 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 10:18 GOVERNANCE.md 10:19:31 -rw-rw-r-- 1 jenkins jenkins 679 Apr 11 10:18 Jenkinsfile 10:19:31 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 10:18 LICENSE 10:19:31 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 11 10:18 Makefile 10:19:31 -rw-rw-r-- 1 jenkins jenkins 622 Apr 11 10:18 OWNERS.md 10:19:31 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 11 10:18 README.md 10:19:31 -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 10:18 VERSION 10:19:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 bin 10:19:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 cmd 10:19:31 -rw-r--r-- 1 jenkins jenkins 24065 Apr 11 10:19 coverage.out 10:19:31 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 11 10:18 go.mod 10:19:31 -rw-rw-r-- 1 jenkins jenkins 34903 Apr 11 10:18 go.sum 10:19:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:18 internal 10:19:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:18 simulator 10:19:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:18 snap 10:19:31 -rw-rw-r-- 1 jenkins jenkins 229 Apr 11 10:18 version.go [Pipeline] isUnix [Pipeline] sh 10:19:31 + 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=f4ca74df0424dae884c5f6599910fb97153f1e42 --label arch=amd64 --label version=2.2.0-dev.11 . 10:19:31 Sending build context to Docker daemon 5.802MB 10:19:31 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 10:19:31 Step 2/23 : FROM ${BASE} AS builder 10:19:31 ---> c7d6730126b1 10:19:31 Step 3/23 : ARG MAKE='make build' 10:19:31 ---> Running in 44e51cd1ecab 10:19:31 Removing intermediate container 44e51cd1ecab 10:19:31 ---> 8fc0b638ec05 10:19:31 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:19:31 ---> Running in ecd2234c4d8f 10:19:32 Removing intermediate container ecd2234c4d8f 10:19:32 ---> 7d0af8d2e5e6 10:19:32 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:19:32 ---> Running in edf587c270f9 10:19:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:19:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:19:33 OK: 226 MiB in 60 packages 10:19:34 Removing intermediate container edf587c270f9 10:19:34 ---> bc2c82e8003b 10:19:34 Step 6/23 : WORKDIR /device-modbus-go 10:19:34 ---> Running in 5c9471a532bb 10:19:34 Removing intermediate container 5c9471a532bb 10:19:34 ---> ed030d36e1ae 10:19:34 Step 7/23 : COPY go.mod vendor* ./ 10:19:34 ---> 713979303ce8 10:19:34 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:19:34 ---> Running in 20a04056fefc 10:19:34 Removing intermediate container 20a04056fefc 10:19:34 ---> 6ab384ea450f 10:19:34 Step 9/23 : COPY . . 10:19:35 ---> 28aab4707bfc 10:19:35 Step 10/23 : RUN ${MAKE} 10:19:35 ---> Running in 0ed826db034f 10:19:35 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 10:19:53 Removing intermediate container 0ed826db034f 10:19:53 ---> 3701acc1d645 10:19:53 Step 11/23 : FROM alpine:3.14 10:19:54 3.14: Pulling from library/alpine 10:19:54 8663204ce13b: Pulling fs layer 10:19:54 8663204ce13b: Verifying Checksum 10:19:54 8663204ce13b: Download complete 10:19:54 8663204ce13b: Pull complete 10:19:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:19:54 Status: Downloaded newer image for alpine:3.14 10:19:54 ---> e04c818066af 10:19:54 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:19:54 ---> Running in a76fee84ad9f 10:19:54 Removing intermediate container a76fee84ad9f 10:19:54 ---> a1776d437f50 10:19:54 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:19:54 ---> Running in 6cf4b89c198f 10:19:55 Removing intermediate container 6cf4b89c198f 10:19:55 ---> bd14c7d9b847 10:19:55 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 10:19:55 ---> Running in 334e474ac9f7 10:19:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:19:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:19:56 (1/6) Installing dumb-init (1.2.5-r1) 10:19:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:19:57 (3/6) Installing libsodium (1.0.18-r0) 10:19:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:19:57 (5/6) Installing libzmq (4.3.4-r0) 10:19:57 (6/6) Installing zeromq (4.3.4-r0) 10:19:57 Executing busybox-1.33.1-r7.trigger 10:19:57 OK: 8 MiB in 20 packages 10:19:57 Removing intermediate container 334e474ac9f7 10:19:57 ---> c43ac9c9076b 10:19:57 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 10:19:58 ---> d1177056726d 10:19:58 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 10:19:58 ---> a0216c70fc3b 10:19:58 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:19:58 ---> ca05b979e134 10:19:58 Step 18/23 : EXPOSE 59901 10:19:58 ---> Running in 6e63d6489fb1 10:19:58 Removing intermediate container 6e63d6489fb1 10:19:58 ---> b33f1d2a1f50 10:19:58 Step 19/23 : ENTRYPOINT ["/device-modbus"] 10:19:58 ---> Running in d7a8e4a2838b 10:19:58 Removing intermediate container d7a8e4a2838b 10:19:58 ---> 688cf6c2ef81 10:19:58 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:19:58 ---> Running in fa793c6e866c 10:19:59 Removing intermediate container fa793c6e866c 10:19:59 ---> 14946d492cad 10:19:59 Step 21/23 : LABEL arch=amd64 10:19:59 ---> Running in 156e5f2243d7 10:19:59 Removing intermediate container 156e5f2243d7 10:19:59 ---> facd7239012b 10:19:59 Step 22/23 : LABEL git_sha=f4ca74df0424dae884c5f6599910fb97153f1e42 10:19:59 ---> Running in 8a799aa26900 10:19:59 Removing intermediate container 8a799aa26900 10:19:59 ---> d9b62a535174 10:19:59 Step 23/23 : LABEL version=2.2.0-dev.11 10:19:59 ---> Running in 735ce24ede9c 10:19:59 Removing intermediate container 735ce24ede9c 10:19:59 ---> 6d7c95e6064b 10:19:59 [Warning] One or more build-args [ARCH] were not consumed 10:19:59 Successfully built 6d7c95e6064b 10:19:59 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:59 provisioning config files... 10:19:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3144526847936572573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:59 ---> docker-login.sh 10:19:59 nexus3.edgexfoundry.org:10001 10:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:19:59 Configure a credential helper to remove this warning. See 10:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:19:59 10:19:59 Login Succeeded 10:19:59 nexus3.edgexfoundry.org:10002 10:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 nexus3.edgexfoundry.org:10003 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 nexus3.edgexfoundry.org:10004 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 docker.io 10:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:00 Configure a credential helper to remove this warning. See 10:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:00 10:20:00 Login Succeeded 10:20:00 ---> docker-login.sh ends [Pipeline] } 10:20:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:20:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:20:00 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 10:20:00 f4ca74df0424dae884c5f6599910fb97153f1e42 10:20:00 latest 10:20:00 2.2.0-dev.11 10:20:00 f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 10:20:00 main 10:20:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:20:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] isUnix [Pipeline] sh 10:20:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42 10:20:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:20:01 8beb3d337ea3: Preparing 10:20:01 3c517be0bd9f: Preparing 10:20:01 29569c66481a: Preparing 10:20:01 44d5f6accad3: Preparing 10:20:01 d740bdc0d33d: Preparing 10:20:01 b541d28bf3b4: Preparing 10:20:01 b541d28bf3b4: Waiting 10:20:01 8beb3d337ea3: Pushed 10:20:01 d740bdc0d33d: Pushed 10:20:01 3c517be0bd9f: Pushed 10:20:01 b541d28bf3b4: Layer already exists 10:20:01 44d5f6accad3: Pushed 10:20:04 29569c66481a: Pushed 10:20:04 f4ca74df0424dae884c5f6599910fb97153f1e42: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] isUnix [Pipeline] sh 10:20:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 10:20:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 10:20:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:20:04 8beb3d337ea3: Preparing 10:20:04 3c517be0bd9f: Preparing 10:20:04 29569c66481a: Preparing 10:20:04 44d5f6accad3: Preparing 10:20:04 d740bdc0d33d: Preparing 10:20:04 b541d28bf3b4: Preparing 10:20:04 b541d28bf3b4: Waiting 10:20:04 3c517be0bd9f: Layer already exists 10:20:04 44d5f6accad3: Layer already exists 10:20:04 29569c66481a: Layer already exists 10:20:04 d740bdc0d33d: Layer already exists 10:20:04 8beb3d337ea3: Layer already exists 10:20:04 b541d28bf3b4: Layer already exists 10:20:04 latest: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] isUnix [Pipeline] sh 10:20:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 10:20:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.11 10:20:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:20:05 8beb3d337ea3: Preparing 10:20:05 3c517be0bd9f: Preparing 10:20:05 29569c66481a: Preparing 10:20:05 44d5f6accad3: Preparing 10:20:05 d740bdc0d33d: Preparing 10:20:05 b541d28bf3b4: Preparing 10:20:05 3c517be0bd9f: Layer already exists 10:20:05 8beb3d337ea3: Layer already exists 10:20:05 44d5f6accad3: Layer already exists 10:20:05 d740bdc0d33d: Layer already exists 10:20:05 29569c66481a: Layer already exists 10:20:05 b541d28bf3b4: Layer already exists 10:20:05 2.2.0-dev.11: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] isUnix [Pipeline] sh 10:20:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 10:20:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 10:20:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:20:06 8beb3d337ea3: Preparing 10:20:06 3c517be0bd9f: Preparing 10:20:06 29569c66481a: Preparing 10:20:06 44d5f6accad3: Preparing 10:20:06 d740bdc0d33d: Preparing 10:20:06 b541d28bf3b4: Preparing 10:20:06 b541d28bf3b4: Waiting 10:20:06 29569c66481a: Layer already exists 10:20:06 8beb3d337ea3: Layer already exists 10:20:06 3c517be0bd9f: Layer already exists 10:20:06 d740bdc0d33d: Layer already exists 10:20:06 44d5f6accad3: Layer already exists 10:20:06 b541d28bf3b4: Layer already exists 10:20:06 f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] isUnix [Pipeline] sh 10:20:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 10:20:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 10:20:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:20:06 8beb3d337ea3: Preparing 10:20:06 3c517be0bd9f: Preparing 10:20:06 29569c66481a: Preparing 10:20:06 44d5f6accad3: Preparing 10:20:06 d740bdc0d33d: Preparing 10:20:06 b541d28bf3b4: Preparing 10:20:06 b541d28bf3b4: Waiting 10:20:06 29569c66481a: Layer already exists 10:20:06 8beb3d337ea3: Layer already exists 10:20:06 d740bdc0d33d: Layer already exists 10:20:06 44d5f6accad3: Layer already exists 10:20:06 3c517be0bd9f: Layer already exists 10:20:06 b541d28bf3b4: Layer already exists 10:20:06 main: digest: sha256:cd85702c76ada8b75142991c9821392a1b0991ff17c4d1e9fb525110a20b83a1 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:20:06 ===================================================== [Pipeline] echo 10:20:06 taggedImages: 10:20:06 - nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42 10:20:06 - nexus3.edgexfoundry.org:10004/device-modbus:latest 10:20:06 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.11 10:20:06 - nexus3.edgexfoundry.org:10004/device-modbus:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 10:20:06 - 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 10:20:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:07 10:20:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:20:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:07 latest: Pulling from edgex-lftools-log-publisher 10:20:07 5eb5b503b376: Pulling fs layer 10:20:07 5c69ac0246d0: Pulling fs layer 10:20:07 ec43610c2a17: Pulling fs layer 10:20:07 3a2ae6a8a46f: Pulling fs layer 10:20:07 33b1e0a273af: Pulling fs layer 10:20:07 5d3b04190fa2: Pulling fs layer 10:20:07 2f39f015ded8: Pulling fs layer 10:20:07 33b1e0a273af: Waiting 10:20:07 5d3b04190fa2: Waiting 10:20:07 2f39f015ded8: Waiting 10:20:07 3a2ae6a8a46f: Waiting 10:20:07 5c69ac0246d0: Download complete 10:20:07 3a2ae6a8a46f: Verifying Checksum 10:20:07 3a2ae6a8a46f: Download complete 10:20:07 ec43610c2a17: Verifying Checksum 10:20:07 ec43610c2a17: Download complete 10:20:07 33b1e0a273af: Verifying Checksum 10:20:07 33b1e0a273af: Download complete 10:20:07 5d3b04190fa2: Verifying Checksum 10:20:07 5d3b04190fa2: Download complete 10:20:07 5eb5b503b376: Verifying Checksum 10:20:07 5eb5b503b376: Download complete 10:20:08 2f39f015ded8: Download complete 10:20:08 5eb5b503b376: Pull complete 10:20:08 5c69ac0246d0: Pull complete 10:20:09 ec43610c2a17: Pull complete 10:20:09 3a2ae6a8a46f: Pull complete 10:20:09 33b1e0a273af: Pull complete 10:20:09 5d3b04190fa2: Pull complete 10:20:14 2f39f015ded8: Pull complete 10:20:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:20:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:20:14 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:20:14 $ 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 10:20:15 $ docker top 1830202dd9b30a84a30c245c5a8b324c8d684a7acf75a812f25267bb18937aa6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:15 ---> job-cost.sh 10:20:15 lf-activate-venv: SKIPPING 10:20:15 INFO: No Stack... 10:20:16 INFO: Retrieving Pricing Info for: v3-standard-8 10:20:16 INFO: Archiving Costs [Pipeline] sh 10:20:17 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 10:20:17 + cut -d, -f6 [Pipeline] lock 10:20:17 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] 10:20:17 Resource [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] did not exist. Created. 10:20:17 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:20:17 + echo total: 0.2199999988079071 [Pipeline] stash 10:20:17 Stashed 1 file(s) [Pipeline] } 10:20:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 10:20:17 $ docker stop --time=1 1830202dd9b30a84a30c245c5a8b324c8d684a7acf75a812f25267bb18937aa6 10:20:18 $ docker rm -f 1830202dd9b30a84a30c245c5a8b324c8d684a7acf75a812f25267bb18937aa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:20:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19480 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 10:20:20 Running in /w/workspace/device-modbus-go/29 [Pipeline] { [Pipeline] checkout 10:20:20 Selected Git installation does not exist. Using Default 10:20:20 The recommended git tool is: NONE 10:20:27 using credential edgex-jenkins-ssh 10:20:27 Cloning the remote Git repository 10:20:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:20:27 > git init /w/workspace/device-modbus-go/29 # timeout=10 10:20:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:20:28 > git --version # timeout=10 10:20:28 > git --version # 'git version 2.25.1' 10:20:28 using GIT_SSH to set credentials SSH Credentials for GitHub 10:20:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:20:29 Avoid second fetch 10:20:29 Checking out Revision f4ca74df0424dae884c5f6599910fb97153f1e42 (main) 10:20:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:20:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:20:29 > git config core.sparsecheckout # timeout=10 10:20:29 > git checkout -f f4ca74df0424dae884c5f6599910fb97153f1e42 # timeout=10 10:20:34 Commit message: "Merge pull request #327 from farshidtz/snap-appstream" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:20:35 % Total % Received % Xferd Average Speed Time Time Time Current 10:20:35 Dload Upload Total Spent Left Speed 10:20:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43862 0 --:--:-- --:--:-- --:--:-- 44026 [Pipeline] sh 10:20:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:20:36 + sudo tee /etc/docker/daemon.new 10:20:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:20:36 { 10:20:36 "registry-mirrors": [ 10:20:36 "https://nexus3.edgexfoundry.org:10001" 10:20:36 ], 10:20:36 "bip": "10.250.0.254/24", 10:20:36 "hosts": [ 10:20:36 "tcp://0.0.0.0:5555", 10:20:36 "unix:///var/run/docker.sock" 10:20:36 ], 10:20:36 "mtu": 1458, 10:20:36 "selinux-enabled": true, 10:20:36 "seccomp-profile": "/etc/docker/seccomp.json" 10:20:36 } [Pipeline] sh 10:20:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:20:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:55 provisioning config files... 10:20:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/29@tmp/config8354447901839799137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:55 ---> docker-login.sh 10:20:55 nexus3.edgexfoundry.org:10001 10:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:56 Configure a credential helper to remove this warning. See 10:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:56 10:20:56 Login Succeeded 10:20:56 nexus3.edgexfoundry.org:10002 10:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:56 Configure a credential helper to remove this warning. See 10:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:56 10:20:56 Login Succeeded 10:20:56 nexus3.edgexfoundry.org:10003 10:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:57 Configure a credential helper to remove this warning. See 10:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:57 10:20:57 Login Succeeded 10:20:57 nexus3.edgexfoundry.org:10004 10:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:57 Configure a credential helper to remove this warning. See 10:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:57 10:20:57 Login Succeeded 10:20:57 docker.io 10:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:58 Configure a credential helper to remove this warning. See 10:20:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:58 10:20:58 Login Succeeded 10:20:58 ---> docker-login.sh ends [Pipeline] } 10:20:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:20:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:20:59 ========================================================= 10:20:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:20:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:20:59 + 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 . 10:20:59 Sending build context to Docker daemon 3.031MB 10:20:59 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 10:20:59 Step 2/10 : FROM ${BASE} AS builder 10:21:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:21:00 9b3977197b4f: Pulling fs layer 10:21:00 1a89e8eeedd5: Pulling fs layer 10:21:00 94645a83ff95: Pulling fs layer 10:21:00 3f3a8bcf1eab: Pulling fs layer 10:21:00 0c92f367c5e7: Pulling fs layer 10:21:00 f7c0051592d6: Pulling fs layer 10:21:00 a227ed2f7395: Pulling fs layer 10:21:00 7b1c46037f91: Pulling fs layer 10:21:00 3f3a8bcf1eab: Waiting 10:21:00 0c92f367c5e7: Waiting 10:21:00 f7c0051592d6: Waiting 10:21:00 a227ed2f7395: Waiting 10:21:00 7b1c46037f91: Waiting 10:21:00 94645a83ff95: Download complete 10:21:00 1a89e8eeedd5: Verifying Checksum 10:21:00 1a89e8eeedd5: Download complete 10:21:00 0c92f367c5e7: Verifying Checksum 10:21:00 0c92f367c5e7: Download complete 10:21:00 f7c0051592d6: Verifying Checksum 10:21:00 f7c0051592d6: Download complete 10:21:00 9b3977197b4f: Download complete 10:21:00 a227ed2f7395: Verifying Checksum 10:21:00 a227ed2f7395: Download complete 10:21:00 9b3977197b4f: Pull complete 10:21:01 1a89e8eeedd5: Pull complete 10:21:01 94645a83ff95: Pull complete 10:21:02 7b1c46037f91: Verifying Checksum 10:21:02 7b1c46037f91: Download complete 10:21:02 3f3a8bcf1eab: Verifying Checksum 10:21:02 3f3a8bcf1eab: Download complete 10:21:15 3f3a8bcf1eab: Pull complete 10:21:15 0c92f367c5e7: Pull complete 10:21:15 f7c0051592d6: Pull complete 10:21:15 a227ed2f7395: Pull complete 10:21:21 7b1c46037f91: Pull complete 10:21:21 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 10:21:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:21:21 ---> f79e39bc4007 10:21:21 Step 3/10 : ARG MAKE='make build' 10:21:22 ---> Running in 32f3c0c31876 10:21:22 Removing intermediate container 32f3c0c31876 10:21:22 ---> 6901391374de 10:21:22 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:21:22 ---> Running in 4f873061d3e7 10:21:24 Removing intermediate container 4f873061d3e7 10:21:24 ---> bdb9232080ff 10:21:24 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:21:24 ---> Running in 6c539c65633c 10:21:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:21:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:21:27 (1/8) Installing openssh-keygen (8.8_p1-r1) 10:21:27 (2/8) Installing libedit (20210910.3.1-r0) 10:21:27 (3/8) Installing openssh-client-common (8.8_p1-r1) 10:21:27 (4/8) Installing openssh-client-default (8.8_p1-r1) 10:21:27 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 10:21:27 (6/8) Installing openssh-server-common (8.8_p1-r1) 10:21:28 (7/8) Installing openssh-server (8.8_p1-r1) 10:21:28 (8/8) Installing openssh (8.8_p1-r1) 10:21:28 Executing busybox-1.34.1-r3.trigger 10:21:28 OK: 226 MiB in 60 packages 10:21:29 Removing intermediate container 6c539c65633c 10:21:29 ---> 995947b1a535 10:21:29 Step 6/10 : WORKDIR /device-modbus-go 10:21:29 ---> Running in ef35b127ee7b 10:21:29 Removing intermediate container ef35b127ee7b 10:21:29 ---> d816da0dc192 10:21:29 Step 7/10 : COPY go.mod vendor* ./ 10:21:30 ---> 808c56c00623 10:21:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:21:30 ---> Running in b81b581a4543 10:22:17 Removing intermediate container b81b581a4543 10:22:17 ---> 3f4004fbde6c 10:22:17 Step 9/10 : COPY . . 10:22:17 ---> 8a657e6f14d7 10:22:17 Step 10/10 : RUN ${MAKE} 10:22:17 ---> Running in 2ac7cd43c95e 10:22:17 noop 10:22:17 Removing intermediate container 2ac7cd43c95e 10:22:17 ---> 87f1507bf80d 10:22:17 Successfully built 87f1507bf80d 10:22:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:22:17 + docker inspect -f . ci-base-image-arm64 10:22:17 . [Pipeline] withDockerContainer 10:22:17 prd-ubuntu20.04-docker-arm64-4c-16g-19480 does not seem to be running inside a container 10:22:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/29 -v /w/workspace/device-modbus-go/29:/w/workspace/device-modbus-go/29:rw,z -v /w/workspace/device-modbus-go/29@tmp:/w/workspace/device-modbus-go/29@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 10:22:19 $ docker top 29027a62beb2a7531fd4cd200d5806ed3bcaa3a0c6d44bc48319d0a890e39b7f -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:20 + go version 10:22:20 go version go1.17.6 linux/arm64 [Pipeline] } 10:22:20 $ docker stop --time=1 29027a62beb2a7531fd4cd200d5806ed3bcaa3a0c6d44bc48319d0a890e39b7f 10:22:21 $ docker rm -f 29027a62beb2a7531fd4cd200d5806ed3bcaa3a0c6d44bc48319d0a890e39b7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:22:22 + docker inspect -f . ci-base-image-arm64 10:22:22 . [Pipeline] withDockerContainer 10:22:22 prd-ubuntu20.04-docker-arm64-4c-16g-19480 does not seem to be running inside a container 10:22:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/29 -v /w/workspace/device-modbus-go/29:/w/workspace/device-modbus-go/29:rw,z -v /w/workspace/device-modbus-go/29@tmp:/w/workspace/device-modbus-go/29@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 10:22:24 $ docker top 37f5feaa1fc75fd2534f88cdba52e4b5802526ac834ca19806b46bce27e4b925 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:22:24 + make test 10:22:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:22:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:23:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:23:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.103s coverage: 46.4% of statements 10:23:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:23:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:24:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:24:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:24:06 ./bin/test-attribution-txt.sh [Pipeline] echo 10:24:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:24:08 $ docker stop --time=1 37f5feaa1fc75fd2534f88cdba52e4b5802526ac834ca19806b46bce27e4b925 10:24:10 $ docker rm -f 37f5feaa1fc75fd2534f88cdba52e4b5802526ac834ca19806b46bce27e4b925 [Pipeline] // withDockerContainer [Pipeline] sh 10:24:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:24:11 Warning: overwriting stash ‘coverage-report’ 10:24:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:24:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:24:12 + ls -al . 10:24:12 total 176 10:24:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 10:24 . 10:24:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:20 .. 10:24:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 10:20 .dockerignore 10:24:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 10:20 .git 10:24:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:20 .github 10:24:12 -rw-rw-r-- 1 jenkins jenkins 331 Apr 11 10:20 .gitignore 10:24:12 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 10:20 .golangci.yml 10:24:12 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 11 10:20 Attribution.txt 10:24:12 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 11 10:20 CHANGELOG.md 10:24:12 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 11 10:20 Dockerfile 10:24:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 10:20 GOVERNANCE.md 10:24:12 -rw-rw-r-- 1 jenkins jenkins 679 Apr 11 10:20 Jenkinsfile 10:24:12 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 10:20 LICENSE 10:24:12 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 11 10:20 Makefile 10:24:12 -rw-rw-r-- 1 jenkins jenkins 622 Apr 11 10:20 OWNERS.md 10:24:12 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 11 10:20 README.md 10:24:12 -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 10:18 VERSION 10:24:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:20 bin 10:24:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:20 cmd 10:24:12 -rw-r--r-- 1 jenkins jenkins 24065 Apr 11 10:23 coverage.out 10:24:12 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 11 10:20 go.mod 10:24:12 -rw-rw-r-- 1 jenkins jenkins 34903 Apr 11 10:20 go.sum 10:24:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 10:20 internal 10:24:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 10:20 simulator 10:24:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 10:20 snap 10:24:12 -rw-rw-r-- 1 jenkins jenkins 229 Apr 11 10:20 version.go [Pipeline] isUnix [Pipeline] sh 10:24:13 + 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=f4ca74df0424dae884c5f6599910fb97153f1e42 --label arch=arm64 --label version=2.2.0-dev.11 . 10:24:13 Sending build context to Docker daemon 3.056MB 10:24:13 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 10:24:13 Step 2/23 : FROM ${BASE} AS builder 10:24:13 ---> 87f1507bf80d 10:24:13 Step 3/23 : ARG MAKE='make build' 10:24:13 ---> Running in 8af41e00fc1e 10:24:13 Removing intermediate container 8af41e00fc1e 10:24:13 ---> 021785ca5956 10:24:13 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:13 ---> Running in 58908cab9c41 10:24:15 Removing intermediate container 58908cab9c41 10:24:15 ---> 60a8829e21d3 10:24:15 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:24:15 ---> Running in 022104ca771b 10:24:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:24:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:24:18 OK: 226 MiB in 60 packages 10:24:18 Removing intermediate container 022104ca771b 10:24:18 ---> 282a385a2c0d 10:24:18 Step 6/23 : WORKDIR /device-modbus-go 10:24:18 ---> Running in 3a14cd2e6d23 10:24:19 Removing intermediate container 3a14cd2e6d23 10:24:19 ---> 2834b2a2b87b 10:24:19 Step 7/23 : COPY go.mod vendor* ./ 10:24:19 ---> 13851f8c7086 10:24:19 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:24:20 ---> Running in 539b162534e9 10:24:22 Removing intermediate container 539b162534e9 10:24:22 ---> 1f852b21964b 10:24:22 Step 9/23 : COPY . . 10:24:22 ---> eb043763a047 10:24:22 Step 10/23 : RUN ${MAKE} 10:24:22 ---> Running in d6ac6fc5f1ed 10:24:23 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 10:26:30 Removing intermediate container d6ac6fc5f1ed 10:26:30 ---> 72fffc0467a9 10:26:30 Step 11/23 : FROM alpine:3.14 10:26:30 3.14: Pulling from library/alpine 10:26:30 455c02918c45: Pulling fs layer 10:26:30 455c02918c45: Verifying Checksum 10:26:30 455c02918c45: Download complete 10:26:30 455c02918c45: Pull complete 10:26:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:26:30 Status: Downloaded newer image for alpine:3.14 10:26:30 ---> ac73e934f311 10:26:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:26:30 ---> Running in 061995f6444e 10:26:30 Removing intermediate container 061995f6444e 10:26:30 ---> e1a1d2135913 10:26:30 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:26:30 ---> Running in ebe9e2dca8ab 10:26:30 Removing intermediate container ebe9e2dca8ab 10:26:30 ---> 02fd991365b2 10:26:30 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 10:26:30 ---> Running in 11766646b073 10:26:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:26:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:26:30 (1/6) Installing dumb-init (1.2.5-r1) 10:26:30 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:26:30 (3/6) Installing libsodium (1.0.18-r0) 10:26:30 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:26:30 (5/6) Installing libzmq (4.3.4-r0) 10:26:30 (6/6) Installing zeromq (4.3.4-r0) 10:26:30 Executing busybox-1.33.1-r7.trigger 10:26:30 OK: 8 MiB in 20 packages 10:26:30 Removing intermediate container 11766646b073 10:26:30 ---> 885d55377e7a 10:26:30 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 10:26:30 ---> b4bfbaa03c9d 10:26:30 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 10:26:30 ---> 2ab00d8a1bd6 10:26:30 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:26:30 ---> e0283d90225a 10:26:30 Step 18/23 : EXPOSE 59901 10:26:30 ---> Running in 781267bf82d9 10:26:30 Removing intermediate container 781267bf82d9 10:26:30 ---> 8921368422fc 10:26:30 Step 19/23 : ENTRYPOINT ["/device-modbus"] 10:26:30 ---> Running in 4b4bb6156c1a 10:26:30 Removing intermediate container 4b4bb6156c1a 10:26:30 ---> 4ae8d93ec772 10:26:30 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:26:30 ---> Running in b959b418885b 10:26:30 Removing intermediate container b959b418885b 10:26:30 ---> 6a9825395ee4 10:26:30 Step 21/23 : LABEL arch=arm64 10:26:30 ---> Running in 7fc94641534b 10:26:30 Removing intermediate container 7fc94641534b 10:26:30 ---> c30a1259bef0 10:26:30 Step 22/23 : LABEL git_sha=f4ca74df0424dae884c5f6599910fb97153f1e42 10:26:30 ---> Running in 03fa58185e6c 10:26:30 Removing intermediate container 03fa58185e6c 10:26:30 ---> cb1051209527 10:26:30 Step 23/23 : LABEL version=2.2.0-dev.11 10:26:30 ---> Running in 6de98c1fc4be 10:26:30 Removing intermediate container 6de98c1fc4be 10:26:30 ---> c071a2a0c628 10:26:30 [Warning] One or more build-args [ARCH] were not consumed 10:26:30 Successfully built c071a2a0c628 10:26:30 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 10:26:30 provisioning config files... 10:26:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/29@tmp/config4967210764904328383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:31 ---> docker-login.sh 10:26:31 nexus3.edgexfoundry.org:10001 10:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:31 Configure a credential helper to remove this warning. See 10:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:31 10:26:31 Login Succeeded 10:26:31 nexus3.edgexfoundry.org:10002 10:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:31 Configure a credential helper to remove this warning. See 10:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:31 10:26:31 Login Succeeded 10:26:31 nexus3.edgexfoundry.org:10003 10:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:32 Configure a credential helper to remove this warning. See 10:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:32 10:26:32 Login Succeeded 10:26:32 nexus3.edgexfoundry.org:10004 10:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:32 Configure a credential helper to remove this warning. See 10:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:32 10:26:32 Login Succeeded 10:26:32 docker.io 10:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:33 Configure a credential helper to remove this warning. See 10:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:33 10:26:33 Login Succeeded 10:26:33 ---> docker-login.sh ends [Pipeline] } 10:26:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:26:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:33 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 10:26:33 f4ca74df0424dae884c5f6599910fb97153f1e42 10:26:33 latest 10:26:33 2.2.0-dev.11 10:26:33 f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 10:26:33 main 10:26:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:26:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] isUnix [Pipeline] sh 10:26:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42 10:26:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:26:34 b92485ccf8a0: Preparing 10:26:34 0397f04373dd: Preparing 10:26:34 1d5b88c4d123: Preparing 10:26:34 1d8a4a6e322b: Preparing 10:26:34 d10930176416: Preparing 10:26:34 f73e7dbfee58: Preparing 10:26:34 f73e7dbfee58: Waiting 10:26:34 b92485ccf8a0: Pushed 10:26:34 0397f04373dd: Pushed 10:26:34 d10930176416: Pushed 10:26:34 f73e7dbfee58: Layer already exists 10:26:35 1d8a4a6e322b: Pushed 10:26:40 1d5b88c4d123: Pushed 10:26:40 f4ca74df0424dae884c5f6599910fb97153f1e42: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] isUnix [Pipeline] sh 10:26:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:26:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:26:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:26:41 b92485ccf8a0: Preparing 10:26:41 0397f04373dd: Preparing 10:26:41 1d5b88c4d123: Preparing 10:26:41 1d8a4a6e322b: Preparing 10:26:41 d10930176416: Preparing 10:26:41 f73e7dbfee58: Preparing 10:26:41 f73e7dbfee58: Waiting 10:26:41 1d5b88c4d123: Layer already exists 10:26:41 b92485ccf8a0: Layer already exists 10:26:41 1d8a4a6e322b: Layer already exists 10:26:41 d10930176416: Layer already exists 10:26:41 0397f04373dd: Layer already exists 10:26:41 f73e7dbfee58: Layer already exists 10:26:41 latest: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] isUnix [Pipeline] sh 10:26:42 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 10:26:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.11 10:26:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:26:42 b92485ccf8a0: Preparing 10:26:42 0397f04373dd: Preparing 10:26:42 1d5b88c4d123: Preparing 10:26:42 1d8a4a6e322b: Preparing 10:26:42 d10930176416: Preparing 10:26:42 f73e7dbfee58: Preparing 10:26:42 f73e7dbfee58: Waiting 10:26:42 0397f04373dd: Layer already exists 10:26:42 b92485ccf8a0: Layer already exists 10:26:42 1d8a4a6e322b: Layer already exists 10:26:42 d10930176416: Layer already exists 10:26:42 1d5b88c4d123: Layer already exists 10:26:42 f73e7dbfee58: Layer already exists 10:26:42 2.2.0-dev.11: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] isUnix [Pipeline] sh 10:26:43 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 10:26:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 10:26:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:26:43 b92485ccf8a0: Preparing 10:26:43 0397f04373dd: Preparing 10:26:43 1d5b88c4d123: Preparing 10:26:43 1d8a4a6e322b: Preparing 10:26:43 d10930176416: Preparing 10:26:43 f73e7dbfee58: Preparing 10:26:43 f73e7dbfee58: Waiting 10:26:43 b92485ccf8a0: Layer already exists 10:26:43 1d8a4a6e322b: Layer already exists 10:26:43 0397f04373dd: Layer already exists 10:26:43 d10930176416: Layer already exists 10:26:43 1d5b88c4d123: Layer already exists 10:26:43 f73e7dbfee58: Layer already exists 10:26:43 f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] isUnix [Pipeline] sh 10:26:44 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 10:26:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 10:26:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:26:44 b92485ccf8a0: Preparing 10:26:44 0397f04373dd: Preparing 10:26:44 1d5b88c4d123: Preparing 10:26:44 1d8a4a6e322b: Preparing 10:26:44 d10930176416: Preparing 10:26:44 f73e7dbfee58: Preparing 10:26:44 f73e7dbfee58: Waiting 10:26:44 1d5b88c4d123: Layer already exists 10:26:44 d10930176416: Layer already exists 10:26:44 1d8a4a6e322b: Layer already exists 10:26:44 0397f04373dd: Layer already exists 10:26:44 b92485ccf8a0: Layer already exists 10:26:44 f73e7dbfee58: Layer already exists 10:26:44 main: digest: sha256:52f2226556c8aef6f4e2c50459525b448b427db1198a7ced4138147fa2b2a339 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:26:44 ===================================================== [Pipeline] echo 10:26:44 taggedImages: 10:26:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42 10:26:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:26:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.11 10:26:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f4ca74df0424dae884c5f6599910fb97153f1e42-2.2.0-dev.11 10:26:44 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:26:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:45 10:26:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:26:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:45 arm64: Pulling from edgex-lftools-log-publisher 10:26:45 8998bd30e6a1: Pulling fs layer 10:26:45 04944245beec: Pulling fs layer 10:26:45 699f458cf7ca: Pulling fs layer 10:26:45 765212b225bb: Pulling fs layer 10:26:45 f23df028b6ca: Pulling fs layer 10:26:45 d65c8cfc05b1: Pulling fs layer 10:26:45 2437ff75d9bd: Pulling fs layer 10:26:45 d65c8cfc05b1: Waiting 10:26:45 2437ff75d9bd: Waiting 10:26:45 765212b225bb: Waiting 10:26:45 04944245beec: Verifying Checksum 10:26:45 04944245beec: Download complete 10:26:45 765212b225bb: Verifying Checksum 10:26:45 765212b225bb: Download complete 10:26:45 f23df028b6ca: Verifying Checksum 10:26:45 f23df028b6ca: Download complete 10:26:45 d65c8cfc05b1: Verifying Checksum 10:26:45 d65c8cfc05b1: Download complete 10:26:46 699f458cf7ca: Verifying Checksum 10:26:46 699f458cf7ca: Download complete 10:26:46 8998bd30e6a1: Verifying Checksum 10:26:46 8998bd30e6a1: Download complete 10:26:48 2437ff75d9bd: Verifying Checksum 10:26:48 2437ff75d9bd: Download complete 10:26:51 8998bd30e6a1: Pull complete 10:26:51 04944245beec: Pull complete 10:26:52 699f458cf7ca: Pull complete 10:26:53 765212b225bb: Pull complete 10:26:53 f23df028b6ca: Pull complete 10:26:54 d65c8cfc05b1: Pull complete 10:27:09 2437ff75d9bd: Pull complete 10:27:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:27:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:27:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:27:09 prd-ubuntu20.04-docker-arm64-4c-16g-19480 does not seem to be running inside a container 10:27:09 $ 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/29 -v /w/workspace/device-modbus-go/29:/w/workspace/device-modbus-go/29:rw,z -v /w/workspace/device-modbus-go/29@tmp:/w/workspace/device-modbus-go/29@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 10:27:12 $ docker top 5d9bcce226f9cfcaa148f7c8ed065a6795eafc5f67e277ad56c7f595ea7d14ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:13 ---> job-cost.sh 10:27:13 lf-activate-venv: SKIPPING 10:27:13 INFO: No Stack... 10:27:13 INFO: Retrieving Pricing Info for: v3-standard-4 10:27:14 INFO: Archiving Costs [Pipeline] sh 10:27:15 + cat /w/workspace/device-modbus-go/29/archives/cost.csv 10:27:15 + cut -d, -f6 [Pipeline] lock 10:27:15 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] 10:27:15 Resource [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] did not exist. Created. 10:27:15 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:27:16 /w/workspace/device-modbus-go/29@tmp/durable-c607c4c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:27:16 + echo total: 0.10999999940395355 [Pipeline] stash 10:27:16 Warning: overwriting stash ‘stack-cost’ 10:27:17 Stashed 1 file(s) [Pipeline] } 10:27:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 10:27:17 $ docker stop --time=1 5d9bcce226f9cfcaa148f7c8ed065a6795eafc5f67e277ad56c7f595ea7d14ba 10:27:18 $ docker rm -f 5d9bcce226f9cfcaa148f7c8ed065a6795eafc5f67e277ad56c7f595ea7d14ba [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 10:27:19 provisioning config files... 10:27:19 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5546421994120229871tmp [Pipeline] { [Pipeline] sh 10:27:19 + set +x 10:27:19 + curl -s https://codecov.io/bash 10:27:19 + bash -s -- 10:27:19 10:27:19 _____ _ 10:27:19 / ____| | | 10:27:19 | | ___ __| | ___ ___ _____ __ 10:27:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:27:19 | |___| (_) | (_| | __/ (_| (_) \ V / 10:27:19 \_____\___/ \__,_|\___|\___\___/ \_/ 10:27:19 Bash-1.0.6 10:27:19 10:27:19 10:27:19 ==> git version 2.25.1 found 10:27:19 ==> 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 10:27:19 Release-Date: 2020-01-08 10:27:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:27:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:27:19 ==> Jenkins CI detected. 10:27:19 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 10:27:19 project root: . 10:27:19 --> token set from env 10:27:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:27:19 ==> Running gcov in . (disable via -X gcov) 10:27:19 ==> Python coveragepy not found 10:27:19 ==> Searching for coverage reports in: 10:27:19 + . 10:27:19 -> Found 1 reports 10:27:19 ==> Detecting git/mercurial file structure 10:27:19 ==> Reading reports 10:27:19 + ./coverage.out bytes=24065 10:27:19 ==> Appending adjustments 10:27:19 https://docs.codecov.io/docs/fixing-reports 10:27:19 + Found adjustments 10:27:19 ==> Gzipping contents 10:27:19 4.0K /tmp/codecov.OdppyH.gz 10:27:19 ==> Uploading reports 10:27:19 url: https://codecov.io 10:27:19 query: branch=main&commit=f4ca74df0424dae884c5f6599910fb97153f1e42&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:27:19 -> Pinging Codecov 10:27:19 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=f4ca74df0424dae884c5f6599910fb97153f1e42&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:27:20 -> Uploading to 10:27:20 https://storage.googleapis.com/codecov/v4/raw/2022-04-11/55DBCA73C666E3227836607328DD7E49/f4ca74df0424dae884c5f6599910fb97153f1e42/7c6abe33-da7a-4983-a6fd-700f08a0de8d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T102719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c908244cf3be4d06f9c9c5e9271e0b8118d59dd3efcf7db3d3950ea84314287 10:27:20 % Total % Received % Xferd Average Speed Time Time Time Current 10:27:20 Dload Upload Total Spent Left Speed 10:27:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4031 0 0 100 4031 0 17008 --:--:-- --:--:-- --:--:-- 17008 10:27:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] } 10:27:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:27:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:27:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:27:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:27:20 10:27:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 10:27:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:27:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:27:21 188c0c94c7c5: Pulling fs layer 10:27:21 0ef7d3d256c8: Pulling fs layer 10:27:21 de9db76c5a1d: Pulling fs layer 10:27:21 0eba1c9be4d2: Pulling fs layer 10:27:21 0d57e429df01: Pulling fs layer 10:27:21 4e4be7b47b0d: Pulling fs layer 10:27:21 e1f770b5df2f: Pulling fs layer 10:27:21 85a0685a4137: Pulling fs layer 10:27:21 0eba1c9be4d2: Waiting 10:27:21 0d57e429df01: Waiting 10:27:21 4e4be7b47b0d: Waiting 10:27:21 e1f770b5df2f: Waiting 10:27:21 85a0685a4137: Waiting 10:27:21 de9db76c5a1d: Download complete 10:27:21 0ef7d3d256c8: Download complete 10:27:21 0d57e429df01: Verifying Checksum 10:27:21 0d57e429df01: Download complete 10:27:21 4e4be7b47b0d: Verifying Checksum 10:27:21 4e4be7b47b0d: Download complete 10:27:21 188c0c94c7c5: Verifying Checksum 10:27:21 188c0c94c7c5: Download complete 10:27:21 188c0c94c7c5: Pull complete 10:27:21 e1f770b5df2f: Verifying Checksum 10:27:21 e1f770b5df2f: Download complete 10:27:21 0ef7d3d256c8: Pull complete 10:27:21 de9db76c5a1d: Pull complete 10:27:21 0eba1c9be4d2: Verifying Checksum 10:27:21 0eba1c9be4d2: Download complete 10:27:21 85a0685a4137: Verifying Checksum 10:27:21 85a0685a4137: Download complete 10:27:25 0eba1c9be4d2: Pull complete 10:27:25 0d57e429df01: Pull complete 10:27:25 4e4be7b47b0d: Pull complete 10:27:25 e1f770b5df2f: Pull complete 10:27:28 85a0685a4137: Pull complete 10:27:28 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 10:27:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:27:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 10:27:28 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:27:28 $ 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 10:27:30 $ docker top cb9161f002b33eb946b4433c3f8aafa5fa7daa9be90b93b75d450437de5e4c02 -eo pid,comm [Pipeline] { [Pipeline] echo 10:27:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 10:27:31 + set -o pipefail 10:27:31 + snyk monitor '--org=edgex-jenkins' 10:27:36 10:27:36 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 10:27:36 10:27:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/2c98c3a6-851e-4a49-aa92-5e2f8b3c058b 10:27:36 10:27:36 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 10:27:36 10:27:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:27:36 10:27:36 [Pipeline] } 10:27:36 $ docker stop --time=1 cb9161f002b33eb946b4433c3f8aafa5fa7daa9be90b93b75d450437de5e4c02 10:27:38 $ docker rm -f cb9161f002b33eb946b4433c3f8aafa5fa7daa9be90b93b75d450437de5e4c02 [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 10:27:39 + git log --format=format:%s -1 f4ca74df0424dae884c5f6599910fb97153f1e42 [Pipeline] sh 10:27:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:27:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:27:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:27:39 . [Pipeline] withDockerContainer 10:27:39 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:27:39 $ 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 10:27:40 $ docker top 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:40 [ssh-agent] Looking for ssh-agent implementation... 10:27:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:40 $ docker exec 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b ssh-agent 10:27:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcbgHfG/agent.14 10:27:40 SSH_AGENT_PID=20 10:27:40 Running ssh-add (command line suppressed) 10:27:40 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_632737182844521449.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_632737182844521449.key) 10:27:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:40 + git semver tag 10:27:40 # -> Open(): unable to determine branch for HEAD 10:27:40 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 10:27:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 10:27:40 # $SEMVER_REMOTE_NAME = origin 10:27:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:27:40 # $SEMVER_USER_NAME = edgex-jenkins 10:27:40 # $SEMVER_BRANCH = main 10:27:40 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 10:27:40 # f4ca74df0424dae884c5f6599910fb97153f1e42 HEAD 10:27:40 # -> Force: false 10:27:40 # de762ff610636f36c571a80ecdc2db6e3ec0e040 refs/tags/v2.2.0-dev.11 [Pipeline] } 10:27:40 $ docker exec --env ******** --env ******** 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b ssh-agent -k 10:27:41 unset SSH_AUTH_SOCK; 10:27:41 unset SSH_AGENT_PID; 10:27:41 echo Agent pid 20 killed; 10:27:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:41 + git semver [Pipeline] } 10:27:41 $ docker stop --time=1 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b 10:27:42 $ docker rm -f 42fc819884e79a12b3993f413f633a424942173a2cc32f273cae79e5f54a2d8b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 10:27:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:27:43 10:27:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 10:27:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:27:43 0.23.1-centos7: Pulling from edgex-lftools 10:27:43 ab5ef0e58194: Pulling fs layer 10:27:43 9712f1f96733: Pulling fs layer 10:27:43 63f879dbbcfc: Pulling fs layer 10:27:43 0d9ebad4ef96: Pulling fs layer 10:27:43 e9a5061849ea: Pulling fs layer 10:27:43 d747dcd14b5f: Pulling fs layer 10:27:43 2de7ff778b66: Pulling fs layer 10:27:43 0d9ebad4ef96: Waiting 10:27:43 e9a5061849ea: Waiting 10:27:43 d747dcd14b5f: Waiting 10:27:43 2de7ff778b66: Waiting 10:27:43 9712f1f96733: Verifying Checksum 10:27:43 9712f1f96733: Download complete 10:27:43 63f879dbbcfc: Verifying Checksum 10:27:43 63f879dbbcfc: Download complete 10:27:43 e9a5061849ea: Verifying Checksum 10:27:43 e9a5061849ea: Download complete 10:27:43 d747dcd14b5f: Verifying Checksum 10:27:43 d747dcd14b5f: Download complete 10:27:43 ab5ef0e58194: Verifying Checksum 10:27:43 ab5ef0e58194: Download complete 10:27:43 2de7ff778b66: Verifying Checksum 10:27:43 2de7ff778b66: Download complete 10:27:43 0d9ebad4ef96: Verifying Checksum 10:27:43 0d9ebad4ef96: Download complete 10:27:46 ab5ef0e58194: Pull complete 10:27:46 9712f1f96733: Pull complete 10:27:47 63f879dbbcfc: Pull complete 10:27:51 0d9ebad4ef96: Pull complete 10:27:51 e9a5061849ea: Pull complete 10:27:51 d747dcd14b5f: Pull complete 10:27:52 2de7ff778b66: Pull complete 10:27:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:27:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:27:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 10:27:52 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:27: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:27:54 $ docker top b3b1e29c91a4861befae8c61ecf4fae57496ae45a3c20812af86616b26b2137c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:27:54 provisioning config files... 10:27:54 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3860828838928063536tmp 10:27:54 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4834021787363588630tmp 10:27:54 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4118892261280573904tmp [Pipeline] { [Pipeline] echo 10:27:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:27:54 ---> sigul-configuration.sh 10:27:54 gpg: directory `/root/.gnupg' created 10:27:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:27:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:27:54 gpg: keyring `/root/.gnupg/secring.gpg' created 10:27:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:27:54 gpg: CAST5 encrypted data 10:27:54 gpg: encrypted with 1 passphrase 10:27:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:27:55 + mkdir /home/jenkins 10:27:55 + mkdir /home/jenkins/sigul [Pipeline] sh 10:27:55 + 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 10:27:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:27:55 ---> sigul-install.sh 10:27:55 Sigul already installed; skipping installation. [Pipeline] sh 10:27:55 + git tag --list 10:27:55 0.7.1 10:27:55 v1.0.0 10:27:55 v1.1.0 10:27:55 v1.1.1 10:27:55 v1.2.2 10:27:55 v1.3.0 10:27:55 v1.3.1 10:27:55 v2.0.0 10:27:55 v2.0.1-dev.1 10:27:55 v2.0.1-dev.10 10:27:55 v2.0.1-dev.11 10:27:55 v2.0.1-dev.12 10:27:55 v2.0.1-dev.2 10:27:55 v2.0.1-dev.3 10:27:55 v2.0.1-dev.4 10:27:55 v2.0.1-dev.5 10:27:55 v2.0.1-dev.6 10:27:55 v2.0.1-dev.7 10:27:55 v2.0.1-dev.8 10:27:55 v2.0.1-dev.9 10:27:55 v2.1.0 10:27:55 v2.2.0-dev.1 10:27:55 v2.2.0-dev.10 10:27:55 v2.2.0-dev.11 10:27:55 v2.2.0-dev.2 10:27:55 v2.2.0-dev.3 10:27:55 v2.2.0-dev.4 10:27:55 v2.2.0-dev.5 10:27:55 v2.2.0-dev.6 10:27:55 v2.2.0-dev.7 10:27:55 v2.2.0-dev.8 10:27:55 v2.2.0-dev.9 [Pipeline] sh 10:27:56 + lftools sign git-tag v2.2.0-dev.11 10:27:56 Signing Git tag with Sigul... 10:27:56 Signing v2.2.0-dev.11 [Pipeline] echo 10:27:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:27:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:27:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:27:57 $ docker stop --time=1 b3b1e29c91a4861befae8c61ecf4fae57496ae45a3c20812af86616b26b2137c 10:27:58 $ docker rm -f b3b1e29c91a4861befae8c61ecf4fae57496ae45a3c20812af86616b26b2137c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:27:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:27:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:27:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:27:59 . [Pipeline] withDockerContainer 10:27:59 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:27:59 $ 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 10:28:00 $ docker top 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:28:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:00 [ssh-agent] Looking for ssh-agent implementation... 10:28:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:00 $ docker exec 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 ssh-agent 10:28:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFiOKao/agent.13 10:28:00 SSH_AGENT_PID=20 10:28:00 Running ssh-add (command line suppressed) 10:28:00 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2087546669727654070.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2087546669727654070.key) 10:28:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:00 + git semver bump pre 10:28:00 # -> Open(): unable to determine branch for HEAD 10:28:00 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 10:28:00 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 10:28:00 # $SEMVER_REMOTE_NAME = origin 10:28:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:28:00 # $SEMVER_USER_NAME = edgex-jenkins 10:28:00 # $SEMVER_BRANCH = main 10:28:00 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver 10:28:00 2.2.0-dev.12 [Pipeline] } 10:28:00 $ docker exec --env ******** --env ******** 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 ssh-agent -k 10:28:00 unset SSH_AUTH_SOCK; 10:28:00 unset SSH_AGENT_PID; 10:28:00 echo Agent pid 20 killed; 10:28:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:28:01 + git semver [Pipeline] } 10:28:01 $ docker stop --time=1 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 10:28:02 $ docker rm -f 6c309aacce7443a0bb331eaa3398325abf258f55295dd68228ea386e4f8dea50 [Pipeline] // withDockerContainer [Pipeline] sh 10:28:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:28:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:28:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:28:03 . [Pipeline] withDockerContainer 10:28:03 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:28:03 $ 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 10:28:03 $ docker top 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:28:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:03 [ssh-agent] Looking for ssh-agent implementation... 10:28:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:04 $ docker exec 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc ssh-agent 10:28:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJBgafD/agent.13 10:28:04 SSH_AGENT_PID=19 10:28:04 Running ssh-add (command line suppressed) 10:28:04 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7767688041067466057.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7767688041067466057.key) 10:28:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:04 + git semver push 10:28:04 # -> Open(): unable to determine branch for HEAD 10:28:04 # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git 10:28:04 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main 10:28:04 # $SEMVER_REMOTE_NAME = origin 10:28:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:28:04 # $SEMVER_USER_NAME = edgex-jenkins 10:28:04 # $SEMVER_BRANCH = main 10:28:04 # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } 10:28:06 $ docker exec --env ******** --env ******** 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc ssh-agent -k 10:28:06 unset SSH_AUTH_SOCK; 10:28:06 unset SSH_AGENT_PID; 10:28:06 echo Agent pid 19 killed; 10:28:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:28:06 + git semver [Pipeline] } 10:28:06 $ docker stop --time=1 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc 10:28:07 $ docker rm -f 57121e6cf6b6d43f5e4dedb95a56b1b0cde74fb2c4172358a39bca23a0cf42fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:28:08 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 10:28:08 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 10:28:08 total 16 10:28:08 drwxr-xr-x 3 root root 4096 Apr 11 10:20 . 10:28:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 10:27 .. 10:28:08 drwxr-xr-x 2 root root 4096 Apr 11 10:20 cost 10:28:08 -rw-r--r-- 1 root root 86 Apr 11 10:20 cost.csv 10:28:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 10:28:08 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 10:28:08 total 16 10:28:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 10:20 . 10:28:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 10:27 .. 10:28:08 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 10:20 cost 10:28:08 -rw-r--r-- 1 jenkins jenkins 86 Apr 11 10:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:28:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:28:09 ---> package-listing.sh 10:28:09 ++ facter osfamily 10:28:09 ++ tr '[:upper:]' '[:lower:]' 10:28:09 + OS_FAMILY=debian 10:28:09 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 10:28:09 + START_PACKAGES=/tmp/packages_start.txt 10:28:09 + END_PACKAGES=/tmp/packages_end.txt 10:28:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:28:09 + PACKAGES=/tmp/packages_start.txt 10:28:09 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 10:28:09 + PACKAGES=/tmp/packages_end.txt 10:28:09 + case "${OS_FAMILY}" in 10:28:09 + dpkg -l 10:28:09 + grep '^ii' 10:28:09 + '[' -f /tmp/packages_start.txt ']' 10:28:09 + '[' -f /tmp/packages_end.txt ']' 10:28:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:28:09 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 10:28:09 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 10:28:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 10:28:09 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 10:28:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:10 . [Pipeline] withDockerContainer 10:28:10 prd-ubuntu20.04-docker-8c-8g-19479 does not seem to be running inside a container 10:28:10 $ 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 10:28:10 $ docker top 2aeccda52841de4654322e6e86a2f194434cb14dd9bc50e2a1a1f3ae5006cc35 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:11 + touch /tmp/pre-build-complete [Pipeline] sh 10:28:11 + mkdir -p /var/log/sysstat [Pipeline] sh 10:28:11 + ls /var/log/sa-host 10:28:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:28:11 provisioning config files... 10:28:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3092343881841247416tmp [Pipeline] { [Pipeline] echo 10:28:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:28:12 ---> create-netrc.sh [Pipeline] } 10:28:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:28:12 ---> python-tools-install.sh [Pipeline] echo 10:28:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:28:12 ---> sudo-logs.sh 10:28:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:28:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:28:13 ---> job-cost.sh 10:28:13 lf-activate-venv: SKIPPING 10:28:13 DEBUG: total: 0.2199999988079071 10:28:13 INFO: Retrieving Stack Cost... 10:28:13 INFO: Retrieving Pricing Info for: v3-standard-8 10:28:14 INFO: Archiving Costs [Pipeline] echo 10:28:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:28:14 ---> logs-deploy.sh 10:28:14 lf-activate-venv: SKIPPING 10:28:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/29 10:28:14 INFO: archiving workspace using pattern(s): 10:28:15 Archives upload complete. 10:28:15 INFO: archiving logs to Nexus