Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33d44429a9498c15e578a0be58f0c4871add9a92 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-ssh6401572232896590850.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16447598777486054462.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh4046973065417854041.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh12016698551988925951.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh15279584060902074116.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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/v3]] ========================================================= [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.20 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/v3 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4843 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 33d44429a9498c15e578a0be58f0c4871add9a92 (main) Commit message: "feat: Change AddCustomRoute to use Echo handler signature (#1469)" > 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 33d44429a9498c15e578a0be58f0c4871add9a92 # timeout=10 > git rev-list --no-walk 8894f2fda9549209311379a51a74144a46413b90 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:36:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:36:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:36:09 ========================================================= 00:36:09 EdgeX Global Pipelines Version Info 00:36:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:36:10 ------------------- 00:36:10 stable info: 00:36:10 ------------------- 00:36:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:36:10 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 00:36:10 Message: update stable to v1.0.253 00:36:10 ------------------- 00:36:10 experimental info: 00:36:10 ------------------- 00:36:10 Commited By: **** collab-it+edgex@linuxfoundation.org 00:36:10 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 00:36:10 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:36:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33d44429a9498c15e578a0be58f0c4871add9a92 [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33d4442 [Pipeline] echo 00:36:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:36:11 + git rev-list -1 --merges 33d44429a9498c15e578a0be58f0c4871add9a92~1..33d44429a9498c15e578a0be58f0c4871add9a92 [Pipeline] echo 00:36:11 -----------> git rev-list -1 --merges 33d44429a9498c15e578a0be58f0c4871add9a92~1..33d44429a9498c15e578a0be58f0c4871add9a92 33d44429a9498c15e578a0be58f0c4871add9a92 [false] [Pipeline] sh 00:36:11 + git log --format=format:%s -1 33d44429a9498c15e578a0be58f0c4871add9a92 [Pipeline] echo 00:36:11 ========================================================= 00:36:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:36:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:36:12 + git log --format=format:%s -1 33d44429a9498c15e578a0be58f0c4871add9a92 [Pipeline] echo 00:36:12 [semverPrep] GIT_COMMIT: 33d44429a9498c15e578a0be58f0c4871add9a92, Commit Message: feat: Change AddCustomRoute to use Echo handler signature (#1469) [Pipeline] echo 00:36:12 [semverPrep] This is not a build commit. [Pipeline] sh 00:36:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:36:12 + grep -v github /etc/ssh/ssh_known_hosts 00:36:12 + [ -e /tmp/ssh_known_hosts ] 00:36:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:36:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:36:12 + sudo tee -a /etc/ssh/ssh_known_hosts 00:36:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:36:13 00:36:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:36:13 0.1.4: Pulling from edgex-devops/py-git-semver 00:36:13 b85a868b505f: Pulling fs layer 00:36:13 e2be974225ed: Pulling fs layer 00:36:13 339a4e72a1f5: Pulling fs layer 00:36:13 988bab9f4d93: Pulling fs layer 00:36:13 1469e6f7b9e6: Pulling fs layer 00:36:13 eaf3925da568: Pulling fs layer 00:36:13 bab4dde63d76: Pulling fs layer 00:36:13 bde34c3a00c8: Pulling fs layer 00:36:13 b352a97aabf1: Pulling fs layer 00:36:13 4872d77fe225: Pulling fs layer 00:36:13 5851b861e8e6: Pulling fs layer 00:36:13 988bab9f4d93: Waiting 00:36:13 1469e6f7b9e6: Waiting 00:36:13 eaf3925da568: Waiting 00:36:13 b352a97aabf1: Waiting 00:36:13 4872d77fe225: Waiting 00:36:13 bab4dde63d76: Waiting 00:36:13 bde34c3a00c8: Waiting 00:36:13 5851b861e8e6: Waiting 00:36:13 e2be974225ed: Download complete 00:36:13 988bab9f4d93: Verifying Checksum 00:36:13 988bab9f4d93: Download complete 00:36:13 1469e6f7b9e6: Verifying Checksum 00:36:13 1469e6f7b9e6: Download complete 00:36:13 eaf3925da568: Verifying Checksum 00:36:13 eaf3925da568: Download complete 00:36:13 339a4e72a1f5: Verifying Checksum 00:36:13 339a4e72a1f5: Download complete 00:36:13 bde34c3a00c8: Verifying Checksum 00:36:13 bde34c3a00c8: Download complete 00:36:13 b352a97aabf1: Download complete 00:36:13 4872d77fe225: Verifying Checksum 00:36:13 4872d77fe225: Download complete 00:36:13 5851b861e8e6: Verifying Checksum 00:36:13 5851b861e8e6: Download complete 00:36:13 b85a868b505f: Verifying Checksum 00:36:13 b85a868b505f: Download complete 00:36:13 bab4dde63d76: Verifying Checksum 00:36:13 bab4dde63d76: Download complete 00:36:14 b85a868b505f: Pull complete 00:36:15 e2be974225ed: Pull complete 00:36:15 339a4e72a1f5: Pull complete 00:36:15 988bab9f4d93: Pull complete 00:36:15 1469e6f7b9e6: Pull complete 00:36:15 eaf3925da568: Pull complete 00:36:17 bab4dde63d76: Pull complete 00:36:17 bde34c3a00c8: Pull complete 00:36:17 b352a97aabf1: Pull complete 00:36:18 4872d77fe225: Pull complete 00:36:18 5851b861e8e6: Pull complete 00:36:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:36:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:36:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:18 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:36:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:36:19 $ docker top 3b6827de172470c9f099f174b45d3f5c629ebe849568ba1121770305babe5c62 -eo pid,comm 00:36:19 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). 00:36:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:36:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:36:19 [ssh-agent] Looking for ssh-agent implementation... 00:36:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:36:19 $ docker exec 3b6827de172470c9f099f174b45d3f5c629ebe849568ba1121770305babe5c62 ssh-agent 00:36:19 SSH_AUTH_SOCK=/tmp/ssh-ey2zDqRDepbq/agent.32 00:36:19 SSH_AGENT_PID=38 00:36:19 Running ssh-add (command line suppressed) 00:36:19 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6081385058056795287.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6081385058056795287.key) 00:36:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:36:20 + git tag --points-at HEAD [Pipeline] } 00:36:20 $ docker exec --env ******** --env ******** 3b6827de172470c9f099f174b45d3f5c629ebe849568ba1121770305babe5c62 ssh-agent -k 00:36:20 unset SSH_AUTH_SOCK; 00:36:20 unset SSH_AGENT_PID; 00:36:20 echo Agent pid 38 killed; 00:36:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:36:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:36:20 [ssh-agent] Looking for ssh-agent implementation... 00:36:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:36:20 $ docker exec 3b6827de172470c9f099f174b45d3f5c629ebe849568ba1121770305babe5c62 ssh-agent 00:36:20 SSH_AUTH_SOCK=/tmp/ssh-8lY9y8tAxBj3/agent.70 00:36:20 SSH_AGENT_PID=76 00:36:20 Running ssh-add (command line suppressed) 00:36:20 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17142520861049901060.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17142520861049901060.key) 00:36:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:36:21 + git semver init 00:36:21 2023-08-30 00:36:21,251 [run_init] DEBUG init version:0.0.0 force:False 00:36:21 2023-08-30 00:36:21,251 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 00:36:21 2023-08-30 00:36:21,252 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver 00:36:21 2023-08-30 00:36:21,252 [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) 00:36:23 2023-08-30 00:36:22,711 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 00:36:23 2023-08-30 00:36:22,712 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 00:36:23 2023-08-30 00:36:22,712 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:36:23 2023-08-30 00:36:22,712 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:36:23 3.1.0-dev.23 [Pipeline] } 00:36:23 $ docker exec --env ******** --env ******** 3b6827de172470c9f099f174b45d3f5c629ebe849568ba1121770305babe5c62 ssh-agent -k 00:36:23 unset SSH_AUTH_SOCK; 00:36:23 unset SSH_AGENT_PID; 00:36:23 echo Agent pid 76 killed; 00:36:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:36:23 + git semver [Pipeline] } 00:36:23 $ docker stop --time=1 3b6827de172470c9f099f174b45d3f5c629ebe849568ba1121770305babe5c62 00:36:25 $ docker rm -f --volumes 3b6827de172470c9f099f174b45d3f5c629ebe849568ba1121770305babe5c62 [Pipeline] // withDockerContainer [Pipeline] sh 00:36:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:36:25 Stashed 1 file(s) [Pipeline] echo 00:36:25 [edgeXSemver]: initialized semver on version 3.1.0-dev.23 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:36:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:36:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:36:26 ========================================================= 00:36:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:36:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:36:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:36:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:36:26 4db1b89c0bd1: Pulling fs layer 00:36:26 6911f1a30b25: Pulling fs layer 00:36:26 e194b8c5c2a9: Pulling fs layer 00:36:26 6863d3e3a2b1: Pulling fs layer 00:36:26 ec0bb842ea78: Pulling fs layer 00:36:26 40a00589a448: Pulling fs layer 00:36:26 6c08303d61cc: Pulling fs layer 00:36:26 798269fcf238: Pulling fs layer 00:36:26 ec0bb842ea78: Waiting 00:36:26 40a00589a448: Waiting 00:36:26 6c08303d61cc: Waiting 00:36:26 798269fcf238: Waiting 00:36:26 6863d3e3a2b1: Waiting 00:36:26 6911f1a30b25: Verifying Checksum 00:36:26 6911f1a30b25: Download complete 00:36:26 6863d3e3a2b1: Verifying Checksum 00:36:26 6863d3e3a2b1: Download complete 00:36:26 ec0bb842ea78: Download complete 00:36:26 4db1b89c0bd1: Verifying Checksum 00:36:26 4db1b89c0bd1: Download complete 00:36:26 40a00589a448: Verifying Checksum 00:36:26 40a00589a448: Download complete 00:36:26 4db1b89c0bd1: Pull complete 00:36:26 6911f1a30b25: Pull complete 00:36:26 798269fcf238: Verifying Checksum 00:36:26 798269fcf238: Download complete 00:36:27 e194b8c5c2a9: Verifying Checksum 00:36:27 e194b8c5c2a9: Download complete 00:36:27 6c08303d61cc: Verifying Checksum 00:36:27 6c08303d61cc: Download complete 00:36:30 e194b8c5c2a9: Pull complete 00:36:30 6863d3e3a2b1: Pull complete 00:36:30 ec0bb842ea78: Pull complete 00:36:30 40a00589a448: Pull complete 00:36:33 6c08303d61cc: Pull complete 00:36:34 798269fcf238: Pull complete 00:36:34 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:36:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:36:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 00:36:34 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:35 + docker inspect -f . ci-base-image-x86_64 00:36:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:35 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:36:35 $ 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 ******** -e ******** ci-base-image-x86_64 cat 00:36:36 $ docker top 3a0725e3f3a6735aa24a5008e01e404dd69f9ee534e1afe99bc06b64e867961e -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:37 + go version 00:36:37 go version go1.20.6 linux/amd64 [Pipeline] } 00:36:37 $ docker stop --time=1 3a0725e3f3a6735aa24a5008e01e404dd69f9ee534e1afe99bc06b64e867961e 00:36:38 $ docker rm -f --volumes 3a0725e3f3a6735aa24a5008e01e404dd69f9ee534e1afe99bc06b64e867961e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:39 + docker inspect -f . ci-base-image-x86_64 00:36:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:39 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:36:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-x86_64 cat 00:36:39 $ docker top cc1f4071b7b4a23564dc3c874ad2cc0e8be70377cdfad65c0dbad5d138687b32 -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:39 + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh 00:36:40 + make test 00:36:40 make -C ./app-service-template build 00:36:40 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:36:40 go mod tidy 00:36:40 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.8 00:36:40 go: downloading github.com/labstack/echo/v4 v4.11.1 00:36:40 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:36:40 go: downloading github.com/google/uuid v1.3.1 00:36:40 go: downloading github.com/stretchr/testify v1.8.4 00:36:40 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.27 00:36:40 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.16 00:36:40 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.5 00:36:40 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 00:36:40 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 00:36:40 go: downloading gopkg.in/yaml.v3 v3.0.1 00:36:40 go: downloading github.com/stretchr/objx v0.5.0 00:36:40 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 00:36:40 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 00:36:40 go: downloading github.com/labstack/gommon v0.4.0 00:36:40 go: downloading golang.org/x/crypto v0.11.0 00:36:40 go: downloading golang.org/x/net v0.13.0 00:36:40 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:36:40 go: downloading github.com/go-kit/log v0.2.1 00:36:40 go: downloading github.com/go-playground/validator/v10 v10.15.1 00:36:40 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 00:36:40 go: downloading github.com/mitchellh/copystructure v1.2.0 00:36:40 go: downloading github.com/gorilla/websocket v1.5.0 00:36:40 go: downloading golang.org/x/sync v0.2.0 00:36:40 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.5 00:36:40 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.6 00:36:40 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:36:40 go: downloading github.com/hashicorp/errwrap v1.1.0 00:36:40 go: downloading github.com/mattn/go-colorable v0.1.13 00:36:40 go: downloading github.com/mattn/go-isatty v0.0.19 00:36:40 go: downloading github.com/valyala/fasttemplate v1.2.2 00:36:40 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:36:40 go: downloading github.com/hashicorp/consul/api v1.24.0 00:36:40 go: downloading github.com/mitchellh/reflectwalk v1.0.2 00:36:40 go: downloading github.com/x448/float16 v0.8.4 00:36:40 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 00:36:40 go: downloading github.com/go-playground/universal-translator v0.18.1 00:36:40 go: downloading github.com/leodido/go-urn v1.2.4 00:36:40 go: downloading golang.org/x/text v0.11.0 00:36:40 go: downloading github.com/go-playground/locales v0.14.1 00:36:40 Still waiting to schedule task 00:36:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4840’ 00:36:41 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 00:36:41 go: downloading github.com/mitchellh/mapstructure v1.5.0 00:36:41 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 00:36:41 go: downloading golang.org/x/time v0.3.0 00:36:41 go: downloading github.com/nats-io/nats.go v1.28.0 00:36:41 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:36:41 go: downloading github.com/go-playground/assert/v2 v2.2.0 00:36:41 go: downloading github.com/nats-io/nats-server/v2 v2.9.21 00:36:41 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:36:41 go: downloading github.com/valyala/bytebufferpool v1.0.0 00:36:41 go: downloading golang.org/x/sys v0.10.0 00:36:41 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 00:36:41 go: downloading github.com/hashicorp/go-hclog v1.5.0 00:36:41 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:36:41 go: downloading github.com/hashicorp/serf v0.10.1 00:36:41 go: downloading github.com/google/go-cmp v0.5.9 00:36:41 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 00:36:41 go: downloading github.com/hashicorp/consul/sdk v0.14.1 00:36:41 go: downloading github.com/hashicorp/go-uuid v1.0.3 00:36:41 go: downloading github.com/Microsoft/go-winio v0.6.0 00:36:41 go: downloading github.com/zeebo/errs v1.3.0 00:36:41 go: downloading google.golang.org/grpc v1.53.0 00:36:41 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:36:42 go: downloading github.com/klauspost/compress v1.16.7 00:36:42 go: downloading github.com/nats-io/nkeys v0.4.4 00:36:42 go: downloading github.com/nats-io/nuid v1.0.1 00:36:42 go: downloading github.com/kr/pretty v0.1.0 00:36:42 go: downloading github.com/onsi/ginkgo v1.10.1 00:36:42 go: downloading github.com/onsi/gomega v1.7.0 00:36:42 go: downloading github.com/minio/highwayhash v1.0.2 00:36:42 go: downloading github.com/nats-io/jwt/v2 v2.4.1 00:36:42 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:36:42 go: downloading github.com/fatih/color v1.14.1 00:36:42 go: downloading github.com/hashicorp/go-version v1.2.1 00:36:42 go: downloading github.com/pkg/errors v0.9.1 00:36:42 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 00:36:42 go: downloading google.golang.org/protobuf v1.28.1 00:36:42 go: downloading golang.org/x/tools v0.6.0 00:36:42 go: downloading github.com/armon/go-metrics v0.4.1 00:36:42 go: downloading github.com/hashicorp/go-msgpack v0.5.5 00:36:42 go: downloading github.com/hashicorp/memberlist v0.5.0 00:36:42 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:36:42 go: downloading github.com/golang/protobuf v1.5.2 00:36:42 go: downloading github.com/kr/text v0.2.0 00:36:42 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 00:36:42 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 00:36:42 go: downloading github.com/pascaldekloe/goe v0.1.0 00:36:42 go: downloading github.com/google/btree v1.0.1 00:36:42 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 00:36:43 go: downloading github.com/miekg/dns v1.1.41 00:36:43 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:36:43 go: downloading github.com/hpcloud/tail v1.0.0 00:36:43 go: downloading gopkg.in/yaml.v2 v2.4.0 00:36:43 go: downloading github.com/hashicorp/golang-lru v0.5.4 00:36:43 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:36:43 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:36:43 go: downloading golang.org/x/mod v0.8.0 00:36:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 00:37:02 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:37:02 make -C ./app-service-template test 00:37:02 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:37:02 go test -race -coverprofile=coverage.out ./... 00:37:21 ? app-new-service/config [no test files] 00:37:21 ok app-new-service 0.074s coverage: 45.9% of statements 00:37:21 ok app-new-service/functions 0.064s coverage: 85.3% of statements 00:37:21 go vet ./... 00:37:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:37:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:37:39 ./bin/test-attribution-txt.sh 00:37:39 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:37:39 go test -race -coverprofile=coverage.out ./... 00:37:39 go: downloading github.com/gomodule/redigo v1.8.9 00:37:39 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 00:37:41 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 00:37:41 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 00:37:41 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 00:37:41 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 00:37:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.109s coverage: 65.6% of statements 00:37:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.087s coverage: 92.5% of statements 00:37:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.088s coverage: 85.1% of statements 00:37:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.050s coverage: 100.0% of statements 00:37:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.160s coverage: 77.9% of statements 00:37:43 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 00:37:43 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 00:37:43 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.047s coverage: 97.3% of statements 00:37:43 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.079s coverage: 82.8% of statements 00:37:43 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 00:37:43 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.074s coverage: 65.6% of statements 00:37:43 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 00:37:43 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.072s coverage: 28.7% of statements 00:37:44 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 00:37:44 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:37:44 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.066s coverage: 17.2% of statements 00:37:44 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.064s coverage: 27.3% of statements 00:37:44 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.096s coverage: 52.8% of statements 00:38:10 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.125s coverage: 75.3% of statements 00:38:10 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.052s coverage: 94.4% of statements 00:38:10 go vet ./... 00:38:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:38:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 00:38:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:38:19 $ docker stop --time=1 cc1f4071b7b4a23564dc3c874ad2cc0e8be70377cdfad65c0dbad5d138687b32 00:38:20 $ docker rm -f --volumes cc1f4071b7b4a23564dc3c874ad2cc0e8be70377cdfad65c0dbad5d138687b32 [Pipeline] // withDockerContainer [Pipeline] sh 00:38:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:38:21 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 00:38:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:38:22 00:38:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:38:22 latest: Pulling from edgex-lftools-log-publisher 00:38:22 5eb5b503b376: Pulling fs layer 00:38:22 5c69ac0246d0: Pulling fs layer 00:38:22 ec43610c2a17: Pulling fs layer 00:38:22 3a2ae6a8a46f: Pulling fs layer 00:38:22 33b1e0a273af: Pulling fs layer 00:38:22 5d3b04190fa2: Pulling fs layer 00:38:22 2f39f015ded8: Pulling fs layer 00:38:22 33b1e0a273af: Waiting 00:38:22 5d3b04190fa2: Waiting 00:38:22 3a2ae6a8a46f: Waiting 00:38:22 2f39f015ded8: Waiting 00:38:22 5c69ac0246d0: Verifying Checksum 00:38:22 5c69ac0246d0: Download complete 00:38:22 3a2ae6a8a46f: Download complete 00:38:23 33b1e0a273af: Verifying Checksum 00:38:23 33b1e0a273af: Download complete 00:38:23 5d3b04190fa2: Verifying Checksum 00:38:23 5d3b04190fa2: Download complete 00:38:23 ec43610c2a17: Verifying Checksum 00:38:23 ec43610c2a17: Download complete 00:38:23 5eb5b503b376: Verifying Checksum 00:38:23 5eb5b503b376: Download complete 00:38:23 2f39f015ded8: Download complete 00:38:24 5eb5b503b376: Pull complete 00:38:24 5c69ac0246d0: Pull complete 00:38:25 ec43610c2a17: Pull complete 00:38:25 3a2ae6a8a46f: Pull complete 00:38:25 33b1e0a273af: Pull complete 00:38:25 5d3b04190fa2: Pull complete 00:38:29 2f39f015ded8: Pull complete 00:38:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:38:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:38:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:29 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:38:29 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:38:33 $ docker top 14cba83c37479844a8957fb7613d15be855efd62d0f7e5bc140c3400bc746962 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:38:33 ---> job-cost.sh 00:38:33 lf-activate-venv: SKIPPING 00:38:33 INFO: No Stack... 00:38:33 INFO: Retrieving Pricing Info for: v3-standard-8 00:38:34 INFO: Archiving Costs [Pipeline] sh 00:38:34 + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 00:38:34 + cut -d, -f6 [Pipeline] lock 00:38:34 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-286-stack-cost] 00:38:34 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-286-stack-cost] did not exist. Created. 00:38:34 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-286-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:38:34 + echo total: 0.2199999988079071 [Pipeline] stash 00:38:34 Stashed 1 file(s) [Pipeline] } 00:38:34 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-286-stack-cost] [Pipeline] // lock [Pipeline] } 00:38:34 $ docker stop --time=1 14cba83c37479844a8957fb7613d15be855efd62d0f7e5bc140c3400bc746962 00:38:36 $ docker rm -f --volumes 14cba83c37479844a8957fb7613d15be855efd62d0f7e5bc140c3400bc746962 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:40:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4844 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 00:40:07 Running in /w/workspace/app-functions-sdk-go/286 [Pipeline] { [Pipeline] checkout 00:40:07 The recommended git tool is: git 00:40:12 using credential edgex-jenkins-ssh 00:40:12 Cloning the remote Git repository 00:40:12 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:40:12 > git init /w/workspace/app-functions-sdk-go/286 # timeout=10 00:40:12 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:40:12 > git --version # timeout=10 00:40:12 > git --version # 'git version 2.25.1' 00:40:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:40:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:40:18 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:40:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:40:19 Avoid second fetch 00:40:19 Checking out Revision 33d44429a9498c15e578a0be58f0c4871add9a92 (main) 00:40:20 Commit message: "feat: Change AddCustomRoute to use Echo handler signature (#1469)" 00:40:19 > git config core.sparsecheckout # timeout=10 00:40:19 > git checkout -f 33d44429a9498c15e578a0be58f0c4871add9a92 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:40:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:40:21 % Total % Received % Xferd Average Speed Time Time Time Current 00:40:21 Dload Upload Total Spent Left Speed 00:40:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 80401 0 --:--:-- --:--:-- --:--:-- 79818 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 00:40:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:40:21 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 00:40:21 00:40:21 { 00:40:21 "registry-mirrors": [ 00:40:21 "https://nexus3.edgexfoundry.org:10001" 00:40:21 ], 00:40:21 "bip": "10.250.0.254/24", 00:40:21 "hosts": [ 00:40:21 "tcp://0.0.0.0:5555", 00:40:21 "unix:///var/run/docker.sock" 00:40:21 ], 00:40:21 "mtu": 1458, 00:40:21 "selinux-enabled": true, 00:40:21 "seccomp-profile": "/etc/docker/seccomp.json" 00:40:21 } [Pipeline] sh 00:40:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:40:22 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:40:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:40:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:40:41 ========================================================= 00:40:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:40:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:40:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:40:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:40:42 edb6bdbacee9: Pulling fs layer 00:40:42 5f9638ab2659: Pulling fs layer 00:40:42 8d51d6327a98: Pulling fs layer 00:40:42 8b374f2dd631: Pulling fs layer 00:40:42 ec14aa9079de: Pulling fs layer 00:40:42 2f466654f4bb: Pulling fs layer 00:40:42 554e91adad29: Pulling fs layer 00:40:42 ec14aa9079de: Waiting 00:40:42 2f466654f4bb: Waiting 00:40:42 554e91adad29: Waiting 00:40:42 8b374f2dd631: Waiting 00:40:42 5f9638ab2659: Verifying Checksum 00:40:42 5f9638ab2659: Download complete 00:40:42 8b374f2dd631: Verifying Checksum 00:40:42 8b374f2dd631: Download complete 00:40:42 ec14aa9079de: Verifying Checksum 00:40:42 ec14aa9079de: Download complete 00:40:42 edb6bdbacee9: Download complete 00:40:42 edb6bdbacee9: Pull complete 00:40:43 554e91adad29: Verifying Checksum 00:40:43 554e91adad29: Download complete 00:40:44 2f466654f4bb: Verifying Checksum 00:40:44 2f466654f4bb: Download complete 00:40:44 8d51d6327a98: Verifying Checksum 00:40:44 8d51d6327a98: Download complete 00:40:45 5f9638ab2659: Pull complete 00:40:57 8d51d6327a98: Pull complete 00:40:57 8b374f2dd631: Pull complete 00:40:57 ec14aa9079de: Pull complete 00:41:02 2f466654f4bb: Pull complete 00:41:04 554e91adad29: Pull complete 00:41:04 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:41:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:41:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 00:41:05 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:05 + docker inspect -f . ci-base-image-arm64 00:41:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:41:05 prd-ubuntu20.04-docker-arm64-4c-16g-4844 does not seem to be running inside a container 00:41:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/286 -v /w/workspace/app-functions-sdk-go/286:/w/workspace/app-functions-sdk-go/286:rw,z -v /w/workspace/app-functions-sdk-go/286@tmp:/w/workspace/app-functions-sdk-go/286@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:41:08 $ docker top 27a589205e61298f46f348e8aa0d212ba72e68b1e5154762e83ac9ed209da52d -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:09 + go version 00:41:09 go version go1.20.6 linux/arm64 [Pipeline] } 00:41:09 $ docker stop --time=1 27a589205e61298f46f348e8aa0d212ba72e68b1e5154762e83ac9ed209da52d 00:41:11 $ docker rm -f --volumes 27a589205e61298f46f348e8aa0d212ba72e68b1e5154762e83ac9ed209da52d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:12 + docker inspect -f . ci-base-image-arm64 00:41:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:41:12 prd-ubuntu20.04-docker-arm64-4c-16g-4844 does not seem to be running inside a container 00:41:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-functions-sdk-go/286 -v /w/workspace/app-functions-sdk-go/286:/w/workspace/app-functions-sdk-go/286:rw,z -v /w/workspace/app-functions-sdk-go/286@tmp:/w/workspace/app-functions-sdk-go/286@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:41:13 $ docker top 249de6c31d304e1d7f1a3ac5fe7bceb4b0826da5e7604d73cdf539fa3c4e6e4a -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:14 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/286 [Pipeline] fileExists [Pipeline] sh 00:41:14 + make test 00:41:14 make -C ./app-service-template build 00:41:14 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/286/app-service-template' 00:41:14 go mod tidy 00:41:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.8 00:41:14 go: downloading github.com/labstack/echo/v4 v4.11.1 00:41:14 go: downloading github.com/stretchr/testify v1.8.4 00:41:15 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:41:15 go: downloading github.com/google/uuid v1.3.1 00:41:15 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.1.0-dev.27 00:41:15 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.5 00:41:15 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.16 00:41:15 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.3.0 00:41:15 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 00:41:15 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 00:41:15 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 00:41:15 go: downloading gopkg.in/yaml.v3 v3.0.1 00:41:15 go: downloading github.com/stretchr/objx v0.5.0 00:41:15 go: downloading github.com/labstack/gommon v0.4.0 00:41:15 go: downloading golang.org/x/crypto v0.11.0 00:41:15 go: downloading golang.org/x/net v0.13.0 00:41:16 go: downloading github.com/go-kit/log v0.2.1 00:41:16 go: downloading github.com/fxamacker/cbor/v2 v2.5.0 00:41:16 go: downloading github.com/go-playground/validator/v10 v10.15.1 00:41:16 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:41:16 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.5 00:41:17 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.6 00:41:17 go: downloading github.com/mitchellh/copystructure v1.2.0 00:41:17 go: downloading github.com/gorilla/websocket v1.5.0 00:41:17 go: downloading golang.org/x/sync v0.2.0 00:41:17 go: downloading github.com/mattn/go-colorable v0.1.13 00:41:17 go: downloading github.com/mattn/go-isatty v0.0.19 00:41:17 go: downloading github.com/valyala/fasttemplate v1.2.2 00:41:17 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:41:17 go: downloading github.com/x448/float16 v0.8.4 00:41:17 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:41:17 go: downloading github.com/hashicorp/errwrap v1.1.0 00:41:17 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 00:41:17 go: downloading github.com/go-playground/universal-translator v0.18.1 00:41:17 go: downloading github.com/leodido/go-urn v1.2.4 00:41:17 go: downloading golang.org/x/text v0.11.0 00:41:17 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:41:17 go: downloading github.com/go-playground/assert/v2 v2.2.0 00:41:17 go: downloading github.com/go-playground/locales v0.14.1 00:41:22 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 00:41:22 go: downloading github.com/hashicorp/consul/api v1.24.0 00:41:22 go: downloading github.com/mitchellh/reflectwalk v1.0.2 00:41:22 go: downloading golang.org/x/sys v0.10.0 00:41:22 go: downloading github.com/valyala/bytebufferpool v1.0.0 00:41:22 go: downloading github.com/mitchellh/mapstructure v1.5.0 00:41:22 go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible 00:41:22 go: downloading golang.org/x/time v0.3.0 00:41:22 go: downloading github.com/kr/pretty v0.1.0 00:41:22 go: downloading github.com/nats-io/nats.go v1.28.0 00:41:22 go: downloading github.com/nats-io/nats-server/v2 v2.9.21 00:41:22 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:41:22 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:41:22 go: downloading github.com/Microsoft/go-winio v0.6.0 00:41:22 go: downloading github.com/zeebo/errs v1.3.0 00:41:22 go: downloading google.golang.org/grpc v1.53.0 00:41:23 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 00:41:23 go: downloading github.com/hashicorp/go-hclog v1.5.0 00:41:23 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:41:23 go: downloading github.com/hashicorp/serf v0.10.1 00:41:23 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 00:41:23 go: downloading github.com/google/go-cmp v0.5.9 00:41:24 go: downloading github.com/hashicorp/consul/sdk v0.14.1 00:41:25 go: downloading github.com/hashicorp/go-uuid v1.0.3 00:41:25 go: downloading github.com/kr/text v0.2.0 00:41:25 go: downloading github.com/klauspost/compress v1.16.7 00:41:25 go: downloading github.com/nats-io/nkeys v0.4.4 00:41:25 go: downloading github.com/nats-io/nuid v1.0.1 00:41:25 go: downloading github.com/onsi/ginkgo v1.10.1 00:41:25 go: downloading github.com/onsi/gomega v1.7.0 00:41:25 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:41:25 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 00:41:26 go: downloading golang.org/x/tools v0.6.0 00:41:26 go: downloading google.golang.org/protobuf v1.28.1 00:41:27 go: downloading github.com/minio/highwayhash v1.0.2 00:41:27 go: downloading github.com/nats-io/jwt/v2 v2.4.1 00:41:27 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 00:41:30 go: downloading github.com/golang/protobuf v1.5.2 00:41:30 go: downloading github.com/fatih/color v1.14.1 00:41:30 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:41:30 go: downloading github.com/hashicorp/go-version v1.2.1 00:41:30 go: downloading github.com/pkg/errors v0.9.1 00:41:30 go: downloading github.com/armon/go-metrics v0.4.1 00:41:30 go: downloading github.com/hashicorp/go-msgpack v0.5.5 00:41:30 go: downloading github.com/hashicorp/memberlist v0.5.0 00:41:30 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 00:41:30 go: downloading github.com/pascaldekloe/goe v0.1.0 00:41:30 go: downloading github.com/google/btree v1.0.1 00:41:30 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 00:41:30 go: downloading github.com/miekg/dns v1.1.41 00:41:30 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:41:30 go: downloading gopkg.in/yaml.v2 v2.4.0 00:41:30 go: downloading github.com/hpcloud/tail v1.0.0 00:41:31 go: downloading github.com/hashicorp/golang-lru v0.5.4 00:41:31 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:41:31 go: downloading golang.org/x/mod v0.8.0 00:41:31 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:41:31 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-new-service 00:43:38 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/286/app-service-template' 00:43:38 make -C ./app-service-template test 00:43:38 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/286/app-service-template' 00:43:38 go test -race -coverprofile=coverage.out ./... 00:46:29 ? app-new-service/config [no test files] 00:46:29 ok app-new-service 0.285s coverage: 45.9% of statements 00:46:29 ok app-new-service/functions 0.289s coverage: 85.3% of statements 00:46:29 go vet ./... 00:48:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:48:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:48:51 ./bin/test-attribution-txt.sh 00:48:51 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/286/app-service-template' 00:48:51 go test -race -coverprofile=coverage.out ./... 00:48:51 go: downloading github.com/gomodule/redigo v1.8.9 00:48:53 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 00:49:11 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 00:49:11 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 00:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.640s coverage: 65.6% of statements 00:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.331s coverage: 92.5% of statements 00:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.398s coverage: 85.1% of statements 00:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.118s coverage: 100.0% of statements 00:49:16 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 00:49:16 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 00:49:16 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 00:49:17 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.674s coverage: 77.9% of statements 00:49:17 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.265s coverage: 97.3% of statements 00:49:22 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 00:49:22 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 00:49:22 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.286s coverage: 82.8% of statements 00:49:22 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.348s coverage: 65.6% of statements 00:49:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 00:49:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.327s coverage: 28.7% of statements 00:49:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.338s coverage: 17.2% of statements 00:49:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 00:49:27 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:49:27 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.262s coverage: 27.3% of statements 00:49:33 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.350s coverage: 52.8% of statements 00:50:05 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.751s coverage: 75.3% of statements 00:50:05 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.194s coverage: 94.4% of statements 00:50:05 go vet ./... 00:50:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:50:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:50:09 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 00:50:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:50:09 $ docker stop --time=1 249de6c31d304e1d7f1a3ac5fe7bceb4b0826da5e7604d73cdf539fa3c4e6e4a 00:50:13 $ docker rm -f --volumes 249de6c31d304e1d7f1a3ac5fe7bceb4b0826da5e7604d73cdf539fa3c4e6e4a [Pipeline] // withDockerContainer [Pipeline] sh 00:50:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:50:18 Warning: overwriting stash ‘coverage-report’ 00:50:19 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 00:50:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:50:19 00:50:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:50:19 arm64: Pulling from edgex-lftools-log-publisher 00:50:19 8998bd30e6a1: Pulling fs layer 00:50:19 04944245beec: Pulling fs layer 00:50:19 699f458cf7ca: Pulling fs layer 00:50:19 765212b225bb: Pulling fs layer 00:50:19 f23df028b6ca: Pulling fs layer 00:50:19 d65c8cfc05b1: Pulling fs layer 00:50:19 2437ff75d9bd: Pulling fs layer 00:50:19 765212b225bb: Waiting 00:50:19 f23df028b6ca: Waiting 00:50:19 d65c8cfc05b1: Waiting 00:50:19 2437ff75d9bd: Waiting 00:50:20 04944245beec: Verifying Checksum 00:50:20 04944245beec: Download complete 00:50:20 765212b225bb: Verifying Checksum 00:50:20 765212b225bb: Download complete 00:50:20 f23df028b6ca: Verifying Checksum 00:50:20 f23df028b6ca: Download complete 00:50:20 d65c8cfc05b1: Verifying Checksum 00:50:20 d65c8cfc05b1: Download complete 00:50:20 699f458cf7ca: Verifying Checksum 00:50:20 699f458cf7ca: Download complete 00:50:20 8998bd30e6a1: Verifying Checksum 00:50:20 8998bd30e6a1: Download complete 00:50:22 2437ff75d9bd: Verifying Checksum 00:50:22 2437ff75d9bd: Download complete 00:50:24 8998bd30e6a1: Pull complete 00:50:24 04944245beec: Pull complete 00:50:27 699f458cf7ca: Pull complete 00:50:28 765212b225bb: Pull complete 00:50:28 f23df028b6ca: Pull complete 00:50:29 d65c8cfc05b1: Pull complete 00:50:41 2437ff75d9bd: Pull complete 00:50:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:50:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:50:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:41 prd-ubuntu20.04-docker-arm64-4c-16g-4844 does not seem to be running inside a container 00:50:41 $ 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/286 -v /w/workspace/app-functions-sdk-go/286:/w/workspace/app-functions-sdk-go/286:rw,z -v /w/workspace/app-functions-sdk-go/286@tmp:/w/workspace/app-functions-sdk-go/286@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:50:44 $ docker top 651c91352025e0edba051e061e69ef95751a0188dfc653629772e32b4ddcade4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:45 ---> job-cost.sh 00:50:45 lf-activate-venv: SKIPPING 00:50:45 INFO: No Stack... 00:50:45 INFO: Retrieving Pricing Info for: v3-standard-4 00:50:46 INFO: Archiving Costs [Pipeline] sh 00:50:46 + + cat /w/workspace/app-functions-sdk-go/286/archives/cost.csvcut 00:50:46 -d, -f6 [Pipeline] lock 00:50:46 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-286-stack-cost] 00:50:46 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-286-stack-cost] did not exist. Created. 00:50:46 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-286-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:50:47 /w/workspace/app-functions-sdk-go/286@tmp/durable-b73750c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:50:47 + echo total: 0.10999999940395355 [Pipeline] stash 00:50:47 Warning: overwriting stash ‘stack-cost’ 00:50:47 Stashed 1 file(s) [Pipeline] } 00:50:47 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-286-stack-cost] [Pipeline] // lock [Pipeline] } 00:50:47 $ docker stop --time=1 651c91352025e0edba051e061e69ef95751a0188dfc653629772e32b4ddcade4 00:50:48 $ docker rm -f --volumes 651c91352025e0edba051e061e69ef95751a0188dfc653629772e32b4ddcade4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:50:49 provisioning config files... 00:50:49 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config320946617285014565tmp [Pipeline] { [Pipeline] sh 00:50:49 + set +x 00:50:49 + + curl -sbash https://codecov.io/bash -s 00:50:49 -- 00:50:49 00:50:49 _____ _ 00:50:49 / ____| | | 00:50:49 | | ___ __| | ___ ___ _____ __ 00:50:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:50:49 | |___| (_) | (_| | __/ (_| (_) \ V / 00:50:49 \_____\___/ \__,_|\___|\___\___/ \_/ 00:50:49 Bash-1.0.6 00:50:49 00:50:49 00:50:49 ==> git version 2.25.1 found 00:50:49 ==> 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 00:50:49 Release-Date: 2020-01-08 00:50:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:50:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:50:49 ==> Jenkins CI detected. 00:50:49 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 00:50:49 project root: . 00:50:49 --> token set from env 00:50:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:50:49 ==> Running gcov in . (disable via -X gcov) 00:50:49 ==> Python coveragepy not found 00:50:49 ==> Searching for coverage reports in: 00:50:49 + . 00:50:49 -> Found 2 reports 00:50:49 ==> Detecting git/mercurial file structure 00:50:49 ==> Reading reports 00:50:49 + ./app-service-template/coverage.out bytes=3558 00:50:49 + ./coverage.out bytes=118304 00:50:49 ==> Appending adjustments 00:50:49 https://docs.codecov.io/docs/fixing-reports 00:50:50 + Found adjustments 00:50:50 ==> Gzipping contents 00:50:50 24K /tmp/codecov.P4hEOq.gz 00:50:50 ==> Uploading reports 00:50:50 url: https://codecov.io 00:50:50 query: branch=main&commit=33d44429a9498c15e578a0be58f0c4871add9a92&build=286&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F286%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:50:50 -> Pinging Codecov 00:50:50 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=33d44429a9498c15e578a0be58f0c4871add9a92&build=286&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F286%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:50:50 -> Uploading to 00:50:50 https://storage.googleapis.com/codecov/v4/raw/2023-08-30/3D8B5DFFC46A037C893635FACE044666/33d44429a9498c15e578a0be58f0c4871add9a92/282c587b-4e94-47a9-be03-e2f5e87c81fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T005050Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0ffceaeccf0008b3b788b2284a37f088866c5172eb8bd76b966e600029bb6c0e 00:50:50 % Total % Received % Xferd Average Speed Time Time Time Current 00:50:50 Dload Upload Total Spent Left Speed 00:50:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20776 0 0 100 20776 0 102k --:--:-- --:--:-- --:--:-- 102k 00:50:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/33d44429a9498c15e578a0be58f0c4871add9a92 [Pipeline] } 00:50:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:50:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:50:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:50:51 00:50:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:50:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:50:51 df9b9388f04a: Pulling fs layer 00:50:51 52dc419b0ee2: Pulling fs layer 00:50:51 25bc292e5bac: Pulling fs layer 00:50:51 114826534d7a: Pulling fs layer 00:50:51 4657fd5d0bcf: Pulling fs layer 00:50:51 6ad1cebc031e: Pulling fs layer 00:50:51 8a3aa393b2d8: Pulling fs layer 00:50:51 6ad1cebc031e: Waiting 00:50:51 114826534d7a: Waiting 00:50:51 4657fd5d0bcf: Waiting 00:50:51 8a3aa393b2d8: Waiting 00:50:51 25bc292e5bac: Verifying Checksum 00:50:51 25bc292e5bac: Download complete 00:50:51 52dc419b0ee2: Verifying Checksum 00:50:51 52dc419b0ee2: Download complete 00:50:51 4657fd5d0bcf: Verifying Checksum 00:50:51 4657fd5d0bcf: Download complete 00:50:51 df9b9388f04a: Download complete 00:50:51 6ad1cebc031e: Verifying Checksum 00:50:51 6ad1cebc031e: Download complete 00:50:51 df9b9388f04a: Pull complete 00:50:52 52dc419b0ee2: Pull complete 00:50:52 25bc292e5bac: Pull complete 00:50:52 114826534d7a: Download complete 00:50:52 8a3aa393b2d8: Verifying Checksum 00:50:52 8a3aa393b2d8: Download complete 00:50:55 114826534d7a: Pull complete 00:50:55 4657fd5d0bcf: Pull complete 00:50:55 6ad1cebc031e: Pull complete 00:50:58 8a3aa393b2d8: Pull complete 00:50:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:50:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:50:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:58 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:50:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:51:00 $ docker top f256c2252bb7a4156d7fd01ff3f8093c4d88348d1cce8f182e089e5c42a828f4 -eo pid,comm [Pipeline] { [Pipeline] echo 00:51:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 00:51:00 + set -o pipefail 00:51:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 00:51:06 00:51:06 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v3)... 00:51:06 00:51:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/43e9492b-ba3a-497c-9731-32b7c8a03a1b 00:51:06 00:51:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:51:06 00:51:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:51:06 00:51:06 00:51:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:51:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:51:06 More details here: https://snyk.co/ue1NS [Pipeline] } 00:51:06 $ docker stop --time=1 f256c2252bb7a4156d7fd01ff3f8093c4d88348d1cce8f182e089e5c42a828f4 00:51:08 $ docker rm -f --volumes f256c2252bb7a4156d7fd01ff3f8093c4d88348d1cce8f182e089e5c42a828f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 00:51:08 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:51:08 provisioning config files... 00:51:08 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config10292733689931821673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:51:08 --> edgex-publish-swagger.sh 00:51:08 === Publish openapi/v3 API === 00:51:08 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 00:51:08 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v3/app-functions-sdk.yaml] 00:51:08 % Total % Received % Xferd Average Speed Time Time Time Current 00:51:08 Dload Upload Total Spent Left Speed 00:51:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11420 0 0 100 11420 0 27921 --:--:-- --:--:-- --:--:-- 27921 00:51:09 00:51:09 [Pipeline] } 00:51:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:51:09 + git log --format=format:%s -1 33d44429a9498c15e578a0be58f0c4871add9a92 [Pipeline] sh 00:51:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:51:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:51:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:10 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:51:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:51:10 $ docker top 93669cb1e1d0d191657cc22b07fa1e495143acc7162512b6eaf6d4052632c9ca -eo pid,comm 00:51:10 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). 00:51:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:51:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:10 [ssh-agent] Looking for ssh-agent implementation... 00:51:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:10 $ docker exec 93669cb1e1d0d191657cc22b07fa1e495143acc7162512b6eaf6d4052632c9ca ssh-agent 00:51:10 SSH_AUTH_SOCK=/tmp/ssh-BLKCmOL4nQ0i/agent.33 00:51:10 SSH_AGENT_PID=39 00:51:10 Running ssh-add (command line suppressed) 00:51:11 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_15074163054473517351.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_15074163054473517351.key) 00:51:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:11 + git semver tag 00:51:11 2023-08-30 00:51:11,548 [run_tag] DEBUG tag force:False 00:51:11 2023-08-30 00:51:11,548 [check_head_tag] DEBUG check head tag 00:51:11 2023-08-30 00:51:11,549 [execute] INFO git cat-file --batch-check 00:51:11 2023-08-30 00:51:11,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:51:11 2023-08-30 00:51:11,553 [execute] INFO git cat-file --batch 00:51:11 2023-08-30 00:51:11,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:51:11 2023-08-30 00:51:11,569 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:51:11 2023-08-30 00:51:11,569 [execute] INFO git tag -a v3.1.0-dev.23 -m v3.1.0-dev.23 00:51:11 2023-08-30 00:51:11,569 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.23', '-m', 'v3.1.0-dev.23'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:51:11 2023-08-30 00:51:11,574 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:51:11 3.1.0-dev.23 [Pipeline] } 00:51:11 $ docker exec --env ******** --env ******** 93669cb1e1d0d191657cc22b07fa1e495143acc7162512b6eaf6d4052632c9ca ssh-agent -k 00:51:11 unset SSH_AUTH_SOCK; 00:51:11 unset SSH_AGENT_PID; 00:51:11 echo Agent pid 39 killed; 00:51:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:51:12 + git semver [Pipeline] } 00:51:12 $ docker stop --time=1 93669cb1e1d0d191657cc22b07fa1e495143acc7162512b6eaf6d4052632c9ca 00:51:13 $ docker rm -f --volumes 93669cb1e1d0d191657cc22b07fa1e495143acc7162512b6eaf6d4052632c9ca [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:51:13 00:51:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:51:14 0.23.1-centos7: Pulling from edgex-lftools 00:51:14 ab5ef0e58194: Pulling fs layer 00:51:14 9712f1f96733: Pulling fs layer 00:51:14 63f879dbbcfc: Pulling fs layer 00:51:14 0d9ebad4ef96: Pulling fs layer 00:51:14 e9a5061849ea: Pulling fs layer 00:51:14 d747dcd14b5f: Pulling fs layer 00:51:14 2de7ff778b66: Pulling fs layer 00:51:14 e9a5061849ea: Waiting 00:51:14 d747dcd14b5f: Waiting 00:51:14 0d9ebad4ef96: Waiting 00:51:14 2de7ff778b66: Waiting 00:51:14 9712f1f96733: Download complete 00:51:14 63f879dbbcfc: Verifying Checksum 00:51:14 63f879dbbcfc: Download complete 00:51:14 e9a5061849ea: Verifying Checksum 00:51:14 e9a5061849ea: Download complete 00:51:14 0d9ebad4ef96: Verifying Checksum 00:51:14 0d9ebad4ef96: Download complete 00:51:14 d747dcd14b5f: Download complete 00:51:14 ab5ef0e58194: Download complete 00:51:15 2de7ff778b66: Verifying Checksum 00:51:15 2de7ff778b66: Download complete 00:51:17 ab5ef0e58194: Pull complete 00:51:17 9712f1f96733: Pull complete 00:51:17 63f879dbbcfc: Pull complete 00:51:22 0d9ebad4ef96: Pull complete 00:51:22 e9a5061849ea: Pull complete 00:51:22 d747dcd14b5f: Pull complete 00:51:22 2de7ff778b66: Pull complete 00:51:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:51:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:51:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:22 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:51:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:51:25 $ docker top d896884907b97ea5613d89c48d2e4db314cd59aa2698d08fb439a9a6b454527b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:51:25 provisioning config files... 00:51:25 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7715709459739788480tmp 00:51:25 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3807112381880553865tmp 00:51:25 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config11068776683945956430tmp [Pipeline] { [Pipeline] echo 00:51:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:51:26 ---> sigul-configuration.sh 00:51:26 gpg: directory `/root/.gnupg' created 00:51:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:51:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:51:26 gpg: keyring `/root/.gnupg/secring.gpg' created 00:51:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:51:26 gpg: CAST5 encrypted data 00:51:26 gpg: encrypted with 1 passphrase 00:51:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:51:26 + mkdir /home/jenkins 00:51:26 + mkdir /home/jenkins/sigul [Pipeline] sh 00:51:26 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:51:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:51:26 ---> sigul-install.sh 00:51:26 Sigul already installed; skipping installation. [Pipeline] sh 00:51:27 + git tag --list 00:51:27 v0.1.0 00:51:27 v0.1.1 00:51:27 v1.0.0 00:51:27 v1.1.0 00:51:27 v1.2.0 00:51:27 v1.3.0 00:51:27 v1.3.1 00:51:27 v2.0.0 00:51:27 v2.0.1 00:51:27 v2.1.0 00:51:27 v2.1.1 00:51:27 v2.1.2 00:51:27 v2.2.0 00:51:27 v2.3 00:51:27 v2.3.0 00:51:27 v2.3.1 00:51:27 v3.0 00:51:27 v3.0.0 00:51:27 v3.0.1 00:51:27 v3.0.1-dev.1 00:51:27 v3.0.1-dev.2 00:51:27 v3.1.0-dev.1 00:51:27 v3.1.0-dev.10 00:51:27 v3.1.0-dev.11 00:51:27 v3.1.0-dev.12 00:51:27 v3.1.0-dev.13 00:51:27 v3.1.0-dev.14 00:51:27 v3.1.0-dev.15 00:51:27 v3.1.0-dev.16 00:51:27 v3.1.0-dev.17 00:51:27 v3.1.0-dev.18 00:51:27 v3.1.0-dev.19 00:51:27 v3.1.0-dev.2 00:51:27 v3.1.0-dev.20 00:51:27 v3.1.0-dev.21 00:51:27 v3.1.0-dev.22 00:51:27 v3.1.0-dev.23 00:51:27 v3.1.0-dev.3 00:51:27 v3.1.0-dev.4 00:51:27 v3.1.0-dev.5 00:51:27 v3.1.0-dev.6 00:51:27 v3.1.0-dev.7 00:51:27 v3.1.0-dev.8 00:51:27 v3.1.0-dev.9 [Pipeline] sh 00:51:27 + lftools sign git-tag v3.1.0-dev.23 00:51:28 Signing Git tag with Sigul... 00:51:28 Signing v3.1.0-dev.23 [Pipeline] echo 00:51:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:51:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:51:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:51:28 $ docker stop --time=1 d896884907b97ea5613d89c48d2e4db314cd59aa2698d08fb439a9a6b454527b 00:51:29 $ docker rm -f --volumes d896884907b97ea5613d89c48d2e4db314cd59aa2698d08fb439a9a6b454527b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:51:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:51:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:51:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:30 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:51:30 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:51:30 $ docker top 4da7cb7b865415e193e36b2e3265853625dd00f58e2c864ab1ed9f009493b2d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:51:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:31 [ssh-agent] Looking for ssh-agent implementation... 00:51:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:31 $ docker exec 4da7cb7b865415e193e36b2e3265853625dd00f58e2c864ab1ed9f009493b2d6 ssh-agent 00:51:31 SSH_AUTH_SOCK=/tmp/ssh-hRYJsUdXRMkr/agent.33 00:51:31 SSH_AGENT_PID=39 00:51:31 Running ssh-add (command line suppressed) 00:51:31 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_18137978829528897595.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_18137978829528897595.key) 00:51:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:31 + git semver bump pre 00:51:31 2023-08-30 00:51:31,842 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:51:31 2023-08-30 00:51:31,842 [bump_version] DEBUG bumping version:3.1.0-dev.23 on axis:pre with prefix:dev 00:51:31 2023-08-30 00:51:31,842 [bump_version] DEBUG bumped version:3.1.0-dev.24 00:51:31 2023-08-30 00:51:31,842 [write_version] DEBUG write version:3.1.0-dev.24 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 00:51:31 2023-08-30 00:51:31,842 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:51:31 2023-08-30 00:51:31,843 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:51:31 2023-08-30 00:51:31,844 [execute] INFO git cat-file --batch-check 00:51:31 2023-08-30 00:51:31,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:51:31 2023-08-30 00:51:31,849 [execute] INFO git cat-file --batch 00:51:31 2023-08-30 00:51:31,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:51:31 2023-08-30 00:51:31,853 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:51:31 3.1.0-dev.24 [Pipeline] } 00:51:31 $ docker exec --env ******** --env ******** 4da7cb7b865415e193e36b2e3265853625dd00f58e2c864ab1ed9f009493b2d6 ssh-agent -k 00:51:32 unset SSH_AUTH_SOCK; 00:51:32 unset SSH_AGENT_PID; 00:51:32 echo Agent pid 39 killed; 00:51:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:51:32 + git semver [Pipeline] } 00:51:32 $ docker stop --time=1 4da7cb7b865415e193e36b2e3265853625dd00f58e2c864ab1ed9f009493b2d6 00:51:33 $ docker rm -f --volumes 4da7cb7b865415e193e36b2e3265853625dd00f58e2c864ab1ed9f009493b2d6 [Pipeline] // withDockerContainer [Pipeline] sh 00:51:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:51:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:51:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:34 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:51:34 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:51:34 $ docker top 04ddbb87466594f5f0da7ba18279608d9a4d50c94d8e3d61fc5418465e2adc2f -eo pid,comm 00:51:35 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). 00:51:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:51:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:35 [ssh-agent] Looking for ssh-agent implementation... 00:51:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:35 $ docker exec 04ddbb87466594f5f0da7ba18279608d9a4d50c94d8e3d61fc5418465e2adc2f ssh-agent 00:51:35 SSH_AUTH_SOCK=/tmp/ssh-3F09j4KeOXYY/agent.32 00:51:35 SSH_AGENT_PID=38 00:51:35 Running ssh-add (command line suppressed) 00:51:35 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8521615554778948054.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8521615554778948054.key) 00:51:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:35 + git semver push 00:51:35 2023-08-30 00:51:35,869 [run_push] DEBUG push 00:51:35 2023-08-30 00:51:35,870 [execute] INFO git cat-file --batch-check 00:51:35 2023-08-30 00:51:35,870 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:51:35 2023-08-30 00:51:35,874 [execute] INFO git rev-list f9c2be05a597c9f56ce0759bcfedbf64052f6407 -- 00:51:35 2023-08-30 00:51:35,875 [execute] DEBUG Popen(['git', 'rev-list', 'f9c2be05a597c9f56ce0759bcfedbf64052f6407', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:51:35 2023-08-30 00:51:35,891 [execute] INFO git fetch -v origin 00:51:35 2023-08-30 00:51:35,892 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:51:36 2023-08-30 00:51:36,359 [run_push] DEBUG no remote changes detected 00:51:36 2023-08-30 00:51:36,359 [execute] INFO git push origin semver 00:51:36 2023-08-30 00:51:36,360 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:51:37 2023-08-30 00:51:37,437 [run_push] DEBUG push all version tags 00:51:37 2023-08-30 00:51:37,437 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:51:37 2023-08-30 00:51:37,438 [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) 00:51:38 2023-08-30 00:51:38,138 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:51:38 3.1.0-dev.24 [Pipeline] } 00:51:38 $ docker exec --env ******** --env ******** 04ddbb87466594f5f0da7ba18279608d9a4d50c94d8e3d61fc5418465e2adc2f ssh-agent -k 00:51:38 unset SSH_AUTH_SOCK; 00:51:38 unset SSH_AGENT_PID; 00:51:38 echo Agent pid 38 killed; 00:51:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:51:38 + git semver [Pipeline] } 00:51:39 $ docker stop --time=1 04ddbb87466594f5f0da7ba18279608d9a4d50c94d8e3d61fc5418465e2adc2f 00:51:40 $ docker rm -f --volumes 04ddbb87466594f5f0da7ba18279608d9a4d50c94d8e3d61fc5418465e2adc2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:51:40 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 00:51:40 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 00:51:40 total 16 00:51:40 drwxr-xr-x 3 root root 4096 Aug 30 00:38 . 00:51:40 drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 00:51 .. 00:51:40 drwxr-xr-x 2 root root 4096 Aug 30 00:38 cost 00:51:40 -rw-r--r-- 1 root root 92 Aug 30 00:38 cost.csv 00:51:40 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 00:51:40 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 00:51:40 total 16 00:51:40 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 00:38 . 00:51:40 drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 00:51 .. 00:51:40 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 00:38 cost 00:51:40 -rw-r--r-- 1 jenkins jenkins 92 Aug 30 00:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:51:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:51:42 ---> package-listing.sh 00:51:42 ++ facter osfamily 00:51:42 ++ tr '[:upper:]' '[:lower:]' 00:51:42 + OS_FAMILY=debian 00:51:42 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 00:51:42 + START_PACKAGES=/tmp/packages_start.txt 00:51:42 + END_PACKAGES=/tmp/packages_end.txt 00:51:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:51:42 + PACKAGES=/tmp/packages_start.txt 00:51:42 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 00:51:42 + PACKAGES=/tmp/packages_end.txt 00:51:42 + case "${OS_FAMILY}" in 00:51:42 + dpkg -l 00:51:42 + grep '^ii' 00:51:42 + '[' -f /tmp/packages_start.txt ']' 00:51:42 + '[' -f /tmp/packages_end.txt ']' 00:51:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:51:42 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 00:51:42 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 00:51:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo 00:51:42 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 00:51:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:51:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:43 prd-ubuntu20.04-docker-8c-8g-4843 does not seem to be running inside a container 00:51:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:51:43 $ docker top 65daf6abcfb38310b45f426639d43e54b17ed67c89c52bbe55873d3d6b07eaea -eo pid,comm [Pipeline] { [Pipeline] sh 00:51:43 + touch /tmp/pre-build-complete [Pipeline] sh 00:51:44 + mkdir -p /var/log/sysstat [Pipeline] sh 00:51:44 + ls /var/log/sa-host 00:51:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:51:44 provisioning config files... 00:51:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4474174746466438781tmp [Pipeline] { [Pipeline] echo 00:51:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:51:44 ---> create-netrc.sh [Pipeline] } 00:51:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:51:45 ---> python-tools-install.sh [Pipeline] echo 00:51:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:51:45 ---> sudo-logs.sh 00:51:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:51:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:51:45 ---> job-cost.sh 00:51:45 lf-activate-venv: SKIPPING 00:51:45 DEBUG: total: 0.2199999988079071 00:51:45 INFO: Retrieving Stack Cost... 00:51:46 INFO: Retrieving Pricing Info for: v3-standard-8 00:51:46 INFO: Archiving Costs [Pipeline] echo 00:51:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:51:47 ---> logs-deploy.sh 00:51:47 lf-activate-venv: SKIPPING 00:51:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/286 00:51:47 INFO: archiving workspace using pattern(s): 00:51:48 Archives upload complete. 00:51:48 INFO: archiving logs to Nexus