Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3614395ab5d1e3b783d42cc9b1ae027613231f7a 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-ssh9676465892309870509.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh15597921870630990429.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8994174012949985957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh12004794369218748941.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10323957126663202339.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-15253 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 3614395ab5d1e3b783d42cc9b1ae027613231f7a (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 3614395ab5d1e3b783d42cc9b1ae027613231f7a # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#1127)" > git rev-list --no-walk de1c054332790176e7794863e4ca00f817ac1aa4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:59:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:59:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:59:44 ========================================================= 20:59:44 EdgeX Global Pipelines Version Info 20:59:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:59:45 ------------------- 20:59:45 stable info: 20:59:45 ------------------- 20:59:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:59:45 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:59:45 Message: update stable to v1.0.234 20:59:46 ------------------- 20:59:46 experimental info: 20:59:46 ------------------- 20:59:46 Commited By: **** collab-it+edgex@linuxfoundation.org 20:59:46 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:59:46 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3614395ab5d1e3b783d42cc9b1ae027613231f7a [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3614395 [Pipeline] echo 20:59:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:59:47 + git rev-list -1 --merges 3614395ab5d1e3b783d42cc9b1ae027613231f7a~1..3614395ab5d1e3b783d42cc9b1ae027613231f7a [Pipeline] echo 20:59:47 -----------> git rev-list -1 --merges 3614395ab5d1e3b783d42cc9b1ae027613231f7a~1..3614395ab5d1e3b783d42cc9b1ae027613231f7a 3614395ab5d1e3b783d42cc9b1ae027613231f7a [false] [Pipeline] sh 20:59:47 + git log --format=format:%s -1 3614395ab5d1e3b783d42cc9b1ae027613231f7a [Pipeline] echo 20:59:47 ========================================================= 20:59:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:59:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:47 + git log --format=format:%s -1 3614395ab5d1e3b783d42cc9b1ae027613231f7a [Pipeline] echo 20:59:47 [semverPrep] GIT_COMMIT: 3614395ab5d1e3b783d42cc9b1ae027613231f7a, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#1127) [Pipeline] echo 20:59:47 [semverPrep] This is not a build commit. [Pipeline] sh 20:59:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:48 + grep -v github /etc/ssh/ssh_known_hosts 20:59:48 + [ -e /tmp/ssh_known_hosts ] 20:59:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:59:48 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:59:48 sudo tee -a /etc/ssh/ssh_known_hosts 20:59:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:48 20:59:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:49 0.1.4: Pulling from edgex-devops/py-git-semver 20:59:49 42c077c10790: Pulling fs layer 20:59:49 f63e77b7563a: Pulling fs layer 20:59:49 bd5fdadae976: Pulling fs layer 20:59:49 205491f53016: Pulling fs layer 20:59:49 df18705c85c3: Pulling fs layer 20:59:49 bdb3f477010e: Pulling fs layer 20:59:49 c8a8fc8e1c8f: Pulling fs layer 20:59:49 2c6e9b1d212d: Pulling fs layer 20:59:49 bdb8f0575790: Pulling fs layer 20:59:49 386e3cb2ff24: Pulling fs layer 20:59:49 2343380bae48: Pulling fs layer 20:59:49 205491f53016: Waiting 20:59:49 c8a8fc8e1c8f: Waiting 20:59:49 2343380bae48: Waiting 20:59:49 386e3cb2ff24: Waiting 20:59:49 2c6e9b1d212d: Waiting 20:59:49 df18705c85c3: Waiting 20:59:49 bdb8f0575790: Waiting 20:59:49 bdb3f477010e: Waiting 20:59:49 f63e77b7563a: Verifying Checksum 20:59:49 f63e77b7563a: Download complete 20:59:49 205491f53016: Download complete 20:59:49 df18705c85c3: Verifying Checksum 20:59:49 bd5fdadae976: Verifying Checksum 20:59:49 bd5fdadae976: Download complete 20:59:49 bdb3f477010e: Verifying Checksum 20:59:49 bdb3f477010e: Download complete 20:59:49 2c6e9b1d212d: Verifying Checksum 20:59:49 2c6e9b1d212d: Download complete 20:59:49 bdb8f0575790: Download complete 20:59:49 386e3cb2ff24: Download complete 20:59:49 2343380bae48: Download complete 20:59:49 42c077c10790: Verifying Checksum 20:59:49 42c077c10790: Download complete 20:59:49 c8a8fc8e1c8f: Verifying Checksum 20:59:49 c8a8fc8e1c8f: Download complete 20:59:51 42c077c10790: Pull complete 20:59:51 f63e77b7563a: Pull complete 20:59:51 bd5fdadae976: Pull complete 20:59:51 205491f53016: Pull complete 20:59:51 df18705c85c3: Pull complete 20:59:52 bdb3f477010e: Pull complete 20:59:54 c8a8fc8e1c8f: Pull complete 20:59:54 2c6e9b1d212d: Pull complete 20:59:54 bdb8f0575790: Pull complete 20:59:54 386e3cb2ff24: Pull complete 20:59:54 2343380bae48: Pull complete 20:59:54 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 20:59:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:54 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 20:59:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:56 $ docker top 45d7297ea56c51b749507c5869c5a50863f99931438c7fb55e0003c5e3a4b97f -eo pid,comm 20:59:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:59:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:56 [ssh-agent] Looking for ssh-agent implementation... 20:59:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:56 $ docker exec 45d7297ea56c51b749507c5869c5a50863f99931438c7fb55e0003c5e3a4b97f ssh-agent 20:59:56 SSH_AUTH_SOCK=/tmp/ssh-7s75GmQ4IYM7/agent.34 20:59:56 SSH_AGENT_PID=41 20:59:56 Running ssh-add (command line suppressed) 20:59:56 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6597183819060661202.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6597183819060661202.key) 20:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:57 + git tag --points-at HEAD [Pipeline] } 20:59:57 $ docker exec --env ******** --env ******** 45d7297ea56c51b749507c5869c5a50863f99931438c7fb55e0003c5e3a4b97f ssh-agent -k 20:59:57 unset SSH_AUTH_SOCK; 20:59:57 unset SSH_AGENT_PID; 20:59:57 echo Agent pid 41 killed; 20:59:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:59:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:57 [ssh-agent] Looking for ssh-agent implementation... 20:59:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:57 $ docker exec 45d7297ea56c51b749507c5869c5a50863f99931438c7fb55e0003c5e3a4b97f ssh-agent 20:59:57 SSH_AUTH_SOCK=/tmp/ssh-G4ESCzhjOh9Y/agent.74 20:59:57 SSH_AGENT_PID=80 20:59:57 Running ssh-add (command line suppressed) 20:59:57 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8440224963343408846.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8440224963343408846.key) 20:59:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:57 + git semver init 20:59:58 2022-06-21 20:59:58,179 [run_init] DEBUG init version:0.0.0 force:False 20:59:58 2022-06-21 20:59:58,180 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 20:59:58 2022-06-21 20:59:58,180 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 20:59:58 2022-06-21 20:59:58,180 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 20:59:59 2022-06-21 20:59:59,454 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 20:59:59 2022-06-21 20:59:59,454 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 20:59:59 2022-06-21 20:59:59,455 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 20:59:59 2022-06-21 20:59:59,455 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 20:59:59 2.2.1-dev.7 [Pipeline] } 20:59:59 $ docker exec --env ******** --env ******** 45d7297ea56c51b749507c5869c5a50863f99931438c7fb55e0003c5e3a4b97f ssh-agent -k 20:59:59 unset SSH_AUTH_SOCK; 20:59:59 unset SSH_AGENT_PID; 20:59:59 echo Agent pid 80 killed; 20:59:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:00 + git semver [Pipeline] } 21:00:00 $ docker stop --time=1 45d7297ea56c51b749507c5869c5a50863f99931438c7fb55e0003c5e3a4b97f 21:00:01 $ docker rm -f 45d7297ea56c51b749507c5869c5a50863f99931438c7fb55e0003c5e3a4b97f [Pipeline] // withDockerContainer [Pipeline] sh 21:00:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:00:02 Stashed 1 file(s) [Pipeline] echo 21:00:02 [edgeXSemver]: initialized semver on version 2.2.1-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 21:00:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:02 ========================================================= 21:00:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:00:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:00:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:00:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:00:02 59bf1c3509f3: Pulling fs layer 21:00:02 666ba61612fd: Pulling fs layer 21:00:02 8ed8ca486205: Pulling fs layer 21:00:02 cc1cd167ecdc: Pulling fs layer 21:00:02 c516ae0d96e1: Pulling fs layer 21:00:02 684cea983483: Pulling fs layer 21:00:02 dd3240ac7de5: Pulling fs layer 21:00:02 b1e948a4e11c: Pulling fs layer 21:00:02 a8fd76ee1af6: Pulling fs layer 21:00:02 646ad004c059: Pulling fs layer 21:00:02 cc1cd167ecdc: Waiting 21:00:02 dd3240ac7de5: Waiting 21:00:02 b1e948a4e11c: Waiting 21:00:02 c516ae0d96e1: Waiting 21:00:02 a8fd76ee1af6: Waiting 21:00:02 646ad004c059: Waiting 21:00:02 684cea983483: Waiting 21:00:02 8ed8ca486205: Verifying Checksum 21:00:02 8ed8ca486205: Download complete 21:00:02 666ba61612fd: Download complete 21:00:02 c516ae0d96e1: Download complete 21:00:02 684cea983483: Verifying Checksum 21:00:02 684cea983483: Download complete 21:00:02 59bf1c3509f3: Verifying Checksum 21:00:02 59bf1c3509f3: Download complete 21:00:02 dd3240ac7de5: Verifying Checksum 21:00:02 dd3240ac7de5: Download complete 21:00:03 b1e948a4e11c: Verifying Checksum 21:00:03 b1e948a4e11c: Download complete 21:00:03 59bf1c3509f3: Pull complete 21:00:03 666ba61612fd: Pull complete 21:00:03 8ed8ca486205: Pull complete 21:00:03 a8fd76ee1af6: Verifying Checksum 21:00:03 a8fd76ee1af6: Download complete 21:00:03 646ad004c059: Verifying Checksum 21:00:03 646ad004c059: Download complete 21:00:03 cc1cd167ecdc: Verifying Checksum 21:00:03 cc1cd167ecdc: Download complete 21:00:07 cc1cd167ecdc: Pull complete 21:00:07 c516ae0d96e1: Pull complete 21:00:07 684cea983483: Pull complete 21:00:07 dd3240ac7de5: Pull complete 21:00:07 b1e948a4e11c: Pull complete 21:00:10 a8fd76ee1af6: Pull complete 21:00:10 646ad004c059: Pull complete 21:00:10 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 21:00:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:00:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 21:00:11 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:11 + docker inspect -f . ci-base-image-x86_64 21:00:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:11 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 21:00:11 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:00:13 $ docker top 5883610331cec9d2b154aeaf144f31683e59f6caa47b39a72eb655e0dbaed95f -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:13 + go version 21:00:13 go version go1.17.7 linux/amd64 [Pipeline] } 21:00:13 $ docker stop --time=1 5883610331cec9d2b154aeaf144f31683e59f6caa47b39a72eb655e0dbaed95f 21:00:15 $ docker rm -f 5883610331cec9d2b154aeaf144f31683e59f6caa47b39a72eb655e0dbaed95f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:15 + docker inspect -f . ci-base-image-x86_64 21:00:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:15 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 21:00:15 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:00:16 $ docker top 3a6c8353f59dc8686cdbf2e9b7fc7058de611eb5880c49cae99a7dffa9aa1988 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:00:16 + make test 21:00:16 make -C ./app-service-template build 21:00:16 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:00:16 go mod tidy -compat=1.17 21:00:16 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 21:00:16 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 21:00:16 go: downloading github.com/google/uuid v1.3.0 21:00:16 go: downloading github.com/stretchr/testify v1.7.2 21:00:16 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 21:00:16 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.4 21:00:16 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 21:00:16 go: downloading github.com/gorilla/mux v1.8.0 21:00:16 go: downloading github.com/hashicorp/go-multierror v1.1.1 21:00:16 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 21:00:16 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 21:00:16 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 21:00:16 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 21:00:16 go: downloading github.com/davecgh/go-spew v1.1.1 21:00:16 go: downloading github.com/pmezard/go-difflib v1.0.0 21:00:16 go: downloading github.com/stretchr/objx v0.1.1 21:00:16 go: downloading gopkg.in/yaml.v3 v3.0.1 21:00:16 go: downloading github.com/go-kit/log v0.2.0 21:00:16 go: downloading github.com/go-playground/validator/v10 v10.10.1 21:00:16 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 21:00:16 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:00:16 go: downloading github.com/pelletier/go-toml v1.9.4 21:00:16 go: downloading github.com/hashicorp/errwrap v1.0.0 21:00:16 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 21:00:16 go: downloading github.com/hashicorp/consul/api v1.9.1 21:00:16 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:00:16 go: downloading github.com/gorilla/websocket v1.4.2 21:00:16 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 21:00:16 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 21:00:16 go: downloading github.com/pebbe/zmq4 v1.2.7 21:00:16 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:00:16 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:00:16 go: downloading github.com/go-logfmt/logfmt v0.5.1 21:00:16 go: downloading github.com/x448/float16 v0.8.4 21:00:16 go: downloading github.com/go-playground/universal-translator v0.18.0 21:00:16 go: downloading github.com/leodido/go-urn v1.2.1 21:00:16 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 21:00:16 go: downloading golang.org/x/text v0.3.7 21:00:16 go: downloading github.com/go-playground/locales v0.14.0 21:00:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:00:17 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:00:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:00:17 go: downloading github.com/hashicorp/serf v0.9.5 21:00:17 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:00:17 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:00:17 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:00:17 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:00:17 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:00:17 go: downloading github.com/zeebo/errs v1.2.2 21:00:17 go: downloading google.golang.org/grpc v1.42.0 21:00:17 Still waiting to schedule task 21:00:17 ‘prd-centos7-blackbox-4c-2g-2632’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:00:17 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15248’ is offline 21:00:17 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15255’ is offline 21:00:17 go: downloading github.com/mitchellh/copystructure v1.0.0 21:00:17 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:00:17 go: downloading github.com/onsi/ginkgo v1.10.1 21:00:17 go: downloading github.com/onsi/gomega v1.7.0 21:00:17 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 21:00:17 go: downloading github.com/fatih/color v1.9.0 21:00:17 go: downloading github.com/mattn/go-colorable v0.1.6 21:00:17 go: downloading github.com/mattn/go-isatty v0.0.12 21:00:17 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:00:17 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:00:17 go: downloading github.com/kr/pretty v0.3.0 21:00:17 go: downloading github.com/pkg/errors v0.9.1 21:00:17 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:00:17 go: downloading github.com/hashicorp/memberlist v0.2.2 21:00:17 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 21:00:17 go: downloading google.golang.org/protobuf v1.27.1 21:00:17 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 21:00:17 go: downloading github.com/golang/protobuf v1.5.2 21:00:17 go: downloading github.com/google/go-cmp v0.5.6 21:00:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:00:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:00:17 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:00:18 go: downloading github.com/kr/text v0.2.0 21:00:18 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:00:18 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:00:18 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:00:18 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:00:18 go: downloading github.com/miekg/dns v1.1.26 21:00:18 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:00:18 go: downloading gopkg.in/yaml.v2 v2.2.8 21:00:18 go: downloading github.com/hpcloud/tail v1.0.0 21:00:18 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:00:18 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 21:00:18 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:00:18 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:00:19 go: downloading github.com/stretchr/testify v1.7.4 21:00:19 go: downloading github.com/stretchr/objx v0.4.0 21:00:19 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 21:00:37 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:00:37 make -C ./app-service-template test 21:00:37 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:00:37 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 21:00:55 ok new-app-service 0.070s coverage: 48.1% of statements 21:00:55 ? new-app-service/config [no test files] 21:00:55 ok new-app-service/functions 0.048s 21:00:55 CGO_ENABLED=1 go vet ./... 21:01:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:01:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:01:02 ./bin/test-attribution-txt.sh 21:01:03 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 21:01:03 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:01:03 go: downloading github.com/gomodule/redigo v1.8.8 21:01:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.152s coverage: 63.2% of statements 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.100s coverage: 93.8% of statements 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.104s coverage: 76.5% of statements 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.068s coverage: 88.7% of statements 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.046s coverage: 100.0% of statements 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.173s coverage: 78.5% of statements 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.088s coverage: 97.3% of statements 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.091s coverage: 82.8% of statements 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.736s coverage: 81.5% of statements 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.082s coverage: 28.7% of statements 21:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 21:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.058s coverage: 14.0% of statements 21:01:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.052s coverage: 27.3% of statements 21:01:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 21:01:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:01:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.086s coverage: 51.4% of statements 21:01:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.148s coverage: 78.6% of statements 21:01:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.078s coverage: 94.4% of statements 21:01:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:01:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:01:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 21:01:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:01:41 $ docker stop --time=1 3a6c8353f59dc8686cdbf2e9b7fc7058de611eb5880c49cae99a7dffa9aa1988 21:01:43 $ docker rm -f 3a6c8353f59dc8686cdbf2e9b7fc7058de611eb5880c49cae99a7dffa9aa1988 [Pipeline] // withDockerContainer [Pipeline] sh 21:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:01: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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:44 21:01:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:44 latest: Pulling from edgex-lftools-log-publisher 21:01:44 5eb5b503b376: Pulling fs layer 21:01:44 5c69ac0246d0: Pulling fs layer 21:01:44 ec43610c2a17: Pulling fs layer 21:01:44 3a2ae6a8a46f: Pulling fs layer 21:01:44 33b1e0a273af: Pulling fs layer 21:01:44 5d3b04190fa2: Pulling fs layer 21:01:44 2f39f015ded8: Pulling fs layer 21:01:44 33b1e0a273af: Waiting 21:01:44 2f39f015ded8: Waiting 21:01:44 3a2ae6a8a46f: Waiting 21:01:44 5c69ac0246d0: Verifying Checksum 21:01:44 5c69ac0246d0: Download complete 21:01:44 3a2ae6a8a46f: Verifying Checksum 21:01:44 3a2ae6a8a46f: Download complete 21:01:45 33b1e0a273af: Verifying Checksum 21:01:45 33b1e0a273af: Download complete 21:01:45 5d3b04190fa2: Verifying Checksum 21:01:45 5d3b04190fa2: Download complete 21:01:45 ec43610c2a17: Verifying Checksum 21:01:45 ec43610c2a17: Download complete 21:01:45 5eb5b503b376: Download complete 21:01:45 2f39f015ded8: Download complete 21:01:46 5eb5b503b376: Pull complete 21:01:46 5c69ac0246d0: Pull complete 21:01:47 ec43610c2a17: Pull complete 21:01:47 3a2ae6a8a46f: Pull complete 21:01:47 33b1e0a273af: Pull complete 21:01:47 5d3b04190fa2: Pull complete 21:01:51 2f39f015ded8: Pull complete 21:01:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:01:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:51 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 21:01:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:01:53 $ docker top e5e2983c9cabc707066178fc13982ad65769ae6c235d2b5198169c41e7b24cfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:54 ---> job-cost.sh 21:01:54 lf-activate-venv: SKIPPING 21:01:54 INFO: No Stack... 21:01:54 INFO: Retrieving Pricing Info for: v3-standard-8 21:01:54 INFO: Archiving Costs [Pipeline] sh 21:01:55 + + cut -d, -f6cat 21:01:55 /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [Pipeline] lock 21:01:55 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-126-stack-cost] 21:01:55 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-126-stack-cost] did not exist. Created. 21:01:55 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:01:55 + echo total: 0.2199999988079071 [Pipeline] stash 21:01:55 Stashed 1 file(s) [Pipeline] } 21:01:55 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } 21:01:55 $ docker stop --time=1 e5e2983c9cabc707066178fc13982ad65769ae6c235d2b5198169c41e7b24cfe 21:01:56 $ docker rm -f e5e2983c9cabc707066178fc13982ad65769ae6c235d2b5198169c41e7b24cfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:04:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15274 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 21:04:44 Running in /w/workspace/app-functions-sdk-go/126 [Pipeline] { [Pipeline] checkout 21:04:44 The recommended git tool is: git 21:04:50 using credential edgex-jenkins-ssh 21:04:50 Cloning the remote Git repository 21:04:50 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:04:50 > git init /w/workspace/app-functions-sdk-go/126 # timeout=10 21:04:50 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:04:50 > git --version # timeout=10 21:04:50 > git --version # 'git version 2.25.1' 21:04:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:54 Avoid second fetch 21:04:54 Checking out Revision 3614395ab5d1e3b783d42cc9b1ae027613231f7a (main) 21:04:54 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:04:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:54 > git config core.sparsecheckout # timeout=10 21:04:54 > git checkout -f 3614395ab5d1e3b783d42cc9b1ae027613231f7a # timeout=10 21:04:58 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#1127)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:04:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:04:59 Dload Upload Total Spent Left Speed 21:04:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 21:05:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:05:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 21:05:01 sudo tee /etc/docker/daemon.new 21:05:01 { 21:05:01 "registry-mirrors": [ 21:05:01 "https://nexus3.edgexfoundry.org:10001" 21:05:01 ], 21:05:01 "bip": "10.250.0.254/24", 21:05:01 "hosts": [ 21:05:01 "tcp://0.0.0.0:5555", 21:05:01 "unix:///var/run/docker.sock" 21:05:01 ], 21:05:01 "mtu": 1458, 21:05:01 "selinux-enabled": true, 21:05:01 "seccomp-profile": "/etc/docker/seccomp.json" 21:05:01 } [Pipeline] sh 21:05:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:05:01 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 21:05:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:20 ========================================================= 21:05:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:05:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:05:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:05:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:05:21 9b3977197b4f: Pulling fs layer 21:05:21 1a89e8eeedd5: Pulling fs layer 21:05:21 94645a83ff95: Pulling fs layer 21:05:21 e6fb740bc735: Pulling fs layer 21:05:21 3a77bd46dcc9: Pulling fs layer 21:05:21 355e64cbe906: Pulling fs layer 21:05:21 63ab81a10011: Pulling fs layer 21:05:21 555d1d1c4555: Pulling fs layer 21:05:21 7d9057610161: Pulling fs layer 21:05:21 355e64cbe906: Waiting 21:05:21 63ab81a10011: Waiting 21:05:21 555d1d1c4555: Waiting 21:05:21 7d9057610161: Waiting 21:05:21 e6fb740bc735: Waiting 21:05:21 3a77bd46dcc9: Waiting 21:05:21 94645a83ff95: Verifying Checksum 21:05:21 94645a83ff95: Download complete 21:05:21 1a89e8eeedd5: Verifying Checksum 21:05:21 1a89e8eeedd5: Download complete 21:05:21 3a77bd46dcc9: Download complete 21:05:21 355e64cbe906: Verifying Checksum 21:05:21 355e64cbe906: Download complete 21:05:21 63ab81a10011: Verifying Checksum 21:05:21 63ab81a10011: Download complete 21:05:21 9b3977197b4f: Verifying Checksum 21:05:21 9b3977197b4f: Download complete 21:05:22 9b3977197b4f: Pull complete 21:05:22 7d9057610161: Verifying Checksum 21:05:22 7d9057610161: Download complete 21:05:23 1a89e8eeedd5: Pull complete 21:05:23 94645a83ff95: Pull complete 21:05:24 555d1d1c4555: Verifying Checksum 21:05:24 e6fb740bc735: Verifying Checksum 21:05:24 e6fb740bc735: Download complete 21:05:39 e6fb740bc735: Pull complete 21:05:39 3a77bd46dcc9: Pull complete 21:05:39 355e64cbe906: Pull complete 21:05:39 63ab81a10011: Pull complete 21:05:45 555d1d1c4555: Pull complete 21:05:47 7d9057610161: Pull complete 21:05:47 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 21:05:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:05:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 21:05:47 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:47 + docker inspect -f . ci-base-image-arm64 21:05:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:48 prd-ubuntu20.04-docker-arm64-4c-16g-15274 does not seem to be running inside a container 21:05:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/126 -v /w/workspace/app-functions-sdk-go/126:/w/workspace/app-functions-sdk-go/126:rw,z -v /w/workspace/app-functions-sdk-go/126@tmp:/w/workspace/app-functions-sdk-go/126@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 21:05:51 $ docker top 09252e79698e70ee1f6e69d7a678d8c509474ef95f34bad467ef822d1434a848 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:52 + go version 21:05:52 go version go1.17.7 linux/arm64 [Pipeline] } 21:05:52 $ docker stop --time=1 09252e79698e70ee1f6e69d7a678d8c509474ef95f34bad467ef822d1434a848 21:05:53 $ docker rm -f 09252e79698e70ee1f6e69d7a678d8c509474ef95f34bad467ef822d1434a848 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:54 + docker inspect -f . ci-base-image-arm64 21:05:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:54 prd-ubuntu20.04-docker-arm64-4c-16g-15274 does not seem to be running inside a container 21:05:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/126 -v /w/workspace/app-functions-sdk-go/126:/w/workspace/app-functions-sdk-go/126:rw,z -v /w/workspace/app-functions-sdk-go/126@tmp:/w/workspace/app-functions-sdk-go/126@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 21:05:56 $ docker top b8831d6f20f217eb67538c4db18c6e228a3e94b462de13b0794c446185e7a43f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:05:57 + make test 21:05:57 make -C ./app-service-template build 21:05:57 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/126/app-service-template' 21:05:57 go mod tidy -compat=1.17 21:05:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 21:05:57 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 21:05:57 go: downloading github.com/google/uuid v1.3.0 21:05:57 go: downloading github.com/stretchr/testify v1.7.2 21:05:57 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 21:05:57 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.4 21:05:57 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 21:05:57 go: downloading github.com/go-playground/validator/v10 v10.10.1 21:05:57 go: downloading github.com/go-kit/log v0.2.0 21:05:58 go: downloading gopkg.in/yaml.v3 v3.0.1 21:05:58 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 21:05:58 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 21:05:58 go: downloading github.com/davecgh/go-spew v1.1.1 21:05:58 go: downloading github.com/pmezard/go-difflib v1.0.0 21:05:58 go: downloading github.com/stretchr/objx v0.1.1 21:05:58 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 21:05:58 go: downloading github.com/gorilla/mux v1.8.0 21:05:58 go: downloading github.com/hashicorp/go-multierror v1.1.1 21:05:58 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 21:05:58 go: downloading github.com/go-logfmt/logfmt v0.5.1 21:05:58 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 21:05:58 go: downloading github.com/go-playground/universal-translator v0.18.0 21:05:58 go: downloading github.com/leodido/go-urn v1.2.1 21:05:58 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 21:05:58 go: downloading golang.org/x/text v0.3.7 21:05:59 go: downloading github.com/go-playground/locales v0.14.0 21:05:59 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:05:59 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:06:02 go: downloading github.com/gorilla/websocket v1.4.2 21:06:02 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 21:06:02 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 21:06:02 go: downloading github.com/mitchellh/copystructure v1.0.0 21:06:02 go: downloading github.com/pelletier/go-toml v1.9.4 21:06:02 go: downloading github.com/hashicorp/consul/api v1.9.1 21:06:02 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 21:06:02 go: downloading github.com/hashicorp/errwrap v1.0.0 21:06:02 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 21:06:02 go: downloading github.com/x448/float16 v0.8.4 21:06:02 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 21:06:02 go: downloading github.com/kr/pretty v0.3.0 21:06:02 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:06:02 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:06:02 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:06:02 go: downloading github.com/pebbe/zmq4 v1.2.7 21:06:02 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:06:02 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:06:02 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:06:03 go: downloading github.com/hashicorp/serf v0.9.5 21:06:03 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:06:03 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:06:03 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:06:03 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:06:03 go: downloading github.com/zeebo/errs v1.2.2 21:06:03 go: downloading google.golang.org/grpc v1.42.0 21:06:04 go: downloading github.com/kr/text v0.2.0 21:06:04 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:06:04 go: downloading github.com/onsi/ginkgo v1.10.1 21:06:04 go: downloading github.com/onsi/gomega v1.7.0 21:06:04 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:06:04 go: downloading github.com/fatih/color v1.9.0 21:06:04 go: downloading github.com/mattn/go-colorable v0.1.6 21:06:04 go: downloading github.com/mattn/go-isatty v0.0.12 21:06:04 go: downloading github.com/pkg/errors v0.9.1 21:06:04 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 21:06:04 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:06:04 go: downloading google.golang.org/protobuf v1.27.1 21:06:04 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:06:04 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:06:04 go: downloading github.com/hashicorp/memberlist v0.2.2 21:06:05 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 21:06:05 go: downloading github.com/golang/protobuf v1.5.2 21:06:05 go: downloading github.com/google/go-cmp v0.5.6 21:06:06 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:06:06 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:06:06 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:06:06 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:06:06 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:06:06 go: downloading github.com/miekg/dns v1.1.26 21:06:06 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:06:06 go: downloading gopkg.in/yaml.v2 v2.2.8 21:06:06 go: downloading github.com/hpcloud/tail v1.0.0 21:06:06 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:06:06 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 21:06:06 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:06:06 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:06:12 go: downloading github.com/stretchr/testify v1.7.4 21:06:12 go: downloading github.com/stretchr/objx v0.4.0 21:06:12 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service 21:08:34 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/126/app-service-template' 21:08:34 make -C ./app-service-template test 21:08:34 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/126/app-service-template' 21:08:34 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 21:10:56 ok new-app-service 0.275s coverage: 48.1% of statements 21:10:56 ? new-app-service/config [no test files] 21:10:56 ok new-app-service/functions 0.223s 21:10:56 CGO_ENABLED=1 go vet ./... 21:12:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:12:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:12:33 ./bin/test-attribution-txt.sh 21:12:33 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/126/app-service-template' 21:12:33 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:12:33 go: downloading github.com/gomodule/redigo v1.8.8 21:12:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:12:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.633s coverage: 63.2% of statements 21:12:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.295s coverage: 93.8% of statements 21:12:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:12:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.419s coverage: 76.5% of statements 21:12:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:12:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.392s coverage: 88.7% of statements 21:12:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.152s coverage: 100.0% of statements 21:12:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.700s coverage: 78.5% of statements 21:12:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:12:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:12:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.280s coverage: 97.3% of statements 21:12:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:12:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 21:12:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.308s coverage: 82.8% of statements 21:12:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 21:13:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.077s coverage: 81.5% of statements 21:13:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 21:13:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 21:13:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.361s coverage: 28.7% of statements 21:13:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 21:13:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.273s coverage: 14.0% of statements 21:13:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.252s coverage: 27.3% of statements 21:13:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 21:13:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:13:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.239s coverage: 51.4% of statements 21:13:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.543s coverage: 78.6% of statements 21:13:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.264s coverage: 94.4% of statements 21:13:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:13:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:52 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 21:13:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:52 $ docker stop --time=1 b8831d6f20f217eb67538c4db18c6e228a3e94b462de13b0794c446185e7a43f 21:13:54 $ docker rm -f b8831d6f20f217eb67538c4db18c6e228a3e94b462de13b0794c446185e7a43f [Pipeline] // withDockerContainer [Pipeline] sh 21:13:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:58 Warning: overwriting stash ‘coverage-report’ 21:13:59 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] withEnv [Pipeline] { [Pipeline] sh 21:13:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:59 21:13:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:00 arm64: Pulling from edgex-lftools-log-publisher 21:14:00 8998bd30e6a1: Pulling fs layer 21:14:00 04944245beec: Pulling fs layer 21:14:00 699f458cf7ca: Pulling fs layer 21:14:00 765212b225bb: Pulling fs layer 21:14:00 f23df028b6ca: Pulling fs layer 21:14:00 d65c8cfc05b1: Pulling fs layer 21:14:00 2437ff75d9bd: Pulling fs layer 21:14:00 765212b225bb: Waiting 21:14:00 f23df028b6ca: Waiting 21:14:00 d65c8cfc05b1: Waiting 21:14:00 2437ff75d9bd: Waiting 21:14:00 04944245beec: Verifying Checksum 21:14:00 04944245beec: Download complete 21:14:00 765212b225bb: Verifying Checksum 21:14:00 765212b225bb: Download complete 21:14:00 f23df028b6ca: Verifying Checksum 21:14:00 f23df028b6ca: Download complete 21:14:00 d65c8cfc05b1: Verifying Checksum 21:14:00 d65c8cfc05b1: Download complete 21:14:00 699f458cf7ca: Verifying Checksum 21:14:00 699f458cf7ca: Download complete 21:14:01 8998bd30e6a1: Verifying Checksum 21:14:01 8998bd30e6a1: Download complete 21:14:03 2437ff75d9bd: Verifying Checksum 21:14:03 2437ff75d9bd: Download complete 21:14:05 8998bd30e6a1: Pull complete 21:14:06 04944245beec: Pull complete 21:14:07 699f458cf7ca: Pull complete 21:14:08 765212b225bb: Pull complete 21:14:09 f23df028b6ca: Pull complete 21:14:09 d65c8cfc05b1: Pull complete 21:14:24 2437ff75d9bd: Pull complete 21:14:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:24 prd-ubuntu20.04-docker-arm64-4c-16g-15274 does not seem to be running inside a container 21:14:24 $ 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/126 -v /w/workspace/app-functions-sdk-go/126:/w/workspace/app-functions-sdk-go/126:rw,z -v /w/workspace/app-functions-sdk-go/126@tmp:/w/workspace/app-functions-sdk-go/126@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 21:14:27 $ docker top fea1021ab8d656c8ed4f6780c96553853c44ad46f867730be16fd9c2dd5aba3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:28 ---> job-cost.sh 21:14:28 lf-activate-venv: SKIPPING 21:14:28 INFO: No Stack... 21:14:29 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:30 INFO: Archiving Costs [Pipeline] sh 21:14:30 + cat /w/workspace/app-functions-sdk-go/126/archives/cost.csv 21:14:30 + cut -d, -f6 [Pipeline] lock 21:14:30 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-126-stack-cost] 21:14:30 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-126-stack-cost] did not exist. Created. 21:14:30 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:31 /w/workspace/app-functions-sdk-go/126@tmp/durable-c3ffa07c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:32 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:32 Warning: overwriting stash ‘stack-cost’ 21:14:32 Stashed 1 file(s) [Pipeline] } 21:14:32 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:32 $ docker stop --time=1 fea1021ab8d656c8ed4f6780c96553853c44ad46f867730be16fd9c2dd5aba3b 21:14:34 $ docker rm -f fea1021ab8d656c8ed4f6780c96553853c44ad46f867730be16fd9c2dd5aba3b [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 21:14:34 provisioning config files... 21:14:34 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7676088135035750294tmp [Pipeline] { [Pipeline] sh 21:14:34 + set +x 21:14:34 + curl -s https://codecov.io/bash 21:14:34 + bash -s -- 21:14:34 21:14:34 _____ _ 21:14:34 / ____| | | 21:14:34 | | ___ __| | ___ ___ _____ __ 21:14:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:34 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:34 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:34 Bash-1.0.6 21:14:34 21:14:34 21:14:34 ==> git version 2.25.1 found 21:14:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:14:34 Release-Date: 2020-01-08 21:14:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:14:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:34 ==> Jenkins CI detected. 21:14:34 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 21:14:34 project root: . 21:14:34 --> token set from env 21:14:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:34 ==> Running gcov in . (disable via -X gcov) 21:14:34 ==> Python coveragepy not found 21:14:34 ==> Searching for coverage reports in: 21:14:34 + . 21:14:34 -> Found 2 reports 21:14:34 ==> Detecting git/mercurial file structure 21:14:34 ==> Reading reports 21:14:34 + ./app-service-template/coverage.out bytes=1222 21:14:35 + ./coverage.out bytes=121742 21:14:35 ==> Appending adjustments 21:14:35 https://docs.codecov.io/docs/fixing-reports 21:14:35 + Found adjustments 21:14:35 ==> Gzipping contents 21:14:35 24K /tmp/codecov.FLxIZd.gz 21:14:35 ==> Uploading reports 21:14:35 url: https://codecov.io 21:14:35 query: branch=main&commit=3614395ab5d1e3b783d42cc9b1ae027613231f7a&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:14:35 -> Pinging Codecov 21:14:35 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=3614395ab5d1e3b783d42cc9b1ae027613231f7a&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:14:35 -> Uploading to 21:14:35 https://storage.googleapis.com/codecov/v4/raw/2022-06-21/3D8B5DFFC46A037C893635FACE044666/3614395ab5d1e3b783d42cc9b1ae027613231f7a/45b5c4cd-ac96-4f64-87a2-bb4382ab27bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220621T211435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23de13ca8287f5bf9ed0efe060f58236ca5264833a377fd9bf8d11e4bddb5756 21:14:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:35 Dload Upload Total Spent Left Speed 21:14:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21046 0 0 100 21046 0 86254 --:--:-- --:--:-- --:--:-- 86609 21:14:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/3614395ab5d1e3b783d42cc9b1ae027613231f7a [Pipeline] } 21:14:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:14:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:14:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:36 21:14:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:14:36 df9b9388f04a: Pulling fs layer 21:14:36 52dc419b0ee2: Pulling fs layer 21:14:36 25bc292e5bac: Pulling fs layer 21:14:36 114826534d7a: Pulling fs layer 21:14:36 4657fd5d0bcf: Pulling fs layer 21:14:36 6ad1cebc031e: Pulling fs layer 21:14:36 8a3aa393b2d8: Pulling fs layer 21:14:36 4657fd5d0bcf: Waiting 21:14:36 6ad1cebc031e: Waiting 21:14:36 114826534d7a: Waiting 21:14:36 8a3aa393b2d8: Waiting 21:14:36 25bc292e5bac: Verifying Checksum 21:14:36 25bc292e5bac: Download complete 21:14:36 52dc419b0ee2: Verifying Checksum 21:14:36 52dc419b0ee2: Download complete 21:14:36 4657fd5d0bcf: Download complete 21:14:36 df9b9388f04a: Download complete 21:14:36 6ad1cebc031e: Verifying Checksum 21:14:36 6ad1cebc031e: Download complete 21:14:36 df9b9388f04a: Pull complete 21:14:36 52dc419b0ee2: Pull complete 21:14:37 25bc292e5bac: Pull complete 21:14:37 114826534d7a: Download complete 21:14:37 8a3aa393b2d8: Verifying Checksum 21:14:37 8a3aa393b2d8: Download complete 21:14:40 114826534d7a: Pull complete 21:14:40 4657fd5d0bcf: Pull complete 21:14:41 6ad1cebc031e: Pull complete 21:14:43 8a3aa393b2d8: Pull complete 21:14:43 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:14:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:43 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 21:14:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:14:45 $ docker top e7afc0dc670b2bbccae6c0b636ea35017760f811d6a43d46c64c4fdb0f11c667 -eo pid,comm [Pipeline] { [Pipeline] echo 21:14:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 21:14:46 + set -o pipefail 21:14:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 21:14:51 21:14:51 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 21:14:51 21:14:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/e2c26c1f-5fd1-45be-854c-e4a5bd72743e 21:14:51 21:14:51 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:14:51 21:14:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:14:51 21:14:51 [Pipeline] } 21:14:51 $ docker stop --time=1 e7afc0dc670b2bbccae6c0b636ea35017760f811d6a43d46c64c4fdb0f11c667 21:14:53 $ docker rm -f e7afc0dc670b2bbccae6c0b636ea35017760f811d6a43d46c64c4fdb0f11c667 [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 21:14:54 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:54 provisioning config files... 21:14:54 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config324777837125156922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:54 --> edgex-publish-swagger.sh 21:14:54 === Publish openapi/v2 API === 21:14:54 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:14:54 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 21:14:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:54 Dload Upload Total Spent Left Speed 21:14:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 11899 0:00:01 0:00:01 --:--:-- 11899 100 13708 0 0 100 13708 0 11899 0:00:01 0:00:01 --:--:-- 11899 21:14:55 21:14:55 [Pipeline] } 21:14:55 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 21:14:55 + git log --format=format:%s -1 3614395ab5d1e3b783d42cc9b1ae027613231f7a [Pipeline] sh 21:14:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:14:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:56 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 21:14:56 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:14:56 $ docker top 6036f1154c42cd955f7fc8825ea3b6717ea768f14ccc29456de37e40ddb3d2d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:14:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:56 [ssh-agent] Looking for ssh-agent implementation... 21:14:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:57 $ docker exec 6036f1154c42cd955f7fc8825ea3b6717ea768f14ccc29456de37e40ddb3d2d4 ssh-agent 21:14:57 SSH_AUTH_SOCK=/tmp/ssh-UKLvqcZlAjWU/agent.33 21:14:57 SSH_AGENT_PID=39 21:14:57 Running ssh-add (command line suppressed) 21:14:57 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4502966923907636417.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4502966923907636417.key) 21:14:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:57 + git semver tag 21:14:57 2022-06-21 21:14:57,808 [run_tag] DEBUG tag force:False 21:14:57 2022-06-21 21:14:57,808 [check_head_tag] DEBUG check head tag 21:14:57 2022-06-21 21:14:57,809 [execute] INFO git cat-file --batch-check 21:14:57 2022-06-21 21:14:57,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:14:57 2022-06-21 21:14:57,812 [execute] INFO git cat-file --batch 21:14:57 2022-06-21 21:14:57,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:14:57 2022-06-21 21:14:57,822 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:14:57 2022-06-21 21:14:57,822 [execute] INFO git tag -a v2.2.1-dev.7 -m v2.2.1-dev.7 21:14:57 2022-06-21 21:14:57,823 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.7', '-m', 'v2.2.1-dev.7'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:14:57 2022-06-21 21:14:57,828 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:14:57 2.2.1-dev.7 [Pipeline] } 21:14:57 $ docker exec --env ******** --env ******** 6036f1154c42cd955f7fc8825ea3b6717ea768f14ccc29456de37e40ddb3d2d4 ssh-agent -k 21:14:58 unset SSH_AUTH_SOCK; 21:14:58 unset SSH_AGENT_PID; 21:14:58 echo Agent pid 39 killed; 21:14:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:14:58 + git semver [Pipeline] } 21:14:58 $ docker stop --time=1 6036f1154c42cd955f7fc8825ea3b6717ea768f14ccc29456de37e40ddb3d2d4 21:14:59 $ docker rm -f 6036f1154c42cd955f7fc8825ea3b6717ea768f14ccc29456de37e40ddb3d2d4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:00 21:15:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:00 0.23.1-centos7: Pulling from edgex-lftools 21:15:00 ab5ef0e58194: Pulling fs layer 21:15:00 9712f1f96733: Pulling fs layer 21:15:00 63f879dbbcfc: Pulling fs layer 21:15:00 0d9ebad4ef96: Pulling fs layer 21:15:00 e9a5061849ea: Pulling fs layer 21:15:00 d747dcd14b5f: Pulling fs layer 21:15:00 2de7ff778b66: Pulling fs layer 21:15:00 0d9ebad4ef96: Waiting 21:15:00 e9a5061849ea: Waiting 21:15:00 d747dcd14b5f: Waiting 21:15:00 2de7ff778b66: Waiting 21:15:00 9712f1f96733: Verifying Checksum 21:15:00 9712f1f96733: Download complete 21:15:01 63f879dbbcfc: Verifying Checksum 21:15:01 63f879dbbcfc: Download complete 21:15:01 e9a5061849ea: Verifying Checksum 21:15:01 e9a5061849ea: Download complete 21:15:01 d747dcd14b5f: Download complete 21:15:01 ab5ef0e58194: Verifying Checksum 21:15:01 ab5ef0e58194: Download complete 21:15:01 0d9ebad4ef96: Verifying Checksum 21:15:01 0d9ebad4ef96: Download complete 21:15:01 2de7ff778b66: Verifying Checksum 21:15:01 2de7ff778b66: Download complete 21:15:04 ab5ef0e58194: Pull complete 21:15:04 9712f1f96733: Pull complete 21:15:04 63f879dbbcfc: Pull complete 21:15:08 0d9ebad4ef96: Pull complete 21:15:08 e9a5061849ea: Pull complete 21:15:08 d747dcd14b5f: Pull complete 21:15:09 2de7ff778b66: Pull complete 21:15:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:15:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:09 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 21:15:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:15:11 $ docker top af271d4d4bcad60a53a0fdcf2508f2dd4106c675ec18f2642795d4829097ba97 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:15:11 provisioning config files... 21:15:11 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2369848962190647198tmp 21:15:11 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4712824477962640160tmp 21:15:11 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5205807170219440277tmp [Pipeline] { [Pipeline] echo 21:15:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:15:12 ---> sigul-configuration.sh 21:15:12 gpg: directory `/root/.gnupg' created 21:15:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:15:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:15:12 gpg: keyring `/root/.gnupg/secring.gpg' created 21:15:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:15:12 gpg: CAST5 encrypted data 21:15:12 gpg: encrypted with 1 passphrase 21:15:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:15:12 + mkdir /home/jenkins 21:15:12 + mkdir /home/jenkins/sigul [Pipeline] sh 21:15:12 + 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 21:15:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:15:13 ---> sigul-install.sh 21:15:13 Sigul already installed; skipping installation. [Pipeline] sh 21:15:13 + git tag --list 21:15:13 v0.1.0 21:15:13 v0.1.1 21:15:13 v1.0.0 21:15:13 v1.1.0 21:15:13 v1.2.0 21:15:13 v1.3.0 21:15:13 v1.3.1 21:15:13 v2.0.0 21:15:13 v2.0.1 21:15:13 v2.1.0 21:15:13 v2.1.1 21:15:13 v2.1.1-dev.3 21:15:13 v2.1.1-dev.4 21:15:13 v2.2.0 21:15:13 v2.2.1-dev.1 21:15:13 v2.2.1-dev.2 21:15:13 v2.2.1-dev.3 21:15:13 v2.2.1-dev.4 21:15:13 v2.2.1-dev.5 21:15:13 v2.2.1-dev.6 21:15:13 v2.2.1-dev.7 [Pipeline] sh 21:15:13 + lftools sign git-tag v2.2.1-dev.7 21:15:14 Signing Git tag with Sigul... 21:15:14 Signing v2.2.1-dev.7 [Pipeline] echo 21:15:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:15:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:15:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:15:14 $ docker stop --time=1 af271d4d4bcad60a53a0fdcf2508f2dd4106c675ec18f2642795d4829097ba97 21:15:16 $ docker rm -f af271d4d4bcad60a53a0fdcf2508f2dd4106c675ec18f2642795d4829097ba97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:15:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:16 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 21:15:16 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:15:17 $ docker top 8c31e7439942caf4d122f0d0f69463b8f92e8a1e84b1c86a72f7b6cefaa734ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:17 [ssh-agent] Looking for ssh-agent implementation... 21:15:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:17 $ docker exec 8c31e7439942caf4d122f0d0f69463b8f92e8a1e84b1c86a72f7b6cefaa734ea ssh-agent 21:15:17 SSH_AUTH_SOCK=/tmp/ssh-2pSbB1GVKyAL/agent.35 21:15:17 SSH_AGENT_PID=42 21:15:17 Running ssh-add (command line suppressed) 21:15:17 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7218497764797660311.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7218497764797660311.key) 21:15:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:18 + git semver bump pre 21:15:18 2022-06-21 21:15:18,283 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:15:18 2022-06-21 21:15:18,283 [bump_version] DEBUG bumping version:2.2.1-dev.7 on axis:pre with prefix:dev 21:15:18 2022-06-21 21:15:18,284 [bump_version] DEBUG bumped version:2.2.1-dev.8 21:15:18 2022-06-21 21:15:18,284 [write_version] DEBUG write version:2.2.1-dev.8 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 21:15:18 2022-06-21 21:15:18,284 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:15:18 2022-06-21 21:15:18,284 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:15:18 2022-06-21 21:15:18,285 [execute] INFO git cat-file --batch-check 21:15:18 2022-06-21 21:15:18,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:18 2022-06-21 21:15:18,291 [execute] INFO git cat-file --batch 21:15:18 2022-06-21 21:15:18,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:18 2022-06-21 21:15:18,296 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:15:18 2.2.1-dev.8 [Pipeline] } 21:15:18 $ docker exec --env ******** --env ******** 8c31e7439942caf4d122f0d0f69463b8f92e8a1e84b1c86a72f7b6cefaa734ea ssh-agent -k 21:15:18 unset SSH_AUTH_SOCK; 21:15:18 unset SSH_AGENT_PID; 21:15:18 echo Agent pid 42 killed; 21:15:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:18 + git semver [Pipeline] } 21:15:19 $ docker stop --time=1 8c31e7439942caf4d122f0d0f69463b8f92e8a1e84b1c86a72f7b6cefaa734ea 21:15:20 $ docker rm -f 8c31e7439942caf4d122f0d0f69463b8f92e8a1e84b1c86a72f7b6cefaa734ea [Pipeline] // withDockerContainer [Pipeline] sh 21:15:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:21 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 21:15:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:15:21 $ docker top da13dcb93e0d5acaaced42845837856921e1dc2171210b00137c6e714f7c9084 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:21 [ssh-agent] Looking for ssh-agent implementation... 21:15:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:21 $ docker exec da13dcb93e0d5acaaced42845837856921e1dc2171210b00137c6e714f7c9084 ssh-agent 21:15:21 SSH_AUTH_SOCK=/tmp/ssh-OrG1S8QyD2uf/agent.33 21:15:21 SSH_AGENT_PID=39 21:15:21 Running ssh-add (command line suppressed) 21:15:22 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4764478540707229692.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4764478540707229692.key) 21:15:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:22 + git semver push 21:15:22 2022-06-21 21:15:22,574 [run_push] DEBUG push 21:15:22 2022-06-21 21:15:22,575 [execute] INFO git cat-file --batch-check 21:15:22 2022-06-21 21:15:22,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:22 2022-06-21 21:15:22,579 [execute] INFO git rev-list 8b2058ce8384e10a0757256946cc55dda369bd0d -- 21:15:22 2022-06-21 21:15:22,579 [execute] DEBUG Popen(['git', 'rev-list', '8b2058ce8384e10a0757256946cc55dda369bd0d', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:15:22 2022-06-21 21:15:22,594 [execute] INFO git fetch -v origin 21:15:22 2022-06-21 21:15:22,594 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:15:23 2022-06-21 21:15:23,049 [run_push] DEBUG no remote changes detected 21:15:23 2022-06-21 21:15:23,049 [execute] INFO git push origin semver 21:15:23 2022-06-21 21:15:23,050 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:15:23 2022-06-21 21:15:23,831 [run_push] DEBUG push all version tags 21:15:23 2022-06-21 21:15:23,831 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:15:23 2022-06-21 21:15:23,832 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:15:24 2022-06-21 21:15:24,528 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 21:15:24 2.2.1-dev.8 [Pipeline] } 21:15:24 $ docker exec --env ******** --env ******** da13dcb93e0d5acaaced42845837856921e1dc2171210b00137c6e714f7c9084 ssh-agent -k 21:15:24 unset SSH_AUTH_SOCK; 21:15:24 unset SSH_AGENT_PID; 21:15:24 echo Agent pid 39 killed; 21:15:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:25 + git semver [Pipeline] } 21:15:25 $ docker stop --time=1 da13dcb93e0d5acaaced42845837856921e1dc2171210b00137c6e714f7c9084 21:15:26 $ docker rm -f da13dcb93e0d5acaaced42845837856921e1dc2171210b00137c6e714f7c9084 [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 21:15:27 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 21:15:27 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 21:15:27 total 16 21:15:27 drwxr-xr-x 3 root root 4096 Jun 21 21:01 . 21:15:27 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 21:15 .. 21:15:27 drwxr-xr-x 2 root root 4096 Jun 21 21:01 cost 21:15:27 -rw-r--r-- 1 root root 91 Jun 21 21:01 cost.csv 21:15:27 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 21:15:27 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 21:15:27 total 16 21:15:27 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:01 . 21:15:27 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 21:15 .. 21:15:27 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 21:01 cost 21:15:27 -rw-r--r-- 1 jenkins jenkins 91 Jun 21 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:15:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:15:28 ---> package-listing.sh 21:15:28 ++ facter osfamily 21:15:28 ++ tr '[:upper:]' '[:lower:]' 21:15:28 + OS_FAMILY=debian 21:15:28 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 21:15:28 + START_PACKAGES=/tmp/packages_start.txt 21:15:28 + END_PACKAGES=/tmp/packages_end.txt 21:15:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:15:28 + PACKAGES=/tmp/packages_start.txt 21:15:28 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 21:15:28 + PACKAGES=/tmp/packages_end.txt 21:15:28 + case "${OS_FAMILY}" in 21:15:28 + dpkg -l 21:15:28 + grep '^ii' 21:15:28 + '[' -f /tmp/packages_start.txt ']' 21:15:28 + '[' -f /tmp/packages_end.txt ']' 21:15:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:15:28 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 21:15:28 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 21:15:28 + 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 21:15:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 21:15:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:29 prd-ubuntu20.04-docker-8c-8g-15253 does not seem to be running inside a container 21:15:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:15:29 $ docker top 20007f638ef06ed2f0f1acc6e76f1e7eed01c1a193be1bf5feb2c76932d62176 -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:30 + touch /tmp/pre-build-complete [Pipeline] sh 21:15:30 + mkdir -p /var/log/sysstat [Pipeline] sh 21:15:30 + ls /var/log/sa-host 21:15:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:30 provisioning config files... 21:15:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7838133910299552718tmp [Pipeline] { [Pipeline] echo 21:15:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:15:31 ---> create-netrc.sh [Pipeline] } 21:15:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:15:31 ---> python-tools-install.sh [Pipeline] echo 21:15:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:15:31 ---> sudo-logs.sh 21:15:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:15:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:15:32 ---> job-cost.sh 21:15:32 lf-activate-venv: SKIPPING 21:15:32 DEBUG: total: 0.2199999988079071 21:15:32 INFO: Retrieving Stack Cost... 21:15:32 INFO: Retrieving Pricing Info for: v3-standard-8 21:15:32 INFO: Archiving Costs [Pipeline] echo 21:15:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:15:33 ---> logs-deploy.sh 21:15:33 lf-activate-venv: SKIPPING 21:15:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/126 21:15:33 INFO: archiving workspace using pattern(s): 21:15:34 Archives upload complete. 21:15:34 INFO: archiving logs to Nexus