Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c02be292122d13d9a203aa1f23c4b78b0968bab2 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh2957527531809113477.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh2413017359194113330.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 f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-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-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4050921769139912292.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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-ssh5237579859355706818.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-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-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2170476015923845045.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-517 in /w/workspace/edgexfoundry_device-sdk-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-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh9156511552457835148.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c02be292122d13d9a203aa1f23c4b78b0968bab2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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 c02be292122d13d9a203aa1f23c4b78b0968bab2 # timeout=10 Commit message: "fix: Stop AutoEvents if the Device is locked (#1027)" > git rev-list --no-walk 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:13:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:13:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:13:53 ========================================================= 00:13:53 EdgeX Global Pipelines Version Info 00:13:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:13:54 ------------------- 00:13:54 stable info: 00:13:54 ------------------- 00:13:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:13:54 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 00:13:54 Message: update stable to v1.0.209 00:13:55 ------------------- 00:13:55 experimental info: 00:13:55 ------------------- 00:13:55 Commited By: **** collab-it+edgex@linuxfoundation.org 00:13:55 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 00:13:55 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c02be292122d13d9a203aa1f23c4b78b0968bab2 [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c02be29 [Pipeline] echo 00:13:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:55 provisioning config files... 00:13:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2517446453633638745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:56 ---> docker-login.sh 00:13:56 nexus3.edgexfoundry.org:10001 00:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:56 Configure a credential helper to remove this warning. See 00:13:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:56 00:13:56 Login Succeeded 00:13:56 nexus3.edgexfoundry.org:10002 00:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:56 Configure a credential helper to remove this warning. See 00:13:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:56 00:13:56 Login Succeeded 00:13:56 nexus3.edgexfoundry.org:10003 00:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:56 Configure a credential helper to remove this warning. See 00:13:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:56 00:13:56 Login Succeeded 00:13:56 nexus3.edgexfoundry.org:10004 00:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:56 Configure a credential helper to remove this warning. See 00:13:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:56 00:13:56 Login Succeeded 00:13:56 docker.io 00:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:57 Configure a credential helper to remove this warning. See 00:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:57 00:13:57 Login Succeeded 00:13:57 ---> docker-login.sh ends [Pipeline] } 00:13:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:13:57 + git log --format=format:%s -1 c02be292122d13d9a203aa1f23c4b78b0968bab2 [Pipeline] echo 00:13:57 GIT_COMMIT: c02be292122d13d9a203aa1f23c4b78b0968bab2, Commit Message: fix: Stop AutoEvents if the Device is locked (#1027) [Pipeline] echo 00:13:57 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:58 00:13:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:13:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:58 latest: Pulling from edgex-devops/git-semver 00:13:58 a0d0a0d46f8b: Pulling fs layer 00:13:58 3e5f54012d9b: Pulling fs layer 00:13:58 4c7163046ea9: Pulling fs layer 00:13:58 0c2d73faf560: Pulling fs layer 00:13:58 0c2d73faf560: Waiting 00:13:58 3e5f54012d9b: Verifying Checksum 00:13:58 3e5f54012d9b: Download complete 00:13:58 a0d0a0d46f8b: Verifying Checksum 00:13:58 a0d0a0d46f8b: Download complete 00:13:58 0c2d73faf560: Verifying Checksum 00:13:58 0c2d73faf560: Download complete 00:13:58 4c7163046ea9: Verifying Checksum 00:13:58 4c7163046ea9: Download complete 00:13:58 a0d0a0d46f8b: Pull complete 00:13:58 3e5f54012d9b: Pull complete 00:13:59 4c7163046ea9: Pull complete 00:13:59 0c2d73faf560: Pull complete 00:13:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:13:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:13:59 prd-centos7-docker-4c-2g-517 does not seem to be running inside a container 00:13:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 00:14:00 $ docker top e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:00 [ssh-agent] Looking for ssh-agent implementation... 00:14:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:00 $ docker exec e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 ssh-agent 00:14:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJeOaGO/agent.14 00:14:00 SSH_AGENT_PID=20 00:14:00 Running ssh-add (command line suppressed) 00:14:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6430663827872167086.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6430663827872167086.key) 00:14:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:00 + git tag --points-at HEAD [Pipeline] } 00:14:00 $ docker exec --env ******** --env ******** e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 ssh-agent -k 00:14:00 unset SSH_AUTH_SOCK; 00:14:00 unset SSH_AGENT_PID; 00:14:00 echo Agent pid 20 killed; 00:14:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:14:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:00 [ssh-agent] Looking for ssh-agent implementation... 00:14:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:00 $ docker exec e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 ssh-agent 00:14:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAGdbLP/agent.54 00:14:01 SSH_AGENT_PID=61 00:14:01 Running ssh-add (command line suppressed) 00:14:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7086371346091462124.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7086371346091462124.key) 00:14:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:01 + git semver init 00:14:01 # -> Open(): unable to determine branch for HEAD 00:14:01 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 00:14:01 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 00:14:01 # $SEMVER_REMOTE_NAME = origin 00:14:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:14:01 # $SEMVER_USER_NAME = edgex-jenkins 00:14:01 # $SEMVER_BRANCH = main 00:14:01 # $SEMVER_TEMP = /tmp/semver-668323247 00:14:01 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 00:14:02 # '/tmp/semver-668323247' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' 00:14:02 # -> Force: false 00:14:02 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 00:14:02 $ docker exec --env ******** --env ******** e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 ssh-agent -k 00:14:02 unset SSH_AUTH_SOCK; 00:14:02 unset SSH_AGENT_PID; 00:14:02 echo Agent pid 61 killed; 00:14:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:14:03 + git semver [Pipeline] } 00:14:03 $ docker stop --time=1 e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 00:14:04 $ docker rm -f e000743d0de0c8c7d8fda1c79257d3038b36fb9987960ee7f9463bbd0c90ef90 [Pipeline] // withDockerContainer [Pipeline] sh 00:14:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:14:05 Stashed 1 file(s) [Pipeline] echo 00:14:05 [edgeXSemver]: initialized semver on version 2.0.1-dev.17 [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] node [Pipeline] node 00:14:20 Still waiting to schedule task 00:14:20 ‘prd-centos7-blackbox-4c-2g-223’ doesn’t have label ‘centos7-docker-4c-2g’ 00:14:20 ‘prd-centos7-docker-4c-2g-477’ is offline 00:14:20 ‘prd-centos7-docker-4c-2g-509’ is offline 00:14:20 ‘prd-centos7-docker-4c-2g-514’ is offline 00:14:20 ‘prd-centos7-docker-4c-2g-519’ is offline 00:14:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-510’ doesn’t have label ‘centos7-docker-4c-2g’ 00:14:20 Still waiting to schedule task 00:14:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-510’ is offline 00:14:49 Running on prd-centos7-docker-4c-2g-520 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 00:14:49 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 00:14:49 Selected Git installation does not exist. Using Default 00:14:49 The recommended git tool is: NONE 00:14:51 using credential edgex-jenkins-ssh 00:14:51 Cloning the remote Git repository 00:14:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:14:51 > git init /w/workspace/device-sdk-go/16 # timeout=10 00:14:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:14:51 > git --version # timeout=10 00:14:51 > git --version # 'git version 2.24.4' 00:14:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:51 [INFO] Currently running in a labeled security context 00:14:51 [INFO] Currently SELinux is 'enforcing' on the host 00:14:51 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/16@tmp/jenkins-gitclient-ssh4433101073814568355.key 00:14:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:52 Avoid second fetch 00:14:52 Checking out Revision c02be292122d13d9a203aa1f23c4b78b0968bab2 (main) 00:14:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:14:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:52 > git config core.sparsecheckout # timeout=10 00:14:52 > git checkout -f c02be292122d13d9a203aa1f23c4b78b0968bab2 # timeout=10 00:14:56 Commit message: "fix: Stop AutoEvents if the Device is locked (#1027)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:14:56 provisioning config files... 00:14:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/16@tmp/config1310058262962416466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:57 ---> docker-login.sh 00:14:57 nexus3.edgexfoundry.org:10001 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10002 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10003 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 nexus3.edgexfoundry.org:10004 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:57 Configure a credential helper to remove this warning. See 00:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:57 00:14:57 Login Succeeded 00:14:57 docker.io 00:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:58 Configure a credential helper to remove this warning. See 00:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:58 00:14:58 Login Succeeded 00:14:58 ---> docker-login.sh ends [Pipeline] } 00:14:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:14:58 ========================================================= 00:14:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:14:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:14:58 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 00:14:58 Sending build context to Docker daemon 2.668MB 00:14:58 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 00:14:58 Step 2/10 : FROM ${BASE} AS builder 00:14:58 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:14:58 4e9f2cdf4387: Pulling fs layer 00:14:58 57d31006c564: Pulling fs layer 00:14:58 bd5ccded8296: Pulling fs layer 00:14:58 304dd3a0f381: Pulling fs layer 00:14:58 d37cda54a23b: Pulling fs layer 00:14:58 bae75c0f2455: Pulling fs layer 00:14:58 806579b3d29a: Pulling fs layer 00:14:58 c77eb801bf70: Pulling fs layer 00:14:58 6d0567d44e1a: Pulling fs layer 00:14:58 304dd3a0f381: Waiting 00:14:58 d37cda54a23b: Waiting 00:14:58 bae75c0f2455: Waiting 00:14:58 806579b3d29a: Waiting 00:14:58 c77eb801bf70: Waiting 00:14:58 6d0567d44e1a: Waiting 00:14:58 bd5ccded8296: Verifying Checksum 00:14:58 bd5ccded8296: Download complete 00:14:58 57d31006c564: Verifying Checksum 00:14:58 57d31006c564: Download complete 00:14:59 d37cda54a23b: Verifying Checksum 00:14:59 d37cda54a23b: Download complete 00:14:59 bae75c0f2455: Verifying Checksum 00:14:59 bae75c0f2455: Download complete 00:14:59 806579b3d29a: Verifying Checksum 00:14:59 806579b3d29a: Download complete 00:14:59 4e9f2cdf4387: Verifying Checksum 00:14:59 4e9f2cdf4387: Download complete 00:14:59 c77eb801bf70: Verifying Checksum 00:14:59 c77eb801bf70: Download complete 00:14:59 4e9f2cdf4387: Pull complete 00:14:59 304dd3a0f381: Verifying Checksum 00:14:59 304dd3a0f381: Download complete 00:14:59 6d0567d44e1a: Verifying Checksum 00:14:59 6d0567d44e1a: Download complete 00:14:59 57d31006c564: Pull complete 00:15:00 bd5ccded8296: Pull complete 00:15:04 304dd3a0f381: Pull complete 00:15:04 d37cda54a23b: Pull complete 00:15:04 bae75c0f2455: Pull complete 00:15:04 806579b3d29a: Pull complete 00:15:04 c77eb801bf70: Pull complete 00:15:07 6d0567d44e1a: Pull complete 00:15:07 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 00:15:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:15:07 ---> e839a31ac9d1 00:15:07 Step 3/10 : ARG MAKE=make build 00:15:09 ---> Running in 6fce5cb5a506 00:15:09 Removing intermediate container 6fce5cb5a506 00:15:09 ---> 45d1efc38410 00:15:09 Step 4/10 : WORKDIR /device-sdk-go 00:15:09 ---> Running in 4ed25079a203 00:15:09 Removing intermediate container 4ed25079a203 00:15:09 ---> c41250f04407 00:15:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:15:09 ---> Running in 7b6578bb827e 00:15:09 Removing intermediate container 7b6578bb827e 00:15:09 ---> 8f8c69b60c82 00:15:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:15:09 ---> Running in b369ec4ff61d 00:15:09 Removing intermediate container b369ec4ff61d 00:15:09 ---> ce9e805ea5f5 00:15:09 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:15:09 ---> Running in ede8445ae220 00:15:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:15:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:15:11 OK: 219 MiB in 52 packages 00:15:11 Removing intermediate container ede8445ae220 00:15:11 ---> e1fae7c7301b 00:15:11 Step 8/10 : COPY . . 00:15:12 ---> 2169dd22dd18 00:15:12 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:12 ---> Running in 07aaef48f2b4 00:15:44 Removing intermediate container 07aaef48f2b4 00:15:44 ---> d6b8d307eb81 00:15:44 Step 10/10 : RUN ${MAKE} 00:15:44 ---> Running in 15be11d91772 00:15:44 noop 00:15:44 Removing intermediate container 15be11d91772 00:15:44 ---> 6bfe9915b6b6 00:15:44 Successfully built 6bfe9915b6b6 00:15:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:15:44 + docker inspect -f . ci-base-image-x86_64 00:15:44 . [Pipeline] withDockerContainer 00:15:44 prd-centos7-docker-4c-2g-520 does not seem to be running inside a container 00:15:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 00:15:45 $ docker top ae6fa1577b465d090da0a2352554c8bdc06256b64662871b71999a2961c20f03 -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:45 + go version 00:15:45 go version go1.16.8 linux/amd64 [Pipeline] } 00:15:45 $ docker stop --time=1 ae6fa1577b465d090da0a2352554c8bdc06256b64662871b71999a2961c20f03 00:15:46 $ docker rm -f ae6fa1577b465d090da0a2352554c8bdc06256b64662871b71999a2961c20f03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:15:47 + docker inspect -f . ci-base-image-x86_64 00:15:47 . [Pipeline] withDockerContainer 00:15:47 prd-centos7-docker-4c-2g-520 does not seem to be running inside a container 00:15:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 00:15:47 $ docker top 73b8b3ab27942ed864e4d535bd4c41176076baf0da35dde9d469b918691dd5df -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:15:47 + make test 00:15:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:15:53 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:16:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:16:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 00:16:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:16:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.058s coverage: 23.5% of statements 00:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:16:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 28.1% of statements 00:16:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.049s coverage: 78.9% of statements 00:16:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 9.0% of statements 00:16:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 00:16:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 00:16:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:16:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements 00:16:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 00:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements 00:16:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:16:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:16:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.8% of statements 00:16:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.850s coverage: 89.0% of statements 00:16:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 00:16:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.9% of statements 00:16:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:16:21 GO111MODULE=on go vet ./... 00:16:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:16:39 ./bin/test-attribution-txt.sh [Pipeline] } 00:16:39 $ docker stop --time=1 73b8b3ab27942ed864e4d535bd4c41176076baf0da35dde9d469b918691dd5df 00:16:41 $ docker rm -f 73b8b3ab27942ed864e4d535bd4c41176076baf0da35dde9d469b918691dd5df [Pipeline] // withDockerContainer [Pipeline] sh 00:16:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:16:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:16:43 + ls -al . 00:16:43 total 264 00:16:43 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 12 00:16 . 00:16:43 drwxrwxr-x. 4 jenkins jenkins 30 Oct 12 00:14 .. 00:16:43 drwxrwxr-x. 2 jenkins jenkins 37 Oct 12 00:14 bin 00:16:43 -rw-rw-r--. 1 jenkins jenkins 24816 Oct 12 00:14 CHANGELOG.md 00:16:43 -rw-r--r--. 1 jenkins jenkins 126432 Oct 12 00:16 coverage.out 00:16:43 -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 00:14 .dockerignore 00:16:43 drwxrwxr-x. 5 jenkins jenkins 62 Oct 12 00:14 example 00:16:43 drwxrwxr-x. 8 jenkins jenkins 162 Oct 12 00:14 .git 00:16:43 drwxrwxr-x. 3 jenkins jenkins 125 Oct 12 00:14 .github 00:16:43 -rw-rw-r--. 1 jenkins jenkins 131 Oct 12 00:14 .gitignore 00:16:43 -rw-rw-r--. 1 jenkins jenkins 583 Oct 12 00:14 go.mod 00:16:43 -rw-rw-r--. 1 jenkins jenkins 49618 Oct 12 00:14 go.sum 00:16:43 -rw-rw-r--. 1 jenkins jenkins 677 Oct 12 00:14 GOVERNANCE.md 00:16:43 drwxrwxr-x. 15 jenkins jenkins 224 Oct 12 00:14 internal 00:16:43 -rw-rw-r--. 1 jenkins jenkins 880 Oct 12 00:14 Jenkinsfile 00:16:43 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 00:14 LICENSE 00:16:43 -rw-rw-r--. 1 jenkins jenkins 1120 Oct 12 00:14 Makefile 00:16:43 drwxrwxr-x. 3 jenkins jenkins 16 Oct 12 00:14 openapi 00:16:43 -rw-rw-r--. 1 jenkins jenkins 619 Oct 12 00:14 OWNERS.md 00:16:43 drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 00:14 pkg 00:16:43 -rw-rw-r--. 1 jenkins jenkins 7646 Oct 12 00:14 README.md 00:16:43 drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 00:14 snap 00:16:43 -rw-rw-r--. 1 jenkins jenkins 12 Oct 12 00:14 VERSION 00:16:43 -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 00:14 version.go [Pipeline] isUnix [Pipeline] sh 00:16:43 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c02be292122d13d9a203aa1f23c4b78b0968bab2 --label arch=amd64 --label version=2.0.1-dev.17 . 00:16:43 Sending build context to Docker daemon 2.795MB 00:16:43 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 00:16:43 Step 2/24 : FROM ${BASE} AS builder 00:16:43 ---> 6bfe9915b6b6 00:16:43 Step 3/24 : ARG MAKE=make build 00:16:43 ---> Running in 43cfa4ecdc38 00:16:44 Removing intermediate container 43cfa4ecdc38 00:16:44 ---> 28b04c996c47 00:16:44 Step 4/24 : WORKDIR /device-sdk-go 00:16:44 ---> Running in 26adadb7764d 00:16:44 Removing intermediate container 26adadb7764d 00:16:44 ---> af8e4770b2c3 00:16:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:16:44 ---> Running in 9322161a301d 00:16:44 Removing intermediate container 9322161a301d 00:16:44 ---> ab410e1c76a0 00:16:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:16:44 ---> Running in fbfc8878482c 00:16:44 Removing intermediate container fbfc8878482c 00:16:44 ---> 3ccd07e12491 00:16:44 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:16:44 ---> Running in abadc6e44d33 00:16:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 00:16:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 00:16:46 OK: 219 MiB in 52 packages 00:16:46 Removing intermediate container abadc6e44d33 00:16:46 ---> d3b066645e2a 00:16:46 Step 8/24 : COPY . . 00:16:46 ---> 24fef2f98077 00:16:46 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:46 ---> Running in db7d16729360 00:16:47 Removing intermediate container db7d16729360 00:16:47 ---> 010a550cb1ad 00:16:47 Step 10/24 : RUN ${MAKE} 00:16:47 ---> Running in d3dd30cd8da8 00:16:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.17" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:16:59 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 00:16:59 Removing intermediate container d3dd30cd8da8 00:16:59 ---> 620f8a87df31 00:16:59 Step 11/24 : FROM alpine:3.14 00:16:59 3.14: Pulling from library/alpine 00:16:59 a0d0a0d46f8b: Pulling fs layer 00:16:59 a0d0a0d46f8b: Verifying Checksum 00:16:59 a0d0a0d46f8b: Download complete 00:17:00 a0d0a0d46f8b: Pull complete 00:17:00 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 00:17:00 Status: Downloaded newer image for alpine:3.14 00:17:00 ---> 14119a10abf4 00:17:00 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:17:00 ---> Running in ce81b1dd6ed2 00:17:00 Removing intermediate container ce81b1dd6ed2 00:17:00 ---> 6c8a826c1e9c 00:17:00 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:00 ---> Running in ff3d051eb9cf 00:17:00 Removing intermediate container ff3d051eb9cf 00:17:00 ---> 74b20d185f98 00:17:00 Step 14/24 : RUN apk add --update --no-cache zeromq 00:17:00 ---> Running in ed5eb25c3250 00:17:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:17:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:17:02 (1/5) Installing libgcc (10.3.1_git20210424-r2) 00:17:02 (2/5) Installing libsodium (1.0.18-r0) 00:17:02 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 00:17:02 (4/5) Installing libzmq (4.3.4-r0) 00:17:02 (5/5) Installing zeromq (4.3.4-r0) 00:17:02 Executing busybox-1.33.1-r3.trigger 00:17:02 OK: 8 MiB in 19 packages 00:17:02 Removing intermediate container ed5eb25c3250 00:17:02 ---> a16099fd19fe 00:17:02 Step 15/24 : WORKDIR / 00:17:02 ---> Running in 9ffaab36c260 00:17:03 Removing intermediate container 9ffaab36c260 00:17:03 ---> 74873c9aa77e 00:17:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:17:03 ---> e7f1ae3f3aa5 00:17:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:17:03 ---> c21252015e59 00:17:03 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:17:03 ---> daca4cc6f27a 00:17:03 Step 19/24 : EXPOSE 59999 00:17:03 ---> Running in c8eb4fcfb361 00:17:03 Removing intermediate container c8eb4fcfb361 00:17:03 ---> 761d8b13a6a0 00:17:03 Step 20/24 : ENTRYPOINT ["/device-simple"] 00:17:03 ---> Running in 3be7be9e15c6 00:17:03 Removing intermediate container 3be7be9e15c6 00:17:03 ---> 1f3dff773154 00:17:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:17:03 ---> Running in 44de716d826e 00:17:03 Removing intermediate container 44de716d826e 00:17:03 ---> d207da130c4f 00:17:03 Step 22/24 : LABEL arch=amd64 00:17:03 ---> Running in 5b1e58894cdd 00:17:03 Removing intermediate container 5b1e58894cdd 00:17:03 ---> 19f792fd8b7b 00:17:03 Step 23/24 : LABEL git_sha=c02be292122d13d9a203aa1f23c4b78b0968bab2 00:17:04 ---> Running in cf8c6c162744 00:17:04 Removing intermediate container cf8c6c162744 00:17:04 ---> ced1a595cbc1 00:17:04 Step 24/24 : LABEL version=2.0.1-dev.17 00:17:04 ---> Running in 52da9014b184 00:17:04 Removing intermediate container 52da9014b184 00:17:04 ---> 4c2e1c8fab89 00:17:04 [Warning] One or more build-args [ARCH] were not consumed 00:17:04 Successfully built 4c2e1c8fab89 00:17:04 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:04 00:17:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:17:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:05 latest: Pulling from edgex-lftools-log-publisher 00:17:05 b4d181a07f80: Pulling fs layer 00:17:05 a1111a8f2ec3: Pulling fs layer 00:17:05 ed53099fbce6: Pulling fs layer 00:17:05 dc539afda2c1: Pulling fs layer 00:17:05 77bc0d833cb6: Pulling fs layer 00:17:05 9065ff56babe: Pulling fs layer 00:17:05 d287ab97295c: Pulling fs layer 00:17:05 77bc0d833cb6: Waiting 00:17:05 9065ff56babe: Waiting 00:17:05 d287ab97295c: Waiting 00:17:05 dc539afda2c1: Waiting 00:17:05 a1111a8f2ec3: Verifying Checksum 00:17:05 a1111a8f2ec3: Download complete 00:17:05 dc539afda2c1: Verifying Checksum 00:17:05 dc539afda2c1: Download complete 00:17:05 ed53099fbce6: Verifying Checksum 00:17:05 ed53099fbce6: Download complete 00:17:05 77bc0d833cb6: Verifying Checksum 00:17:05 77bc0d833cb6: Download complete 00:17:05 9065ff56babe: Verifying Checksum 00:17:05 9065ff56babe: Download complete 00:17:05 b4d181a07f80: Verifying Checksum 00:17:05 b4d181a07f80: Download complete 00:17:05 d287ab97295c: Verifying Checksum 00:17:05 d287ab97295c: Download complete 00:17:06 b4d181a07f80: Pull complete 00:17:06 a1111a8f2ec3: Pull complete 00:17:07 ed53099fbce6: Pull complete 00:17:07 dc539afda2c1: Pull complete 00:17:07 77bc0d833cb6: Pull complete 00:17:07 9065ff56babe: Pull complete 00:17:13 d287ab97295c: Pull complete 00:17:13 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:17:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:17:13 prd-centos7-docker-4c-2g-520 does not seem to be running inside a container 00:17:13 $ 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-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 00:17:15 $ docker top 0d8f6e3e31591998a22d9e41f9f3c44d445974f4eb3ffa9e2179274f9c9ca883 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:15 ---> job-cost.sh 00:17:15 lf-activate-venv: SKIPPING 00:17:15 INFO: No Stack... 00:17:16 INFO: Retrieving Pricing Info for: v3-standard-2 00:17:16 INFO: Archiving Costs [Pipeline] sh 00:17:16 + cat /w/workspace/device-sdk-go/16/archives/cost.csv 00:17:16 + cut -d, -f6 [Pipeline] lock 00:17:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] 00:17:16 Resource [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] did not exist. Created. 00:17:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:17:17 + echo total: 0.05999999865889549 [Pipeline] stash 00:17:17 Stashed 1 file(s) [Pipeline] } 00:17:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 00:17:17 $ docker stop --time=1 0d8f6e3e31591998a22d9e41f9f3c44d445974f4eb3ffa9e2179274f9c9ca883 00:17:18 $ docker rm -f 0d8f6e3e31591998a22d9e41f9f3c44d445974f4eb3ffa9e2179274f9c9ca883 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:18:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-522 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 00:18:07 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 00:18:07 Selected Git installation does not exist. Using Default 00:18:07 The recommended git tool is: NONE 00:18:14 using credential edgex-jenkins-ssh 00:18:14 Cloning the remote Git repository 00:18:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:18:14 > git init /w/workspace/device-sdk-go/16 # timeout=10 00:18:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:18:14 > git --version # timeout=10 00:18:14 > git --version # 'git version 2.17.1' 00:18:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:17 Avoid second fetch 00:18:17 Checking out Revision c02be292122d13d9a203aa1f23c4b78b0968bab2 (main) 00:18:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:18:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:17 > git config core.sparsecheckout # timeout=10 00:18:17 > git checkout -f c02be292122d13d9a203aa1f23c4b78b0968bab2 # timeout=10 00:18:21 Commit message: "fix: Stop AutoEvents if the Device is locked (#1027)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:18:22 provisioning config files... 00:18:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/16@tmp/config7318871388679032627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:22 ---> docker-login.sh 00:18:22 nexus3.edgexfoundry.org:10001 00:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:25 Configure a credential helper to remove this warning. See 00:18:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:25 00:18:25 Login Succeeded 00:18:25 nexus3.edgexfoundry.org:10002 00:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:26 Configure a credential helper to remove this warning. See 00:18:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:26 00:18:26 Login Succeeded 00:18:26 nexus3.edgexfoundry.org:10003 00:18:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:26 Configure a credential helper to remove this warning. See 00:18:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:26 00:18:26 Login Succeeded 00:18:26 nexus3.edgexfoundry.org:10004 00:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:27 Configure a credential helper to remove this warning. See 00:18:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:27 00:18:27 Login Succeeded 00:18:27 docker.io 00:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:28 Configure a credential helper to remove this warning. See 00:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:28 00:18:28 Login Succeeded 00:18:28 ---> docker-login.sh ends [Pipeline] } 00:18:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:18:28 ========================================================= 00:18:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:18:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:18:29 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 00:18:29 Sending build context to Docker daemon 2.667MB 00:18:29 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 00:18:29 Step 2/10 : FROM ${BASE} AS builder 00:18:30 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:18:30 bbf911997326: Pulling fs layer 00:18:30 58ec367f63d7: Pulling fs layer 00:18:30 1b4a6ffa7d45: Pulling fs layer 00:18:30 fc5181fea5dc: Pulling fs layer 00:18:30 9c418107303f: Pulling fs layer 00:18:30 284eca6f2348: Pulling fs layer 00:18:30 842844d905b1: Pulling fs layer 00:18:30 901a3a57568e: Pulling fs layer 00:18:30 284eca6f2348: Waiting 00:18:30 842844d905b1: Waiting 00:18:30 901a3a57568e: Waiting 00:18:30 fc5181fea5dc: Waiting 00:18:30 9c418107303f: Waiting 00:18:30 1b4a6ffa7d45: Verifying Checksum 00:18:30 1b4a6ffa7d45: Download complete 00:18:30 58ec367f63d7: Download complete 00:18:30 9c418107303f: Verifying Checksum 00:18:30 9c418107303f: Download complete 00:18:30 284eca6f2348: Verifying Checksum 00:18:30 284eca6f2348: Download complete 00:18:30 bbf911997326: Verifying Checksum 00:18:30 bbf911997326: Download complete 00:18:30 842844d905b1: Verifying Checksum 00:18:30 842844d905b1: Download complete 00:18:31 bbf911997326: Pull complete 00:18:31 58ec367f63d7: Pull complete 00:18:32 1b4a6ffa7d45: Pull complete 00:18:32 901a3a57568e: Verifying Checksum 00:18:32 901a3a57568e: Download complete 00:18:32 fc5181fea5dc: Verifying Checksum 00:18:32 fc5181fea5dc: Download complete 00:18:43 fc5181fea5dc: Pull complete 00:18:43 9c418107303f: Pull complete 00:18:44 284eca6f2348: Pull complete 00:18:44 842844d905b1: Pull complete 00:18:51 901a3a57568e: Pull complete 00:18:51 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 00:18:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:18:51 ---> 72ade6ffb461 00:18:51 Step 3/10 : ARG MAKE=make build 00:18:56 ---> Running in 54b16b384d7d 00:18:56 Removing intermediate container 54b16b384d7d 00:18:56 ---> 825e7ac6c16a 00:18:56 Step 4/10 : WORKDIR /device-sdk-go 00:18:57 ---> Running in 77dd73cc0534 00:18:57 Removing intermediate container 77dd73cc0534 00:18:57 ---> 45fe9b50ffb9 00:18:57 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:18:58 ---> Running in b3f914d3c79b 00:18:58 Removing intermediate container b3f914d3c79b 00:18:58 ---> 2f94cd9f468f 00:18:58 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:58 ---> Running in 9f950e5403e7 00:19:02 Removing intermediate container 9f950e5403e7 00:19:02 ---> 2663793bcae8 00:19:02 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:19:02 ---> Running in 28b972814c8a 00:19:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:19:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:19:05 OK: 218 MiB in 52 packages 00:19:06 Removing intermediate container 28b972814c8a 00:19:06 ---> 00e35155154b 00:19:06 Step 8/10 : COPY . . 00:19:07 ---> b19e976cb28b 00:19:07 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:08 ---> Running in d09ab62e083d 00:20:30 Removing intermediate container d09ab62e083d 00:20:30 ---> 191d020e7533 00:20:30 Step 10/10 : RUN ${MAKE} 00:20:30 ---> Running in eaa451c0376f 00:20:31 noop 00:20:32 Removing intermediate container eaa451c0376f 00:20:32 ---> b65a1b67d0c3 00:20:32 Successfully built b65a1b67d0c3 00:20:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:20:33 + docker inspect -f . ci-base-image-arm64 00:20:33 . [Pipeline] withDockerContainer 00:20:33 prd-ubuntu18.04-docker-arm64-4c-16g-522 does not seem to be running inside a container 00:20:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 00:20:35 $ docker top f1fc30be0c29d9341e81d5effb7dd215bde0a2d5022f0eaba1302e5a59115325 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:36 + go version 00:20:36 go version go1.16.8 linux/arm64 [Pipeline] } 00:20:36 $ docker stop --time=1 f1fc30be0c29d9341e81d5effb7dd215bde0a2d5022f0eaba1302e5a59115325 00:20:38 $ docker rm -f f1fc30be0c29d9341e81d5effb7dd215bde0a2d5022f0eaba1302e5a59115325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:20:39 + docker inspect -f . ci-base-image-arm64 00:20:39 . [Pipeline] withDockerContainer 00:20:39 prd-ubuntu18.04-docker-arm64-4c-16g-522 does not seem to be running inside a container 00:20:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 00:20:41 $ docker top f3f30a45d76d7a81253b05fd7cec4e5b928de03be8d642a3676433008732e982 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:20:42 + make test 00:20:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:21:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:22:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:22:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 00:22:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:22:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.371s coverage: 23.5% of statements 00:22:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:22:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 28.1% of statements 00:22:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.227s coverage: 78.9% of statements 00:22:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.299s coverage: 9.0% of statements 00:22:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 00:22:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 00:22:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:22:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.319s coverage: 28.7% of statements 00:22:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 00:22:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.275s coverage: 83.3% of statements 00:22:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:22:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:22:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.429s coverage: 57.8% of statements 00:22:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.089s coverage: 89.0% of statements 00:22:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 00:22:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.201s coverage: 4.9% of statements 00:22:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:22:35 GO111MODULE=on go vet ./... 00:23:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:23:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:23:44 ./bin/test-attribution-txt.sh [Pipeline] } 00:23:44 $ docker stop --time=1 f3f30a45d76d7a81253b05fd7cec4e5b928de03be8d642a3676433008732e982 00:23:46 $ docker rm -f f3f30a45d76d7a81253b05fd7cec4e5b928de03be8d642a3676433008732e982 [Pipeline] // withDockerContainer [Pipeline] sh 00:23:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:23:47 Warning: overwriting stash ‘coverage-report’ 00:23:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:23:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:23:49 + ls -al . 00:23:49 total 300 00:23:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 00:23 . 00:23:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 00:18 .. 00:23:49 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 00:18 .dockerignore 00:23:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 00:18 .git 00:23:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:18 .github 00:23:49 -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 00:18 .gitignore 00:23:49 -rw-rw-r-- 1 jenkins jenkins 24816 Oct 12 00:18 CHANGELOG.md 00:23:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 00:18 GOVERNANCE.md 00:23:49 -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 00:18 Jenkinsfile 00:23:49 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 00:18 LICENSE 00:23:49 -rw-rw-r-- 1 jenkins jenkins 1120 Oct 12 00:18 Makefile 00:23:49 -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 00:18 OWNERS.md 00:23:49 -rw-rw-r-- 1 jenkins jenkins 7646 Oct 12 00:18 README.md 00:23:49 -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 00:14 VERSION 00:23:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 00:18 bin 00:23:49 -rw-r--r-- 1 jenkins jenkins 126432 Oct 12 00:22 coverage.out 00:23:49 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 00:18 example 00:23:49 -rw-rw-r-- 1 jenkins jenkins 583 Oct 12 00:18 go.mod 00:23:49 -rw-rw-r-- 1 jenkins jenkins 49618 Oct 12 00:18 go.sum 00:23:49 drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 00:18 internal 00:23:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:18 openapi 00:23:49 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 00:18 pkg 00:23:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 00:18 snap 00:23:49 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 00:18 version.go [Pipeline] isUnix [Pipeline] sh 00:23:49 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c02be292122d13d9a203aa1f23c4b78b0968bab2 --label arch=arm64 --label version=2.0.1-dev.17 . 00:23:50 Sending build context to Docker daemon 2.794MB 00:23:50 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 00:23:50 Step 2/24 : FROM ${BASE} AS builder 00:23:50 ---> b65a1b67d0c3 00:23:50 Step 3/24 : ARG MAKE=make build 00:23:50 ---> Running in c85b08d606ad 00:23:51 Removing intermediate container c85b08d606ad 00:23:51 ---> aa427e1c080d 00:23:51 Step 4/24 : WORKDIR /device-sdk-go 00:23:51 ---> Running in b8dcc9ccc309 00:23:51 Removing intermediate container b8dcc9ccc309 00:23:51 ---> aa56f027edb2 00:23:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:23:51 ---> Running in 4331b4d06dac 00:23:52 Removing intermediate container 4331b4d06dac 00:23:52 ---> 54d94f9e2dc3 00:23:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:23:52 ---> Running in 07e509f81b68 00:23:55 Removing intermediate container 07e509f81b68 00:23:55 ---> 4a1bfaeed086 00:23:55 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:23:55 ---> Running in c4ed2bdecae4 00:23:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:23:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:23:58 OK: 218 MiB in 52 packages 00:23:59 Removing intermediate container c4ed2bdecae4 00:23:59 ---> 5aa6b38161aa 00:23:59 Step 8/24 : COPY . . 00:24:00 ---> acbf8cef3844 00:24:00 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:24:00 ---> Running in 4f632e44a8c8 00:24:03 Removing intermediate container 4f632e44a8c8 00:24:03 ---> 77b39cd18324 00:24:03 Step 10/24 : RUN ${MAKE} 00:24:03 ---> Running in 0a0722a15325 00:24:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.17" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:24:43 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 00:24:43 Removing intermediate container 0a0722a15325 00:24:43 ---> 451dbd6abe09 00:24:43 Step 11/24 : FROM alpine:3.14 00:24:43 3.14: Pulling from library/alpine 00:24:43 552d1f2373af: Pulling fs layer 00:24:43 552d1f2373af: Verifying Checksum 00:24:43 552d1f2373af: Download complete 00:24:43 552d1f2373af: Pull complete 00:24:43 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 00:24:43 Status: Downloaded newer image for alpine:3.14 00:24:43 ---> bb3de5531c18 00:24:43 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:24:44 ---> Running in f7a9950e334a 00:24:44 Removing intermediate container f7a9950e334a 00:24:44 ---> dde9b81df33d 00:24:44 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:24:44 ---> Running in 1d70839b4561 00:24:47 Removing intermediate container 1d70839b4561 00:24:47 ---> 66ee07cdd8af 00:24:47 Step 14/24 : RUN apk add --update --no-cache zeromq 00:24:47 ---> Running in 337182d88df2 00:24:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:24:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:24:50 (1/5) Installing libgcc (10.3.1_git20210424-r2) 00:24:50 (2/5) Installing libsodium (1.0.18-r0) 00:24:50 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 00:24:50 (4/5) Installing libzmq (4.3.4-r0) 00:24:50 (5/5) Installing zeromq (4.3.4-r0) 00:24:51 Executing busybox-1.33.1-r3.trigger 00:24:51 OK: 8 MiB in 19 packages 00:24:52 Removing intermediate container 337182d88df2 00:24:52 ---> c28cb96fc853 00:24:52 Step 15/24 : WORKDIR / 00:24:52 ---> Running in 0efc47322f18 00:24:53 Removing intermediate container 0efc47322f18 00:24:53 ---> cb42b8ac5dd5 00:24:53 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:24:54 ---> ecd354033d46 00:24:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:24:55 ---> 4ff14a24fca8 00:24:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:24:56 ---> 266f3efdce97 00:24:56 Step 19/24 : EXPOSE 59999 00:24:56 ---> Running in 55e65f6bafa3 00:24:56 Removing intermediate container 55e65f6bafa3 00:24:56 ---> ea1576ca0b33 00:24:56 Step 20/24 : ENTRYPOINT ["/device-simple"] 00:24:57 ---> Running in 25a81b9c85b1 00:24:57 Removing intermediate container 25a81b9c85b1 00:24:57 ---> c002dad7490b 00:24:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:24:57 ---> Running in f13fa751bd47 00:24:58 Removing intermediate container f13fa751bd47 00:24:58 ---> 959220dc1f4f 00:24:58 Step 22/24 : LABEL arch=arm64 00:24:58 ---> Running in 842adefa4f54 00:24:58 Removing intermediate container 842adefa4f54 00:24:58 ---> 792963e766a0 00:24:58 Step 23/24 : LABEL git_sha=c02be292122d13d9a203aa1f23c4b78b0968bab2 00:24:58 ---> Running in 039f8d3d0f87 00:24:59 Removing intermediate container 039f8d3d0f87 00:24:59 ---> 173562d8c135 00:24:59 Step 24/24 : LABEL version=2.0.1-dev.17 00:24:59 ---> Running in cd2581402a52 00:25:00 Removing intermediate container cd2581402a52 00:25:00 ---> a3440e111b81 00:25:00 [Warning] One or more build-args [ARCH] were not consumed 00:25:00 Successfully built a3440e111b81 00:25:00 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:25:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:01 00:25:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:25:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:01 arm64: Pulling from edgex-lftools-log-publisher 00:25:01 448f6bf000e3: Pulling fs layer 00:25:01 f757da607395: Pulling fs layer 00:25:01 05883995daec: Pulling fs layer 00:25:01 8603b9c90790: Pulling fs layer 00:25:01 1560dd03e051: Pulling fs layer 00:25:01 27f5ce0e4adf: Pulling fs layer 00:25:01 c2d8d7efcc4b: Pulling fs layer 00:25:01 1560dd03e051: Waiting 00:25:01 27f5ce0e4adf: Waiting 00:25:01 c2d8d7efcc4b: Waiting 00:25:01 8603b9c90790: Waiting 00:25:02 f757da607395: Verifying Checksum 00:25:02 f757da607395: Download complete 00:25:02 8603b9c90790: Download complete 00:25:02 05883995daec: Verifying Checksum 00:25:02 05883995daec: Download complete 00:25:02 27f5ce0e4adf: Download complete 00:25:02 1560dd03e051: Verifying Checksum 00:25:02 1560dd03e051: Download complete 00:25:03 448f6bf000e3: Verifying Checksum 00:25:03 448f6bf000e3: Download complete 00:25:05 c2d8d7efcc4b: Verifying Checksum 00:25:05 c2d8d7efcc4b: Download complete 00:25:06 448f6bf000e3: Pull complete 00:25:07 f757da607395: Pull complete 00:25:09 05883995daec: Pull complete 00:25:09 8603b9c90790: Pull complete 00:25:10 1560dd03e051: Pull complete 00:25:10 27f5ce0e4adf: Pull complete 00:25:25 c2d8d7efcc4b: Pull complete 00:25:25 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:25:26 prd-ubuntu18.04-docker-arm64-4c-16g-522 does not seem to be running inside a container 00:25:26 $ 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-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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 00:25:31 $ docker top 648f5f7bcaa67e2e3360060eeaeba5e0884e92d1f74c00ec26833ed28ed0c500 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:32 ---> job-cost.sh 00:25:32 lf-activate-venv: SKIPPING 00:25:32 INFO: No Stack... 00:26:04 INFO: Retrieving Pricing Info for: v3-standard-4 00:26:04 INFO: Archiving Costs [Pipeline] sh 00:26:05 + cut -d, -f6 00:26:05 + cat /w/workspace/device-sdk-go/16/archives/cost.csv [Pipeline] lock 00:26:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] 00:26:05 Resource [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] did not exist. Created. 00:26:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:26:06 /w/workspace/device-sdk-go/16@tmp/durable-b4cbd680/script.sh: 1: /w/workspace/device-sdk-go/16@tmp/durable-b4cbd680/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:26:06 + echo total: 0.10999999940395355 [Pipeline] stash 00:26:06 Warning: overwriting stash ‘stack-cost’ 00:26:06 Stashed 1 file(s) [Pipeline] } 00:26:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 00:26:06 $ docker stop --time=1 648f5f7bcaa67e2e3360060eeaeba5e0884e92d1f74c00ec26833ed28ed0c500 00:26:08 $ docker rm -f 648f5f7bcaa67e2e3360060eeaeba5e0884e92d1f74c00ec26833ed28ed0c500 [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 00:26:09 provisioning config files... 00:26:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config677575191959152201tmp [Pipeline] { [Pipeline] sh 00:26:09 + set +x 00:26:09 + curl -s https://codecov.io/bash 00:26:09 + bash -s -- 00:26:09 00:26:09 _____ _ 00:26:09 / ____| | | 00:26:09 | | ___ __| | ___ ___ _____ __ 00:26:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:26:09 | |___| (_) | (_| | __/ (_| (_) \ V / 00:26:09 \_____\___/ \__,_|\___|\___\___/ \_/ 00:26:09 Bash-1.0.6 00:26:09 00:26:09 00:26:09 ==> git version 2.24.4 found 00:26:09 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 00:26:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:26:09 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:26:09 ==> Jenkins CI detected. 00:26:09 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 00:26:09 project root: . 00:26:09 --> token set from env 00:26:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:26:09 ==> Running gcov in . (disable via -X gcov) 00:26:09 ==> Python coveragepy not found 00:26:09 ==> Searching for coverage reports in: 00:26:09 + . 00:26:09 -> Found 1 reports 00:26:09 ==> Detecting git/mercurial file structure 00:26:09 ==> Reading reports 00:26:09 + ./coverage.out bytes=126432 00:26:09 ==> Appending adjustments 00:26:09 https://docs.codecov.io/docs/fixing-reports 00:26:09 + Found adjustments 00:26:09 ==> Gzipping contents 00:26:09 16K /tmp/codecov.T4seWu.gz 00:26:09 ==> Uploading reports 00:26:09 url: https://codecov.io 00:26:09 query: branch=main&commit=c02be292122d13d9a203aa1f23c4b78b0968bab2&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:26:09 -> Pinging Codecov 00:26:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=c02be292122d13d9a203aa1f23c4b78b0968bab2&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:26:10 -> Uploading to 00:26:10 https://storage.googleapis.com/codecov/v4/raw/2021-10-12/7E55EF52A471D76F132DFD9A03CDDE97/c02be292122d13d9a203aa1f23c4b78b0968bab2/200be1bd-98a9-4a05-93ed-a95d8d2fc59d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T002610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3062a488cbca9bc00ea68dffbb4e65d20f2c4cd03942db11e1309e9f60c69862 00:26:10 % Total % Received % Xferd Average Speed Time Time Time Current 00:26:10 Dload Upload Total Spent Left Speed 00:26:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16086 0 0 100 16086 0 57037 --:--:-- --:--:-- --:--:-- 57042 00:26:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c02be292122d13d9a203aa1f23c4b78b0968bab2 [Pipeline] } 00:26:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:26:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:26:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:26:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:26:11 00:26:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:26:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:26:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:26:11 188c0c94c7c5: Pulling fs layer 00:26:11 0ef7d3d256c8: Pulling fs layer 00:26:11 de9db76c5a1d: Pulling fs layer 00:26:11 0eba1c9be4d2: Pulling fs layer 00:26:11 0d57e429df01: Pulling fs layer 00:26:11 4e4be7b47b0d: Pulling fs layer 00:26:11 e1f770b5df2f: Pulling fs layer 00:26:11 85a0685a4137: Pulling fs layer 00:26:11 0eba1c9be4d2: Waiting 00:26:11 0d57e429df01: Waiting 00:26:11 4e4be7b47b0d: Waiting 00:26:11 e1f770b5df2f: Waiting 00:26:11 85a0685a4137: Waiting 00:26:11 de9db76c5a1d: Download complete 00:26:11 0ef7d3d256c8: Verifying Checksum 00:26:11 0ef7d3d256c8: Download complete 00:26:11 0d57e429df01: Verifying Checksum 00:26:11 0d57e429df01: Download complete 00:26:11 4e4be7b47b0d: Verifying Checksum 00:26:11 4e4be7b47b0d: Download complete 00:26:11 188c0c94c7c5: Verifying Checksum 00:26:11 188c0c94c7c5: Download complete 00:26:12 e1f770b5df2f: Verifying Checksum 00:26:12 e1f770b5df2f: Download complete 00:26:12 188c0c94c7c5: Pull complete 00:26:12 0ef7d3d256c8: Pull complete 00:26:12 0eba1c9be4d2: Verifying Checksum 00:26:12 0eba1c9be4d2: Download complete 00:26:12 de9db76c5a1d: Pull complete 00:26:12 85a0685a4137: Verifying Checksum 00:26:12 85a0685a4137: Download complete 00:26:16 0eba1c9be4d2: Pull complete 00:26:16 0d57e429df01: Pull complete 00:26:16 4e4be7b47b0d: Pull complete 00:26:16 e1f770b5df2f: Pull complete 00:26:20 85a0685a4137: Pull complete 00:26:20 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:26:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:26:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:26:20 prd-centos7-docker-4c-2g-517 does not seem to be running inside a container 00:26:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 00:26:22 $ docker top 8741a612cbdaceb576e7fd1f8557c0ca5c1d35f01de928d21fb5782798216a0a -eo pid,comm [Pipeline] { [Pipeline] echo 00:26:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:26:22 + set -o pipefail 00:26:22 + snyk monitor '--org=edgex-jenkins' 00:26:27 00:26:27 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 00:26:27 00:26:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/cd149ec8-949a-4141-8313-c59cd1466ccf 00:26:27 00:26:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:26:27 00:26:27 00:26:27 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 00:26:27 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:26:27 $ docker stop --time=1 8741a612cbdaceb576e7fd1f8557c0ca5c1d35f01de928d21fb5782798216a0a 00:26:29 $ docker rm -f 8741a612cbdaceb576e7fd1f8557c0ca5c1d35f01de928d21fb5782798216a0a [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) [Pipeline] echo 00:26:30 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:26:30 provisioning config files... 00:26:30 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1947947067183395222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:26:30 --> edgex-publish-swagger.sh 00:26:30 === Publish openapi/v2 API === 00:26:30 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 00:26:30 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 00:26:30 % Total % Received % Xferd Average Speed Time Time Time Current 00:26:30 Dload Upload Total Spent Left Speed 00:26:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 59397 --:--:-- --:--:-- --:--:-- 59451 00:26:31 00:26:31 [Pipeline] } 00:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:26:32 + git log --format=format:%s -1 c02be292122d13d9a203aa1f23c4b78b0968bab2 [Pipeline] isUnix [Pipeline] sh 00:26:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:26:32 . [Pipeline] withDockerContainer 00:26:32 prd-centos7-docker-4c-2g-517 does not seem to be running inside a container 00:26:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 00:26:32 $ docker top ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:32 [ssh-agent] Looking for ssh-agent implementation... 00:26:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:32 $ docker exec ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 ssh-agent 00:26:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLLDgke/agent.14 00:26:33 SSH_AGENT_PID=21 00:26:33 Running ssh-add (command line suppressed) 00:26:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3769270882412217253.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3769270882412217253.key) 00:26:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:33 + git semver tag 00:26:33 # -> Open(): unable to determine branch for HEAD 00:26:33 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 00:26:33 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 00:26:33 # $SEMVER_REMOTE_NAME = origin 00:26:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:26:33 # $SEMVER_USER_NAME = edgex-jenkins 00:26:33 # $SEMVER_BRANCH = main 00:26:33 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:26:33 # c02be292122d13d9a203aa1f23c4b78b0968bab2 HEAD 00:26:33 # -> Force: false 00:26:33 # 3c8ce51f4871431a74d4ae0d31a99f5e627a0b8e refs/tags/v2.0.1-dev.17 [Pipeline] } 00:26:33 $ docker exec --env ******** --env ******** ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 ssh-agent -k 00:26:33 unset SSH_AUTH_SOCK; 00:26:33 unset SSH_AGENT_PID; 00:26:33 echo Agent pid 21 killed; 00:26:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:26:33 + git semver [Pipeline] } 00:26:33 $ docker stop --time=1 ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 00:26:35 $ docker rm -f ba5c984837d88b3e07b1dc1dc16012119e13da18939b17729de9b7b7fc6b1aa8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:26:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:35 00:26:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:26:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:35 0.23.1-centos7: Pulling from edgex-lftools 00:26:35 ab5ef0e58194: Pulling fs layer 00:26:35 9712f1f96733: Pulling fs layer 00:26:35 63f879dbbcfc: Pulling fs layer 00:26:35 0d9ebad4ef96: Pulling fs layer 00:26:35 e9a5061849ea: Pulling fs layer 00:26:35 d747dcd14b5f: Pulling fs layer 00:26:35 2de7ff778b66: Pulling fs layer 00:26:35 e9a5061849ea: Waiting 00:26:35 d747dcd14b5f: Waiting 00:26:35 2de7ff778b66: Waiting 00:26:35 0d9ebad4ef96: Waiting 00:26:35 9712f1f96733: Verifying Checksum 00:26:35 9712f1f96733: Download complete 00:26:36 63f879dbbcfc: Verifying Checksum 00:26:36 63f879dbbcfc: Download complete 00:26:36 e9a5061849ea: Verifying Checksum 00:26:36 e9a5061849ea: Download complete 00:26:36 ab5ef0e58194: Verifying Checksum 00:26:36 ab5ef0e58194: Download complete 00:26:36 d747dcd14b5f: Verifying Checksum 00:26:36 d747dcd14b5f: Download complete 00:26:36 2de7ff778b66: Verifying Checksum 00:26:36 2de7ff778b66: Download complete 00:26:36 0d9ebad4ef96: Verifying Checksum 00:26:36 0d9ebad4ef96: Download complete 00:26:39 ab5ef0e58194: Pull complete 00:26:39 9712f1f96733: Pull complete 00:26:40 63f879dbbcfc: Pull complete 00:26:44 0d9ebad4ef96: Pull complete 00:26:44 e9a5061849ea: Pull complete 00:26:44 d747dcd14b5f: Pull complete 00:26:46 2de7ff778b66: Pull complete 00:26:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:26:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:26:46 prd-centos7-docker-4c-2g-517 does not seem to be running inside a container 00:26:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 00:26:49 $ docker top 697a45dcd0e5a9508ca50915d536edc47e4839507931fb4d313b2a743fd0d50f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:26:49 provisioning config files... 00:26:49 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1779939942832992724tmp 00:26:49 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2610204984147949217tmp 00:26:49 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3064973404870401688tmp [Pipeline] { [Pipeline] echo 00:26:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:26:49 ---> sigul-configuration.sh 00:26:49 gpg: directory `/root/.gnupg' created 00:26:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:26:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:26:49 gpg: keyring `/root/.gnupg/secring.gpg' created 00:26:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:26:49 gpg: CAST5 encrypted data 00:26:49 gpg: encrypted with 1 passphrase 00:26:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:26:49 + mkdir /home/jenkins 00:26:49 + mkdir /home/jenkins/sigul [Pipeline] sh 00:26:50 + 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 00:26:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:26:50 ---> sigul-install.sh 00:26:50 Sigul already installed; skipping installation. [Pipeline] sh 00:26:50 + git tag --list 00:26:50 0.7.1 00:26:50 delhi-tag 00:26:50 v1.0.0 00:26:50 v1.1.0 00:26:50 v1.1.1 00:26:50 v1.1.2 00:26:50 v1.2.0 00:26:50 v1.2.1 00:26:50 v1.2.2 00:26:50 v1.2.3 00:26:50 v1.3.0 00:26:50 v1.4.0 00:26:50 v2.0.0 00:26:50 v2.0.1-dev.1 00:26:50 v2.0.1-dev.10 00:26:50 v2.0.1-dev.11 00:26:50 v2.0.1-dev.12 00:26:50 v2.0.1-dev.13 00:26:50 v2.0.1-dev.14 00:26:50 v2.0.1-dev.15 00:26:50 v2.0.1-dev.16 00:26:50 v2.0.1-dev.17 00:26:50 v2.0.1-dev.2 00:26:50 v2.0.1-dev.3 00:26:50 v2.0.1-dev.4 00:26:50 v2.0.1-dev.5 00:26:50 v2.0.1-dev.6 00:26:50 v2.0.1-dev.7 00:26:50 v2.0.1-dev.8 00:26:50 v2.0.1-dev.9 [Pipeline] sh 00:26:50 + lftools sign git-tag v2.0.1-dev.17 00:26:51 Signing Git tag with Sigul... 00:26:51 Signing v2.0.1-dev.17 [Pipeline] echo 00:26:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:26:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:26:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:26:52 $ docker stop --time=1 697a45dcd0e5a9508ca50915d536edc47e4839507931fb4d313b2a743fd0d50f 00:26:53 $ docker rm -f 697a45dcd0e5a9508ca50915d536edc47e4839507931fb4d313b2a743fd0d50f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 00:26:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:26:54 . [Pipeline] withDockerContainer 00:26:54 prd-centos7-docker-4c-2g-517 does not seem to be running inside a container 00:26:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 00:26:55 $ docker top ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:55 [ssh-agent] Looking for ssh-agent implementation... 00:26:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:55 $ docker exec ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 ssh-agent 00:26:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbGOkGe/agent.14 00:26:55 SSH_AGENT_PID=21 00:26:55 Running ssh-add (command line suppressed) 00:26:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2901703194390367962.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2901703194390367962.key) 00:26:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:55 + git semver bump pre 00:26:55 # -> Open(): unable to determine branch for HEAD 00:26:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 00:26:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 00:26:55 # $SEMVER_REMOTE_NAME = origin 00:26:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:26:55 # $SEMVER_USER_NAME = edgex-jenkins 00:26:55 # $SEMVER_BRANCH = main 00:26:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:26:55 2.0.1-dev.18 [Pipeline] } 00:26:55 $ docker exec --env ******** --env ******** ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 ssh-agent -k 00:26:55 unset SSH_AUTH_SOCK; 00:26:55 unset SSH_AGENT_PID; 00:26:55 echo Agent pid 21 killed; 00:26:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:26:56 + git semver [Pipeline] } 00:26:56 $ docker stop --time=1 ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 00:26:57 $ docker rm -f ff611db17fbef18b3994cf89973ce2e7ae9ef4900f715d9a6a0d53efbc4d8cf7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 00:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:26:58 . [Pipeline] withDockerContainer 00:26:58 prd-centos7-docker-4c-2g-517 does not seem to be running inside a container 00:26:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 00:26:58 $ docker top 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:58 [ssh-agent] Looking for ssh-agent implementation... 00:26:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:58 $ docker exec 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 ssh-agent 00:26:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDnICBM/agent.14 00:26:58 SSH_AGENT_PID=21 00:26:58 Running ssh-add (command line suppressed) 00:26:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6004832999539606309.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6004832999539606309.key) 00:26:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:59 + git semver push 00:26:59 # -> Open(): unable to determine branch for HEAD 00:26:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 00:26:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 00:26:59 # $SEMVER_REMOTE_NAME = origin 00:26:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:26:59 # $SEMVER_USER_NAME = edgex-jenkins 00:26:59 # $SEMVER_BRANCH = main 00:26:59 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 00:27:01 $ docker exec --env ******** --env ******** 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 ssh-agent -k 00:27:01 unset SSH_AUTH_SOCK; 00:27:01 unset SSH_AGENT_PID; 00:27:01 echo Agent pid 21 killed; 00:27:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:27:01 + git semver [Pipeline] } 00:27:01 $ docker stop --time=1 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 00:27:02 $ docker rm -f 2c4827bd30aa2f89d154815847172650b9c761329347503f068e226d99726e47 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:27:03 + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:27:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:27:04 ---> package-listing.sh 00:27:04 ++ tr '[:upper:]' '[:lower:]' 00:27:04 ++ facter osfamily 00:27:04 + OS_FAMILY=redhat 00:27:04 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 00:27:04 + START_PACKAGES=/tmp/packages_start.txt 00:27:04 + END_PACKAGES=/tmp/packages_end.txt 00:27:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:27:04 + PACKAGES=/tmp/packages_start.txt 00:27:04 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:27:04 + PACKAGES=/tmp/packages_end.txt 00:27:04 + case "${OS_FAMILY}" in 00:27:04 + rpm -qa 00:27:04 + sort 00:27:05 + '[' -f /tmp/packages_start.txt ']' 00:27:05 + '[' -f /tmp/packages_end.txt ']' 00:27:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:27:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:27:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 00:27:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 00:27:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:27:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:27:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:27:06 00:27:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:27:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:27:06 latest: Pulling from edgex-lftools-log-publisher 00:27:06 b4d181a07f80: Pulling fs layer 00:27:06 a1111a8f2ec3: Pulling fs layer 00:27:06 ed53099fbce6: Pulling fs layer 00:27:06 dc539afda2c1: Pulling fs layer 00:27:06 77bc0d833cb6: Pulling fs layer 00:27:06 9065ff56babe: Pulling fs layer 00:27:06 d287ab97295c: Pulling fs layer 00:27:06 dc539afda2c1: Waiting 00:27:06 77bc0d833cb6: Waiting 00:27:06 9065ff56babe: Waiting 00:27:06 d287ab97295c: Waiting 00:27:06 a1111a8f2ec3: Verifying Checksum 00:27:06 a1111a8f2ec3: Download complete 00:27:06 dc539afda2c1: Download complete 00:27:06 ed53099fbce6: Verifying Checksum 00:27:06 ed53099fbce6: Download complete 00:27:06 9065ff56babe: Verifying Checksum 00:27:06 9065ff56babe: Download complete 00:27:06 77bc0d833cb6: Verifying Checksum 00:27:06 77bc0d833cb6: Download complete 00:27:06 b4d181a07f80: Verifying Checksum 00:27:06 b4d181a07f80: Download complete 00:27:07 d287ab97295c: Verifying Checksum 00:27:07 d287ab97295c: Download complete 00:27:08 b4d181a07f80: Pull complete 00:27:08 a1111a8f2ec3: Pull complete 00:27:08 ed53099fbce6: Pull complete 00:27:08 dc539afda2c1: Pull complete 00:27:09 77bc0d833cb6: Pull complete 00:27:09 9065ff56babe: Pull complete 00:27:15 d287ab97295c: Pull complete 00:27:15 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:27:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:27:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:27:16 prd-centos7-docker-4c-2g-517 does not seem to be running inside a container 00:27:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 00:27:18 $ docker top 6c812fad144d641a523f8747121de63da6642ac494c2c53264a9a17a1afedbf7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:27:18 + touch /tmp/pre-build-complete [Pipeline] sh 00:27:19 + mkdir -p /var/log/sysstat [Pipeline] sh 00:27:19 + ls /var/log/sa-host 00:27:19 + sadf -c /var/log/sa-host/sa12 00:27:19 file_magic: OK 00:27:19 HZ: Using current value: 100 00:27:19 file_header: OK 00:27:19 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:27:19 Statistics: 00:27:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:27:19 File successfully converted to sysstat format version 12.0.3 00:27:19 + sadf -c /var/log/sa-host/sa30 00:27:19 file_magic: OK 00:27:19 HZ: Using current value: 100 00:27:19 file_header: OK 00:27:19 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:27:19 Statistics: 00:27:19 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:27:19 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:27:19 provisioning config files... 00:27:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4832638511323705935tmp [Pipeline] { [Pipeline] echo 00:27:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:27:19 ---> create-netrc.sh [Pipeline] } 00:27:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:27:20 ---> python-tools-install.sh [Pipeline] echo 00:27:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:27:20 ---> sudo-logs.sh 00:27:20 Archiving 'sudo' log.. 00:27:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-517.novalocal: Name or service not known 00:27:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-517.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:27:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:27:20 ---> job-cost.sh 00:27:20 lf-activate-venv: SKIPPING 00:27:20 DEBUG: total: 0.10999999940395355 00:27:20 INFO: Retrieving Stack Cost... 00:27:27 INFO: Retrieving Pricing Info for: v3-standard-2 00:27:27 INFO: Archiving Costs [Pipeline] echo 00:27:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:27:27 ---> logs-deploy.sh 00:27:27 lf-activate-venv: SKIPPING 00:27:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/16 00:27:27 INFO: archiving workspace using pattern(s): 00:27:28 Archives upload complete. 00:27:28 INFO: archiving logs to Nexus 00:27:29 ---> uname -a: 00:27:29 Linux prd-centos7-docker-4c-2g-517.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 00:27:29 00:27:29 00:27:29 ---> lscpu: 00:27:29 Architecture: x86_64 00:27:29 CPU op-mode(s): 32-bit, 64-bit 00:27:29 Byte Order: Little Endian 00:27:29 Address sizes: 40 bits physical, 48 bits virtual 00:27:29 CPU(s): 2 00:27:29 On-line CPU(s) list: 0,1 00:27:29 Thread(s) per core: 1 00:27:29 Core(s) per socket: 1 00:27:29 Socket(s): 2 00:27:29 NUMA node(s): 1 00:27:29 Vendor ID: AuthenticAMD 00:27:29 CPU family: 23 00:27:29 Model: 49 00:27:29 Model name: AMD EPYC-Rome Processor 00:27:29 Stepping: 0 00:27:29 CPU MHz: 2799.998 00:27:29 BogoMIPS: 5599.99 00:27:29 Virtualization: AMD-V 00:27:29 Hypervisor vendor: KVM 00:27:29 Virtualization type: full 00:27:29 L1d cache: 32K 00:27:29 L1i cache: 32K 00:27:29 L2 cache: 512K 00:27:29 L3 cache: 16384K 00:27:29 NUMA node0 CPU(s): 0,1 00:27:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 00:27:29 00:27:29 00:27:29 ---> nproc: 00:27:29 2 00:27:29 00:27:29 00:27:29 ---> df -h: 00:27:29 Filesystem Size Used Avail Use% Mounted on 00:27:29 overlay 40G 9.0G 32G 23% / 00:27:29 tmpfs 64M 0 64M 0% /dev 00:27:29 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 00:27:29 shm 64M 0 64M 0% /dev/shm 00:27:29 /dev/vda1 40G 9.0G 32G 23% /facter-os 00:27:29 00:27:29 00:27:29 ---> sar -b -r -n DEV: 00:27:29 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/12/21 _x86_64_ (2 CPU) 00:27:29 00:27:29 00:13:01 LINUX RESTART (2 CPU) 00:27:29 00:27:29 00:14:01 tps rtps wtps bread/s bwrtn/s 00:27:29 00:15:01 4.73 0.23 4.50 27.04 200.15 00:27:29 00:16:01 0.40 0.00 0.40 0.00 6.76 00:27:29 00:17:01 0.37 0.00 0.37 0.00 4.95 00:27:29 00:18:01 0.23 0.00 0.23 0.00 3.61 00:27:29 00:19:01 0.30 0.00 0.30 0.00 4.51 00:27:29 00:20:01 0.18 0.00 0.18 0.00 2.62 00:27:29 00:21:01 0.33 0.00 0.33 0.00 6.13 00:27:29 00:22:01 0.30 0.00 0.30 0.00 4.33 00:27:29 00:23:01 0.28 0.00 0.28 0.00 3.23 00:27:29 00:24:01 0.25 0.00 0.25 0.00 4.00 00:27:29 00:25:01 0.27 0.00 0.27 0.00 3.77 00:27:29 00:26:01 0.27 0.00 0.27 0.00 3.86 00:27:29 00:27:01 216.09 0.03 216.06 3.73 54613.62 00:27:29 Average: 17.23 0.02 17.21 2.37 4220.55 00:27:29 00:27:29 00:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:27:29 00:15:01 5682284 0 624756 7.80 2620 1699272 1255640 13.86 566944 1525184 20 00:27:29 00:16:01 5691956 0 615076 7.68 2620 1699280 1165604 12.87 559584 1525148 16 00:27:29 00:17:01 5688980 0 618052 7.72 2620 1699280 1165832 12.87 561828 1525356 8 00:27:29 00:18:01 5690768 0 616256 7.69 2620 1699288 1165604 12.87 560556 1525356 8 00:27:29 00:19:01 5692144 0 614876 7.68 2620 1699292 1165916 12.87 558444 1526020 16 00:27:29 00:20:01 5693560 0 613456 7.66 2620 1699296 1165640 12.87 556964 1526020 20 00:27:29 00:21:01 5686684 0 620328 7.75 2620 1699300 1165604 12.87 563940 1526036 8 00:27:29 00:22:01 5685732 0 621272 7.76 2620 1699308 1165760 12.87 565260 1526036 8 00:27:29 00:23:01 5686540 0 620460 7.75 2620 1699312 1165604 12.87 566100 1524276 16 00:27:29 00:24:01 5684872 0 622124 7.77 2620 1699316 1165724 12.87 568484 1524276 20 00:27:29 00:25:01 5677272 0 629720 7.86 2620 1699320 1165808 12.87 575576 1524276 8 00:27:29 00:26:01 5679388 0 627600 7.84 2620 1699324 1165604 12.87 573536 1524276 20 00:27:29 00:27:01 3966052 0 1018816 12.72 2620 3021444 1582640 17.47 942960 2645308 56 00:27:29 Average: 5554326 0 650984 8.13 2620 1801002 1204691 13.30 593860 1611351 17 00:27:29 00:27:29 00:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:27:29 00:15:01 eth0 21.30 19.68 43.50 6.12 0.00 0.00 0.00 0.00 00:27:29 00:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:15:01 docker0 11.24 6.21 1.73 29.01 0.00 0.00 0.00 0.00 00:27:29 00:16:01 eth0 0.30 0.10 0.02 0.01 0.00 0.00 0.00 0.00 00:27:29 00:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:17:01 eth0 1.73 0.33 0.38 0.20 0.00 0.00 0.00 0.00 00:27:29 00:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:18:01 eth0 0.58 0.10 0.06 0.01 0.00 0.00 0.00 0.00 00:27:29 00:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:19:01 eth0 1.47 0.80 0.87 0.65 0.00 0.00 0.00 0.00 00:27:29 00:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:20:01 eth0 0.22 0.12 0.07 0.01 0.00 0.00 0.00 0.00 00:27:29 00:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:21:01 eth0 0.40 0.08 0.03 0.01 0.00 0.00 0.00 0.00 00:27:29 00:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:22:01 eth0 0.72 0.35 0.29 0.17 0.00 0.00 0.00 0.00 00:27:29 00:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:23:01 eth0 0.13 0.10 0.01 0.04 0.00 0.00 0.00 0.00 00:27:29 00:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:24:01 eth0 0.75 0.27 0.19 0.08 0.00 0.00 0.00 0.00 00:27:29 00:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:25:01 eth0 0.67 0.38 0.29 0.21 0.00 0.00 0.00 0.00 00:27:29 00:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:26:01 eth0 0.50 0.10 0.04 0.01 0.00 0.00 0.00 0.00 00:27:29 00:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:27:01 veth86bcce1 2.08 1.52 0.34 0.33 0.00 0.00 0.00 0.00 00:27:29 00:27:01 eth0 403.43 242.82 7703.93 123.13 0.00 0.00 0.00 0.00 00:27:29 00:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 00:27:01 docker0 34.19 50.58 3.42 386.62 0.00 0.00 0.00 0.00 00:27:29 Average: veth86bcce1 0.16 0.12 0.03 0.03 0.00 0.00 0.00 0.00 00:27:29 Average: eth0 33.25 20.41 596.19 10.05 0.00 0.00 0.00 0.00 00:27:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:27:29 Average: docker0 3.50 4.37 0.40 31.97 0.00 0.00 0.00 0.00 00:27:29 00:27:29 00:27:29 ---> sar -P ALL: 00:27:29 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/12/21 _x86_64_ (2 CPU) 00:27:29 00:27:29 00:13:01 LINUX RESTART (2 CPU) 00:27:29 00:27:29 00:14:01 CPU %user %nice %system %iowait %steal %idle 00:27:29 00:15:01 all 0.99 0.00 0.41 0.03 0.03 98.55 00:27:29 00:15:01 0 0.69 0.00 0.37 0.03 0.02 98.90 00:27:29 00:15:01 1 1.29 0.00 0.45 0.02 0.03 98.21 00:27:29 00:16:01 all 0.23 0.00 0.06 0.00 0.03 99.68 00:27:29 00:16:01 0 0.07 0.00 0.07 0.00 0.03 99.83 00:27:29 00:16:01 1 0.40 0.00 0.05 0.00 0.02 99.53 00:27:29 00:17:01 all 0.29 0.00 0.05 0.00 0.02 99.64 00:27:29 00:17:01 0 0.12 0.00 0.08 0.00 0.02 99.78 00:27:29 00:17:01 1 0.47 0.00 0.02 0.00 0.02 99.50 00:27:29 00:18:01 all 0.28 0.00 0.03 0.00 0.02 99.67 00:27:29 00:18:01 0 0.07 0.00 0.03 0.00 0.02 99.88 00:27:29 00:18:01 1 0.48 0.00 0.03 0.00 0.02 99.47 00:27:29 00:19:01 all 0.28 0.00 0.07 0.00 0.02 99.63 00:27:29 00:19:01 0 0.10 0.00 0.08 0.00 0.03 99.78 00:27:29 00:19:01 1 0.47 0.00 0.05 0.00 0.00 99.48 00:27:29 00:20:01 all 0.23 0.00 0.03 0.00 0.03 99.70 00:27:29 00:20:01 0 0.03 0.00 0.05 0.00 0.03 99.88 00:27:29 00:20:01 1 0.43 0.00 0.02 0.00 0.03 99.52 00:27:29 00:21:01 all 0.25 0.00 0.07 0.01 0.02 99.66 00:27:29 00:21:01 0 0.08 0.00 0.07 0.02 0.02 99.82 00:27:29 00:21:01 1 0.42 0.00 0.07 0.00 0.02 99.50 00:27:29 00:22:01 all 0.19 0.00 0.06 0.00 0.03 99.72 00:27:29 00:22:01 0 0.07 0.00 0.07 0.00 0.03 99.83 00:27:29 00:22:01 1 0.32 0.00 0.05 0.00 0.02 99.62 00:27:29 00:23:01 all 0.25 0.00 0.05 0.00 0.02 99.68 00:27:29 00:23:01 0 0.08 0.00 0.07 0.00 0.03 99.82 00:27:29 00:23:01 1 0.42 0.00 0.03 0.00 0.00 99.55 00:27:29 00:24:01 all 0.13 0.00 0.08 0.00 0.02 99.78 00:27:29 00:24:01 0 0.13 0.00 0.10 0.00 0.02 99.75 00:27:29 00:24:01 1 0.12 0.00 0.05 0.00 0.02 99.82 00:27:29 00:25:01 all 0.23 0.00 0.05 0.00 0.01 99.71 00:27:29 00:25:01 0 0.08 0.00 0.07 0.00 0.02 99.83 00:27:29 00:25:01 1 0.38 0.00 0.03 0.00 0.00 99.58 00:27:29 00:27:29 00:25:01 CPU %user %nice %system %iowait %steal %idle 00:27:29 00:26:01 all 0.24 0.00 0.06 0.00 0.03 99.67 00:27:29 00:26:01 0 0.10 0.00 0.08 0.00 0.03 99.78 00:27:29 00:26:01 1 0.38 0.00 0.03 0.00 0.02 99.57 00:27:29 00:27:01 all 26.10 0.00 11.00 2.58 0.12 60.20 00:27:29 00:27:01 0 25.52 0.00 11.32 2.86 0.12 60.18 00:27:29 00:27:01 1 26.69 0.00 10.67 2.29 0.12 60.22 00:27:29 Average: all 2.17 0.00 0.88 0.19 0.03 96.73 00:27:29 Average: 0 1.98 0.00 0.91 0.21 0.03 96.87 00:27:29 Average: 1 2.37 0.00 0.84 0.17 0.02 96.60 00:27:29 00:27:29 00:27:29