Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5e69a67343f524a3026bc6035d710cde11b8e4fb 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-ssh14020781168278057989.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-ssh2406800875629112313.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-ssh7958480087948211286.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-ssh10742923817331974187.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-ssh11903203472583316517.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16504 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 5e69a67343f524a3026bc6035d710cde11b8e4fb (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 5e69a67343f524a3026bc6035d710cde11b8e4fb # timeout=10 Commit message: "build(deps): bump github.com/diegoholiveira/jsonlogic/v3 (#1140)" > git rev-list --no-walk adeea63715ebdea7392536986c0494ac80e28eab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:13:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:13:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:13:32 ========================================================= 17:13:32 EdgeX Global Pipelines Version Info 17:13:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:13:32 ------------------- 17:13:32 stable info: 17:13:32 ------------------- 17:13:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:13:32 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 17:13:32 Message: update stable to v1.0.234 17:13:33 ------------------- 17:13:33 experimental info: 17:13:33 ------------------- 17:13:33 Commited By: **** collab-it+edgex@linuxfoundation.org 17:13:33 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 17:13:33 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:13:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:13:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:13:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:13:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:13:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:13:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e69a67343f524a3026bc6035d710cde11b8e4fb [Pipeline] echo 17:13:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e69a67 [Pipeline] echo 17:13:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:13:34 + git rev-list -1 --merges 5e69a67343f524a3026bc6035d710cde11b8e4fb~1..5e69a67343f524a3026bc6035d710cde11b8e4fb [Pipeline] echo 17:13:34 -----------> git rev-list -1 --merges 5e69a67343f524a3026bc6035d710cde11b8e4fb~1..5e69a67343f524a3026bc6035d710cde11b8e4fb 5e69a67343f524a3026bc6035d710cde11b8e4fb [false] [Pipeline] sh 17:13:34 + git log --format=format:%s -1 5e69a67343f524a3026bc6035d710cde11b8e4fb [Pipeline] echo 17:13:34 ========================================================= 17:13:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:13:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:35 + git log --format=format:%s -1 5e69a67343f524a3026bc6035d710cde11b8e4fb [Pipeline] echo 17:13:35 [semverPrep] GIT_COMMIT: 5e69a67343f524a3026bc6035d710cde11b8e4fb, Commit Message: build(deps): bump github.com/diegoholiveira/jsonlogic/v3 (#1140) [Pipeline] echo 17:13:35 [semverPrep] This is not a build commit. [Pipeline] sh 17:13:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:13:35 + grep -v github /etc/ssh/ssh_known_hosts 17:13:35 + [ -e /tmp/ssh_known_hosts ] 17:13:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:13:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:13:35 + sudo tee -a /etc/ssh/ssh_known_hosts 17:13:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:36 17:13:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:36 0.1.4: Pulling from edgex-devops/py-git-semver 17:13:36 42c077c10790: Pulling fs layer 17:13:36 f63e77b7563a: Pulling fs layer 17:13:36 bd5fdadae976: Pulling fs layer 17:13:36 205491f53016: Pulling fs layer 17:13:36 df18705c85c3: Pulling fs layer 17:13:36 bdb3f477010e: Pulling fs layer 17:13:36 c8a8fc8e1c8f: Pulling fs layer 17:13:36 2c6e9b1d212d: Pulling fs layer 17:13:36 bdb8f0575790: Pulling fs layer 17:13:36 386e3cb2ff24: Pulling fs layer 17:13:36 2343380bae48: Pulling fs layer 17:13:36 2c6e9b1d212d: Waiting 17:13:36 bdb8f0575790: Waiting 17:13:36 bdb3f477010e: Waiting 17:13:36 c8a8fc8e1c8f: Waiting 17:13:36 386e3cb2ff24: Waiting 17:13:36 2343380bae48: Waiting 17:13:36 df18705c85c3: Waiting 17:13:36 205491f53016: Waiting 17:13:36 f63e77b7563a: Download complete 17:13:36 205491f53016: Verifying Checksum 17:13:36 205491f53016: Download complete 17:13:36 df18705c85c3: Verifying Checksum 17:13:36 df18705c85c3: Download complete 17:13:36 bd5fdadae976: Verifying Checksum 17:13:36 bd5fdadae976: Download complete 17:13:36 bdb3f477010e: Verifying Checksum 17:13:36 bdb3f477010e: Download complete 17:13:36 2c6e9b1d212d: Verifying Checksum 17:13:36 2c6e9b1d212d: Download complete 17:13:36 bdb8f0575790: Download complete 17:13:36 386e3cb2ff24: Verifying Checksum 17:13:36 386e3cb2ff24: Download complete 17:13:36 2343380bae48: Download complete 17:13:36 42c077c10790: Verifying Checksum 17:13:36 42c077c10790: Download complete 17:13:36 c8a8fc8e1c8f: Verifying Checksum 17:13:36 c8a8fc8e1c8f: Download complete 17:13:38 42c077c10790: Pull complete 17:13:38 f63e77b7563a: Pull complete 17:13:38 bd5fdadae976: Pull complete 17:13:39 205491f53016: Pull complete 17:13:39 df18705c85c3: Pull complete 17:13:39 bdb3f477010e: Pull complete 17:13:41 c8a8fc8e1c8f: Pull complete 17:13:41 2c6e9b1d212d: Pull complete 17:13:41 bdb8f0575790: Pull complete 17:13:41 386e3cb2ff24: Pull complete 17:13:41 2343380bae48: Pull complete 17:13:41 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 17:13:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:42 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:13:42 $ 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 17:13:43 $ docker top adb82c6bc20eccd799adcf58ff9d66261a48b7aeaf9745ce2ec419a6198544b8 -eo pid,comm 17:13:43 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). 17:13:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:13:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:13:43 [ssh-agent] Looking for ssh-agent implementation... 17:13:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:13:43 $ docker exec adb82c6bc20eccd799adcf58ff9d66261a48b7aeaf9745ce2ec419a6198544b8 ssh-agent 17:13:43 SSH_AUTH_SOCK=/tmp/ssh-aDIfgW4KDfxo/agent.34 17:13:43 SSH_AGENT_PID=40 17:13:43 Running ssh-add (command line suppressed) 17:13:44 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_924118147169332590.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_924118147169332590.key) 17:13:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:13:44 + git tag --points-at HEAD [Pipeline] } 17:13:44 $ docker exec --env ******** --env ******** adb82c6bc20eccd799adcf58ff9d66261a48b7aeaf9745ce2ec419a6198544b8 ssh-agent -k 17:13:44 unset SSH_AUTH_SOCK; 17:13:44 unset SSH_AGENT_PID; 17:13:44 echo Agent pid 40 killed; 17:13:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:13:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:13:44 [ssh-agent] Looking for ssh-agent implementation... 17:13:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:13:44 $ docker exec adb82c6bc20eccd799adcf58ff9d66261a48b7aeaf9745ce2ec419a6198544b8 ssh-agent 17:13:44 SSH_AUTH_SOCK=/tmp/ssh-BTYSJIDMXI9m/agent.73 17:13:44 SSH_AGENT_PID=79 17:13:44 Running ssh-add (command line suppressed) 17:13:45 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4246429893411713162.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4246429893411713162.key) 17:13:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:13:45 + git semver init 17:13:45 2022-06-30 17:13:45,526 [run_init] DEBUG init version:0.0.0 force:False 17:13:45 2022-06-30 17:13:45,526 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 17:13:45 2022-06-30 17:13:45,527 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 17:13:45 2022-06-30 17:13:45,527 [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) 17:13:46 2022-06-30 17:13:46,868 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 17:13:46 2022-06-30 17:13:46,868 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 17:13:46 2022-06-30 17:13:46,869 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:13:46 2022-06-30 17:13:46,869 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:13:46 2.2.1-dev.15 [Pipeline] } 17:13:46 $ docker exec --env ******** --env ******** adb82c6bc20eccd799adcf58ff9d66261a48b7aeaf9745ce2ec419a6198544b8 ssh-agent -k 17:13:47 unset SSH_AUTH_SOCK; 17:13:47 unset SSH_AGENT_PID; 17:13:47 echo Agent pid 79 killed; 17:13:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:13:47 + git semver [Pipeline] } 17:13:47 $ docker stop --time=1 adb82c6bc20eccd799adcf58ff9d66261a48b7aeaf9745ce2ec419a6198544b8 17:13:49 $ docker rm -f adb82c6bc20eccd799adcf58ff9d66261a48b7aeaf9745ce2ec419a6198544b8 [Pipeline] // withDockerContainer [Pipeline] sh 17:13:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:13:49 Stashed 1 file(s) [Pipeline] echo 17:13:49 [edgeXSemver]: initialized semver on version 2.2.1-dev.15 [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 17:13:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:49 ========================================================= 17:13:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:13:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:13:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:13:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:13:50 59bf1c3509f3: Pulling fs layer 17:13:50 666ba61612fd: Pulling fs layer 17:13:50 8ed8ca486205: Pulling fs layer 17:13:50 cc1cd167ecdc: Pulling fs layer 17:13:50 c516ae0d96e1: Pulling fs layer 17:13:50 684cea983483: Pulling fs layer 17:13:50 dd3240ac7de5: Pulling fs layer 17:13:50 b1e948a4e11c: Pulling fs layer 17:13:50 a8fd76ee1af6: Pulling fs layer 17:13:50 646ad004c059: Pulling fs layer 17:13:50 cc1cd167ecdc: Waiting 17:13:50 c516ae0d96e1: Waiting 17:13:50 684cea983483: Waiting 17:13:50 b1e948a4e11c: Waiting 17:13:50 a8fd76ee1af6: Waiting 17:13:50 646ad004c059: Waiting 17:13:50 dd3240ac7de5: Waiting 17:13:50 8ed8ca486205: Download complete 17:13:50 666ba61612fd: Verifying Checksum 17:13:50 666ba61612fd: Download complete 17:13:50 c516ae0d96e1: Verifying Checksum 17:13:50 c516ae0d96e1: Download complete 17:13:50 684cea983483: Download complete 17:13:50 dd3240ac7de5: Verifying Checksum 17:13:50 dd3240ac7de5: Download complete 17:13:50 59bf1c3509f3: Verifying Checksum 17:13:50 59bf1c3509f3: Download complete 17:13:50 b1e948a4e11c: Verifying Checksum 17:13:50 b1e948a4e11c: Download complete 17:13:50 59bf1c3509f3: Pull complete 17:13:50 666ba61612fd: Pull complete 17:13:50 8ed8ca486205: Pull complete 17:13:50 646ad004c059: Verifying Checksum 17:13:51 a8fd76ee1af6: Verifying Checksum 17:13:51 a8fd76ee1af6: Download complete 17:13:51 cc1cd167ecdc: Verifying Checksum 17:13:51 cc1cd167ecdc: Download complete 17:13:55 cc1cd167ecdc: Pull complete 17:13:55 c516ae0d96e1: Pull complete 17:13:55 684cea983483: Pull complete 17:13:55 dd3240ac7de5: Pull complete 17:13:55 b1e948a4e11c: Pull complete 17:13:58 a8fd76ee1af6: Pull complete 17:13:58 646ad004c059: Pull complete 17:13:58 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 17:13:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:13:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 17:13:58 + 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 17:13:59 + docker inspect -f . ci-base-image-x86_64 17:13:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:59 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:13:59 $ 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 17:14:01 $ docker top 57241945c22a39b2cb944447299c1be80fd72b3453a1a31ee0a769776eb2cf21 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:01 + go version 17:14:01 go version go1.17.7 linux/amd64 [Pipeline] } 17:14:01 $ docker stop --time=1 57241945c22a39b2cb944447299c1be80fd72b3453a1a31ee0a769776eb2cf21 17:14:03 $ docker rm -f 57241945c22a39b2cb944447299c1be80fd72b3453a1a31ee0a769776eb2cf21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:03 + docker inspect -f . ci-base-image-x86_64 17:14:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:03 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:14:03 $ 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 17:14:04 $ docker top 146c9062e207f4e76786d72bb4d95f1fa8fd0980a688a9fb60e19d6056bba99d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:14:04 + make test 17:14:04 make -C ./app-service-template build 17:14:04 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 17:14:04 go mod tidy -compat=1.17 17:14:04 go: downloading github.com/stretchr/testify v1.7.3 17:14:04 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 17:14:04 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.4 17:14:04 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 17:14:04 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 17:14:04 go: downloading github.com/google/uuid v1.3.0 17:14:04 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 17:14:04 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 17:14:04 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 17:14:04 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 17:14:04 go: downloading github.com/davecgh/go-spew v1.1.1 17:14:04 go: downloading github.com/pmezard/go-difflib v1.0.0 17:14:04 go: downloading github.com/stretchr/objx v0.4.0 17:14:04 go: downloading gopkg.in/yaml.v3 v3.0.1 17:14:04 go: downloading github.com/gorilla/mux v1.8.0 17:14:04 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:14:04 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 17:14:04 go: downloading github.com/go-kit/log v0.2.0 17:14:04 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:14:04 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:14:04 go: downloading github.com/pelletier/go-toml v1.9.5 17:14:04 go: downloading github.com/mitchellh/copystructure v1.0.0 17:14:04 go: downloading github.com/hashicorp/consul/api v1.9.1 17:14:04 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:14:04 go: downloading github.com/gorilla/websocket v1.4.2 17:14:04 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:14:04 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 17:14:04 go: downloading github.com/hashicorp/errwrap v1.0.0 17:14:04 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 17:14:04 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:14:04 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:14:04 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:14:04 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:14:04 go: downloading github.com/pebbe/zmq4 v1.2.7 17:14:04 go: downloading github.com/x448/float16 v0.8.4 17:14:04 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:14:04 go: downloading github.com/go-playground/universal-translator v0.18.0 17:14:04 go: downloading github.com/leodido/go-urn v1.2.1 17:14:04 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 17:14:04 go: downloading golang.org/x/text v0.3.7 17:14:04 go: downloading github.com/go-playground/locales v0.14.0 17:14:04 Still waiting to schedule task 17:14:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:14:04 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:14:04 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:14:04 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:14:04 go: downloading github.com/hashicorp/serf v0.9.5 17:14:04 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:14:04 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 17:14:04 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:14:04 go: downloading github.com/hashicorp/consul/sdk v0.8.0 17:14:05 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:14:05 go: downloading github.com/Microsoft/go-winio v0.5.2 17:14:05 go: downloading github.com/zeebo/errs v1.2.2 17:14:05 go: downloading google.golang.org/grpc v1.46.0 17:14:05 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:14:05 go: downloading github.com/onsi/ginkgo v1.10.1 17:14:05 go: downloading github.com/onsi/gomega v1.7.0 17:14:05 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:14:05 go: downloading github.com/fatih/color v1.9.0 17:14:05 go: downloading github.com/mattn/go-colorable v0.1.6 17:14:05 go: downloading github.com/mattn/go-isatty v0.0.12 17:14:05 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:14:05 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:14:05 go: downloading github.com/kr/pretty v0.3.0 17:14:05 go: downloading github.com/pkg/errors v0.9.1 17:14:05 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:14:05 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:14:05 go: downloading github.com/hashicorp/memberlist v0.2.2 17:14:05 go: downloading google.golang.org/protobuf v1.28.0 17:14:05 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:14:05 go: downloading github.com/golang/protobuf v1.5.2 17:14:05 go: downloading github.com/google/go-cmp v0.5.6 17:14:05 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:14:05 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:14:05 go: downloading github.com/kr/text v0.2.0 17:14:05 go: downloading github.com/rogpeppe/go-internal v1.8.0 17:14:05 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:14:05 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:14:05 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:14:05 go: downloading github.com/miekg/dns v1.1.26 17:14:05 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:14:06 go: downloading gopkg.in/yaml.v2 v2.2.8 17:14:06 go: downloading github.com/hpcloud/tail v1.0.0 17:14:06 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:14:06 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 17:14:06 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:14:06 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:14:07 go: downloading github.com/stretchr/testify v1.8.0 17:14:07 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.6 17:14:07 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 17:14:07 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 17:14:26 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 17:14:26 make -C ./app-service-template test 17:14:26 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 17:14:26 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 17:14:44 ok new-app-service 0.083s coverage: 48.1% of statements 17:14:44 ? new-app-service/config [no test files] 17:14:44 ok new-app-service/functions 0.047s 17:14:44 CGO_ENABLED=1 go vet ./... 17:14:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:14:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:14:54 ./bin/test-attribution-txt.sh 17:14:54 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 17:14:54 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:14:54 go: downloading github.com/gomodule/redigo v1.8.8 17:14:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.185s coverage: 63.2% of statements 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.084s coverage: 93.8% of statements 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.118s coverage: 76.5% of statements 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.103s coverage: 88.7% of statements 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.040s coverage: 100.0% of statements 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.172s coverage: 78.5% of statements 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.077s coverage: 97.3% of statements 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.104s coverage: 82.8% of statements 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.738s coverage: 81.5% of statements 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.134s coverage: 28.7% of statements 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.087s coverage: 14.0% of statements 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.061s coverage: 27.3% of statements 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:14:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:14:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.058s coverage: 51.4% of statements 17:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.150s coverage: 76.9% of statements 17:15:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.063s coverage: 94.4% of statements 17:15:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:15:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:15:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 17:15:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:15:35 $ docker stop --time=1 146c9062e207f4e76786d72bb4d95f1fa8fd0980a688a9fb60e19d6056bba99d 17:15:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16505 in /w/workspace/oundry_app-functions-sdk-go_main 17:15:37 $ docker rm -f 146c9062e207f4e76786d72bb4d95f1fa8fd0980a688a9fb60e19d6056bba99d [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws 17:15:37 Running in /w/workspace/app-functions-sdk-go/135 [Pipeline] { [Pipeline] checkout 17:15:37 The recommended git tool is: git 17:15:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:15:38 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 17:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:38 17:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:38 latest: Pulling from edgex-lftools-log-publisher 17:15:38 5eb5b503b376: Pulling fs layer 17:15:38 5c69ac0246d0: Pulling fs layer 17:15:38 ec43610c2a17: Pulling fs layer 17:15:38 3a2ae6a8a46f: Pulling fs layer 17:15:38 33b1e0a273af: Pulling fs layer 17:15:38 5d3b04190fa2: Pulling fs layer 17:15:38 2f39f015ded8: Pulling fs layer 17:15:38 3a2ae6a8a46f: Waiting 17:15:38 5d3b04190fa2: Waiting 17:15:38 33b1e0a273af: Waiting 17:15:38 5c69ac0246d0: Download complete 17:15:38 3a2ae6a8a46f: Verifying Checksum 17:15:38 3a2ae6a8a46f: Download complete 17:15:38 33b1e0a273af: Verifying Checksum 17:15:38 33b1e0a273af: Download complete 17:15:39 5d3b04190fa2: Verifying Checksum 17:15:39 5d3b04190fa2: Download complete 17:15:39 ec43610c2a17: Verifying Checksum 17:15:39 ec43610c2a17: Download complete 17:15:39 5eb5b503b376: Verifying Checksum 17:15:39 5eb5b503b376: Download complete 17:15:39 2f39f015ded8: Download complete 17:15:40 5eb5b503b376: Pull complete 17:15:40 5c69ac0246d0: Pull complete 17:15:41 ec43610c2a17: Pull complete 17:15:41 3a2ae6a8a46f: Pull complete 17:15:41 33b1e0a273af: Pull complete 17:15:41 5d3b04190fa2: Pull complete 17:15:44 using credential edgex-jenkins-ssh 17:15:44 Cloning the remote Git repository 17:15:44 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:15:44 > git init /w/workspace/app-functions-sdk-go/135 # timeout=10 17:15:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:15:44 > git --version # timeout=10 17:15:44 > git --version # 'git version 2.25.1' 17:15:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:15:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:15:46 2f39f015ded8: Pull complete 17:15:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:15:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:46 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:15:46 $ 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 17:15:48 Avoid second fetch 17:15:48 Checking out Revision 5e69a67343f524a3026bc6035d710cde11b8e4fb (main) 17:15:47 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:15:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:15:48 > git config core.sparsecheckout # timeout=10 17:15:48 > git checkout -f 5e69a67343f524a3026bc6035d710cde11b8e4fb # timeout=10 17:15:48 $ docker top 99091f3813fe37653901034673c0519d335f9a0b4a47a025866ae071c67f43cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:49 ---> job-cost.sh 17:15:49 lf-activate-venv: SKIPPING 17:15:49 INFO: No Stack... 17:15:49 INFO: Retrieving Pricing Info for: v3-standard-8 17:15:50 INFO: Archiving Costs [Pipeline] sh 17:15:50 + + catcut /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv -d, 17:15:50 -f6 [Pipeline] lock 17:15:50 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-135-stack-cost] 17:15:50 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-135-stack-cost] did not exist. Created. 17:15:50 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:15:50 + echo total: 0.2199999988079071 [Pipeline] stash 17:15:50 Stashed 1 file(s) [Pipeline] } 17:15:50 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } 17:15:50 $ docker stop --time=1 99091f3813fe37653901034673c0519d335f9a0b4a47a025866ae071c67f43cf 17:15:51 $ docker rm -f 99091f3813fe37653901034673c0519d335f9a0b4a47a025866ae071c67f43cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:15:52 Commit message: "build(deps): bump github.com/diegoholiveira/jsonlogic/v3 (#1140)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:15:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:15:53 % Total % Received % Xferd Average Speed Time Time Time Current 17:15:53 Dload Upload Total Spent Left Speed 17:15:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 82234 0 --:--:-- --:--:-- --:--:-- 82234 [Pipeline] sh 17:15:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:15:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:15:54 + sudo tee /etc/docker/daemon.new 17:15:54 { 17:15:54 "registry-mirrors": [ 17:15:54 "https://nexus3.edgexfoundry.org:10001" 17:15:54 ], 17:15:54 "bip": "10.250.0.254/24", 17:15:54 "hosts": [ 17:15:54 "tcp://0.0.0.0:5555", 17:15:54 "unix:///var/run/docker.sock" 17:15:54 ], 17:15:54 "mtu": 1458, 17:15:54 "selinux-enabled": true, 17:15:54 "seccomp-profile": "/etc/docker/seccomp.json" 17:15:54 } [Pipeline] sh 17:15:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:15:54 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 17:16:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:16:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:16:13 ========================================================= 17:16:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:16:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:16:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:16:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:16:14 9b3977197b4f: Pulling fs layer 17:16:14 1a89e8eeedd5: Pulling fs layer 17:16:14 94645a83ff95: Pulling fs layer 17:16:14 e6fb740bc735: Pulling fs layer 17:16:14 3a77bd46dcc9: Pulling fs layer 17:16:14 355e64cbe906: Pulling fs layer 17:16:14 63ab81a10011: Pulling fs layer 17:16:14 555d1d1c4555: Pulling fs layer 17:16:14 7d9057610161: Pulling fs layer 17:16:14 355e64cbe906: Waiting 17:16:14 e6fb740bc735: Waiting 17:16:14 3a77bd46dcc9: Waiting 17:16:14 63ab81a10011: Waiting 17:16:14 555d1d1c4555: Waiting 17:16:14 94645a83ff95: Verifying Checksum 17:16:14 94645a83ff95: Download complete 17:16:14 1a89e8eeedd5: Verifying Checksum 17:16:14 1a89e8eeedd5: Download complete 17:16:14 3a77bd46dcc9: Verifying Checksum 17:16:14 3a77bd46dcc9: Download complete 17:16:14 355e64cbe906: Verifying Checksum 17:16:14 355e64cbe906: Download complete 17:16:14 9b3977197b4f: Download complete 17:16:14 63ab81a10011: Verifying Checksum 17:16:14 63ab81a10011: Download complete 17:16:15 7d9057610161: Verifying Checksum 17:16:15 7d9057610161: Download complete 17:16:15 9b3977197b4f: Pull complete 17:16:16 1a89e8eeedd5: Pull complete 17:16:16 94645a83ff95: Pull complete 17:16:17 555d1d1c4555: Verifying Checksum 17:16:17 555d1d1c4555: Download complete 17:16:17 e6fb740bc735: Verifying Checksum 17:16:17 e6fb740bc735: Download complete 17:16:30 e6fb740bc735: Pull complete 17:16:30 3a77bd46dcc9: Pull complete 17:16:30 355e64cbe906: Pull complete 17:16:30 63ab81a10011: Pull complete 17:16:36 555d1d1c4555: Pull complete 17:16:38 7d9057610161: Pull complete 17:16:38 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 17:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:16:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 17:16:38 + 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 17:16:38 + docker inspect -f . ci-base-image-arm64 17:16:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:39 prd-ubuntu20.04-docker-arm64-4c-16g-16505 does not seem to be running inside a container 17:16:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/135 -v /w/workspace/app-functions-sdk-go/135:/w/workspace/app-functions-sdk-go/135:rw,z -v /w/workspace/app-functions-sdk-go/135@tmp:/w/workspace/app-functions-sdk-go/135@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 ******** -e ******** ci-base-image-arm64 cat 17:16:42 $ docker top 1b11aa47c1f29369aa452e50e047551b2d3f84ce9fca4cba111284decc860d19 -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:43 + go version 17:16:43 go version go1.17.7 linux/arm64 [Pipeline] } 17:16:43 $ docker stop --time=1 1b11aa47c1f29369aa452e50e047551b2d3f84ce9fca4cba111284decc860d19 17:16:44 $ docker rm -f 1b11aa47c1f29369aa452e50e047551b2d3f84ce9fca4cba111284decc860d19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:45 + docker inspect -f . ci-base-image-arm64 17:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:45 prd-ubuntu20.04-docker-arm64-4c-16g-16505 does not seem to be running inside a container 17:16:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/135 -v /w/workspace/app-functions-sdk-go/135:/w/workspace/app-functions-sdk-go/135:rw,z -v /w/workspace/app-functions-sdk-go/135@tmp:/w/workspace/app-functions-sdk-go/135@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 ******** -e ******** ci-base-image-arm64 cat 17:16:46 $ docker top c8b468ed4a9a27abf2a61011c1cd45ab7191ede52ea235c7931417785a9baf08 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:16:47 + make test 17:16:47 make -C ./app-service-template build 17:16:47 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/135/app-service-template' 17:16:47 go mod tidy -compat=1.17 17:16:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 17:16:47 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 17:16:48 go: downloading github.com/google/uuid v1.3.0 17:16:48 go: downloading github.com/stretchr/testify v1.7.3 17:16:48 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.1-dev.4 17:16:48 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.5 17:16:48 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 17:16:48 go: downloading github.com/davecgh/go-spew v1.1.1 17:16:48 go: downloading github.com/pmezard/go-difflib v1.0.0 17:16:48 go: downloading gopkg.in/yaml.v3 v3.0.1 17:16:48 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.2 17:16:48 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.1 17:16:48 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:16:48 go: downloading github.com/go-kit/log v0.2.0 17:16:48 go: downloading github.com/stretchr/objx v0.4.0 17:16:48 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.1-dev.1 17:16:48 go: downloading github.com/gorilla/mux v1.8.0 17:16:48 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:16:48 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 17:16:48 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:16:48 go: downloading github.com/mitchellh/copystructure v1.0.0 17:16:48 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:16:48 go: downloading github.com/gorilla/websocket v1.4.2 17:16:48 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:16:48 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 17:16:48 go: downloading github.com/pelletier/go-toml v1.9.5 17:16:48 go: downloading github.com/hashicorp/consul/api v1.9.1 17:16:49 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 17:16:49 go: downloading github.com/go-playground/universal-translator v0.18.0 17:16:49 go: downloading github.com/leodido/go-urn v1.2.1 17:16:49 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 17:16:49 go: downloading golang.org/x/text v0.3.7 17:16:49 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 17:16:50 go: downloading github.com/go-playground/assert/v2 v2.0.1 17:16:50 go: downloading github.com/go-playground/locales v0.14.0 17:16:52 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.0 17:16:52 go: downloading github.com/hashicorp/errwrap v1.0.0 17:16:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:16:52 go: downloading github.com/x448/float16 v0.8.4 17:16:53 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 17:16:53 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:16:53 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:16:53 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:16:53 go: downloading github.com/hashicorp/serf v0.9.5 17:16:53 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:16:53 go: downloading github.com/hashicorp/consul/sdk v0.8.0 17:16:53 go: downloading github.com/hashicorp/go-uuid v1.0.1 17:16:53 go: downloading github.com/kr/pretty v0.3.0 17:16:53 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:16:53 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:16:53 go: downloading github.com/pebbe/zmq4 v1.2.7 17:16:53 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:16:53 go: downloading github.com/Microsoft/go-winio v0.5.2 17:16:53 go: downloading github.com/zeebo/errs v1.2.2 17:16:53 go: downloading google.golang.org/grpc v1.46.0 17:16:54 go: downloading github.com/fatih/color v1.9.0 17:16:54 go: downloading github.com/mattn/go-colorable v0.1.6 17:16:54 go: downloading github.com/mitchellh/go-homedir v1.1.0 17:16:54 go: downloading github.com/mattn/go-isatty v0.0.12 17:16:54 go: downloading github.com/pkg/errors v0.9.1 17:16:54 go: downloading github.com/kr/text v0.2.0 17:16:54 go: downloading github.com/rogpeppe/go-internal v1.8.0 17:16:54 go: downloading github.com/onsi/ginkgo v1.10.1 17:16:54 go: downloading github.com/onsi/gomega v1.7.0 17:16:54 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:16:54 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:16:54 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:16:54 go: downloading github.com/hashicorp/go-msgpack v0.5.3 17:16:54 go: downloading github.com/hashicorp/memberlist v0.2.2 17:16:54 go: downloading google.golang.org/protobuf v1.28.0 17:16:54 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:16:55 go: downloading github.com/golang/protobuf v1.5.2 17:16:55 go: downloading github.com/google/go-cmp v0.5.6 17:16:55 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 17:16:56 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:16:56 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 17:16:56 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 17:16:56 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 17:16:56 go: downloading github.com/miekg/dns v1.1.26 17:16:56 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 17:16:56 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:16:56 go: downloading gopkg.in/yaml.v2 v2.2.8 17:16:56 go: downloading github.com/hpcloud/tail v1.0.0 17:16:56 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 17:16:56 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 17:16:56 go: downloading gopkg.in/fsnotify.v1 v1.4.7 17:17:01 go: downloading github.com/stretchr/testify v1.8.0 17:17:01 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.1-dev.6 17:17:01 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.3 17:17:01 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 17:18:53 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/135/app-service-template' 17:18:53 make -C ./app-service-template test 17:18:53 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/135/app-service-template' 17:18:53 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 17:21:00 ok new-app-service 0.255s coverage: 48.1% of statements 17:21:00 ? new-app-service/config [no test files] 17:21:00 ok new-app-service/functions 0.220s 17:21:00 CGO_ENABLED=1 go vet ./... 17:22:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:22:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:22:22 ./bin/test-attribution-txt.sh 17:22:22 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/135/app-service-template' 17:22:22 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:22:22 go: downloading github.com/gomodule/redigo v1.8.8 17:22:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 17:22:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.647s coverage: 63.2% of statements 17:22:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.275s coverage: 93.8% of statements 17:22:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 17:22:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.375s coverage: 76.5% of statements 17:22:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 17:22:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.346s coverage: 88.7% of statements 17:22:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.169s coverage: 100.0% of statements 17:22:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.784s coverage: 78.5% of statements 17:22:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 17:22:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 17:22:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.287s coverage: 97.3% of statements 17:22:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 17:22:41 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 17:22:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.357s coverage: 82.8% of statements 17:22:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 17:22:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.189s coverage: 81.5% of statements 17:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 17:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 17:22:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.409s coverage: 28.7% of statements 17:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 17:22:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.245s coverage: 14.0% of statements 17:22:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.220s coverage: 27.3% of statements 17:22:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 17:22:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:22:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.355s coverage: 51.4% of statements 17:23:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.525s coverage: 76.9% of statements 17:23:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.309s coverage: 94.4% of statements 17:23:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:23:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:36 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 17:23:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:36 $ docker stop --time=1 c8b468ed4a9a27abf2a61011c1cd45ab7191ede52ea235c7931417785a9baf08 17:23:38 $ docker rm -f c8b468ed4a9a27abf2a61011c1cd45ab7191ede52ea235c7931417785a9baf08 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:23:41 Warning: overwriting stash ‘coverage-report’ 17:23:42 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 17:23:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:23:43 17:23:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:23:43 arm64: Pulling from edgex-lftools-log-publisher 17:23:43 8998bd30e6a1: Pulling fs layer 17:23:43 04944245beec: Pulling fs layer 17:23:43 699f458cf7ca: Pulling fs layer 17:23:43 765212b225bb: Pulling fs layer 17:23:43 f23df028b6ca: Pulling fs layer 17:23:43 d65c8cfc05b1: Pulling fs layer 17:23:43 2437ff75d9bd: Pulling fs layer 17:23:43 f23df028b6ca: Waiting 17:23:43 2437ff75d9bd: Waiting 17:23:43 d65c8cfc05b1: Waiting 17:23:43 765212b225bb: Waiting 17:23:43 04944245beec: Verifying Checksum 17:23:43 04944245beec: Download complete 17:23:43 765212b225bb: Verifying Checksum 17:23:43 765212b225bb: Download complete 17:23:43 f23df028b6ca: Verifying Checksum 17:23:43 f23df028b6ca: Download complete 17:23:43 d65c8cfc05b1: Verifying Checksum 17:23:43 d65c8cfc05b1: Download complete 17:23:44 699f458cf7ca: Verifying Checksum 17:23:44 699f458cf7ca: Download complete 17:23:44 8998bd30e6a1: Verifying Checksum 17:23:44 8998bd30e6a1: Download complete 17:23:46 2437ff75d9bd: Verifying Checksum 17:23:46 2437ff75d9bd: Download complete 17:23:48 8998bd30e6a1: Pull complete 17:23:49 04944245beec: Pull complete 17:23:50 699f458cf7ca: Pull complete 17:23:50 765212b225bb: Pull complete 17:23:51 f23df028b6ca: Pull complete 17:23:51 d65c8cfc05b1: Pull complete 17:24:06 2437ff75d9bd: Pull complete 17:24:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:24:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:24:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:07 prd-ubuntu20.04-docker-arm64-4c-16g-16505 does not seem to be running inside a container 17:24:07 $ 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/135 -v /w/workspace/app-functions-sdk-go/135:/w/workspace/app-functions-sdk-go/135:rw,z -v /w/workspace/app-functions-sdk-go/135@tmp:/w/workspace/app-functions-sdk-go/135@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:24:09 $ docker top 39563dc4c5fb6d07103f665dbfffd00c3c4443e52c4322a97a95bbb1d147c0f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:10 ---> job-cost.sh 17:24:10 lf-activate-venv: SKIPPING 17:24:10 INFO: No Stack... 17:24:10 INFO: Retrieving Pricing Info for: v3-standard-4 17:24:11 INFO: Archiving Costs [Pipeline] sh 17:24:12 + cat /w/workspace/app-functions-sdk-go/135/archives/cost.csv 17:24:12 + cut -d, -f6 [Pipeline] lock 17:24:12 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-135-stack-cost] 17:24:12 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-135-stack-cost] did not exist. Created. 17:24:12 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:13 /w/workspace/app-functions-sdk-go/135@tmp/durable-d7f2b50e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:24:13 + echo total: 0.10999999940395355 [Pipeline] stash 17:24:13 Warning: overwriting stash ‘stack-cost’ 17:24:13 Stashed 1 file(s) [Pipeline] } 17:24:13 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:13 $ docker stop --time=1 39563dc4c5fb6d07103f665dbfffd00c3c4443e52c4322a97a95bbb1d147c0f5 17:24:15 $ docker rm -f 39563dc4c5fb6d07103f665dbfffd00c3c4443e52c4322a97a95bbb1d147c0f5 [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 17:24:15 provisioning config files... 17:24:15 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1343098763468826310tmp [Pipeline] { [Pipeline] sh 17:24:16 + set +x 17:24:16 + bash -s+ -- 17:24:16 curl -s https://codecov.io/bash 17:24:16 17:24:16 _____ _ 17:24:16 / ____| | | 17:24:16 | | ___ __| | ___ ___ _____ __ 17:24:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:24:16 | |___| (_) | (_| | __/ (_| (_) \ V / 17:24:16 \_____\___/ \__,_|\___|\___\___/ \_/ 17:24:16 Bash-1.0.6 17:24:16 17:24:16 17:24:16 ==> git version 2.25.1 found 17:24:16 ==> 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 17:24:16 Release-Date: 2020-01-08 17:24:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:24:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:24:16 ==> Jenkins CI detected. 17:24:16 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 17:24:16 project root: . 17:24:16 --> token set from env 17:24:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:24:16 ==> Running gcov in . (disable via -X gcov) 17:24:16 ==> Python coveragepy not found 17:24:16 ==> Searching for coverage reports in: 17:24:16 + . 17:24:16 -> Found 2 reports 17:24:16 ==> Detecting git/mercurial file structure 17:24:16 ==> Reading reports 17:24:16 + ./app-service-template/coverage.out bytes=1222 17:24:16 + ./coverage.out bytes=122650 17:24:16 ==> Appending adjustments 17:24:16 https://docs.codecov.io/docs/fixing-reports 17:24:16 + Found adjustments 17:24:16 ==> Gzipping contents 17:24:16 24K /tmp/codecov.D94JkC.gz 17:24:16 ==> Uploading reports 17:24:16 url: https://codecov.io 17:24:16 query: branch=main&commit=5e69a67343f524a3026bc6035d710cde11b8e4fb&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:24:16 -> Pinging Codecov 17:24:16 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=5e69a67343f524a3026bc6035d710cde11b8e4fb&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:24:16 -> Uploading to 17:24:16 https://storage.googleapis.com/codecov/v4/raw/2022-06-30/3D8B5DFFC46A037C893635FACE044666/5e69a67343f524a3026bc6035d710cde11b8e4fb/4dd43adc-8ee7-4615-b98c-f2adfdbba652.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220630T172416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d536cff6adba00dd2b5571fb6e2606bc4d0774ca7fb79217db277803a2f9195 17:24:16 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:16 Dload Upload Total Spent Left Speed 17:24:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21177 0 0 100 21177 0 83703 --:--:-- --:--:-- --:--:-- 84035 17:24:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/5e69a67343f524a3026bc6035d710cde11b8e4fb [Pipeline] } 17:24:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:24:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:24:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:24:17 17:24:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:24:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:24:17 df9b9388f04a: Pulling fs layer 17:24:17 52dc419b0ee2: Pulling fs layer 17:24:17 25bc292e5bac: Pulling fs layer 17:24:17 114826534d7a: Pulling fs layer 17:24:17 4657fd5d0bcf: Pulling fs layer 17:24:17 6ad1cebc031e: Pulling fs layer 17:24:17 8a3aa393b2d8: Pulling fs layer 17:24:17 4657fd5d0bcf: Waiting 17:24:17 8a3aa393b2d8: Waiting 17:24:17 6ad1cebc031e: Waiting 17:24:17 114826534d7a: Waiting 17:24:17 25bc292e5bac: Verifying Checksum 17:24:17 25bc292e5bac: Download complete 17:24:17 52dc419b0ee2: Verifying Checksum 17:24:17 52dc419b0ee2: Download complete 17:24:17 4657fd5d0bcf: Download complete 17:24:17 df9b9388f04a: Download complete 17:24:17 6ad1cebc031e: Verifying Checksum 17:24:17 6ad1cebc031e: Download complete 17:24:18 df9b9388f04a: Pull complete 17:24:18 52dc419b0ee2: Pull complete 17:24:18 25bc292e5bac: Pull complete 17:24:18 114826534d7a: Download complete 17:24:18 8a3aa393b2d8: Verifying Checksum 17:24:18 8a3aa393b2d8: Download complete 17:24:22 114826534d7a: Pull complete 17:24:22 4657fd5d0bcf: Pull complete 17:24:22 6ad1cebc031e: Pull complete 17:24:25 8a3aa393b2d8: Pull complete 17:24:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:24:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:24:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:25 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:24:25 $ 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 17:24:27 $ docker top 02833893aa57483ea6ed60837e7d46506fecd4ce7f7ae377d1f7766b5d88cc8f -eo pid,comm [Pipeline] { [Pipeline] echo 17:24:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 17:24:27 + set -o pipefail 17:24:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 17:24:31 17:24:31 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 17:24:31 17:24:31 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/9d3669bc-5d10-4f59-88c4-d40a32e918e1 17:24:31 17:24:31 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:24:31 17:24:31 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:24:31 17:24:31 17:24:31 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 17:24:31 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:24:31 $ docker stop --time=1 02833893aa57483ea6ed60837e7d46506fecd4ce7f7ae377d1f7766b5d88cc8f 17:24:34 $ docker rm -f 02833893aa57483ea6ed60837e7d46506fecd4ce7f7ae377d1f7766b5d88cc8f [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 17:24:34 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:34 provisioning config files... 17:24:34 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config907266968997190677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:35 --> edgex-publish-swagger.sh 17:24:35 === Publish openapi/v2 API === 17:24:35 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 17:24:35 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 17:24:35 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:35 Dload Upload Total Spent Left Speed 17:24:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13708 0 0 100 13708 0 15130 --:--:-- --:--:-- --:--:-- 15130 100 13708 0 0 100 13708 0 15130 --:--:-- --:--:-- --:--:-- 15113 17:24:35 17:24:35 [Pipeline] } 17:24:35 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 17:24:36 + git log --format=format:%s -1 5e69a67343f524a3026bc6035d710cde11b8e4fb [Pipeline] sh 17:24:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:24:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:24:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:37 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:24:37 $ 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 17:24:37 $ docker top 0f53c9946c90730e7171abc5cc1646f47698ab318491d62e84cbc1af2edae73d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:24:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:24:37 [ssh-agent] Looking for ssh-agent implementation... 17:24:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:24:37 $ docker exec 0f53c9946c90730e7171abc5cc1646f47698ab318491d62e84cbc1af2edae73d ssh-agent 17:24:37 SSH_AUTH_SOCK=/tmp/ssh-IyZKQrgz22iZ/agent.34 17:24:37 SSH_AGENT_PID=40 17:24:37 Running ssh-add (command line suppressed) 17:24:37 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6311803853782761472.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6311803853782761472.key) 17:24:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:24:38 + git semver tag 17:24:38 2022-06-30 17:24:38,477 [run_tag] DEBUG tag force:False 17:24:38 2022-06-30 17:24:38,477 [check_head_tag] DEBUG check head tag 17:24:38 2022-06-30 17:24:38,478 [execute] INFO git cat-file --batch-check 17:24:38 2022-06-30 17:24:38,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:24:38 2022-06-30 17:24:38,481 [execute] INFO git cat-file --batch 17:24:38 2022-06-30 17:24:38,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:24:38 2022-06-30 17:24:38,493 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:24:38 2022-06-30 17:24:38,493 [execute] INFO git tag -a v2.2.1-dev.15 -m v2.2.1-dev.15 17:24:38 2022-06-30 17:24:38,493 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.15', '-m', 'v2.2.1-dev.15'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 17:24:38 2022-06-30 17:24:38,498 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:24:38 2.2.1-dev.15 [Pipeline] } 17:24:38 $ docker exec --env ******** --env ******** 0f53c9946c90730e7171abc5cc1646f47698ab318491d62e84cbc1af2edae73d ssh-agent -k 17:24:38 unset SSH_AUTH_SOCK; 17:24:38 unset SSH_AGENT_PID; 17:24:38 echo Agent pid 40 killed; 17:24:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:24:38 + git semver [Pipeline] } 17:24:39 $ docker stop --time=1 0f53c9946c90730e7171abc5cc1646f47698ab318491d62e84cbc1af2edae73d 17:24:40 $ docker rm -f 0f53c9946c90730e7171abc5cc1646f47698ab318491d62e84cbc1af2edae73d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:24:40 17:24:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:24:41 0.23.1-centos7: Pulling from edgex-lftools 17:24:41 ab5ef0e58194: Pulling fs layer 17:24:41 9712f1f96733: Pulling fs layer 17:24:41 63f879dbbcfc: Pulling fs layer 17:24:41 0d9ebad4ef96: Pulling fs layer 17:24:41 e9a5061849ea: Pulling fs layer 17:24:41 d747dcd14b5f: Pulling fs layer 17:24:41 2de7ff778b66: Pulling fs layer 17:24:41 0d9ebad4ef96: Waiting 17:24:41 e9a5061849ea: Waiting 17:24:41 d747dcd14b5f: Waiting 17:24:41 2de7ff778b66: Waiting 17:24:41 9712f1f96733: Verifying Checksum 17:24:41 9712f1f96733: Download complete 17:24:41 63f879dbbcfc: Verifying Checksum 17:24:41 63f879dbbcfc: Download complete 17:24:41 e9a5061849ea: Verifying Checksum 17:24:41 e9a5061849ea: Download complete 17:24:41 0d9ebad4ef96: Download complete 17:24:41 d747dcd14b5f: Download complete 17:24:41 2de7ff778b66: Verifying Checksum 17:24:41 2de7ff778b66: Download complete 17:24:41 ab5ef0e58194: Verifying Checksum 17:24:41 ab5ef0e58194: Download complete 17:24:45 ab5ef0e58194: Pull complete 17:24:45 9712f1f96733: Pull complete 17:24:45 63f879dbbcfc: Pull complete 17:24:48 0d9ebad4ef96: Pull complete 17:24:49 e9a5061849ea: Pull complete 17:24:49 d747dcd14b5f: Pull complete 17:24:50 2de7ff778b66: Pull complete 17:24:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:24:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:24:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:50 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:24:50 $ 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 17:24:52 $ docker top c527e853eb72a8ee86c6d9b9b277cedb5a75b2f42266f9db0ab1713558f2a24b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:24:53 provisioning config files... 17:24:53 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6326358422168359118tmp 17:24:53 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4645943986374381873tmp 17:24:53 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config9170496197516324818tmp [Pipeline] { [Pipeline] echo 17:24:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:24:53 ---> sigul-configuration.sh 17:24:53 gpg: directory `/root/.gnupg' created 17:24:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:24:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:24:53 gpg: keyring `/root/.gnupg/secring.gpg' created 17:24:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:24:53 gpg: CAST5 encrypted data 17:24:53 gpg: encrypted with 1 passphrase 17:24:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:24:53 + mkdir /home/jenkins 17:24:53 + mkdir /home/jenkins/sigul [Pipeline] sh 17:24:53 + 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 17:24:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:24:54 ---> sigul-install.sh 17:24:54 Sigul already installed; skipping installation. [Pipeline] sh 17:24:54 + git tag --list 17:24:54 v0.1.0 17:24:54 v0.1.1 17:24:54 v1.0.0 17:24:54 v1.1.0 17:24:54 v1.2.0 17:24:54 v1.3.0 17:24:54 v1.3.1 17:24:54 v2.0.0 17:24:54 v2.0.1 17:24:54 v2.1.0 17:24:54 v2.1.1 17:24:54 v2.1.1-dev.3 17:24:54 v2.1.1-dev.4 17:24:54 v2.2.0 17:24:54 v2.2.1-dev.1 17:24:54 v2.2.1-dev.10 17:24:54 v2.2.1-dev.11 17:24:54 v2.2.1-dev.12 17:24:54 v2.2.1-dev.13 17:24:54 v2.2.1-dev.14 17:24:54 v2.2.1-dev.15 17:24:54 v2.2.1-dev.2 17:24:54 v2.2.1-dev.3 17:24:54 v2.2.1-dev.4 17:24:54 v2.2.1-dev.5 17:24:54 v2.2.1-dev.6 17:24:54 v2.2.1-dev.7 17:24:54 v2.2.1-dev.8 17:24:54 v2.2.1-dev.9 [Pipeline] sh 17:24:54 + lftools sign git-tag v2.2.1-dev.15 17:24:55 Signing Git tag with Sigul... 17:24:55 Signing v2.2.1-dev.15 [Pipeline] echo 17:24:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:24:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:24:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:24:56 $ docker stop --time=1 c527e853eb72a8ee86c6d9b9b277cedb5a75b2f42266f9db0ab1713558f2a24b 17:24:57 $ docker rm -f c527e853eb72a8ee86c6d9b9b277cedb5a75b2f42266f9db0ab1713558f2a24b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:24:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:24:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:24:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:58 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:24:58 $ 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 17:24:58 $ docker top 9e5cf3e5ca74fca6b5299eba98d68c79f35f882977bbfbb7e7cf9c122fd91679 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:24:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:24:58 [ssh-agent] Looking for ssh-agent implementation... 17:24:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:24:58 $ docker exec 9e5cf3e5ca74fca6b5299eba98d68c79f35f882977bbfbb7e7cf9c122fd91679 ssh-agent 17:24:58 SSH_AUTH_SOCK=/tmp/ssh-FglGkEP4yKkt/agent.33 17:24:58 SSH_AGENT_PID=40 17:24:58 Running ssh-add (command line suppressed) 17:24:59 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_909819809191015564.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_909819809191015564.key) 17:24:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:24:59 + git semver bump pre 17:24:59 2022-06-30 17:24:59,577 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:24:59 2022-06-30 17:24:59,577 [bump_version] DEBUG bumping version:2.2.1-dev.15 on axis:pre with prefix:dev 17:24:59 2022-06-30 17:24:59,577 [bump_version] DEBUG bumped version:2.2.1-dev.16 17:24:59 2022-06-30 17:24:59,577 [write_version] DEBUG write version:2.2.1-dev.16 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 17:24:59 2022-06-30 17:24:59,577 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:24:59 2022-06-30 17:24:59,577 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:24:59 2022-06-30 17:24:59,579 [execute] INFO git cat-file --batch-check 17:24:59 2022-06-30 17:24:59,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:24:59 2022-06-30 17:24:59,585 [execute] INFO git cat-file --batch 17:24:59 2022-06-30 17:24:59,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:24:59 2022-06-30 17:24:59,590 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:24:59 2.2.1-dev.16 [Pipeline] } 17:24:59 $ docker exec --env ******** --env ******** 9e5cf3e5ca74fca6b5299eba98d68c79f35f882977bbfbb7e7cf9c122fd91679 ssh-agent -k 17:24:59 unset SSH_AUTH_SOCK; 17:24:59 unset SSH_AGENT_PID; 17:24:59 echo Agent pid 40 killed; 17:24:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:00 + git semver [Pipeline] } 17:25:00 $ docker stop --time=1 9e5cf3e5ca74fca6b5299eba98d68c79f35f882977bbfbb7e7cf9c122fd91679 17:25:01 $ docker rm -f 9e5cf3e5ca74fca6b5299eba98d68c79f35f882977bbfbb7e7cf9c122fd91679 [Pipeline] // withDockerContainer [Pipeline] sh 17:25:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:02 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:25:02 $ 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 17:25:02 $ docker top ca336daf4942d7cec33bfd1c6a9544457150b0cbca6e9627becd465f03d4c406 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:02 [ssh-agent] Looking for ssh-agent implementation... 17:25:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:02 $ docker exec ca336daf4942d7cec33bfd1c6a9544457150b0cbca6e9627becd465f03d4c406 ssh-agent 17:25:03 SSH_AUTH_SOCK=/tmp/ssh-Z5UvDy8IPMG4/agent.32 17:25:03 SSH_AGENT_PID=38 17:25:03 Running ssh-add (command line suppressed) 17:25:03 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_406758369526070171.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_406758369526070171.key) 17:25:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:03 + git semver push 17:25:03 2022-06-30 17:25:03,701 [run_push] DEBUG push 17:25:03 2022-06-30 17:25:03,701 [execute] INFO git cat-file --batch-check 17:25:03 2022-06-30 17:25:03,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:25:03 2022-06-30 17:25:03,705 [execute] INFO git rev-list 0ef7ae94fd0ed4716782981591f564781866db13 -- 17:25:03 2022-06-30 17:25:03,705 [execute] DEBUG Popen(['git', 'rev-list', '0ef7ae94fd0ed4716782981591f564781866db13', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:25:03 2022-06-30 17:25:03,721 [execute] INFO git fetch -v origin 17:25:03 2022-06-30 17:25:03,721 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:25:04 2022-06-30 17:25:04,217 [run_push] DEBUG no remote changes detected 17:25:04 2022-06-30 17:25:04,217 [execute] INFO git push origin semver 17:25:04 2022-06-30 17:25:04,218 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:25:04 2022-06-30 17:25:04,887 [run_push] DEBUG push all version tags 17:25:04 2022-06-30 17:25:04,888 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:25:04 2022-06-30 17:25:04,888 [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) 17:25:05 2022-06-30 17:25:05,576 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 17:25:05 2.2.1-dev.16 [Pipeline] } 17:25:05 $ docker exec --env ******** --env ******** ca336daf4942d7cec33bfd1c6a9544457150b0cbca6e9627becd465f03d4c406 ssh-agent -k 17:25:05 unset SSH_AUTH_SOCK; 17:25:05 unset SSH_AGENT_PID; 17:25:05 echo Agent pid 38 killed; 17:25:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:06 + git semver [Pipeline] } 17:25:06 $ docker stop --time=1 ca336daf4942d7cec33bfd1c6a9544457150b0cbca6e9627becd465f03d4c406 17:25:07 $ docker rm -f ca336daf4942d7cec33bfd1c6a9544457150b0cbca6e9627becd465f03d4c406 [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 17:25:08 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 17:25:08 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 17:25:08 total 16 17:25:08 drwxr-xr-x 3 root root 4096 Jun 30 17:15 . 17:25:08 drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 17:24 .. 17:25:08 drwxr-xr-x 2 root root 4096 Jun 30 17:15 cost 17:25:08 -rw-r--r-- 1 root root 91 Jun 30 17:15 cost.csv 17:25:08 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 17:25:08 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 17:25:08 total 16 17:25:08 drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 17:15 . 17:25:08 drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 17:24 .. 17:25:08 drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 17:15 cost 17:25:08 -rw-r--r-- 1 jenkins jenkins 91 Jun 30 17:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:25:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:25:09 ---> package-listing.sh 17:25:09 ++ facter osfamily 17:25:09 ++ tr '[:upper:]' '[:lower:]' 17:25:09 + OS_FAMILY=debian 17:25:09 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 17:25:09 + START_PACKAGES=/tmp/packages_start.txt 17:25:09 + END_PACKAGES=/tmp/packages_end.txt 17:25:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:25:09 + PACKAGES=/tmp/packages_start.txt 17:25:09 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 17:25:09 + PACKAGES=/tmp/packages_end.txt 17:25:09 + case "${OS_FAMILY}" in 17:25:09 + dpkg -l 17:25:09 + grep '^ii' 17:25:09 + '[' -f /tmp/packages_start.txt ']' 17:25:09 + '[' -f /tmp/packages_end.txt ']' 17:25:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:25:09 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 17:25:09 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 17:25:09 + 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 17:25:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 17:25:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:10 prd-ubuntu20.04-docker-8c-8g-16504 does not seem to be running inside a container 17:25:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 17:25:10 $ docker top 301ef9889468fd8d3131a525c293b080b51a1bc56a9881e5f4c529e087024a02 -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:11 + touch /tmp/pre-build-complete [Pipeline] sh 17:25:11 + mkdir -p /var/log/sysstat [Pipeline] sh 17:25:11 + ls /var/log/sa-host 17:25:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:11 provisioning config files... 17:25:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5912327402199686310tmp [Pipeline] { [Pipeline] echo 17:25:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:25:12 ---> create-netrc.sh [Pipeline] } 17:25:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:25:12 ---> python-tools-install.sh [Pipeline] echo 17:25:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:25:12 ---> sudo-logs.sh 17:25:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:25:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:25:13 ---> job-cost.sh 17:25:13 lf-activate-venv: SKIPPING 17:25:13 DEBUG: total: 0.2199999988079071 17:25:13 INFO: Retrieving Stack Cost... 17:25:13 INFO: Retrieving Pricing Info for: v3-standard-8 17:25:13 INFO: Archiving Costs [Pipeline] echo 17:25:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:25:14 ---> logs-deploy.sh 17:25:14 lf-activate-venv: SKIPPING 17:25:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/135 17:25:14 INFO: archiving workspace using pattern(s): 17:25:15 Archives upload complete. 17:25:15 INFO: archiving logs to Nexus