Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 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-ssh17986886480820618825.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh7821752636748051806.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-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/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2110626134700986469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh649425974290635028.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/app-functions-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/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8470559670342104107.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:app-functions-sdk-go, semver:true, testScript:make test, buildImage: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: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false 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: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-4504 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/oundry_app-functions-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-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/oundry_app-functions-sdk-go_main@tmp/jenkins-gitclient-ssh4163172404920723675.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 (main) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-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 c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 # timeout=10 Commit message: "feat: Expose the RequestTimeout configuration setting to app service (#1039)" > git rev-list --no-walk 935ffdea1367b9fce73786fb0b6da633adc0bf2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:14:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:14:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:14:59 ========================================================= 00:14:59 EdgeX Global Pipelines Version Info 00:14:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:15:00 ------------------- 00:15:00 stable info: 00:15:00 ------------------- 00:15:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:15:00 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 00:15:00 Message: update stable to v1.0.220 00:15:01 ------------------- 00:15:01 experimental info: 00:15:01 ------------------- 00:15:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:15:01 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 00:15:01 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8cbc5e [Pipeline] echo 00:15:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:15:01 + git rev-list -1 --merges c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82~1..c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 [Pipeline] echo 00:15:01 -----------> git rev-list -1 --merges c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82~1..c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 [false] [Pipeline] sh 00:15:02 + git log --format=format:%s -1 c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 [Pipeline] echo 00:15:02 ========================================================= 00:15:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:15:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:02 + git log --format=format:%s -1 c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 [Pipeline] echo 00:15:02 [semverPrep] GIT_COMMIT: c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82, Commit Message: feat: Expose the RequestTimeout configuration setting to app service (#1039) [Pipeline] echo 00:15:02 [semverPrep] This is not a build commit. [Pipeline] sh 00:15:02 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 00:15:02 + grep -v github /etc/ssh/ssh_known_hosts 00:15:02 + '[' -e /tmp/ssh_known_hosts ']' 00:15:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:15:02 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 00:15:02 + sudo tee -a /etc/ssh/ssh_known_hosts 00:15:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:15:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:15:03 00:15:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:15:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:15:03 latest: Pulling from edgex-devops/git-semver 00:15:03 a0d0a0d46f8b: Pulling fs layer 00:15:03 3e5f54012d9b: Pulling fs layer 00:15:03 4c7163046ea9: Pulling fs layer 00:15:03 0c2d73faf560: Pulling fs layer 00:15:03 0c2d73faf560: Waiting 00:15:03 3e5f54012d9b: Verifying Checksum 00:15:03 3e5f54012d9b: Download complete 00:15:03 a0d0a0d46f8b: Verifying Checksum 00:15:03 a0d0a0d46f8b: Download complete 00:15:03 0c2d73faf560: Verifying Checksum 00:15:03 0c2d73faf560: Download complete 00:15:03 4c7163046ea9: Verifying Checksum 00:15:03 4c7163046ea9: Download complete 00:15:03 a0d0a0d46f8b: Pull complete 00:15:03 3e5f54012d9b: Pull complete 00:15:04 4c7163046ea9: Pull complete 00:15:04 0c2d73faf560: Pull complete 00:15:04 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:15:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:15:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:15:04 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:15:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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:15:05 $ docker top 8309e59fa331a9c5f13a89c04c3e1ddad5dc6abc77b6b9340fe2e1a37c5fd059 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:15:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:15:05 [ssh-agent] Looking for ssh-agent implementation... 00:15:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:15:05 $ docker exec 8309e59fa331a9c5f13a89c04c3e1ddad5dc6abc77b6b9340fe2e1a37c5fd059 ssh-agent 00:15:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNmDiPL/agent.13 00:15:05 SSH_AGENT_PID=18 00:15:05 Running ssh-add (command line suppressed) 00:15:05 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3980755745006399423.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3980755745006399423.key) 00:15:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:15:05 + git tag --points-at HEAD [Pipeline] } 00:15:05 $ docker exec --env ******** --env ******** 8309e59fa331a9c5f13a89c04c3e1ddad5dc6abc77b6b9340fe2e1a37c5fd059 ssh-agent -k 00:15:06 unset SSH_AUTH_SOCK; 00:15:06 unset SSH_AGENT_PID; 00:15:06 echo Agent pid 18 killed; 00:15:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:15:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:15:06 [ssh-agent] Looking for ssh-agent implementation... 00:15:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:15:06 $ docker exec 8309e59fa331a9c5f13a89c04c3e1ddad5dc6abc77b6b9340fe2e1a37c5fd059 ssh-agent 00:15:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdfhcEo/agent.53 00:15:06 SSH_AGENT_PID=60 00:15:06 Running ssh-add (command line suppressed) 00:15:06 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4832387688487063804.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4832387688487063804.key) 00:15:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:15:06 + git semver init 00:15:06 # -> Open(): unable to determine branch for HEAD 00:15:06 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 00:15:06 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 00:15:06 # $SEMVER_REMOTE_NAME = origin 00:15:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:15:06 # $SEMVER_USER_NAME = edgex-jenkins 00:15:06 # $SEMVER_BRANCH = main 00:15:06 # $SEMVER_TEMP = /tmp/semver-916614272 00:15:06 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:15:09 # '/tmp/semver-916614272' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' 00:15:09 # -> Force: false 00:15:09 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 00:15:09 $ docker exec --env ******** --env ******** 8309e59fa331a9c5f13a89c04c3e1ddad5dc6abc77b6b9340fe2e1a37c5fd059 ssh-agent -k 00:15:09 unset SSH_AUTH_SOCK; 00:15:09 unset SSH_AGENT_PID; 00:15:09 echo Agent pid 60 killed; 00:15:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:15:09 + git semver [Pipeline] } 00:15:09 $ docker stop --time=1 8309e59fa331a9c5f13a89c04c3e1ddad5dc6abc77b6b9340fe2e1a37c5fd059 00:15:11 $ docker rm -f 8309e59fa331a9c5f13a89c04c3e1ddad5dc6abc77b6b9340fe2e1a37c5fd059 [Pipeline] // withDockerContainer [Pipeline] sh 00:15:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:15:11 Stashed 1 file(s) [Pipeline] echo 00:15:11 [edgeXSemver]: initialized semver on version 2.2.0-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:15:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:11 ========================================================= 00:15:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:15:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:15:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:15:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:15:12 59bf1c3509f3: Pulling fs layer 00:15:12 666ba61612fd: Pulling fs layer 00:15:12 8ed8ca486205: Pulling fs layer 00:15:12 4fe6c5a15a65: Pulling fs layer 00:15:12 22a0e8bec74d: Pulling fs layer 00:15:12 640e595b4fbd: Pulling fs layer 00:15:12 763cafe07f6e: Pulling fs layer 00:15:12 0c0b528cf693: Pulling fs layer 00:15:12 10935f4eaf8b: Pulling fs layer 00:15:12 4fe6c5a15a65: Waiting 00:15:12 763cafe07f6e: Waiting 00:15:12 0c0b528cf693: Waiting 00:15:12 10935f4eaf8b: Waiting 00:15:12 22a0e8bec74d: Waiting 00:15:12 640e595b4fbd: Waiting 00:15:12 8ed8ca486205: Verifying Checksum 00:15:12 8ed8ca486205: Download complete 00:15:12 666ba61612fd: Verifying Checksum 00:15:12 666ba61612fd: Download complete 00:15:12 22a0e8bec74d: Verifying Checksum 00:15:12 22a0e8bec74d: Download complete 00:15:12 640e595b4fbd: Verifying Checksum 00:15:12 640e595b4fbd: Download complete 00:15:12 763cafe07f6e: Verifying Checksum 00:15:12 763cafe07f6e: Download complete 00:15:12 59bf1c3509f3: Verifying Checksum 00:15:12 59bf1c3509f3: Download complete 00:15:12 0c0b528cf693: Verifying Checksum 00:15:12 0c0b528cf693: Download complete 00:15:12 59bf1c3509f3: Pull complete 00:15:12 666ba61612fd: Pull complete 00:15:12 8ed8ca486205: Pull complete 00:15:12 4fe6c5a15a65: Verifying Checksum 00:15:12 4fe6c5a15a65: Download complete 00:15:12 10935f4eaf8b: Verifying Checksum 00:15:12 10935f4eaf8b: Download complete 00:15:17 4fe6c5a15a65: Pull complete 00:15:17 22a0e8bec74d: Pull complete 00:15:17 640e595b4fbd: Pull complete 00:15:17 763cafe07f6e: Pull complete 00:15:17 0c0b528cf693: Pull complete 00:15:19 10935f4eaf8b: Pull complete 00:15:19 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 00:15:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:15:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 00:15:20 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 00:15:20 + docker inspect -f . ci-base-image-x86_64 00:15:20 . [Pipeline] withDockerContainer 00:15:20 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:15:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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 ******** ci-base-image-x86_64 cat 00:15:22 $ docker top 642e8a83d5cebb81b93773dcec3b7aa21ae945405153e0fd720df56c4f2e8eb9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:23 + go version 00:15:23 go version go1.17.6 linux/amd64 [Pipeline] } 00:15:23 $ docker stop --time=1 642e8a83d5cebb81b93773dcec3b7aa21ae945405153e0fd720df56c4f2e8eb9 00:15:24 $ docker rm -f 642e8a83d5cebb81b93773dcec3b7aa21ae945405153e0fd720df56c4f2e8eb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:15:24 + docker inspect -f . ci-base-image-x86_64 00:15:24 . [Pipeline] withDockerContainer 00:15:24 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:15:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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 ******** ci-base-image-x86_64 cat 00:15:25 $ docker top 5d58767f9dfeee190cd3aba50fbeb5dd4cd365845374df14bffbd4f085141e11 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:15:25 + make test 00:15:25 make -C ./app-service-template build 00:15:25 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:15:25 go mod tidy 00:15:25 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.9 00:15:25 go: downloading github.com/stretchr/testify v1.7.0 00:15:25 go: downloading github.com/google/uuid v1.3.0 00:15:25 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 00:15:26 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.7 00:15:26 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:15:26 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 00:15:26 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:15:26 go: downloading github.com/davecgh/go-spew v1.1.1 00:15:26 go: downloading github.com/pmezard/go-difflib v1.0.0 00:15:26 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:15:26 go: downloading github.com/stretchr/objx v0.1.1 00:15:26 go: downloading github.com/go-kit/log v0.2.0 00:15:26 go: downloading github.com/go-playground/validator/v10 v10.10.0 00:15:26 go: downloading github.com/gorilla/mux v1.8.0 00:15:26 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:15:26 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:15:26 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 00:15:26 go: downloading github.com/mitchellh/copystructure v1.0.0 00:15:26 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 00:15:26 go: downloading github.com/gorilla/websocket v1.4.2 00:15:26 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 00:15:26 Still waiting to schedule task 00:15:26 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4502’ is offline 00:15:26 go: downloading github.com/go-playground/universal-translator v0.18.0 00:15:26 go: downloading github.com/leodido/go-urn v1.2.1 00:15:26 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 00:15:27 go: downloading golang.org/x/text v0.3.7 00:15:29 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:15:29 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:15:29 go: downloading github.com/go-playground/locales v0.14.0 00:15:29 go: downloading github.com/pelletier/go-toml v1.9.4 00:15:29 go: downloading github.com/hashicorp/errwrap v1.0.0 00:15:29 go: downloading github.com/hashicorp/consul/api v1.9.1 00:15:29 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:15:29 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:15:29 go: downloading github.com/x448/float16 v0.8.4 00:15:29 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 00:15:29 go: downloading github.com/kr/pretty v0.3.0 00:15:29 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:15:29 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:15:29 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:15:29 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:15:29 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:15:29 go: downloading github.com/hashicorp/serf v0.9.5 00:15:29 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:15:29 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:15:29 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:15:29 go: downloading github.com/kr/text v0.2.0 00:15:29 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:15:29 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:15:29 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:15:29 go: downloading github.com/pebbe/zmq4 v1.2.7 00:15:30 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:15:30 go: downloading github.com/fatih/color v1.9.0 00:15:30 go: downloading github.com/mattn/go-colorable v0.1.6 00:15:30 go: downloading github.com/mattn/go-isatty v0.0.12 00:15:30 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:15:30 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:15:30 go: downloading github.com/pkg/errors v0.9.1 00:15:30 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:15:30 go: downloading github.com/hashicorp/memberlist v0.2.2 00:15:30 go: downloading github.com/onsi/ginkgo v1.10.1 00:15:30 go: downloading github.com/onsi/gomega v1.7.0 00:15:30 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:15:30 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:15:30 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:15:30 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:15:30 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:15:30 go: downloading github.com/miekg/dns v1.1.26 00:15:30 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:15:30 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:15:30 go: downloading github.com/hpcloud/tail v1.0.0 00:15:30 go: downloading gopkg.in/yaml.v2 v2.3.0 00:15:30 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:15:30 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:15:30 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 00:15:42 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:15:42 make -C ./app-service-template test 00:15:42 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:15:42 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 00:16:15 ok new-app-service 0.049s coverage: 48.1% of statements 00:16:15 ? new-app-service/config [no test files] 00:16:15 ok new-app-service/functions 0.045s 00:16:15 CGO_ENABLED=1 go vet ./... 00:16:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:16:17 ./bin/test-attribution-txt.sh 00:16:17 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:16:17 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:16:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:16:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.072s coverage: 65.4% of statements 00:16:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.051s coverage: 93.7% of statements 00:16:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:16:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.063s coverage: 61.8% of statements 00:16:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:16:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.049s 00:16:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.032s coverage: 100.0% of statements 00:16:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.098s coverage: 78.3% of statements 00:16:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:16:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:16:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:16:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:16:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:16:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:16:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.025s coverage: 97.3% of statements 00:16:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:16:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 00:16:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.055s coverage: 91.8% of statements 00:16:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 00:16:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.717s coverage: 80.4% of statements 00:16:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 00:16:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 00:16:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.053s coverage: 35.1% of statements 00:16:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 00:16:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.054s coverage: 14.3% of statements 00:16:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.044s coverage: 27.3% of statements 00:16:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:16:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:16:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.052s coverage: 51.4% of statements 00:16:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.129s coverage: 78.2% of statements 00:16:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.039s coverage: 94.4% of statements 00:16:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:16:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 00:17:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:17:03 $ docker stop --time=1 5d58767f9dfeee190cd3aba50fbeb5dd4cd365845374df14bffbd4f085141e11 00:17:04 $ docker rm -f 5d58767f9dfeee190cd3aba50fbeb5dd4cd365845374df14bffbd4f085141e11 [Pipeline] // withDockerContainer [Pipeline] sh 00:17:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:17:05 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [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:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:05 00:17:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:17:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:06 latest: Pulling from edgex-lftools-log-publisher 00:17:06 b4d181a07f80: Pulling fs layer 00:17:06 a1111a8f2ec3: Pulling fs layer 00:17:06 ed53099fbce6: Pulling fs layer 00:17:06 dc539afda2c1: Pulling fs layer 00:17:06 77bc0d833cb6: Pulling fs layer 00:17:06 9065ff56babe: Pulling fs layer 00:17:06 d287ab97295c: Pulling fs layer 00:17:06 dc539afda2c1: Waiting 00:17:06 77bc0d833cb6: Waiting 00:17:06 9065ff56babe: Waiting 00:17:06 d287ab97295c: Waiting 00:17:06 a1111a8f2ec3: Verifying Checksum 00:17:06 a1111a8f2ec3: Download complete 00:17:06 dc539afda2c1: Verifying Checksum 00:17:06 dc539afda2c1: Download complete 00:17:06 ed53099fbce6: Verifying Checksum 00:17:06 ed53099fbce6: Download complete 00:17:06 77bc0d833cb6: Verifying Checksum 00:17:06 77bc0d833cb6: Download complete 00:17:06 9065ff56babe: Verifying Checksum 00:17:06 9065ff56babe: Download complete 00:17:06 b4d181a07f80: Verifying Checksum 00:17:06 b4d181a07f80: Download complete 00:17:07 d287ab97295c: Verifying Checksum 00:17:07 d287ab97295c: Download complete 00:17:08 b4d181a07f80: Pull complete 00:17:08 a1111a8f2ec3: Pull complete 00:17:08 ed53099fbce6: Pull complete 00:17:08 dc539afda2c1: Pull complete 00:17:08 77bc0d833cb6: Pull complete 00:17:08 9065ff56babe: Pull complete 00:17:14 d287ab97295c: Pull complete 00:17:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:17:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:17:14 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:17:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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-lftools-log-publisher:latest cat 00:17:17 $ docker top 9233dbc8a3a4900a281c28b209eee18d4e444737634c67ee1b204d44fbd78a73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:17 ---> job-cost.sh 00:17:17 lf-activate-venv: SKIPPING 00:17:17 INFO: No Stack... 00:17:17 INFO: Retrieving Pricing Info for: v3-standard-2 00:17:17 INFO: Archiving Costs [Pipeline] sh 00:17:18 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 00:17:18 + cut -d, -f6 [Pipeline] lock 00:17:18 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-81-stack-cost] 00:17:18 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-81-stack-cost] did not exist. Created. 00:17:18 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:17:18 + echo total: 0.05999999865889549 [Pipeline] stash 00:17:18 Stashed 1 file(s) [Pipeline] } 00:17:18 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 00:17:18 $ docker stop --time=1 9233dbc8a3a4900a281c28b209eee18d4e444737634c67ee1b204d44fbd78a73 00:17:19 $ docker rm -f 9233dbc8a3a4900a281c28b209eee18d4e444737634c67ee1b204d44fbd78a73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:17:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4506 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 00:17:51 Running in /w/workspace/app-functions-sdk-go/81 [Pipeline] { [Pipeline] checkout 00:17:52 The recommended git tool is: git 00:17:57 using credential edgex-jenkins-ssh 00:17:57 Cloning the remote Git repository 00:17:57 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:17:57 > git init /w/workspace/app-functions-sdk-go/81 # timeout=10 00:17:57 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:17:57 > git --version # timeout=10 00:17:57 > git --version # 'git version 2.17.1' 00:17:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:01 Avoid second fetch 00:18:01 Checking out Revision c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 (main) 00:18:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:18:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:01 > git config core.sparsecheckout # timeout=10 00:18:01 > git checkout -f c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 # timeout=10 00:18:05 Commit message: "feat: Expose the RequestTimeout configuration setting to app service (#1039)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:18:06 % Total % Received % Xferd Average Speed Time Time Time Current 00:18:06 Dload Upload Total Spent Left Speed 00:18:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 00:18:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:18:07 + sudo tee /etc/docker/daemon.new 00:18:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:18:07 { 00:18:07 "registry-mirrors": [ 00:18:07 "https://nexus3.edgexfoundry.org:10001" 00:18:07 ], 00:18:07 "bip": "10.250.0.254/24", 00:18:07 "hosts": [ 00:18:07 "tcp://0.0.0.0:5555", 00:18:07 "unix:///var/run/docker.sock" 00:18:07 ], 00:18:07 "mtu": 1458, 00:18:07 "selinux-enabled": true, 00:18:07 "seccomp-profile": "/etc/docker/seccomp.json" 00:18:07 } [Pipeline] sh 00:18:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:18:08 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:18:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:26 ========================================================= 00:18:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:18:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:18:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:18:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:18:27 9b3977197b4f: Pulling fs layer 00:18:27 1a89e8eeedd5: Pulling fs layer 00:18:27 94645a83ff95: Pulling fs layer 00:18:27 3f3a8bcf1eab: Pulling fs layer 00:18:27 0c92f367c5e7: Pulling fs layer 00:18:27 f7c0051592d6: Pulling fs layer 00:18:27 a227ed2f7395: Pulling fs layer 00:18:27 7b1c46037f91: Pulling fs layer 00:18:27 3f3a8bcf1eab: Waiting 00:18:27 0c92f367c5e7: Waiting 00:18:27 f7c0051592d6: Waiting 00:18:27 a227ed2f7395: Waiting 00:18:27 7b1c46037f91: Waiting 00:18:27 94645a83ff95: Download complete 00:18:27 1a89e8eeedd5: Verifying Checksum 00:18:27 1a89e8eeedd5: Download complete 00:18:27 0c92f367c5e7: Verifying Checksum 00:18:27 0c92f367c5e7: Download complete 00:18:27 f7c0051592d6: Verifying Checksum 00:18:27 f7c0051592d6: Download complete 00:18:27 a227ed2f7395: Download complete 00:18:27 9b3977197b4f: Verifying Checksum 00:18:28 9b3977197b4f: Pull complete 00:18:29 1a89e8eeedd5: Pull complete 00:18:29 94645a83ff95: Pull complete 00:18:30 7b1c46037f91: Verifying Checksum 00:18:30 7b1c46037f91: Download complete 00:18:30 3f3a8bcf1eab: Verifying Checksum 00:18:30 3f3a8bcf1eab: Download complete 00:18:43 3f3a8bcf1eab: Pull complete 00:18:43 0c92f367c5e7: Pull complete 00:18:43 f7c0051592d6: Pull complete 00:18:43 a227ed2f7395: Pull complete 00:18:49 7b1c46037f91: Pull complete 00:18:49 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 00:18:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:18:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 00:18:50 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 00:18:50 + docker inspect -f . ci-base-image-arm64 00:18:50 . [Pipeline] withDockerContainer 00:18:50 prd-ubuntu18.04-docker-arm64-4c-16g-4506 does not seem to be running inside a container 00:18:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/81 -v /w/workspace/app-functions-sdk-go/81:/w/workspace/app-functions-sdk-go/81:rw,z -v /w/workspace/app-functions-sdk-go/81@tmp:/w/workspace/app-functions-sdk-go/81@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:18:54 $ docker top 00dfe61accc86f71d4168af4a2eb832fdb4c47e385469b5b6807057f39a4b33a -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:54 + go version 00:18:54 go version go1.17.6 linux/arm64 [Pipeline] } 00:18:54 $ docker stop --time=1 00dfe61accc86f71d4168af4a2eb832fdb4c47e385469b5b6807057f39a4b33a 00:18:56 $ docker rm -f 00dfe61accc86f71d4168af4a2eb832fdb4c47e385469b5b6807057f39a4b33a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:18:57 + docker inspect -f . ci-base-image-arm64 00:18:57 . [Pipeline] withDockerContainer 00:18:57 prd-ubuntu18.04-docker-arm64-4c-16g-4506 does not seem to be running inside a container 00:18:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/81 -v /w/workspace/app-functions-sdk-go/81:/w/workspace/app-functions-sdk-go/81:rw,z -v /w/workspace/app-functions-sdk-go/81@tmp:/w/workspace/app-functions-sdk-go/81@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:18:58 $ docker top c2567de32afbc584fad4e46b46e1184d7f6a525e163b146f74b2427726379f40 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:18:59 + make test 00:18:59 make -C ./app-service-template build 00:18:59 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/81/app-service-template' 00:18:59 go mod tidy 00:18:59 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.9 00:18:59 go: downloading github.com/google/uuid v1.3.0 00:18:59 go: downloading github.com/stretchr/testify v1.7.0 00:19:00 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 00:19:00 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.7 00:19:00 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:19:00 go: downloading github.com/davecgh/go-spew v1.1.1 00:19:00 go: downloading github.com/pmezard/go-difflib v1.0.0 00:19:00 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:19:00 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 00:19:00 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:19:00 go: downloading github.com/stretchr/objx v0.1.1 00:19:00 go: downloading github.com/go-playground/validator/v10 v10.10.0 00:19:00 go: downloading github.com/go-kit/log v0.2.0 00:19:00 go: downloading github.com/gorilla/mux v1.8.0 00:19:00 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:19:00 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:19:00 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 00:19:00 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 00:19:00 go: downloading github.com/mitchellh/copystructure v1.0.0 00:19:00 go: downloading github.com/hashicorp/consul/api v1.9.1 00:19:00 go: downloading github.com/pelletier/go-toml v1.9.4 00:19:00 go: downloading github.com/gorilla/websocket v1.4.2 00:19:00 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 00:19:00 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:19:00 go: downloading github.com/hashicorp/errwrap v1.0.0 00:19:00 go: downloading github.com/go-playground/universal-translator v0.18.0 00:19:00 go: downloading github.com/leodido/go-urn v1.2.1 00:19:00 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 00:19:01 go: downloading golang.org/x/text v0.3.7 00:19:01 go: downloading github.com/go-playground/locales v0.14.0 00:19:02 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:19:02 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:19:04 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:19:04 go: downloading github.com/x448/float16 v0.8.4 00:19:04 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:19:04 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:19:04 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:19:04 go: downloading github.com/hashicorp/serf v0.9.5 00:19:04 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:19:04 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:19:04 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:19:04 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:19:04 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:19:04 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 00:19:04 go: downloading github.com/kr/pretty v0.3.0 00:19:04 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:19:04 go: downloading github.com/fatih/color v1.9.0 00:19:04 go: downloading github.com/mattn/go-colorable v0.1.6 00:19:04 go: downloading github.com/mattn/go-isatty v0.0.12 00:19:04 go: downloading github.com/pkg/errors v0.9.1 00:19:04 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:19:04 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:19:04 go: downloading github.com/pebbe/zmq4 v1.2.7 00:19:04 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:19:04 go: downloading github.com/kr/text v0.2.0 00:19:04 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:19:04 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:19:04 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:19:04 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:19:04 go: downloading github.com/hashicorp/memberlist v0.2.2 00:19:04 go: downloading github.com/onsi/ginkgo v1.10.1 00:19:04 go: downloading github.com/onsi/gomega v1.7.0 00:19:04 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:19:05 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:19:05 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:19:05 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:19:05 go: downloading github.com/miekg/dns v1.1.26 00:19:05 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:19:05 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:19:05 go: downloading gopkg.in/yaml.v2 v2.3.0 00:19:05 go: downloading github.com/hpcloud/tail v1.0.0 00:19:05 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:19:05 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:19:05 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 00:19:44 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/81/app-service-template' 00:19:44 make -C ./app-service-template test 00:19:44 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/81/app-service-template' 00:19:44 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 00:21:21 ok new-app-service 0.241s coverage: 48.1% of statements 00:21:21 ? new-app-service/config [no test files] 00:21:21 ok new-app-service/functions 0.176s 00:21:21 CGO_ENABLED=1 go vet ./... 00:21:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:21:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:21:43 ./bin/test-attribution-txt.sh 00:21:44 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/81/app-service-template' 00:21:44 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:21:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.435s coverage: 65.4% of statements 00:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.207s coverage: 93.7% of statements 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.342s coverage: 61.8% of statements 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.193s 00:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.127s coverage: 100.0% of statements 00:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.452s coverage: 78.3% of statements 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.140s coverage: 97.3% of statements 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 00:21:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.233s coverage: 91.8% of statements 00:21:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 00:22:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.987s coverage: 80.4% of statements 00:22:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 00:22:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 00:22:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.276s coverage: 35.1% of statements 00:22:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 00:22:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.215s coverage: 14.3% of statements 00:22:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.172s coverage: 27.3% of statements 00:22:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:22:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:22:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.229s coverage: 51.4% of statements 00:22:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.479s coverage: 78.2% of statements 00:22:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.194s coverage: 94.4% of statements 00:22:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:22:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:22:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:22:39 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 00:22:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:22:39 $ docker stop --time=1 c2567de32afbc584fad4e46b46e1184d7f6a525e163b146f74b2427726379f40 00:22:41 $ docker rm -f c2567de32afbc584fad4e46b46e1184d7f6a525e163b146f74b2427726379f40 [Pipeline] // withDockerContainer [Pipeline] sh 00:22:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:22:43 Warning: overwriting stash ‘coverage-report’ 00:22:44 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [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:22:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:22:44 00:22:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:22:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:22:45 arm64: Pulling from edgex-lftools-log-publisher 00:22:45 448f6bf000e3: Pulling fs layer 00:22:45 f757da607395: Pulling fs layer 00:22:45 05883995daec: Pulling fs layer 00:22:45 8603b9c90790: Pulling fs layer 00:22:45 1560dd03e051: Pulling fs layer 00:22:45 27f5ce0e4adf: Pulling fs layer 00:22:45 c2d8d7efcc4b: Pulling fs layer 00:22:45 1560dd03e051: Waiting 00:22:45 27f5ce0e4adf: Waiting 00:22:45 c2d8d7efcc4b: Waiting 00:22:45 8603b9c90790: Waiting 00:22:45 f757da607395: Verifying Checksum 00:22:45 f757da607395: Download complete 00:22:45 8603b9c90790: Verifying Checksum 00:22:45 8603b9c90790: Download complete 00:22:45 1560dd03e051: Verifying Checksum 00:22:45 1560dd03e051: Download complete 00:22:45 27f5ce0e4adf: Verifying Checksum 00:22:45 27f5ce0e4adf: Download complete 00:22:45 05883995daec: Verifying Checksum 00:22:45 05883995daec: Download complete 00:22:45 448f6bf000e3: Verifying Checksum 00:22:45 448f6bf000e3: Download complete 00:22:48 c2d8d7efcc4b: Verifying Checksum 00:22:48 c2d8d7efcc4b: Download complete 00:22:50 448f6bf000e3: Pull complete 00:22:50 f757da607395: Pull complete 00:22:51 05883995daec: Pull complete 00:22:52 8603b9c90790: Pull complete 00:22:52 1560dd03e051: Pull complete 00:22:53 27f5ce0e4adf: Pull complete 00:23:08 c2d8d7efcc4b: Pull complete 00:23:08 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:23:08 prd-ubuntu18.04-docker-arm64-4c-16g-4506 does not seem to be running inside a container 00:23:08 $ 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/app-functions-sdk-go/81 -v /w/workspace/app-functions-sdk-go/81:/w/workspace/app-functions-sdk-go/81:rw,z -v /w/workspace/app-functions-sdk-go/81@tmp:/w/workspace/app-functions-sdk-go/81@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:23:11 $ docker top f84484e79b12a9506646a45b566019d461f019c5c430248ce2aef5d3bace7961 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:12 ---> job-cost.sh 00:23:12 lf-activate-venv: SKIPPING 00:23:12 INFO: No Stack... 00:23:12 INFO: Retrieving Pricing Info for: v3-standard-4 00:23:13 INFO: Archiving Costs [Pipeline] sh 00:23:13 + cat /w/workspace/app-functions-sdk-go/81/archives/cost.csv 00:23:13 + cut -d, -f6 [Pipeline] lock 00:23:13 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-81-stack-cost] 00:23:13 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-81-stack-cost] did not exist. Created. 00:23:13 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:23:14 /w/workspace/app-functions-sdk-go/81@tmp/durable-46361112/script.sh: 1: /w/workspace/app-functions-sdk-go/81@tmp/durable-46361112/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:23:15 + echo total: 0.10999999940395355 [Pipeline] stash 00:23:15 Warning: overwriting stash ‘stack-cost’ 00:23:15 Stashed 1 file(s) [Pipeline] } 00:23:15 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 00:23:15 $ docker stop --time=1 f84484e79b12a9506646a45b566019d461f019c5c430248ce2aef5d3bace7961 00:23:16 $ docker rm -f f84484e79b12a9506646a45b566019d461f019c5c430248ce2aef5d3bace7961 [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:23:17 provisioning config files... 00:23:17 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config341314598269723462tmp [Pipeline] { [Pipeline] sh 00:23:17 + set +x 00:23:17 + bash -s -- 00:23:17 + curl -s https://codecov.io/bash 00:23:17 00:23:17 _____ _ 00:23:17 / ____| | | 00:23:17 | | ___ __| | ___ ___ _____ __ 00:23:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:23:17 | |___| (_) | (_| | __/ (_| (_) \ V / 00:23:17 \_____\___/ \__,_|\___|\___\___/ \_/ 00:23:17 Bash-1.0.6 00:23:17 00:23:17 00:23:17 ==> git version 2.24.4 found 00:23:17 ==> 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:23:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:23:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:23:17 ==> Jenkins CI detected. 00:23:17 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 00:23:17 project root: . 00:23:17 --> token set from env 00:23:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:23:17 ==> Running gcov in . (disable via -X gcov) 00:23:17 ==> Python coveragepy not found 00:23:17 ==> Searching for coverage reports in: 00:23:17 + . 00:23:17 -> Found 2 reports 00:23:17 ==> Detecting git/mercurial file structure 00:23:17 ==> Reading reports 00:23:17 + ./app-service-template/coverage.out bytes=1222 00:23:17 + ./coverage.out bytes=112615 00:23:17 ==> Appending adjustments 00:23:17 https://docs.codecov.io/docs/fixing-reports 00:23:18 + Found adjustments 00:23:18 ==> Gzipping contents 00:23:18 20K /tmp/codecov.AjMbF2.gz 00:23:18 ==> Uploading reports 00:23:18 url: https://codecov.io 00:23:18 query: branch=main&commit=c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:23:18 -> Pinging Codecov 00:23:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:23:19 -> Uploading to 00:23:19 https://storage.googleapis.com/codecov/v4/raw/2022-02-03/3D8B5DFFC46A037C893635FACE044666/c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82/06199a64-3aa6-4d6f-a8c2-cbcae333f2aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EEBRU3FBC4JN57W6M2QFHOMKJEI5NJK7APUEQUNX5UBWIUSDRRMFH2XA%2F20220203%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220203T002319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e677607292fe51bbf409631b1dc21aedc8c922942d0077d4cfdbdb20a1c34d2b 00:23:19 % Total % Received % Xferd Average Speed Time Time Time Current 00:23:19 Dload Upload Total Spent Left Speed 00:23:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20056 0 0 100 20056 0 64885 --:--:-- --:--:-- --:--:-- 65116 00:23:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 [Pipeline] } 00:23:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:23:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:23:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:23:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:23:20 00:23:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:23:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:23:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:23:21 188c0c94c7c5: Pulling fs layer 00:23:21 0ef7d3d256c8: Pulling fs layer 00:23:21 de9db76c5a1d: Pulling fs layer 00:23:21 0eba1c9be4d2: Pulling fs layer 00:23:21 0d57e429df01: Pulling fs layer 00:23:21 4e4be7b47b0d: Pulling fs layer 00:23:21 e1f770b5df2f: Pulling fs layer 00:23:21 85a0685a4137: Pulling fs layer 00:23:21 0d57e429df01: Waiting 00:23:21 4e4be7b47b0d: Waiting 00:23:21 e1f770b5df2f: Waiting 00:23:21 85a0685a4137: Waiting 00:23:21 0eba1c9be4d2: Waiting 00:23:21 de9db76c5a1d: Verifying Checksum 00:23:21 de9db76c5a1d: Download complete 00:23:21 0ef7d3d256c8: Verifying Checksum 00:23:21 0ef7d3d256c8: Download complete 00:23:21 0d57e429df01: Verifying Checksum 00:23:21 0d57e429df01: Download complete 00:23:21 4e4be7b47b0d: Verifying Checksum 00:23:21 4e4be7b47b0d: Download complete 00:23:21 188c0c94c7c5: Verifying Checksum 00:23:21 188c0c94c7c5: Download complete 00:23:21 188c0c94c7c5: Pull complete 00:23:21 e1f770b5df2f: Verifying Checksum 00:23:21 e1f770b5df2f: Download complete 00:23:21 0ef7d3d256c8: Pull complete 00:23:21 de9db76c5a1d: Pull complete 00:23:21 0eba1c9be4d2: Verifying Checksum 00:23:21 0eba1c9be4d2: Download complete 00:23:22 85a0685a4137: Verifying Checksum 00:23:22 85a0685a4137: Download complete 00:23:25 0eba1c9be4d2: Pull complete 00:23:25 0d57e429df01: Pull complete 00:23:25 4e4be7b47b0d: Pull complete 00:23:26 e1f770b5df2f: Pull complete 00:23:30 85a0685a4137: Pull complete 00:23:30 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:23:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:23:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:23:30 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:23:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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:23:33 $ docker top eb8b8e654ee63f951a5253554991443cef8dfebabf5da9891a332e7161bd03c1 -eo pid,comm [Pipeline] { [Pipeline] echo 00:23:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:23:33 + set -o pipefail 00:23:33 + snyk monitor '--org=edgex-jenkins' 00:23:38 00:23:38 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 00:23:38 00:23:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/ab48a9b9-257f-43f1-a398-bf95de5805c2 00:23:38 00:23:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:23:38 00:23:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:23:38 00:23:38 [Pipeline] } 00:23:38 $ docker stop --time=1 eb8b8e654ee63f951a5253554991443cef8dfebabf5da9891a332e7161bd03c1 00:23:40 $ docker rm -f eb8b8e654ee63f951a5253554991443cef8dfebabf5da9891a332e7161bd03c1 [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:23:40 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:23:40 provisioning config files... 00:23:40 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7006251686757932307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:41 --> edgex-publish-swagger.sh 00:23:41 === Publish openapi/v2 API === 00:23:41 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 00:23:41 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 00:23:41 % Total % Received % Xferd Average Speed Time Time Time Current 00:23:41 Dload Upload Total Spent Left Speed 00:23:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13542 0 0 100 13542 0 11014 0:00:01 0:00:01 --:--:-- 11027 100 13542 0 0 100 13542 0 10754 0:00:01 0:00:01 --:--:-- 10764 00:23:42 00:23:42 [Pipeline] } 00:23:42 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:23:43 + git log --format=format:%s -1 c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 [Pipeline] sh 00:23:43 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 00:23:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:23:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:23:43 . [Pipeline] withDockerContainer 00:23:43 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:23:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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:23:44 $ docker top 4fe1f0402e7d391db9f0d3b48cde3310931cc9645108f6a61747c0074e23fdf2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:23:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:23:44 [ssh-agent] Looking for ssh-agent implementation... 00:23:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:23:44 $ docker exec 4fe1f0402e7d391db9f0d3b48cde3310931cc9645108f6a61747c0074e23fdf2 ssh-agent 00:23:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXammGcI/agent.14 00:23:44 SSH_AGENT_PID=21 00:23:44 Running ssh-add (command line suppressed) 00:23:44 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2201011202170825449.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2201011202170825449.key) 00:23:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:23:44 + git semver tag 00:23:44 # -> Open(): unable to determine branch for HEAD 00:23:44 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 00:23:44 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 00:23:44 # $SEMVER_REMOTE_NAME = origin 00:23:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:23:44 # $SEMVER_USER_NAME = edgex-jenkins 00:23:44 # $SEMVER_BRANCH = main 00:23:44 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 00:23:44 # c8cbc5e5ac9ab8b3419c4c924f263e08e5993e82 HEAD 00:23:44 # -> Force: false 00:23:44 # bbe9a8b3d4b4e42637bbd7a9e589505581ee6d2e refs/tags/v2.2.0-dev.21 [Pipeline] } 00:23:44 $ docker exec --env ******** --env ******** 4fe1f0402e7d391db9f0d3b48cde3310931cc9645108f6a61747c0074e23fdf2 ssh-agent -k 00:23:44 unset SSH_AUTH_SOCK; 00:23:44 unset SSH_AGENT_PID; 00:23:44 echo Agent pid 21 killed; 00:23:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:23:45 + git semver [Pipeline] } 00:23:45 $ docker stop --time=1 4fe1f0402e7d391db9f0d3b48cde3310931cc9645108f6a61747c0074e23fdf2 00:23:46 $ docker rm -f 4fe1f0402e7d391db9f0d3b48cde3310931cc9645108f6a61747c0074e23fdf2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:23:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:23:46 00:23:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:23:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:23:47 0.23.1-centos7: Pulling from edgex-lftools 00:23:47 ab5ef0e58194: Pulling fs layer 00:23:47 9712f1f96733: Pulling fs layer 00:23:47 63f879dbbcfc: Pulling fs layer 00:23:47 0d9ebad4ef96: Pulling fs layer 00:23:47 e9a5061849ea: Pulling fs layer 00:23:47 d747dcd14b5f: Pulling fs layer 00:23:47 2de7ff778b66: Pulling fs layer 00:23:47 0d9ebad4ef96: Waiting 00:23:47 e9a5061849ea: Waiting 00:23:47 d747dcd14b5f: Waiting 00:23:47 2de7ff778b66: Waiting 00:23:47 9712f1f96733: Verifying Checksum 00:23:47 9712f1f96733: Download complete 00:23:47 63f879dbbcfc: Verifying Checksum 00:23:47 63f879dbbcfc: Download complete 00:23:47 ab5ef0e58194: Verifying Checksum 00:23:47 ab5ef0e58194: Download complete 00:23:47 d747dcd14b5f: Verifying Checksum 00:23:47 d747dcd14b5f: Download complete 00:23:47 0d9ebad4ef96: Verifying Checksum 00:23:47 0d9ebad4ef96: Download complete 00:23:47 e9a5061849ea: Verifying Checksum 00:23:47 e9a5061849ea: Download complete 00:23:47 2de7ff778b66: Verifying Checksum 00:23:47 2de7ff778b66: Download complete 00:23:50 ab5ef0e58194: Pull complete 00:23:50 9712f1f96733: Pull complete 00:23:51 63f879dbbcfc: Pull complete 00:23:55 0d9ebad4ef96: Pull complete 00:23:55 e9a5061849ea: Pull complete 00:23:55 d747dcd14b5f: Pull complete 00:23:56 2de7ff778b66: Pull complete 00:23:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:23:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:23:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:23:56 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:23:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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:23:59 $ docker top d5371a5ca35026a93e99e1a18023c6515e92629a020d2a3400f87b69afa2dc04 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:24:00 provisioning config files... 00:24:00 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1169358163437679423tmp 00:24:00 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5346302116637838093tmp 00:24:00 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6095597365033678308tmp [Pipeline] { [Pipeline] echo 00:24:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:24:00 ---> sigul-configuration.sh 00:24:00 gpg: directory `/root/.gnupg' created 00:24:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:24:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:24:00 gpg: keyring `/root/.gnupg/secring.gpg' created 00:24:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:24:00 gpg: CAST5 encrypted data 00:24:00 gpg: encrypted with 1 passphrase 00:24:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:24:00 + mkdir /home/jenkins 00:24:00 + mkdir /home/jenkins/sigul [Pipeline] sh 00:24:00 + 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:24:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:24:01 ---> sigul-install.sh 00:24:01 Sigul already installed; skipping installation. [Pipeline] sh 00:24:01 + git tag --list 00:24:01 v0.1.0 00:24:01 v0.1.1 00:24:01 v1.0.0 00:24:01 v1.1.0 00:24:01 v1.2.0 00:24:01 v1.3.0 00:24:01 v1.3.1 00:24:01 v2.0.0 00:24:01 v2.0.1 00:24:01 v2.0.1-dev.1 00:24:01 v2.0.1-dev.2 00:24:01 v2.0.1-dev.3 00:24:01 v2.0.1-dev.4 00:24:01 v2.0.1-dev.5 00:24:01 v2.0.1-dev.6 00:24:01 v2.0.1-dev.7 00:24:01 v2.0.2-dev.1 00:24:01 v2.0.2-dev.10 00:24:01 v2.0.2-dev.11 00:24:01 v2.0.2-dev.12 00:24:01 v2.0.2-dev.13 00:24:01 v2.0.2-dev.14 00:24:01 v2.0.2-dev.15 00:24:01 v2.0.2-dev.16 00:24:01 v2.0.2-dev.17 00:24:01 v2.0.2-dev.18 00:24:01 v2.0.2-dev.19 00:24:01 v2.0.2-dev.2 00:24:01 v2.0.2-dev.20 00:24:01 v2.0.2-dev.21 00:24:01 v2.0.2-dev.22 00:24:01 v2.0.2-dev.23 00:24:01 v2.0.2-dev.24 00:24:01 v2.0.2-dev.25 00:24:01 v2.0.2-dev.26 00:24:01 v2.0.2-dev.27 00:24:01 v2.0.2-dev.28 00:24:01 v2.0.2-dev.29 00:24:01 v2.0.2-dev.3 00:24:01 v2.0.2-dev.30 00:24:01 v2.0.2-dev.31 00:24:01 v2.0.2-dev.32 00:24:01 v2.0.2-dev.33 00:24:01 v2.0.2-dev.34 00:24:01 v2.0.2-dev.35 00:24:01 v2.0.2-dev.36 00:24:01 v2.0.2-dev.37 00:24:01 v2.0.2-dev.38 00:24:01 v2.0.2-dev.39 00:24:01 v2.0.2-dev.4 00:24:01 v2.0.2-dev.40 00:24:01 v2.0.2-dev.41 00:24:01 v2.0.2-dev.42 00:24:01 v2.0.2-dev.43 00:24:01 v2.0.2-dev.44 00:24:01 v2.0.2-dev.45 00:24:01 v2.0.2-dev.46 00:24:01 v2.0.2-dev.47 00:24:01 v2.0.2-dev.5 00:24:01 v2.0.2-dev.6 00:24:01 v2.0.2-dev.7 00:24:01 v2.0.2-dev.8 00:24:01 v2.0.2-dev.9 00:24:01 v2.1.0 00:24:01 v2.2.0-dev.1 00:24:01 v2.2.0-dev.10 00:24:01 v2.2.0-dev.11 00:24:01 v2.2.0-dev.12 00:24:01 v2.2.0-dev.13 00:24:01 v2.2.0-dev.14 00:24:01 v2.2.0-dev.15 00:24:01 v2.2.0-dev.16 00:24:01 v2.2.0-dev.17 00:24:01 v2.2.0-dev.18 00:24:01 v2.2.0-dev.19 00:24:01 v2.2.0-dev.2 00:24:01 v2.2.0-dev.20 00:24:01 v2.2.0-dev.21 00:24:01 v2.2.0-dev.3 00:24:01 v2.2.0-dev.4 00:24:01 v2.2.0-dev.5 00:24:01 v2.2.0-dev.6 00:24:01 v2.2.0-dev.7 00:24:01 v2.2.0-dev.8 00:24:01 v2.2.0-dev.9 [Pipeline] sh 00:24:01 + lftools sign git-tag v2.2.0-dev.21 00:24:02 Signing Git tag with Sigul... 00:24:02 Signing v2.2.0-dev.21 [Pipeline] echo 00:24:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:24:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:24:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:24:02 $ docker stop --time=1 d5371a5ca35026a93e99e1a18023c6515e92629a020d2a3400f87b69afa2dc04 00:24:04 $ docker rm -f d5371a5ca35026a93e99e1a18023c6515e92629a020d2a3400f87b69afa2dc04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:24:04 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 00:24:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:24:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:24:04 . [Pipeline] withDockerContainer 00:24:04 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:24:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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:24:05 $ docker top d25561338e507f21b4eec93fcfb9b78f4acdb877a5b5e550e4b195be48df205f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:24:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:24:05 [ssh-agent] Looking for ssh-agent implementation... 00:24:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:24:05 $ docker exec d25561338e507f21b4eec93fcfb9b78f4acdb877a5b5e550e4b195be48df205f ssh-agent 00:24:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKBABOA/agent.15 00:24:05 SSH_AGENT_PID=22 00:24:05 Running ssh-add (command line suppressed) 00:24:05 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1518030827787621494.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1518030827787621494.key) 00:24:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:24:06 + git semver bump pre 00:24:06 # -> Open(): unable to determine branch for HEAD 00:24:06 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 00:24:06 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 00:24:06 # $SEMVER_REMOTE_NAME = origin 00:24:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:24:06 # $SEMVER_USER_NAME = edgex-jenkins 00:24:06 # $SEMVER_BRANCH = main 00:24:06 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 00:24:06 2.2.0-dev.22 [Pipeline] } 00:24:06 $ docker exec --env ******** --env ******** d25561338e507f21b4eec93fcfb9b78f4acdb877a5b5e550e4b195be48df205f ssh-agent -k 00:24:06 unset SSH_AUTH_SOCK; 00:24:06 unset SSH_AGENT_PID; 00:24:06 echo Agent pid 22 killed; 00:24:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:24:06 + git semver [Pipeline] } 00:24:06 $ docker stop --time=1 d25561338e507f21b4eec93fcfb9b78f4acdb877a5b5e550e4b195be48df205f 00:24:07 $ docker rm -f d25561338e507f21b4eec93fcfb9b78f4acdb877a5b5e550e4b195be48df205f [Pipeline] // withDockerContainer [Pipeline] sh 00:24:08 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 00:24:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:24:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:24:08 . [Pipeline] withDockerContainer 00:24:08 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:24:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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:24:08 $ docker top eb2f679efc3603a944a7179936c3b99358131614322eda937d2971189e7a6c56 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:24:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:24:08 [ssh-agent] Looking for ssh-agent implementation... 00:24:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:24:09 $ docker exec eb2f679efc3603a944a7179936c3b99358131614322eda937d2971189e7a6c56 ssh-agent 00:24:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdOfJip/agent.14 00:24:09 SSH_AGENT_PID=20 00:24:09 Running ssh-add (command line suppressed) 00:24:09 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2377370287802738435.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2377370287802738435.key) 00:24:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:24:09 + git semver push 00:24:09 # -> Open(): unable to determine branch for HEAD 00:24:09 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 00:24:09 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 00:24:09 # $SEMVER_REMOTE_NAME = origin 00:24:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:24:09 # $SEMVER_USER_NAME = edgex-jenkins 00:24:09 # $SEMVER_BRANCH = main 00:24:09 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 00:24:11 $ docker exec --env ******** --env ******** eb2f679efc3603a944a7179936c3b99358131614322eda937d2971189e7a6c56 ssh-agent -k 00:24:11 unset SSH_AUTH_SOCK; 00:24:11 unset SSH_AGENT_PID; 00:24:11 echo Agent pid 20 killed; 00:24:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:24:11 + git semver [Pipeline] } 00:24:11 $ docker stop --time=1 eb2f679efc3603a944a7179936c3b99358131614322eda937d2971189e7a6c56 00:24:13 $ docker rm -f eb2f679efc3603a944a7179936c3b99358131614322eda937d2971189e7a6c56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:24:13 + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' 00:24:13 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 00:24:13 total 8 00:24:13 drwxr-xr-x. 3 root root 34 Feb 3 00:17 . 00:24:13 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 3 00:24 .. 00:24:13 drwxr-xr-x. 2 root root 6 Feb 3 00:17 cost 00:24:13 -rw-r--r--. 1 root root 90 Feb 3 00:17 cost.csv 00:24:13 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 00:24:13 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 00:24:13 total 8 00:24:13 drwxr-xr-x. 3 jenkins jenkins 34 Feb 3 00:17 . 00:24:13 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 3 00:24 .. 00:24:13 drwxr-xr-x. 2 jenkins jenkins 6 Feb 3 00:17 cost 00:24:13 -rw-r--r--. 1 jenkins jenkins 90 Feb 3 00:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:24:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:24:14 ---> package-listing.sh 00:24:14 ++ facter osfamily 00:24:14 ++ tr '[:upper:]' '[:lower:]' 00:24:14 + OS_FAMILY=redhat 00:24:14 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 00:24:14 + START_PACKAGES=/tmp/packages_start.txt 00:24:14 + END_PACKAGES=/tmp/packages_end.txt 00:24:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:24:14 + PACKAGES=/tmp/packages_start.txt 00:24:14 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 00:24:14 + PACKAGES=/tmp/packages_end.txt 00:24:14 + case "${OS_FAMILY}" in 00:24:14 + sort 00:24:14 + rpm -qa 00:24:15 + '[' -f /tmp/packages_start.txt ']' 00:24:15 + '[' -f /tmp/packages_end.txt ']' 00:24:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:24:15 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 00:24:15 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 00:24:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo 00:24:15 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/oundry_app-functions-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:24:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:24:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:24:16 . [Pipeline] withDockerContainer 00:24:16 prd-centos7-docker-4c-2g-4504 does not seem to be running inside a container 00:24: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/oundry_app-functions-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/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-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:24:16 $ docker top a32172d0c1c84d3c9cc118a0ad1eaabeef45573f30cc5d4aca1dab352586a7c2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:16 + touch /tmp/pre-build-complete [Pipeline] sh 00:24:17 + mkdir -p /var/log/sysstat [Pipeline] sh 00:24:17 + ls /var/log/sa-host 00:24:17 + sadf -c /var/log/sa-host/sa03 00:24:17 file_magic: OK 00:24:17 HZ: Using current value: 100 00:24:17 file_header: OK 00:24:17 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:24:17 Statistics: 00:24:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:24:17 File successfully converted to sysstat format version 12.0.3 00:24:17 + sadf -c /var/log/sa-host/sa17 00:24:17 file_magic: OK 00:24:17 HZ: Using current value: 100 00:24:17 file_header: OK 00:24:17 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:24:17 Statistics: 00:24:17 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:24:17 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:24:17 provisioning config files... 00:24:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1248839275182125706tmp [Pipeline] { [Pipeline] echo 00:24:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:24:18 ---> create-netrc.sh [Pipeline] } 00:24:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:24:18 ---> python-tools-install.sh [Pipeline] echo 00:24:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:24:18 ---> sudo-logs.sh 00:24:18 Archiving 'sudo' log.. 00:24:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-4504.novalocal: Name or service not known 00:24:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-4504.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:24:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:24:19 ---> job-cost.sh 00:24:19 lf-activate-venv: SKIPPING 00:24:19 DEBUG: total: 0.05999999865889549 00:24:19 INFO: Retrieving Stack Cost... 00:24:19 INFO: Retrieving Pricing Info for: v3-standard-2 00:24:19 INFO: Archiving Costs [Pipeline] echo 00:24:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:24:20 ---> logs-deploy.sh 00:24:20 lf-activate-venv: SKIPPING 00:24:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/81 00:24:20 INFO: archiving workspace using pattern(s): 00:24:20 Archives upload complete. 00:24:20 INFO: archiving logs to Nexus