Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad 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-ssh6751136638597460659.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9108259662237598351.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9540059059984873745.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh13615806447655205195.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-ssh15877085735595371016.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-95 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 > 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 Avoid second fetch Checking out Revision 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad (main) Commit message: "Merge pull request #1431 from lenny-intel/app-ctx" > git config core.sparsecheckout # timeout=10 > git checkout -f 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad # timeout=10 > git rev-list --no-walk 34e8d8f56fcfbe03d5009e32e986b9ce84575f3f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:47:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:47:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:47:11 ========================================================= 00:47:11 EdgeX Global Pipelines Version Info 00:47:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:47:12 ------------------- 00:47:12 stable info: 00:47:12 ------------------- 00:47:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:47:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:47:12 Message: update stable to v1.0.250 00:47:13 ------------------- 00:47:13 experimental info: 00:47:13 ------------------- 00:47:13 Commited By: **** collab-it+edgex@linuxfoundation.org 00:47:13 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:47:13 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ed1430 [Pipeline] echo 00:47:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:47:14 + git rev-list -1 --merges 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad~1..5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad [Pipeline] echo 00:47:14 -----------> git rev-list -1 --merges 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad~1..5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad 00:47:14 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad [false] [Pipeline] sh 00:47:14 + git log --format=format:%s -1 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad [Pipeline] echo 00:47:14 ========================================================= 00:47:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:47:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:47:14 + git log --format=format:%s -1 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad [Pipeline] echo 00:47:14 [semverPrep] GIT_COMMIT: 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad, Commit Message: Merge pull request #1431 from lenny-intel/app-ctx [Pipeline] echo 00:47:14 [semverPrep] This is not a build commit. [Pipeline] sh 00:47:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:47:15 + grep -v github /etc/ssh/ssh_known_hosts 00:47:15 + [ -e /tmp/ssh_known_hosts ] 00:47:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:47:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:47:15 + sudo tee -a /etc/ssh/ssh_known_hosts 00:47:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:47:16 00:47:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:47:16 0.1.4: Pulling from edgex-devops/py-git-semver 00:47:16 b85a868b505f: Pulling fs layer 00:47:16 e2be974225ed: Pulling fs layer 00:47:16 339a4e72a1f5: Pulling fs layer 00:47:16 988bab9f4d93: Pulling fs layer 00:47:16 1469e6f7b9e6: Pulling fs layer 00:47:16 eaf3925da568: Pulling fs layer 00:47:16 bab4dde63d76: Pulling fs layer 00:47:16 988bab9f4d93: Waiting 00:47:16 1469e6f7b9e6: Waiting 00:47:16 eaf3925da568: Waiting 00:47:16 bde34c3a00c8: Pulling fs layer 00:47:16 b352a97aabf1: Pulling fs layer 00:47:16 bab4dde63d76: Waiting 00:47:16 bde34c3a00c8: Waiting 00:47:16 4872d77fe225: Pulling fs layer 00:47:16 5851b861e8e6: Pulling fs layer 00:47:16 b352a97aabf1: Waiting 00:47:16 4872d77fe225: Waiting 00:47:16 5851b861e8e6: Waiting 00:47:16 e2be974225ed: Download complete 00:47:16 988bab9f4d93: Download complete 00:47:16 1469e6f7b9e6: Verifying Checksum 00:47:16 1469e6f7b9e6: Download complete 00:47:16 eaf3925da568: Download complete 00:47:16 339a4e72a1f5: Verifying Checksum 00:47:16 339a4e72a1f5: Download complete 00:47:16 bde34c3a00c8: Download complete 00:47:16 b352a97aabf1: Verifying Checksum 00:47:16 b352a97aabf1: Download complete 00:47:16 4872d77fe225: Download complete 00:47:16 5851b861e8e6: Download complete 00:47:16 b85a868b505f: Verifying Checksum 00:47:16 b85a868b505f: Download complete 00:47:17 bab4dde63d76: Verifying Checksum 00:47:17 bab4dde63d76: Download complete 00:47:18 b85a868b505f: Pull complete 00:47:18 e2be974225ed: Pull complete 00:47:18 339a4e72a1f5: Pull complete 00:47:18 988bab9f4d93: Pull complete 00:47:19 1469e6f7b9e6: Pull complete 00:47:19 eaf3925da568: Pull complete 00:47:20 bab4dde63d76: Pull complete 00:47:20 bde34c3a00c8: Pull complete 00:47:20 b352a97aabf1: Pull complete 00:47:20 4872d77fe225: Pull complete 00:47:21 5851b861e8e6: Pull complete 00:47:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:47:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:21 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 00:47:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:47:22 $ docker top 245f7a3633faa2947ca5b1a663cf91e48d46fc9e69f8c4970cc4ea6307bc114c -eo pid,comm 00:47:22 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:47:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:47:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:47:22 [ssh-agent] Looking for ssh-agent implementation... 00:47:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:47:22 $ docker exec 245f7a3633faa2947ca5b1a663cf91e48d46fc9e69f8c4970cc4ea6307bc114c ssh-agent 00:47:23 SSH_AUTH_SOCK=/tmp/ssh-XHGTMbd3dXjV/agent.32 00:47:23 SSH_AGENT_PID=38 00:47:23 Running ssh-add (command line suppressed) 00:47:23 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3225298034480383752.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3225298034480383752.key) 00:47:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:47:23 + git tag --points-at HEAD [Pipeline] } 00:47:23 $ docker exec --env ******** --env ******** 245f7a3633faa2947ca5b1a663cf91e48d46fc9e69f8c4970cc4ea6307bc114c ssh-agent -k 00:47:23 unset SSH_AUTH_SOCK; 00:47:23 unset SSH_AGENT_PID; 00:47:23 echo Agent pid 38 killed; 00:47:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:47:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:47:23 [ssh-agent] Looking for ssh-agent implementation... 00:47:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:47:23 $ docker exec 245f7a3633faa2947ca5b1a663cf91e48d46fc9e69f8c4970cc4ea6307bc114c ssh-agent 00:47:23 SSH_AUTH_SOCK=/tmp/ssh-7c2KN4MTsKT2/agent.70 00:47:23 SSH_AGENT_PID=76 00:47:23 Running ssh-add (command line suppressed) 00:47:23 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_11604347966059206797.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_11604347966059206797.key) 00:47:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:47:24 + git semver init 00:47:24 2023-06-28 00:47:24,351 [run_init] DEBUG init version:0.0.0 force:False 00:47:24 2023-06-28 00:47:24,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver 00:47:24 2023-06-28 00:47:24,352 [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:47:24 2023-06-28 00:47:24,352 [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:47:25 2023-06-28 00:47:25,690 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude 00:47:25 2023-06-28 00:47:25,690 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False 00:47:25 2023-06-28 00:47:25,690 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:47:25 2023-06-28 00:47:25,691 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 00:47:25 3.1.0-dev.3 [Pipeline] } 00:47:25 $ docker exec --env ******** --env ******** 245f7a3633faa2947ca5b1a663cf91e48d46fc9e69f8c4970cc4ea6307bc114c ssh-agent -k 00:47:25 unset SSH_AUTH_SOCK; 00:47:25 unset SSH_AGENT_PID; 00:47:25 echo Agent pid 76 killed; 00:47:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:47:26 + git semver [Pipeline] } 00:47:26 $ docker stop --time=1 245f7a3633faa2947ca5b1a663cf91e48d46fc9e69f8c4970cc4ea6307bc114c 00:47:27 $ docker rm -f --volumes 245f7a3633faa2947ca5b1a663cf91e48d46fc9e69f8c4970cc4ea6307bc114c [Pipeline] // withDockerContainer [Pipeline] sh 00:47:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:47:28 Stashed 1 file(s) [Pipeline] echo 00:47:28 [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:47:28 ========================================================= 00:47:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:47:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:47:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:47:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:47:28 f56be85fc22e: Pulling fs layer 00:47:28 85791d961cd3: Pulling fs layer 00:47:28 d694b5ae8c79: Pulling fs layer 00:47:28 9f32a84ed3da: Pulling fs layer 00:47:28 4d19c01a9841: Pulling fs layer 00:47:28 9325e15d5711: Pulling fs layer 00:47:28 556b6ee489ea: Pulling fs layer 00:47:28 c5a4b2cf53e6: Pulling fs layer 00:47:28 9325e15d5711: Waiting 00:47:28 556b6ee489ea: Waiting 00:47:28 c5a4b2cf53e6: Waiting 00:47:28 9f32a84ed3da: Waiting 00:47:28 4d19c01a9841: Waiting 00:47:28 85791d961cd3: Verifying Checksum 00:47:28 85791d961cd3: Download complete 00:47:28 9f32a84ed3da: Verifying Checksum 00:47:28 9f32a84ed3da: Download complete 00:47:28 4d19c01a9841: Download complete 00:47:28 f56be85fc22e: Verifying Checksum 00:47:28 f56be85fc22e: Download complete 00:47:28 9325e15d5711: Verifying Checksum 00:47:28 9325e15d5711: Download complete 00:47:29 f56be85fc22e: Pull complete 00:47:29 85791d961cd3: Pull complete 00:47:29 c5a4b2cf53e6: Verifying Checksum 00:47:29 c5a4b2cf53e6: Download complete 00:47:29 d694b5ae8c79: Verifying Checksum 00:47:29 d694b5ae8c79: Download complete 00:47:29 556b6ee489ea: Verifying Checksum 00:47:29 556b6ee489ea: Download complete 00:47:32 d694b5ae8c79: Pull complete 00:47:32 9f32a84ed3da: Pull complete 00:47:32 4d19c01a9841: Pull complete 00:47:32 9325e15d5711: Pull complete 00:47:35 556b6ee489ea: Pull complete 00:47:36 c5a4b2cf53e6: Pull complete 00:47:36 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:47:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:47:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 00:47:36 + 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:47:36 + docker inspect -f . ci-base-image-x86_64 00:47:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:36 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 00:47:36 $ 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:47:39 $ docker top 9239606b931b36f31dc4fc3c979d1c681c2f6143936c35acb8cccccd0914abdc -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:39 + go version 00:47:39 go version go1.20.2 linux/amd64 [Pipeline] } 00:47:39 $ docker stop --time=1 9239606b931b36f31dc4fc3c979d1c681c2f6143936c35acb8cccccd0914abdc 00:47:40 $ docker rm -f --volumes 9239606b931b36f31dc4fc3c979d1c681c2f6143936c35acb8cccccd0914abdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:41 + docker inspect -f . ci-base-image-x86_64 00:47:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:41 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 00:47:41 $ 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:47:41 $ docker top e37582b6f7889b5651f4dddceb8c6d759f0518cec2072c54c7ce9a2703f1fc9a -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:42 + git config --global --add safe.directory /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] fileExists [Pipeline] sh 00:47:42 + make test 00:47:42 make -C ./app-service-template build 00:47:42 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:47:42 go mod tidy 00:47:42 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0 00:47:42 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:47:42 go: downloading github.com/google/uuid v1.3.0 00:47:42 go: downloading github.com/stretchr/testify v1.8.4 00:47:42 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.1 00:47:42 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0 00:47:42 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0 00:47:42 go: downloading github.com/davecgh/go-spew v1.1.1 00:47:42 go: downloading github.com/pmezard/go-difflib v1.0.0 00:47:42 go: downloading gopkg.in/yaml.v3 v3.0.1 00:47:42 go: downloading github.com/stretchr/objx v0.5.0 00:47:42 go: downloading github.com/go-playground/validator/v10 v10.13.0 00:47:42 go: downloading github.com/go-kit/log v0.2.1 00:47:42 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 00:47:42 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 00:47:42 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 00:47:42 go: downloading github.com/gorilla/mux v1.8.0 00:47:42 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:47:42 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0 00:47:42 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.1 00:47:42 go: downloading github.com/mitchellh/copystructure v1.2.0 00:47:42 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:47:42 go: downloading github.com/hashicorp/errwrap v1.0.0 00:47:42 go: downloading github.com/hashicorp/consul/api v1.20.0 00:47:42 go: downloading github.com/x448/float16 v0.8.4 00:47:42 go: downloading github.com/gorilla/websocket v1.4.2 00:47:42 go: downloading golang.org/x/net v0.9.0 00:47:42 go: downloading golang.org/x/sync v0.1.0 00:47:42 go: downloading github.com/go-playground/universal-translator v0.18.1 00:47:42 go: downloading github.com/leodido/go-urn v1.2.3 00:47:42 go: downloading golang.org/x/crypto v0.8.0 00:47:42 go: downloading golang.org/x/text v0.9.0 00:47:42 go: downloading github.com/go-playground/locales v0.14.1 00:47:42 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.4 00:47:43 go: downloading github.com/mitchellh/reflectwalk v1.0.2 00:47:43 go: downloading github.com/nats-io/nats.go v1.25.0 00:47:43 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:47:43 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:47:43 go: downloading github.com/hashicorp/go-hclog v0.14.1 00:47:43 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:47:43 go: downloading github.com/hashicorp/serf v0.10.1 00:47:43 Still waiting to schedule task 00:47:43 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:47:43 go: downloading github.com/go-playground/assert/v2 v2.2.0 00:47:43 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:47:43 go: downloading github.com/nats-io/nats-server/v2 v2.9.16 00:47:43 go: downloading github.com/mitchellh/mapstructure v1.5.0 00:47:43 go: downloading github.com/google/go-cmp v0.5.9 00:47:43 go: downloading github.com/hashicorp/consul/sdk v0.13.1 00:47:43 go: downloading github.com/hashicorp/go-uuid v1.0.2 00:47:43 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:47:43 go: downloading golang.org/x/sys v0.7.0 00:47:43 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:47:43 go: downloading github.com/Microsoft/go-winio v0.6.0 00:47:43 go: downloading github.com/zeebo/errs v1.3.0 00:47:43 go: downloading google.golang.org/grpc v1.53.0 00:47:43 go: downloading github.com/nats-io/nkeys v0.4.4 00:47:43 go: downloading github.com/nats-io/nuid v1.0.1 00:47:43 go: downloading github.com/onsi/ginkgo v1.10.1 00:47:43 go: downloading github.com/onsi/gomega v1.7.0 00:47:44 go: downloading github.com/fatih/color v1.9.0 00:47:44 go: downloading github.com/mattn/go-colorable v0.1.12 00:47:44 go: downloading github.com/mattn/go-isatty v0.0.14 00:47:44 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:47:44 go: downloading github.com/kr/pretty v0.2.1 00:47:44 go: downloading github.com/armon/go-metrics v0.3.10 00:47:44 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:47:44 go: downloading github.com/hashicorp/memberlist v0.5.0 00:47:44 go: downloading github.com/hashicorp/go-version v1.2.1 00:47:44 go: downloading github.com/pkg/errors v0.9.1 00:47:44 go: downloading github.com/klauspost/compress v1.16.4 00:47:44 go: downloading github.com/nats-io/jwt/v2 v2.4.1 00:47:44 go: downloading golang.org/x/time v0.3.0 00:47:44 go: downloading github.com/minio/highwayhash v1.0.2 00:47:44 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:47:44 go: downloading golang.org/x/tools v0.6.0 00:47:44 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 00:47:44 go: downloading google.golang.org/protobuf v1.28.1 00:47:44 go: downloading github.com/golang/protobuf v1.5.2 00:47:44 go: downloading github.com/kr/text v0.2.0 00:47:44 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 00:47:44 go: downloading github.com/pascaldekloe/goe v0.1.0 00:47:44 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 00:47:44 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:47:44 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 00:47:44 go: downloading github.com/miekg/dns v1.1.41 00:47:44 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:47:44 go: downloading gopkg.in/yaml.v2 v2.4.0 00:47:44 go: downloading github.com/hpcloud/tail v1.0.0 00:47:44 go: downloading github.com/hashicorp/golang-lru v0.5.4 00:47:44 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:47:44 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:47:44 go: downloading golang.org/x/mod v0.8.0 00:47:45 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:48:00 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:48:00 make -C ./app-service-template test 00:48:00 make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:48:00 go test -race -coverprofile=coverage.out ./... 00:48:18 ? app-new-service/config [no test files] 00:48:18 ok app-new-service 0.059s coverage: 49.1% of statements 00:48:18 ok app-new-service/functions 0.061s coverage: 85.3% of statements 00:48:18 go vet ./... 00:48:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:48:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:48:33 ./bin/test-attribution-txt.sh 00:48:33 make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' 00:48:33 go test -race -coverprofile=coverage.out ./... 00:48:33 go: downloading github.com/gomodule/redigo v1.8.9 00:48:33 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 00:48:36 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 00:48:36 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 00:48:36 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.120s coverage: 64.5% of statements 00:48:36 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.064s coverage: 93.0% of statements 00:48:36 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.099s coverage: 85.1% of statements 00:48:36 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.086s coverage: 87.8% of statements 00:48:36 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.035s coverage: 100.0% of statements 00:48:37 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 00:48:37 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 00:48:37 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 00:48:37 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 00:48:37 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 00:48:37 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.135s coverage: 77.9% of statements 00:48:37 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.070s coverage: 97.3% of statements 00:48:37 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.098s coverage: 82.8% of statements 00:48:37 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.087s coverage: 65.2% of statements 00:48:38 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 00:48:38 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 00:48:38 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:48:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.070s coverage: 28.7% of statements 00:48:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.050s coverage: 11.5% of statements 00:48:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.055s coverage: 27.3% of statements 00:48:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.074s coverage: 52.8% of statements 00:49:04 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.128s coverage: 75.4% of statements 00:49:04 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.052s coverage: 94.4% of statements 00:49:04 go vet ./... 00:49:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:49:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 00:49:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:49:13 $ docker stop --time=1 e37582b6f7889b5651f4dddceb8c6d759f0518cec2072c54c7ce9a2703f1fc9a 00:49:15 $ docker rm -f --volumes e37582b6f7889b5651f4dddceb8c6d759f0518cec2072c54c7ce9a2703f1fc9a [Pipeline] // withDockerContainer [Pipeline] sh 00:49:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:49:16 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:49:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:16 00:49:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:17 latest: Pulling from edgex-lftools-log-publisher 00:49:17 5eb5b503b376: Pulling fs layer 00:49:17 5c69ac0246d0: Pulling fs layer 00:49:17 ec43610c2a17: Pulling fs layer 00:49:17 3a2ae6a8a46f: Pulling fs layer 00:49:17 33b1e0a273af: Pulling fs layer 00:49:17 5d3b04190fa2: Pulling fs layer 00:49:17 2f39f015ded8: Pulling fs layer 00:49:17 3a2ae6a8a46f: Waiting 00:49:17 5d3b04190fa2: Waiting 00:49:17 33b1e0a273af: Waiting 00:49:17 2f39f015ded8: Waiting 00:49:17 5c69ac0246d0: Download complete 00:49:17 3a2ae6a8a46f: Verifying Checksum 00:49:17 3a2ae6a8a46f: Download complete 00:49:17 33b1e0a273af: Verifying Checksum 00:49:17 33b1e0a273af: Download complete 00:49:17 ec43610c2a17: Verifying Checksum 00:49:17 ec43610c2a17: Download complete 00:49:17 5d3b04190fa2: Verifying Checksum 00:49:17 5d3b04190fa2: Download complete 00:49:17 5eb5b503b376: Verifying Checksum 00:49:17 5eb5b503b376: Download complete 00:49:17 2f39f015ded8: Verifying Checksum 00:49:17 2f39f015ded8: Download complete 00:49:18 5eb5b503b376: Pull complete 00:49:18 5c69ac0246d0: Pull complete 00:49:19 ec43610c2a17: Pull complete 00:49:19 3a2ae6a8a46f: Pull complete 00:49:19 33b1e0a273af: Pull complete 00:49:19 5d3b04190fa2: Pull complete 00:49:23 2f39f015ded8: Pull complete 00:49:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:49:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:23 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 00:49:23 $ 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:49:26 $ docker top b4ff1a3c8a4b4127edf5aa936d3804ad1cdec30281d4f11ce2fa86d51e092dd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:27 ---> job-cost.sh 00:49:27 lf-activate-venv: SKIPPING 00:49:27 INFO: No Stack... 00:49:27 INFO: Retrieving Pricing Info for: v3-standard-8 00:49:27 INFO: Archiving Costs [Pipeline] sh 00:49:28 + + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv 00:49:28 cut -d, -f6 [Pipeline] lock 00:49:28 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-266-stack-cost] 00:49:28 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-266-stack-cost] did not exist. Created. 00:49:28 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-266-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:49:28 + echo total: 0.2199999988079071 [Pipeline] stash 00:49:28 Stashed 1 file(s) [Pipeline] } 00:49:28 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-266-stack-cost] [Pipeline] // lock [Pipeline] } 00:49:28 $ docker stop --time=1 b4ff1a3c8a4b4127edf5aa936d3804ad1cdec30281d4f11ce2fa86d51e092dd2 00:49:29 $ docker rm -f --volumes b4ff1a3c8a4b4127edf5aa936d3804ad1cdec30281d4f11ce2fa86d51e092dd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:49:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-96 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 00:49:47 Running in /w/workspace/app-functions-sdk-go/266 [Pipeline] { [Pipeline] checkout 00:49:47 The recommended git tool is: git 00:49:54 using credential edgex-jenkins-ssh 00:49:54 Cloning the remote Git repository 00:49:54 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:49:54 > git init /w/workspace/app-functions-sdk-go/266 # timeout=10 00:49:54 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:49:54 > git --version # timeout=10 00:49:54 > git --version # 'git version 2.25.1' 00:49:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:49:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:49:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:49:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:49:59 Avoid second fetch 00:49:59 Checking out Revision 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad (main) 00:50:00 Commit message: "Merge pull request #1431 from lenny-intel/app-ctx" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:49:59 > git config core.sparsecheckout # timeout=10 00:49:59 > git checkout -f 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad # timeout=10 00:50:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:50:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:50:01 Dload Upload Total Spent Left Speed 00:50:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 71 12726 71 9092 0 0 63580 0 --:--:-- --:--:-- --:--:-- 63138 100 12726 100 12726 0 0 87765 0 --:--:-- --:--:-- --:--:-- 87765 [Pipeline] sh 00:50:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:50:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:50:02 + sudo tee /etc/docker/daemon.new 00:50:02 { 00:50:02 "registry-mirrors": [ 00:50:02 "https://nexus3.edgexfoundry.org:10001" 00:50:02 ], 00:50:02 "bip": "10.250.0.254/24", 00:50:02 "hosts": [ 00:50:02 "tcp://0.0.0.0:5555", 00:50:02 "unix:///var/run/docker.sock" 00:50:02 ], 00:50:02 "mtu": 1458, 00:50:02 "selinux-enabled": true, 00:50:02 "seccomp-profile": "/etc/docker/seccomp.json" 00:50:02 } [Pipeline] sh 00:50:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:50:02 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:50:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:25 ========================================================= 00:50:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:50:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:50:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:50:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:50:26 c41833b44d91: Pulling fs layer 00:50:26 ed15518f5707: Pulling fs layer 00:50:26 feae8fd75edb: Pulling fs layer 00:50:26 242c74f7c9fa: Pulling fs layer 00:50:26 3cdef696dda3: Pulling fs layer 00:50:26 2ced38df9373: Pulling fs layer 00:50:26 58f1dce35555: Pulling fs layer 00:50:26 242c74f7c9fa: Waiting 00:50:26 3cdef696dda3: Waiting 00:50:26 2ced38df9373: Waiting 00:50:26 58f1dce35555: Waiting 00:50:26 ed15518f5707: Verifying Checksum 00:50:26 ed15518f5707: Download complete 00:50:26 242c74f7c9fa: Verifying Checksum 00:50:26 242c74f7c9fa: Download complete 00:50:26 3cdef696dda3: Verifying Checksum 00:50:26 3cdef696dda3: Download complete 00:50:26 c41833b44d91: Verifying Checksum 00:50:26 c41833b44d91: Download complete 00:50:27 c41833b44d91: Pull complete 00:50:27 58f1dce35555: Verifying Checksum 00:50:27 58f1dce35555: Download complete 00:50:27 ed15518f5707: Pull complete 00:50:28 feae8fd75edb: Download complete 00:50:28 2ced38df9373: Verifying Checksum 00:50:28 2ced38df9373: Download complete 00:50:40 feae8fd75edb: Pull complete 00:50:40 242c74f7c9fa: Pull complete 00:50:40 3cdef696dda3: Pull complete 00:50:46 2ced38df9373: Pull complete 00:50:49 58f1dce35555: Pull complete 00:50:49 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:50:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:50:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 00:50:50 + 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:50:50 + docker inspect -f . ci-base-image-arm64 00:50:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:50 prd-ubuntu20.04-docker-arm64-4c-16g-96 does not seem to be running inside a container 00:50:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/266 -v /w/workspace/app-functions-sdk-go/266:/w/workspace/app-functions-sdk-go/266:rw,z -v /w/workspace/app-functions-sdk-go/266@tmp:/w/workspace/app-functions-sdk-go/266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:50:53 $ docker top 56c2b12c0f1acbbfd422c88953fb227eef3859b09c6cdb707e77e10bb73a8e6a -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:54 + go version 00:50:54 go version go1.20.2 linux/arm64 [Pipeline] } 00:50:54 $ docker stop --time=1 56c2b12c0f1acbbfd422c88953fb227eef3859b09c6cdb707e77e10bb73a8e6a 00:50:56 $ docker rm -f --volumes 56c2b12c0f1acbbfd422c88953fb227eef3859b09c6cdb707e77e10bb73a8e6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:56 + docker inspect -f . ci-base-image-arm64 00:50:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:56 prd-ubuntu20.04-docker-arm64-4c-16g-96 does not seem to be running inside a container 00:50:56 $ 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/266 -v /w/workspace/app-functions-sdk-go/266:/w/workspace/app-functions-sdk-go/266:rw,z -v /w/workspace/app-functions-sdk-go/266@tmp:/w/workspace/app-functions-sdk-go/266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:50:58 $ docker top ba0c830f5f3bb57392061d2cc6ee5adf8790e57149114128ecbce136d6d58cea -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:58 + git config --global --add safe.directory /w/workspace/app-functions-sdk-go/266 [Pipeline] fileExists [Pipeline] sh 00:50:59 + make test 00:50:59 make -C ./app-service-template build 00:50:59 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/266/app-service-template' 00:50:59 go mod tidy 00:50:59 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0 00:50:59 go: downloading github.com/stretchr/testify v1.8.4 00:51:00 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 00:51:00 go: downloading github.com/google/uuid v1.3.0 00:51:00 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.1 00:51:00 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0 00:51:00 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0 00:51:00 go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.2.7 00:51:00 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 00:51:00 go: downloading github.com/davecgh/go-spew v1.1.1 00:51:00 go: downloading github.com/pmezard/go-difflib v1.0.0 00:51:00 go: downloading github.com/stretchr/objx v0.5.0 00:51:00 go: downloading gopkg.in/yaml.v3 v3.0.1 00:51:00 go: downloading github.com/go-kit/log v0.2.1 00:51:00 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 00:51:00 go: downloading github.com/go-playground/validator/v10 v10.13.0 00:51:00 go: downloading github.com/gorilla/mux v1.8.0 00:51:00 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:51:00 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0 00:51:00 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.1 00:51:00 go: downloading github.com/mitchellh/copystructure v1.2.0 00:51:00 go: downloading github.com/gorilla/websocket v1.4.2 00:51:00 go: downloading golang.org/x/net v0.9.0 00:51:00 go: downloading golang.org/x/sync v0.1.0 00:51:00 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:51:00 go: downloading github.com/go-logfmt/logfmt v0.5.1 00:51:00 go: downloading github.com/hashicorp/errwrap v1.0.0 00:51:00 go: downloading github.com/x448/float16 v0.8.4 00:51:01 go: downloading github.com/go-playground/universal-translator v0.18.1 00:51:01 go: downloading github.com/leodido/go-urn v1.2.3 00:51:01 go: downloading golang.org/x/crypto v0.8.0 00:51:01 go: downloading golang.org/x/text v0.9.0 00:51:01 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:51:01 go: downloading github.com/go-playground/assert/v2 v2.2.0 00:51:01 go: downloading github.com/go-playground/locales v0.14.1 00:51:04 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.4 00:51:05 go: downloading github.com/hashicorp/consul/api v1.20.0 00:51:05 go: downloading github.com/mitchellh/reflectwalk v1.0.2 00:51:05 go: downloading github.com/nats-io/nats.go v1.25.0 00:51:05 go: downloading github.com/nats-io/nats-server/v2 v2.9.16 00:51:05 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:51:05 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:51:05 go: downloading github.com/kr/pretty v0.2.1 00:51:05 go: downloading golang.org/x/sys v0.7.0 00:51:05 go: downloading github.com/Microsoft/go-winio v0.6.0 00:51:05 go: downloading github.com/zeebo/errs v1.3.0 00:51:05 go: downloading google.golang.org/grpc v1.53.0 00:51:07 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:51:07 go: downloading github.com/hashicorp/go-hclog v0.14.1 00:51:07 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:51:07 go: downloading github.com/hashicorp/serf v0.10.1 00:51:07 go: downloading github.com/mitchellh/mapstructure v1.5.0 00:51:07 go: downloading github.com/google/go-cmp v0.5.9 00:51:07 go: downloading github.com/hashicorp/consul/sdk v0.13.1 00:51:07 go: downloading github.com/hashicorp/go-uuid v1.0.2 00:51:07 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:51:07 go: downloading github.com/kr/text v0.2.0 00:51:07 go: downloading github.com/onsi/ginkgo v1.10.1 00:51:07 go: downloading github.com/onsi/gomega v1.7.0 00:51:07 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 00:51:07 go: downloading github.com/nats-io/nkeys v0.4.4 00:51:07 go: downloading github.com/nats-io/nuid v1.0.1 00:51:07 go: downloading google.golang.org/protobuf v1.28.1 00:51:07 go: downloading golang.org/x/tools v0.6.0 00:51:08 go: downloading github.com/klauspost/compress v1.16.4 00:51:08 go: downloading github.com/minio/highwayhash v1.0.2 00:51:08 go: downloading github.com/nats-io/jwt/v2 v2.4.1 00:51:08 go: downloading golang.org/x/time v0.3.0 00:51:08 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 00:51:10 go: downloading github.com/golang/protobuf v1.5.2 00:51:13 go: downloading github.com/fatih/color v1.9.0 00:51:13 go: downloading github.com/mattn/go-colorable v0.1.12 00:51:13 go: downloading github.com/mattn/go-isatty v0.0.14 00:51:13 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:51:13 go: downloading github.com/hashicorp/go-version v1.2.1 00:51:13 go: downloading github.com/pkg/errors v0.9.1 00:51:13 go: downloading github.com/armon/go-metrics v0.3.10 00:51:13 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:51:13 go: downloading github.com/hashicorp/memberlist v0.5.0 00:51:13 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 00:51:13 go: downloading github.com/pascaldekloe/goe v0.1.0 00:51:13 go: downloading gopkg.in/yaml.v2 v2.4.0 00:51:13 go: downloading github.com/hpcloud/tail v1.0.0 00:51:13 go: downloading github.com/hashicorp/golang-lru v0.5.4 00:51:13 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:51:13 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 00:51:13 go: downloading github.com/miekg/dns v1.1.41 00:51:13 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:51:13 go: downloading golang.org/x/mod v0.8.0 00:51:13 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:51:13 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:51:13 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:53:20 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/266/app-service-template' 00:53:20 make -C ./app-service-template test 00:53:20 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/266/app-service-template' 00:53:20 go test -race -coverprofile=coverage.out ./... 00:56:11 ? app-new-service/config [no test files] 00:56:11 ok app-new-service 0.264s coverage: 49.1% of statements 00:56:11 ok app-new-service/functions 0.251s coverage: 85.3% of statements 00:56:11 go vet ./... 00:58:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:58:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:58:18 ./bin/test-attribution-txt.sh 00:58:18 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/266/app-service-template' 00:58:18 go test -race -coverprofile=coverage.out ./... 00:58:19 go: downloading github.com/gomodule/redigo v1.8.9 00:58:20 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal [no test files] 00:58:38 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/container [no test files] 00:58:38 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/common [no test files] 00:58:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/app 0.595s coverage: 64.5% of statements 00:58:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction 0.302s coverage: 93.0% of statements 00:58:38 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/bootstrap/handlers 0.349s coverage: 85.1% of statements 00:58:40 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest 0.289s coverage: 87.8% of statements 00:58:40 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/etm 0.125s coverage: 100.0% of statements 00:58:42 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db [no test files] 00:58:42 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis [no test files] 00:58:42 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/runtime 0.575s coverage: 77.9% of statements 00:58:44 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger [no test files] 00:58:44 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/store/db/redis/models 0.214s coverage: 97.3% of statements 00:58:46 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http/mocks [no test files] 00:58:46 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/http 0.284s coverage: 82.8% of statements 00:58:49 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mocks [no test files] 00:58:49 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/messagebus 0.260s coverage: 65.2% of statements 00:58:51 ? github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt/mocks [no test files] 00:58:51 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/trigger/mqtt 0.290s coverage: 28.7% of statements 00:58:53 ok github.com/edgexfoundry/app-functions-sdk-go/v3/internal/webserver 0.229s coverage: 11.5% of statements 00:58:53 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces [no test files] 00:58:53 ? github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:58:53 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg 0.288s coverage: 27.3% of statements 00:58:58 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/secure 0.318s coverage: 52.8% of statements 00:59:30 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms 25.727s coverage: 75.4% of statements 00:59:30 ok github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/util 0.200s coverage: 94.4% of statements 00:59:30 go vet ./... 00:59:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:59:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:59:34 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 00:59:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:59:34 $ docker stop --time=1 ba0c830f5f3bb57392061d2cc6ee5adf8790e57149114128ecbce136d6d58cea 00:59:36 $ docker rm -f --volumes ba0c830f5f3bb57392061d2cc6ee5adf8790e57149114128ecbce136d6d58cea [Pipeline] // withDockerContainer [Pipeline] sh 00:59:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:59:40 Warning: overwriting stash ‘coverage-report’ 00:59:41 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:59:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:41 00:59:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:42 arm64: Pulling from edgex-lftools-log-publisher 00:59:42 8998bd30e6a1: Pulling fs layer 00:59:42 04944245beec: Pulling fs layer 00:59:42 699f458cf7ca: Pulling fs layer 00:59:42 765212b225bb: Pulling fs layer 00:59:42 f23df028b6ca: Pulling fs layer 00:59:42 d65c8cfc05b1: Pulling fs layer 00:59:42 2437ff75d9bd: Pulling fs layer 00:59:42 f23df028b6ca: Waiting 00:59:42 d65c8cfc05b1: Waiting 00:59:42 2437ff75d9bd: Waiting 00:59:42 765212b225bb: Waiting 00:59:42 04944245beec: Verifying Checksum 00:59:42 04944245beec: Download complete 00:59:42 765212b225bb: Verifying Checksum 00:59:42 765212b225bb: Download complete 00:59:42 f23df028b6ca: Verifying Checksum 00:59:42 f23df028b6ca: Download complete 00:59:42 d65c8cfc05b1: Verifying Checksum 00:59:42 d65c8cfc05b1: Download complete 00:59:42 699f458cf7ca: Verifying Checksum 00:59:42 699f458cf7ca: Download complete 00:59:42 8998bd30e6a1: Verifying Checksum 00:59:42 8998bd30e6a1: Download complete 00:59:45 2437ff75d9bd: Verifying Checksum 00:59:45 2437ff75d9bd: Download complete 00:59:46 8998bd30e6a1: Pull complete 00:59:49 04944245beec: Pull complete 00:59:50 699f458cf7ca: Pull complete 00:59:50 765212b225bb: Pull complete 00:59:51 f23df028b6ca: Pull complete 00:59:51 d65c8cfc05b1: Pull complete 01:00:06 2437ff75d9bd: Pull complete 01:00:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:06 prd-ubuntu20.04-docker-arm64-4c-16g-96 does not seem to be running inside a container 01:00:06 $ 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/266 -v /w/workspace/app-functions-sdk-go/266:/w/workspace/app-functions-sdk-go/266:rw,z -v /w/workspace/app-functions-sdk-go/266@tmp:/w/workspace/app-functions-sdk-go/266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:00:09 $ docker top 536d925c789cc75caeb2590bba1d9b3227bafd3162abc6bb1d793d01726ba9a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:10 ---> job-cost.sh 01:00:10 lf-activate-venv: SKIPPING 01:00:10 INFO: No Stack... 01:00:10 INFO: Retrieving Pricing Info for: v3-standard-4 01:00:11 INFO: Archiving Costs [Pipeline] sh 01:00:12 + cut -d, -f6 01:00:12 + cat /w/workspace/app-functions-sdk-go/266/archives/cost.csv [Pipeline] lock 01:00:12 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-266-stack-cost] 01:00:12 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-266-stack-cost] did not exist. Created. 01:00:12 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-266-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:00:12 /w/workspace/app-functions-sdk-go/266@tmp/durable-01be42d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:00:12 + echo total: 0.10999999940395355 [Pipeline] stash 01:00:12 Warning: overwriting stash ‘stack-cost’ 01:00:12 Stashed 1 file(s) [Pipeline] } 01:00:12 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-266-stack-cost] [Pipeline] // lock [Pipeline] } 01:00:13 $ docker stop --time=1 536d925c789cc75caeb2590bba1d9b3227bafd3162abc6bb1d793d01726ba9a0 01:00:14 $ docker rm -f --volumes 536d925c789cc75caeb2590bba1d9b3227bafd3162abc6bb1d793d01726ba9a0 [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 01:00:14 provisioning config files... 01:00:14 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2569916993559241475tmp [Pipeline] { [Pipeline] sh 01:00:15 + set +x 01:00:15 + + bash -s -- 01:00:15 curl -s https://codecov.io/bash 01:00:15 01:00:15 _____ _ 01:00:15 / ____| | | 01:00:15 | | ___ __| | ___ ___ _____ __ 01:00:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:00:15 | |___| (_) | (_| | __/ (_| (_) \ V / 01:00:15 \_____\___/ \__,_|\___|\___\___/ \_/ 01:00:15 Bash-1.0.6 01:00:15 01:00:15 01:00:15 ==> git version 2.25.1 found 01:00:15 ==> 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 01:00:15 Release-Date: 2020-01-08 01:00:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:00:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:00:15 ==> Jenkins CI detected. 01:00:15 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 01:00:15 project root: . 01:00:15 --> token set from env 01:00:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:00:15 ==> Running gcov in . (disable via -X gcov) 01:00:15 ==> Python coveragepy not found 01:00:15 ==> Searching for coverage reports in: 01:00:15 + . 01:00:15 -> Found 2 reports 01:00:15 ==> Detecting git/mercurial file structure 01:00:15 ==> Reading reports 01:00:15 + ./app-service-template/coverage.out bytes=3432 01:00:15 + ./coverage.out bytes=117255 01:00:15 ==> Appending adjustments 01:00:15 https://docs.codecov.io/docs/fixing-reports 01:00:15 + Found adjustments 01:00:15 ==> Gzipping contents 01:00:15 24K /tmp/codecov.0MaaBk.gz 01:00:15 ==> Uploading reports 01:00:15 url: https://codecov.io 01:00:15 query: branch=main&commit=5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad&build=266&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F266%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:00:15 -> Pinging Codecov 01:00:15 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=5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad&build=266&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F266%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:00:15 -> Uploading to 01:00:15 https://storage.googleapis.com/codecov/v4/raw/2023-06-28/3D8B5DFFC46A037C893635FACE044666/5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad/c91e3147-03b3-4f35-9c1b-a3f6b8e402c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230628T010015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f485c7c3fa8646c5d893147e4946af18e8b88753c8605e9f74a8ea7fdc9c68c 01:00:15 % Total % Received % Xferd Average Speed Time Time Time Current 01:00:15 Dload Upload Total Spent Left Speed 01:00:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20511 0 0 100 20511 0 92809 --:--:-- --:--:-- --:--:-- 92809 01:00:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad [Pipeline] } 01:00:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:00:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:00:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:00:16 01:00:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:00:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:00:17 df9b9388f04a: Pulling fs layer 01:00:17 52dc419b0ee2: Pulling fs layer 01:00:17 25bc292e5bac: Pulling fs layer 01:00:17 114826534d7a: Pulling fs layer 01:00:17 4657fd5d0bcf: Pulling fs layer 01:00:17 6ad1cebc031e: Pulling fs layer 01:00:17 8a3aa393b2d8: Pulling fs layer 01:00:17 4657fd5d0bcf: Waiting 01:00:17 8a3aa393b2d8: Waiting 01:00:17 6ad1cebc031e: Waiting 01:00:17 114826534d7a: Waiting 01:00:17 25bc292e5bac: Verifying Checksum 01:00:17 25bc292e5bac: Download complete 01:00:17 52dc419b0ee2: Download complete 01:00:17 4657fd5d0bcf: Verifying Checksum 01:00:17 4657fd5d0bcf: Download complete 01:00:17 df9b9388f04a: Download complete 01:00:17 df9b9388f04a: Pull complete 01:00:17 6ad1cebc031e: Verifying Checksum 01:00:17 6ad1cebc031e: Download complete 01:00:17 52dc419b0ee2: Pull complete 01:00:17 25bc292e5bac: Pull complete 01:00:17 114826534d7a: Verifying Checksum 01:00:17 114826534d7a: Download complete 01:00:17 8a3aa393b2d8: Verifying Checksum 01:00:17 8a3aa393b2d8: Download complete 01:00:21 114826534d7a: Pull complete 01:00:21 4657fd5d0bcf: Pull complete 01:00:21 6ad1cebc031e: Pull complete 01:00:23 8a3aa393b2d8: Pull complete 01:00:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:00:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:00:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:23 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 01:00:23 $ 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 01:00:26 $ docker top b24a5e32a1a9bce9c2386c47ca9da971aeedf11843b7aadcdb20c0e1d22d66a0 -eo pid,comm [Pipeline] { [Pipeline] echo 01:00:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-functions-sdk-go:main' [Pipeline] sh 01:00:27 + set -o pipefail 01:00:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-functions-sdk-go:main' 01:00:32 01:00:32 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v3)... 01:00:32 01:00:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/899a6017-c938-46f1-adf7-2bd1b283a5ba/history/31cd4dc0-2321-41b2-92dd-d6b50d59008c 01:00:32 01:00:32 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:00:32 01:00:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:00:32 01:00:32 01:00:32 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:00:32 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:00:32 More details here: https://snyk.co/ue1NS [Pipeline] } 01:00:33 $ docker stop --time=1 b24a5e32a1a9bce9c2386c47ca9da971aeedf11843b7aadcdb20c0e1d22d66a0 01:00:35 $ docker rm -f --volumes b24a5e32a1a9bce9c2386c47ca9da971aeedf11843b7aadcdb20c0e1d22d66a0 [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 01:00:35 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:00:35 provisioning config files... 01:00:35 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3915178956526946380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:35 --> edgex-publish-swagger.sh 01:00:35 === Publish openapi/v3 API === 01:00:35 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 01:00:35 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v3/app-functions-sdk.yaml] 01:00:35 % Total % Received % Xferd Average Speed Time Time Time Current 01:00:35 Dload Upload Total Spent Left Speed 01:00:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11420 0 0 100 11420 0 18389 --:--:-- --:--:-- --:--:-- 18360 100 11420 0 0 100 11420 0 18389 --:--:-- --:--:-- --:--:-- 18360 01:00:36 01:00:36 [Pipeline] } 01:00:36 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 01:00:36 + git log --format=format:%s -1 5ed1430d2b5422f7160a9dcb3ffcd4840d3c4aad [Pipeline] sh 01:00:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:00:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:00:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:37 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 01:00:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:00:37 $ docker top 2605394eef24012e62d1145e144b53a896520fa1f5e33bcc9e5dfd165f8e4ef1 -eo pid,comm 01:00:37 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). 01:00:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:00:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:00:37 [ssh-agent] Looking for ssh-agent implementation... 01:00:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:00:37 $ docker exec 2605394eef24012e62d1145e144b53a896520fa1f5e33bcc9e5dfd165f8e4ef1 ssh-agent 01:00:38 SSH_AUTH_SOCK=/tmp/ssh-jp54V58NW3XG/agent.32 01:00:38 SSH_AGENT_PID=38 01:00:38 Running ssh-add (command line suppressed) 01:00:38 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4986708889330220378.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4986708889330220378.key) 01:00:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:00:38 + git semver tag 01:00:38 2023-06-28 01:00:38,624 [run_tag] DEBUG tag force:False 01:00:38 2023-06-28 01:00:38,624 [check_head_tag] DEBUG check head tag 01:00:38 2023-06-28 01:00:38,624 [execute] INFO git cat-file --batch-check 01:00:38 2023-06-28 01:00:38,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 01:00:38 2023-06-28 01:00:38,628 [execute] INFO git cat-file --batch 01:00:38 2023-06-28 01:00:38,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=) 01:00:38 2023-06-28 01:00:38,639 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:00:38 2023-06-28 01:00:38,639 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 01:00:38 2023-06-28 01:00:38,639 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) 01:00:38 2023-06-28 01:00:38,644 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:00:38 3.1.0-dev.3 [Pipeline] } 01:00:38 $ docker exec --env ******** --env ******** 2605394eef24012e62d1145e144b53a896520fa1f5e33bcc9e5dfd165f8e4ef1 ssh-agent -k 01:00:38 unset SSH_AUTH_SOCK; 01:00:38 unset SSH_AGENT_PID; 01:00:38 echo Agent pid 38 killed; 01:00:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:00:39 + git semver [Pipeline] } 01:00:39 $ docker stop --time=1 2605394eef24012e62d1145e144b53a896520fa1f5e33bcc9e5dfd165f8e4ef1 01:00:40 $ docker rm -f --volumes 2605394eef24012e62d1145e144b53a896520fa1f5e33bcc9e5dfd165f8e4ef1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:00:41 01:00:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:00:41 0.23.1-centos7: Pulling from edgex-lftools 01:00:41 ab5ef0e58194: Pulling fs layer 01:00:41 9712f1f96733: Pulling fs layer 01:00:41 63f879dbbcfc: Pulling fs layer 01:00:41 0d9ebad4ef96: Pulling fs layer 01:00:41 e9a5061849ea: Pulling fs layer 01:00:41 d747dcd14b5f: Pulling fs layer 01:00:41 2de7ff778b66: Pulling fs layer 01:00:41 0d9ebad4ef96: Waiting 01:00:41 e9a5061849ea: Waiting 01:00:41 2de7ff778b66: Waiting 01:00:41 9712f1f96733: Verifying Checksum 01:00:41 9712f1f96733: Download complete 01:00:41 63f879dbbcfc: Verifying Checksum 01:00:41 63f879dbbcfc: Download complete 01:00:41 e9a5061849ea: Verifying Checksum 01:00:41 e9a5061849ea: Download complete 01:00:41 d747dcd14b5f: Verifying Checksum 01:00:41 d747dcd14b5f: Download complete 01:00:41 0d9ebad4ef96: Verifying Checksum 01:00:41 0d9ebad4ef96: Download complete 01:00:41 ab5ef0e58194: Verifying Checksum 01:00:41 ab5ef0e58194: Download complete 01:00:41 2de7ff778b66: Verifying Checksum 01:00:41 2de7ff778b66: Download complete 01:00:44 ab5ef0e58194: Pull complete 01:00:44 9712f1f96733: Pull complete 01:00:45 63f879dbbcfc: Pull complete 01:00:48 0d9ebad4ef96: Pull complete 01:00:49 e9a5061849ea: Pull complete 01:00:49 d747dcd14b5f: Pull complete 01:00:50 2de7ff778b66: Pull complete 01:00:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:00:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:50 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 01:00:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:00:53 $ docker top 839e1cbcd6375eadfaa7b025e2d631d2b8e3ec564226753952aa9da141e6266e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:00:53 provisioning config files... 01:00:53 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1521011463328548903tmp 01:00:53 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config12675655743014338081tmp 01:00:53 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config18258207059153250192tmp [Pipeline] { [Pipeline] echo 01:00:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:00:53 ---> sigul-configuration.sh 01:00:53 gpg: directory `/root/.gnupg' created 01:00:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:00:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:00:53 gpg: keyring `/root/.gnupg/secring.gpg' created 01:00:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:00:53 gpg: CAST5 encrypted data 01:00:53 gpg: encrypted with 1 passphrase 01:00:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:00:54 + mkdir /home/jenkins 01:00:54 + mkdir /home/jenkins/sigul [Pipeline] sh 01:00:54 + 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 01:00:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:00:54 ---> sigul-install.sh 01:00:54 Sigul already installed; skipping installation. [Pipeline] sh 01:00:54 + git tag --list 01:00:54 v0.1.0 01:00:54 v0.1.1 01:00:54 v1.0.0 01:00:54 v1.1.0 01:00:54 v1.2.0 01:00:54 v1.3.0 01:00:54 v1.3.1 01:00:54 v2.0.0 01:00:54 v2.0.1 01:00:54 v2.1.0 01:00:54 v2.1.1 01:00:54 v2.1.2 01:00:54 v2.2.0 01:00:54 v2.3 01:00:54 v2.3.0 01:00:54 v2.3.1 01:00:54 v3.0 01:00:54 v3.0.0 01:00:54 v3.1.0-dev.1 01:00:54 v3.1.0-dev.2 01:00:54 v3.1.0-dev.3 [Pipeline] sh 01:00:55 + lftools sign git-tag v3.1.0-dev.3 01:00:55 Signing Git tag with Sigul... 01:00:55 Signing v3.1.0-dev.3 [Pipeline] echo 01:00:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:00:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:00:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:00:56 $ docker stop --time=1 839e1cbcd6375eadfaa7b025e2d631d2b8e3ec564226753952aa9da141e6266e 01:00:57 $ docker rm -f --volumes 839e1cbcd6375eadfaa7b025e2d631d2b8e3ec564226753952aa9da141e6266e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:00:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:00:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:00:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:58 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 01:00:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:00:59 $ docker top 5c2dbbc92e4e82e62351bea00dc2c26ef36f431b1d83b693c1566516eb59a6a5 -eo pid,comm 01:00:59 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). 01:00:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:00:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:00:59 [ssh-agent] Looking for ssh-agent implementation... 01:00:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:00:59 $ docker exec 5c2dbbc92e4e82e62351bea00dc2c26ef36f431b1d83b693c1566516eb59a6a5 ssh-agent 01:00:59 SSH_AUTH_SOCK=/tmp/ssh-T04sgTo7MCXA/agent.32 01:00:59 SSH_AGENT_PID=38 01:00:59 Running ssh-add (command line suppressed) 01:00:59 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17599670240999579625.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_17599670240999579625.key) 01:00:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:00:59 + git semver bump pre 01:01:00 2023-06-28 01:00:59,920 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:01:00 2023-06-28 01:00:59,920 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev 01:01:00 2023-06-28 01:00:59,921 [bump_version] DEBUG bumped version:3.1.0-dev.4 01:01:00 2023-06-28 01:00:59,921 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:True 01:01:00 2023-06-28 01:00:59,921 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:01:00 2023-06-28 01:00:59,921 [write_file] DEBUG write to file:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:01:00 2023-06-28 01:00:59,923 [execute] INFO git cat-file --batch-check 01:01:00 2023-06-28 01:00:59,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:01:00 2023-06-28 01:00:59,930 [execute] INFO git cat-file --batch 01:01:00 2023-06-28 01:00:59,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:01:00 2023-06-28 01:00:59,936 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:01:00 3.1.0-dev.4 [Pipeline] } 01:01:00 $ docker exec --env ******** --env ******** 5c2dbbc92e4e82e62351bea00dc2c26ef36f431b1d83b693c1566516eb59a6a5 ssh-agent -k 01:01:00 unset SSH_AUTH_SOCK; 01:01:00 unset SSH_AGENT_PID; 01:01:00 echo Agent pid 38 killed; 01:01:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:01:00 + git semver [Pipeline] } 01:01:00 $ docker stop --time=1 5c2dbbc92e4e82e62351bea00dc2c26ef36f431b1d83b693c1566516eb59a6a5 01:01:02 $ docker rm -f --volumes 5c2dbbc92e4e82e62351bea00dc2c26ef36f431b1d83b693c1566516eb59a6a5 [Pipeline] // withDockerContainer [Pipeline] sh 01:01:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:01:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:01:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:02 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 01:01:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:01:03 $ docker top 481cf99723de61dfdb063e956303334ae206763b70b5f78ad232c22526f932b0 -eo pid,comm 01:01:03 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). 01:01:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:01:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:03 [ssh-agent] Looking for ssh-agent implementation... 01:01:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:03 $ docker exec 481cf99723de61dfdb063e956303334ae206763b70b5f78ad232c22526f932b0 ssh-agent 01:01:03 SSH_AUTH_SOCK=/tmp/ssh-2K6BaXdnI4mu/agent.31 01:01:03 SSH_AGENT_PID=37 01:01:03 Running ssh-add (command line suppressed) 01:01:03 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1404754170269995584.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1404754170269995584.key) 01:01:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:03 + git semver push 01:01:04 2023-06-28 01:01:03,971 [run_push] DEBUG push 01:01:04 2023-06-28 01:01:03,972 [execute] INFO git cat-file --batch-check 01:01:04 2023-06-28 01:01:03,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:01:04 2023-06-28 01:01:03,976 [execute] INFO git rev-list 0c2f7a610e8a4ec8eeafd13425300ee01202d798 -- 01:01:04 2023-06-28 01:01:03,976 [execute] DEBUG Popen(['git', 'rev-list', '0c2f7a610e8a4ec8eeafd13425300ee01202d798', '--'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:01:04 2023-06-28 01:01:03,991 [execute] INFO git fetch -v origin 01:01:04 2023-06-28 01:01:03,991 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:01:04 2023-06-28 01:01:04,460 [run_push] DEBUG no remote changes detected 01:01:04 2023-06-28 01:01:04,460 [execute] INFO git push origin semver 01:01:04 2023-06-28 01:01:04,461 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:01:05 2023-06-28 01:01:05,276 [run_push] DEBUG push all version tags 01:01:05 2023-06-28 01:01:05,276 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:01:05 2023-06-28 01:01:05,277 [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) 01:01:06 2023-06-28 01:01:06,034 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main 01:01:06 3.1.0-dev.4 [Pipeline] } 01:01:06 $ docker exec --env ******** --env ******** 481cf99723de61dfdb063e956303334ae206763b70b5f78ad232c22526f932b0 ssh-agent -k 01:01:06 unset SSH_AUTH_SOCK; 01:01:06 unset SSH_AGENT_PID; 01:01:06 echo Agent pid 37 killed; 01:01:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:01:06 + git semver [Pipeline] } 01:01:06 $ docker stop --time=1 481cf99723de61dfdb063e956303334ae206763b70b5f78ad232c22526f932b0 01:01:08 $ docker rm -f --volumes 481cf99723de61dfdb063e956303334ae206763b70b5f78ad232c22526f932b0 [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 01:01:08 + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] 01:01:08 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 01:01:08 total 16 01:01:08 drwxr-xr-x 3 root root 4096 Jun 28 00:49 . 01:01:08 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 01:00 .. 01:01:08 drwxr-xr-x 2 root root 4096 Jun 28 00:49 cost 01:01:08 -rw-r--r-- 1 root root 92 Jun 28 00:49 cost.csv 01:01:08 + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives 01:01:08 + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives 01:01:08 total 16 01:01:08 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 00:49 . 01:01:08 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 01:00 .. 01:01:08 drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 00:49 cost 01:01:08 -rw-r--r-- 1 jenkins jenkins 92 Jun 28 00:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:01:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:01:09 ---> package-listing.sh 01:01:09 ++ facter osfamily 01:01:09 ++ tr '[:upper:]' '[:lower:]' 01:01:10 + OS_FAMILY=debian 01:01:10 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 01:01:10 + START_PACKAGES=/tmp/packages_start.txt 01:01:10 + END_PACKAGES=/tmp/packages_end.txt 01:01:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:01:10 + PACKAGES=/tmp/packages_start.txt 01:01:10 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 01:01:10 + PACKAGES=/tmp/packages_end.txt 01:01:10 + case "${OS_FAMILY}" in 01:01:10 + dpkg -l 01:01:10 + grep '^ii' 01:01:10 + '[' -f /tmp/packages_start.txt ']' 01:01:10 + '[' -f /tmp/packages_end.txt ']' 01:01:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:01:10 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 01:01:10 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 01:01:10 + 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 01:01:10 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 01:01:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:01:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:10 prd-ubuntu20.04-docker-8c-8g-95 does not seem to be running inside a container 01:01:11 $ 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 01:01:11 $ docker top ccc866106d62d8172bcdae062e983504a85d69007f4c72b79871d263e5a35f47 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:11 + touch /tmp/pre-build-complete [Pipeline] sh 01:01:11 + mkdir -p /var/log/sysstat [Pipeline] sh 01:01:12 + ls /var/log/sa-host 01:01:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:01:12 provisioning config files... 01:01:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config18132834905589774956tmp [Pipeline] { [Pipeline] echo 01:01:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:01:12 ---> create-netrc.sh [Pipeline] } 01:01:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:01:13 ---> python-tools-install.sh [Pipeline] echo 01:01:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:01:13 ---> sudo-logs.sh 01:01:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:01:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:01:13 ---> job-cost.sh 01:01:13 lf-activate-venv: SKIPPING 01:01:13 DEBUG: total: 0.2199999988079071 01:01:13 INFO: Retrieving Stack Cost... 01:01:13 INFO: Retrieving Pricing Info for: v3-standard-8 01:01:14 INFO: Archiving Costs [Pipeline] echo 01:01:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:01:14 ---> logs-deploy.sh 01:01:14 lf-activate-venv: SKIPPING 01:01:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/266 01:01:14 INFO: archiving workspace using pattern(s): 01:01:15 Archives upload complete. 01:01:15 INFO: archiving logs to Nexus