Pull request #1642 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1+4dc7af8616b840564ee8ed1f607aa8d563a2c486 (4d034c02082cb8b8ce516f73a5bd2055fa46ac45) 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-ssh2559357669903780000.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh2928994343347982705.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1642/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-1642/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11357064372845277533.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-1642/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5055017156104561644.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9927569933539209881.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1642/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-1642/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13240262733693096.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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]] ========================================================= [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.23 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 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-31779 in /w/workspace/dry_app-functions-sdk-go_PR-1642 [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/dry_app-functions-sdk-go_PR-1642 # 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 Merging remotes/origin/main commit 4dc7af8616b840564ee8ed1f607aa8d563a2c486 into PR head commit 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 Merge succeeded, producing 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 Checking out Revision 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 (PR-1642) Commit message: "build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 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/pull/1642/head:refs/remotes/origin/PR-1642 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4dc7af8616b840564ee8ed1f607aa8d563a2c486 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-25T04:16:27.449Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-25T04:16:27.680Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-25T04:16:27.818Z] ========================================================= [2024-11-25T04:16:27.818Z] EdgeX Global Pipelines Version Info [2024-11-25T04:16:27.818Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-25T04:16:28.615Z] ------------------- [2024-11-25T04:16:28.615Z] stable info: [2024-11-25T04:16:28.615Z] ------------------- [2024-11-25T04:16:28.615Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-25T04:16:28.615Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-25T04:16:28.615Z] Message: update stable to v1.0.265 [2024-11-25T04:16:29.555Z] ------------------- [2024-11-25T04:16:29.555Z] experimental info: [2024-11-25T04:16:29.555Z] ------------------- [2024-11-25T04:16:29.555Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-25T04:16:29.555Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-25T04:16:29.555Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-25T04:16:29.823Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2024-11-25T04:16:29.880Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2024-11-25T04:16:29.934Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-25T04:16:29.987Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-25T04:16:30.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-25T04:16:30.096Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-25T04:16:30.153Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-25T04:16:30.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-25T04:16:30.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-25T04:16:30.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-25T04:16:30.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-25T04:16:30.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2024-11-25T04:16:30.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-25T04:16:30.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-25T04:16:30.610Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2024-11-25T04:16:30.665Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-25T04:16:30.724Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-25T04:16:30.779Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-25T04:16:30.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-25T04:16:30.892Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-25T04:16:30.950Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-25T04:16:31.004Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-11-25T04:16:31.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-25T04:16:31.118Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-25T04:16:31.181Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2024-11-25T04:16:31.251Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-25T04:16:31.311Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-25T04:16:31.381Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1642 [Pipeline] echo [2024-11-25T04:16:31.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1642 [Pipeline] echo [2024-11-25T04:16:31.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1642 [Pipeline] echo [2024-11-25T04:16:31.559Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 [Pipeline] echo [2024-11-25T04:16:31.617Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 755e202 [Pipeline] echo [2024-11-25T04:16:31.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-25T04:16:32.881Z] + git rev-list -1 --merges 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1~1..755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 [Pipeline] echo [2024-11-25T04:16:32.932Z] -----------> git rev-list -1 --merges 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1~1..755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 [false] [Pipeline] sh [2024-11-25T04:16:33.255Z] + git log --format=format:%s -1 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 [Pipeline] echo [2024-11-25T04:16:33.300Z] ========================================================= [2024-11-25T04:16:33.301Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-25T04:16:33.301Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-25T04:16:33.757Z] + git log --format=format:%s -1 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1 [Pipeline] echo [2024-11-25T04:16:33.793Z] [semverPrep] GIT_COMMIT: 755e202ae67f4f08ae4ca1e6c0f1b0110511ccd1, Commit Message: build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 [Pipeline] echo [2024-11-25T04:16:33.833Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-25T04:16:34.395Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-25T04:16:34.396Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-25T04:16:34.396Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-25T04:16:34.396Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-25T04:16:34.396Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-25T04:16:34.396Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-25T04:16:34.396Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-25T04:16:34.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-25T04:16:34.843Z] [2024-11-25T04:16:34.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-25T04:16:35.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-25T04:16:35.235Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-25T04:16:35.235Z] b85a868b505f: Pulling fs layer [2024-11-25T04:16:35.235Z] e2be974225ed: Pulling fs layer [2024-11-25T04:16:35.235Z] 339a4e72a1f5: Pulling fs layer [2024-11-25T04:16:35.235Z] 988bab9f4d93: Pulling fs layer [2024-11-25T04:16:35.235Z] 1469e6f7b9e6: Pulling fs layer [2024-11-25T04:16:35.235Z] 988bab9f4d93: Waiting [2024-11-25T04:16:35.235Z] eaf3925da568: Pulling fs layer [2024-11-25T04:16:35.235Z] bab4dde63d76: Pulling fs layer [2024-11-25T04:16:35.235Z] bde34c3a00c8: Pulling fs layer [2024-11-25T04:16:35.235Z] bab4dde63d76: Waiting [2024-11-25T04:16:35.235Z] eaf3925da568: Waiting [2024-11-25T04:16:35.235Z] b352a97aabf1: Pulling fs layer [2024-11-25T04:16:35.235Z] bde34c3a00c8: Waiting [2024-11-25T04:16:35.235Z] b352a97aabf1: Waiting [2024-11-25T04:16:35.235Z] 4872d77fe225: Pulling fs layer [2024-11-25T04:16:35.235Z] 5851b861e8e6: Pulling fs layer [2024-11-25T04:16:35.235Z] 4872d77fe225: Waiting [2024-11-25T04:16:35.235Z] 5851b861e8e6: Waiting [2024-11-25T04:16:35.494Z] e2be974225ed: Verifying Checksum [2024-11-25T04:16:35.494Z] e2be974225ed: Download complete [2024-11-25T04:16:35.494Z] 988bab9f4d93: Verifying Checksum [2024-11-25T04:16:35.494Z] 988bab9f4d93: Download complete [2024-11-25T04:16:35.494Z] 339a4e72a1f5: Verifying Checksum [2024-11-25T04:16:35.494Z] 339a4e72a1f5: Download complete [2024-11-25T04:16:35.494Z] 1469e6f7b9e6: Verifying Checksum [2024-11-25T04:16:35.494Z] 1469e6f7b9e6: Download complete [2024-11-25T04:16:35.494Z] eaf3925da568: Verifying Checksum [2024-11-25T04:16:35.494Z] eaf3925da568: Download complete [2024-11-25T04:16:35.494Z] bde34c3a00c8: Verifying Checksum [2024-11-25T04:16:35.494Z] bde34c3a00c8: Download complete [2024-11-25T04:16:35.494Z] b352a97aabf1: Verifying Checksum [2024-11-25T04:16:35.494Z] b352a97aabf1: Download complete [2024-11-25T04:16:35.494Z] 4872d77fe225: Verifying Checksum [2024-11-25T04:16:35.494Z] 4872d77fe225: Download complete [2024-11-25T04:16:35.494Z] 5851b861e8e6: Verifying Checksum [2024-11-25T04:16:35.494Z] 5851b861e8e6: Download complete [2024-11-25T04:16:35.494Z] b85a868b505f: Verifying Checksum [2024-11-25T04:16:35.494Z] b85a868b505f: Download complete [2024-11-25T04:16:35.752Z] bab4dde63d76: Download complete [2024-11-25T04:16:36.688Z] b85a868b505f: Pull complete [2024-11-25T04:16:36.688Z] e2be974225ed: Pull complete [2024-11-25T04:16:36.947Z] 339a4e72a1f5: Pull complete [2024-11-25T04:16:37.207Z] 988bab9f4d93: Pull complete [2024-11-25T04:16:37.465Z] 1469e6f7b9e6: Pull complete [2024-11-25T04:16:37.465Z] eaf3925da568: Pull complete [2024-11-25T04:16:38.844Z] bab4dde63d76: Pull complete [2024-11-25T04:16:38.844Z] bde34c3a00c8: Pull complete [2024-11-25T04:16:39.108Z] b352a97aabf1: Pull complete [2024-11-25T04:16:39.108Z] 4872d77fe225: Pull complete [2024-11-25T04:16:39.108Z] 5851b861e8e6: Pull complete [2024-11-25T04:16:39.108Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-25T04:16:39.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-25T04:16:39.108Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-25T04:16:39.817Z] prd-ubuntu20.04-docker-8c-8g-31779 does not seem to be running inside a container [2024-11-25T04:16:39.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1642 -v /w/workspace/dry_app-functions-sdk-go_PR-1642:/w/workspace/dry_app-functions-sdk-go_PR-1642:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1642@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1642@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-25T04:16:40.908Z] $ docker top a8d4cc46413eced14fbe15d4d6a8cb6fdb6bdd07fa715caa4c3e30376b4863dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-25T04:16:41.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-25T04:16:41.128Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-25T04:16:41.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-25T04:16:41.237Z] $ docker exec a8d4cc46413eced14fbe15d4d6a8cb6fdb6bdd07fa715caa4c3e30376b4863dd ssh-agent [2024-11-25T04:16:41.350Z] SSH_AUTH_SOCK=/tmp/ssh-NqvOb6zlD7j7/agent.32 [2024-11-25T04:16:41.350Z] SSH_AGENT_PID=38 [2024-11-25T04:16:41.356Z] Running ssh-add (command line suppressed) [2024-11-25T04:16:41.455Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1642@tmp/private_key_12011269326408948997.key (/w/workspace/dry_app-functions-sdk-go_PR-1642@tmp/private_key_12011269326408948997.key) [2024-11-25T04:16:41.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-25T04:16:41.824Z] + git tag --points-at HEAD [Pipeline] } [2024-11-25T04:16:41.851Z] $ docker exec --env ******** --env ******** a8d4cc46413eced14fbe15d4d6a8cb6fdb6bdd07fa715caa4c3e30376b4863dd ssh-agent -k [2024-11-25T04:16:41.943Z] unset SSH_AUTH_SOCK; [2024-11-25T04:16:41.944Z] unset SSH_AGENT_PID; [2024-11-25T04:16:41.944Z] echo Agent pid 38 killed; [2024-11-25T04:16:41.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-25T04:16:42.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-25T04:16:42.069Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-25T04:16:42.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-25T04:16:42.185Z] $ docker exec a8d4cc46413eced14fbe15d4d6a8cb6fdb6bdd07fa715caa4c3e30376b4863dd ssh-agent [2024-11-25T04:16:42.299Z] SSH_AUTH_SOCK=/tmp/ssh-JMIDZpnuabvA/agent.71 [2024-11-25T04:16:42.299Z] SSH_AGENT_PID=77 [2024-11-25T04:16:42.305Z] Running ssh-add (command line suppressed) [2024-11-25T04:16:42.409Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1642@tmp/private_key_12064266706023434581.key (/w/workspace/dry_app-functions-sdk-go_PR-1642@tmp/private_key_12064266706023434581.key) [2024-11-25T04:16:42.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-25T04:16:42.779Z] + git semver init [2024-11-25T04:16:43.039Z] 2024-11-25 04:16:42,944 [run_init] DEBUG init version:0.0.0 force:False [2024-11-25T04:16:43.039Z] 2024-11-25 04:16:42,944 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1642/.semver [2024-11-25T04:16:43.039Z] 2024-11-25 04:16:42,945 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1642/.semver [2024-11-25T04:16:43.039Z] 2024-11-25 04:16:42,945 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1642/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1642, universal_newlines=False, shell=None, istream=None) [2024-11-25T04:16:44.946Z] 2024-11-25 04:16:44,458 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1642/.git/info/exclude [2024-11-25T04:16:44.946Z] 2024-11-25 04:16:44,458 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1642/.semver/PR-1642 with force:False [2024-11-25T04:16:44.946Z] 2024-11-25 04:16:44,458 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1642/.semver/PR-1642 [2024-11-25T04:16:44.946Z] 2024-11-25 04:16:44,462 [execute] INFO git cat-file --batch-check [2024-11-25T04:16:44.946Z] 2024-11-25 04:16:44,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1642/.semver, universal_newlines=False, shell=None, istream=) [2024-11-25T04:16:44.946Z] 2024-11-25 04:16:44,469 [execute] INFO git cat-file --batch [2024-11-25T04:16:44.946Z] 2024-11-25 04:16:44,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1642/.semver, universal_newlines=False, shell=None, istream=) [2024-11-25T04:16:44.946Z] 2024-11-25 04:16:44,473 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1642/.semver/PR-1642 [2024-11-25T04:16:44.946Z] 0.0.0 [Pipeline] } [2024-11-25T04:16:44.972Z] $ docker exec --env ******** --env ******** a8d4cc46413eced14fbe15d4d6a8cb6fdb6bdd07fa715caa4c3e30376b4863dd ssh-agent -k [2024-11-25T04:16:45.079Z] unset SSH_AUTH_SOCK; [2024-11-25T04:16:45.080Z] unset SSH_AGENT_PID; [2024-11-25T04:16:45.080Z] echo Agent pid 77 killed; [2024-11-25T04:16:45.090Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-25T04:16:45.554Z] + git semver [Pipeline] } [2024-11-25T04:16:45.839Z] $ docker stop --time=1 a8d4cc46413eced14fbe15d4d6a8cb6fdb6bdd07fa715caa4c3e30376b4863dd [2024-11-25T04:16:47.125Z] $ docker rm -f --volumes a8d4cc46413eced14fbe15d4d6a8cb6fdb6bdd07fa715caa4c3e30376b4863dd [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-25T04:16:47.667Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-25T04:16:48.410Z] Stashed 1 file(s) [Pipeline] echo [2024-11-25T04:16:48.435Z] [edgeXSemver]: initialized semver on version 0.0.0 [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 [2024-11-25T04:16:49.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-25T04:16:49.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-25T04:16:49.256Z] ========================================================= [2024-11-25T04:16:49.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-25T04:16:49.256Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2024-11-25T04:16:49.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-25T04:16:49.677Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-25T04:16:49.677Z] 43c4264eed91: Pulling fs layer [2024-11-25T04:16:49.677Z] 4cc291be95ef: Pulling fs layer [2024-11-25T04:16:49.677Z] 2ac1f1163629: Pulling fs layer [2024-11-25T04:16:49.677Z] 5c3c966382ef: Pulling fs layer [2024-11-25T04:16:49.677Z] 4f4fb700ef54: Pulling fs layer [2024-11-25T04:16:49.677Z] 5d5c8e513c77: Pulling fs layer [2024-11-25T04:16:49.677Z] 9f66e0745190: Pulling fs layer [2024-11-25T04:16:49.677Z] f49a43e4bbc0: Pulling fs layer [2024-11-25T04:16:49.677Z] 561ebcabdf7f: Pulling fs layer [2024-11-25T04:16:49.677Z] 5d5c8e513c77: Waiting [2024-11-25T04:16:49.677Z] 9f66e0745190: Waiting [2024-11-25T04:16:49.677Z] 5c3c966382ef: Waiting [2024-11-25T04:16:49.677Z] f49a43e4bbc0: Waiting [2024-11-25T04:16:49.677Z] 561ebcabdf7f: Waiting [2024-11-25T04:16:49.677Z] 4f4fb700ef54: Waiting [2024-11-25T04:16:49.677Z] 4cc291be95ef: Download complete [2024-11-25T04:16:49.677Z] 5c3c966382ef: Verifying Checksum [2024-11-25T04:16:49.677Z] 5c3c966382ef: Download complete [2024-11-25T04:16:49.677Z] 4f4fb700ef54: Verifying Checksum [2024-11-25T04:16:49.677Z] 4f4fb700ef54: Download complete [2024-11-25T04:16:49.677Z] 5d5c8e513c77: Verifying Checksum [2024-11-25T04:16:49.677Z] 5d5c8e513c77: Download complete [2024-11-25T04:16:49.677Z] 43c4264eed91: Download complete [2024-11-25T04:16:49.677Z] 9f66e0745190: Verifying Checksum [2024-11-25T04:16:49.677Z] 9f66e0745190: Download complete [2024-11-25T04:16:49.936Z] 43c4264eed91: Pull complete [2024-11-25T04:16:49.936Z] 4cc291be95ef: Pull complete [2024-11-25T04:16:49.936Z] 561ebcabdf7f: Verifying Checksum [2024-11-25T04:16:49.936Z] 561ebcabdf7f: Download complete [2024-11-25T04:16:50.194Z] 2ac1f1163629: Verifying Checksum [2024-11-25T04:16:50.194Z] 2ac1f1163629: Download complete [2024-11-25T04:16:50.452Z] f49a43e4bbc0: Verifying Checksum [2024-11-25T04:16:50.452Z] f49a43e4bbc0: Download complete [2024-11-25T04:16:53.733Z] 2ac1f1163629: Pull complete [2024-11-25T04:16:53.733Z] 5c3c966382ef: Pull complete [2024-11-25T04:16:53.733Z] 4f4fb700ef54: Pull complete [2024-11-25T04:16:53.992Z] 5d5c8e513c77: Pull complete [2024-11-25T04:16:53.992Z] 9f66e0745190: Pull complete [2024-11-25T04:16:55.893Z] f49a43e4bbc0: Pull complete [2024-11-25T04:16:56.461Z] 561ebcabdf7f: Pull complete [2024-11-25T04:16:56.461Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-25T04:16:56.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-25T04:16:56.461Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] sh [2024-11-25T04:16:56.780Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-25T04:16:57.196Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-25T04:16:57.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-25T04:16:57.361Z] prd-ubuntu20.04-docker-8c-8g-31779 does not seem to be running inside a container [2024-11-25T04:16:57.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1642 -v /w/workspace/dry_app-functions-sdk-go_PR-1642:/w/workspace/dry_app-functions-sdk-go_PR-1642:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1642@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1642@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 ******** -e ******** ci-base-image-x86_64 cat [2024-11-25T04:16:58.897Z] $ docker top 8fc19066f7136f8d6751708fd9326b2150bb7d26e59dafb7aea2cef41201af7e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-25T04:16:59.319Z] + go version [2024-11-25T04:16:59.319Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-25T04:16:59.348Z] $ docker stop --time=1 8fc19066f7136f8d6751708fd9326b2150bb7d26e59dafb7aea2cef41201af7e [2024-11-25T04:17:00.630Z] $ docker rm -f --volumes 8fc19066f7136f8d6751708fd9326b2150bb7d26e59dafb7aea2cef41201af7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-25T04:17:01.433Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-25T04:17:01.433Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-25T04:17:01.602Z] prd-ubuntu20.04-docker-8c-8g-31779 does not seem to be running inside a container [2024-11-25T04:17:01.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_app-functions-sdk-go_PR-1642 -v /w/workspace/dry_app-functions-sdk-go_PR-1642:/w/workspace/dry_app-functions-sdk-go_PR-1642:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1642@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1642@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 ******** -e ******** ci-base-image-x86_64 cat [2024-11-25T04:17:01.981Z] $ docker top 9bacab4d1e0cbb625077845cb311ae879a48bc97e857da42814f26d3c9cdd166 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-25T04:17:02.382Z] + git config --global --add safe.directory /w/workspace/dry_app-functions-sdk-go_PR-1642 [Pipeline] fileExists [Pipeline] sh [2024-11-25T04:17:02.755Z] + make test [2024-11-25T04:17:02.755Z] make -C ./app-service-template build [2024-11-25T04:17:02.755Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1642/app-service-template' [2024-11-25T04:17:02.755Z] go mod tidy [2024-11-25T04:17:02.755Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.5 [2024-11-25T04:17:02.755Z] go: downloading github.com/labstack/echo/v4 v4.12.0 [2024-11-25T04:17:02.755Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-11-25T04:17:02.755Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-11-25T04:17:02.755Z] go: downloading github.com/google/uuid v1.6.0 [2024-11-25T04:17:03.015Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.9 [2024-11-25T04:17:03.274Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.5 [2024-11-25T04:17:03.274Z] go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.2 [2024-11-25T04:17:03.274Z] go: downloading github.com/diegoholiveira/jsonlogic/v3 v3.5.3 [2024-11-25T04:17:03.533Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 [2024-11-25T04:17:03.533Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-11-25T04:17:03.533Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-11-25T04:17:03.533Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-11-25T04:17:03.533Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-11-25T04:17:03.533Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-11-25T04:17:03.533Z] go: downloading github.com/labstack/gommon v0.4.2 [2024-11-25T04:17:03.533Z] go: downloading golang.org/x/crypto v0.27.0 [2024-11-25T04:17:03.533Z] go: downloading golang.org/x/net v0.29.0 [2024-11-25T04:17:03.533Z] go: downloading github.com/go-playground/validator/v10 v10.22.1 [2024-11-25T04:17:03.533Z] go: downloading github.com/fxamacker/cbor/v2 v2.7.0 [2024-11-25T04:17:03.533Z] go: downloading github.com/go-kit/log v0.2.1 [2024-11-25T04:17:03.533Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.4 [2024-11-25T04:17:03.793Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.4 [2024-11-25T04:17:03.967Z] Still waiting to schedule task [2024-11-25T04:17:03.968Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-25T04:17:04.054Z] go: downloading github.com/gorilla/websocket v1.5.3 [2024-11-25T04:17:04.054Z] go: downloading golang.org/x/sync v0.8.0 [2024-11-25T04:17:04.054Z] go: downloading github.com/barkimedes/go-deepcopy v0.0.0-20220514131651-17c30cfc62df [2024-11-25T04:17:04.054Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2024-11-25T04:17:04.054Z] go: downloading github.com/pkg/errors v0.9.1 [2024-11-25T04:17:04.054Z] go: downloading github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438 [2024-11-25T04:17:04.054Z] go: downloading github.com/jackc/pgx/v5 v5.7.1 [2024-11-25T04:17:04.054Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-11-25T04:17:04.054Z] go: downloading github.com/openziti/sdk-golang v0.23.44 [2024-11-25T04:17:04.054Z] go: downloading github.com/sirupsen/logrus v1.9.3 [2024-11-25T04:17:04.314Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-11-25T04:17:04.314Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-11-25T04:17:04.314Z] go: downloading github.com/mattn/go-isatty v0.0.20 [2024-11-25T04:17:04.314Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-11-25T04:17:04.314Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-11-25T04:17:04.314Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.3 [2024-11-25T04:17:04.314Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-11-25T04:17:04.314Z] go: downloading github.com/leodido/go-urn v1.4.0 [2024-11-25T04:17:04.314Z] go: downloading golang.org/x/text v0.18.0 [2024-11-25T04:17:04.314Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-11-25T04:17:04.572Z] go: downloading github.com/x448/float16 v0.8.4 [2024-11-25T04:17:04.572Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.4.0 [2024-11-25T04:17:04.831Z] go: downloading github.com/jackc/pgpassfile v1.0.0 [2024-11-25T04:17:04.831Z] go: downloading github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 [2024-11-25T04:17:05.091Z] go: downloading github.com/jackc/puddle/v2 v2.2.2 [2024-11-25T04:17:05.091Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-11-25T04:17:05.091Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-11-25T04:17:05.091Z] go: downloading golang.org/x/time v0.6.0 [2024-11-25T04:17:05.091Z] go: downloading golang.org/x/sys v0.25.0 [2024-11-25T04:17:05.091Z] go: downloading github.com/nats-io/nats.go v1.37.0 [2024-11-25T04:17:05.091Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-11-25T04:17:05.091Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-11-25T04:17:05.091Z] go: downloading github.com/michaelquigley/pfxlog v0.6.10 [2024-11-25T04:17:05.091Z] go: downloading github.com/openziti/channel/v3 v3.0.4 [2024-11-25T04:17:05.350Z] go: downloading github.com/openziti/edge-api v0.26.34 [2024-11-25T04:17:05.350Z] go: downloading github.com/openziti/foundation/v2 v2.0.49 [2024-11-25T04:17:05.350Z] go: downloading github.com/openziti/secretstream v0.1.25 [2024-11-25T04:17:05.350Z] go: downloading github.com/openziti/transport/v2 v2.0.146 [2024-11-25T04:17:05.350Z] go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 [2024-11-25T04:17:05.350Z] go: downloading github.com/spf13/cast v1.7.0 [2024-11-25T04:17:05.609Z] go: downloading github.com/Microsoft/go-winio v0.6.2 [2024-11-25T04:17:05.609Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-11-25T04:17:05.609Z] go: downloading google.golang.org/grpc v1.67.1 [2024-11-25T04:17:05.868Z] go: downloading github.com/go-openapi/runtime v0.28.0 [2024-11-25T04:17:05.868Z] go: downloading github.com/go-openapi/strfmt v0.23.0 [2024-11-25T04:17:05.868Z] go: downloading github.com/go-resty/resty/v2 v2.15.3 [2024-11-25T04:17:05.868Z] go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 [2024-11-25T04:17:06.128Z] go: downloading github.com/openziti/identity v1.0.85 [2024-11-25T04:17:06.128Z] go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 [2024-11-25T04:17:06.128Z] go: downloading github.com/zitadel/oidc/v2 v2.12.2 [2024-11-25T04:17:06.128Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2024-11-25T04:17:06.128Z] go: downloading github.com/go-playground/assert/v2 v2.2.0 [2024-11-25T04:17:06.128Z] go: downloading golang.org/x/oauth2 v0.23.0 [2024-11-25T04:17:06.128Z] go: downloading github.com/cenkalti/backoff/v4 v4.3.0 [2024-11-25T04:17:06.128Z] go: downloading github.com/kataras/go-events v0.0.3 [2024-11-25T04:17:06.128Z] go: downloading github.com/openziti/metrics v1.2.58 [2024-11-25T04:17:06.128Z] go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d [2024-11-25T04:17:06.387Z] go: downloading github.com/klauspost/compress v1.17.2 [2024-11-25T04:17:06.387Z] go: downloading github.com/nats-io/nkeys v0.4.7 [2024-11-25T04:17:06.387Z] go: downloading github.com/nats-io/nuid v1.0.1 [2024-11-25T04:17:06.387Z] go: downloading github.com/golang/protobuf v1.5.4 [2024-11-25T04:17:06.387Z] go: downloading google.golang.org/protobuf v1.34.2 [2024-11-25T04:17:06.387Z] go: downloading github.com/speps/go-hashids v2.0.0+incompatible [2024-11-25T04:17:06.387Z] go: downloading github.com/frankban/quicktest v1.14.6 [2024-11-25T04:17:06.387Z] go: downloading github.com/go-jose/go-jose/v4 v4.0.4 [2024-11-25T04:17:06.387Z] go: downloading github.com/gorilla/mux v1.8.1 [2024-11-25T04:17:06.387Z] go: downloading nhooyr.io/websocket v1.8.17 [2024-11-25T04:17:06.387Z] go: downloading github.com/google/go-cmp v0.6.0 [2024-11-25T04:17:06.387Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 [2024-11-25T04:17:06.387Z] go: downloading github.com/go-openapi/errors v0.22.0 [2024-11-25T04:17:06.387Z] go: downloading github.com/go-openapi/swag v0.23.0 [2024-11-25T04:17:06.387Z] go: downloading github.com/go-openapi/spec v0.21.0 [2024-11-25T04:17:06.646Z] go: downloading github.com/go-openapi/validate v0.24.0 [2024-11-25T04:17:06.646Z] go: downloading github.com/opentracing/opentracing-go v1.2.0 [2024-11-25T04:17:06.646Z] go: downloading go.opentelemetry.io/otel v1.29.0 [2024-11-25T04:17:06.646Z] go: downloading go.opentelemetry.io/otel/trace v1.29.0 [2024-11-25T04:17:06.646Z] go: downloading go.opentelemetry.io/otel/sdk v1.24.0 [2024-11-25T04:17:06.646Z] go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 [2024-11-25T04:17:06.646Z] go: downloading go.mongodb.org/mongo-driver v1.17.0 [2024-11-25T04:17:06.646Z] go: downloading github.com/oklog/ulid v1.3.1 [2024-11-25T04:17:06.904Z] go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa [2024-11-25T04:17:06.904Z] go: downloading github.com/kr/pretty v0.3.1 [2024-11-25T04:17:06.904Z] go: downloading github.com/mitchellh/go-ps v1.0.0 [2024-11-25T04:17:06.904Z] go: downloading github.com/shirou/gopsutil/v3 v3.24.5 [2024-11-25T04:17:06.904Z] go: downloading go.mozilla.org/pkcs7 v0.9.0 [2024-11-25T04:17:06.904Z] go: downloading golang.org/x/term v0.24.0 [2024-11-25T04:17:06.904Z] go: downloading github.com/fsnotify/fsnotify v1.7.0 [2024-11-25T04:17:06.904Z] go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 [2024-11-25T04:17:06.904Z] go: downloading github.com/gorilla/securecookie v1.1.2 [2024-11-25T04:17:06.904Z] go: downloading github.com/gorilla/schema v1.4.1 [2024-11-25T04:17:06.904Z] go: downloading github.com/muhlemmer/gu v0.3.1 [2024-11-25T04:17:06.904Z] go: downloading github.com/go-openapi/analysis v0.23.0 [2024-11-25T04:17:06.904Z] go: downloading github.com/go-openapi/loads v0.22.0 [2024-11-25T04:17:06.904Z] go: downloading github.com/mailru/easyjson v0.7.7 [2024-11-25T04:17:07.162Z] go: downloading github.com/go-openapi/jsonpointer v0.21.0 [2024-11-25T04:17:07.162Z] go: downloading github.com/go-openapi/jsonreference v0.21.0 [2024-11-25T04:17:07.162Z] go: downloading github.com/go-logr/logr v1.4.2 [2024-11-25T04:17:07.162Z] go: downloading go.opentelemetry.io/otel/metric v1.29.0 [2024-11-25T04:17:07.162Z] go: downloading github.com/go-logr/stdr v1.2.2 [2024-11-25T04:17:07.162Z] go: downloading github.com/emirpasic/gods v1.18.1 [2024-11-25T04:17:07.162Z] go: downloading github.com/kr/text v0.2.0 [2024-11-25T04:17:07.162Z] go: downloading github.com/rogpeppe/go-internal v1.11.0 [2024-11-25T04:17:07.162Z] go: downloading github.com/yusufpapurcu/wmi v1.2.4 [2024-11-25T04:17:07.162Z] go: downloading github.com/tklauser/go-sysconf v0.3.12 [2024-11-25T04:17:07.162Z] go: downloading github.com/jeremija/gosubmit v0.2.7 [2024-11-25T04:17:07.162Z] go: downloading github.com/google/gofuzz v1.2.0 [2024-11-25T04:17:07.162Z] go: downloading github.com/josharian/intern v1.0.0 [2024-11-25T04:17:07.162Z] go: downloading github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 [2024-11-25T04:17:07.162Z] go: downloading github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c [2024-11-25T04:17:07.162Z] go: downloading github.com/shoenig/go-m1cpu v0.1.6 [2024-11-25T04:17:07.162Z] go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 [2024-11-25T04:17:07.162Z] go: downloading github.com/miekg/pkcs11 v1.1.1 [2024-11-25T04:17:07.423Z] go: downloading github.com/muhlemmer/httpforwarded v0.1.0 [2024-11-25T04:17:07.423Z] go: downloading github.com/rs/cors v1.11.0 [2024-11-25T04:17:07.423Z] go: downloading github.com/go-ole/go-ole v1.2.6 [2024-11-25T04:17:07.423Z] go: downloading github.com/tklauser/numcpus v0.6.1 [2024-11-25T04:17:07.423Z] go: downloading github.com/shoenig/test v0.6.4 [2024-11-25T04:17:07.423Z] go: downloading github.com/onsi/ginkgo v1.16.4 [2024-11-25T04:17:07.423Z] go: downloading github.com/onsi/gomega v1.13.0 [2024-11-25T04:17:07.682Z] go: downloading github.com/nxadm/tail v1.4.8 [2024-11-25T04:17:07.682Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2024-11-25T04:17:07.682Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2024-11-25T04:17:08.248Z] go: downloading github.com/stretchr/testify v1.10.0 [2024-11-25T04:17:08.248Z] CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.ApplicationVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o app-new-service [2024-11-25T04:17:30.172Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1642/app-service-template' [2024-11-25T04:17:30.172Z] make -C ./app-service-template test [2024-11-25T04:17:30.172Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1642/app-service-template' [2024-11-25T04:17:30.172Z] go test -race -coverprofile=coverage.out ./... [2024-11-25T04:18:02.245Z] app-new-service/config coverage: 0.0% of statements [2024-11-25T04:18:02.245Z] ok app-new-service 1.050s coverage: 45.9% of statements [2024-11-25T04:18:02.245Z] ok app-new-service/functions 1.046s coverage: 85.3% of statements [2024-11-25T04:18:02.504Z] go vet ./... [2024-11-25T04:18:29.039Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-25T04:18:29.039Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-25T04:18:29.039Z] ./bin/test-attribution-txt.sh [2024-11-25T04:18:29.039Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1642/app-service-template' [2024-11-25T04:18:29.039Z] go test -race -coverprofile=coverage.out ./... [2024-11-25T04:18:29.039Z] go: downloading github.com/gomodule/redigo v1.9.2 [2024-11-25T04:18:29.039Z] go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 [2024-11-25T04:18:29.039Z] ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal [no test files] [2024-11-25T04:18:33.232Z] ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db [no test files] [2024-11-25T04:18:33.232Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/bootstrap/container coverage: 0.0% of statements [2024-11-25T04:18:33.232Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/common coverage: 0.0% of statements [2024-11-25T04:18:33.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger [no test files] [2024-11-25T04:18:33.802Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/postgres coverage: 0.0% of statements [2024-11-25T04:18:33.802Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/redis coverage: 0.0% of statements [2024-11-25T04:18:34.062Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/app 1.106s coverage: 66.3% of statements [2024-11-25T04:18:34.062Z] --- FAIL: TestContext_Clone (0.00s) [2024-11-25T04:18:34.062Z] context_test.go:677: [2024-11-25T04:18:34.062Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1642/internal/appfunction/context_test.go:677 [2024-11-25T04:18:34.062Z] Error: Both arguments must be pointers [2024-11-25T04:18:34.062Z] Test: TestContext_Clone [2024-11-25T04:18:34.062Z] context_test.go:686: [2024-11-25T04:18:34.062Z] Error Trace: /w/workspace/dry_app-functions-sdk-go_PR-1642/internal/appfunction/context_test.go:686 [2024-11-25T04:18:34.062Z] Error: Both arguments must be pointers [2024-11-25T04:18:34.062Z] Test: TestContext_Clone [2024-11-25T04:18:34.062Z] FAIL [2024-11-25T04:18:34.062Z] coverage: 89.3% of statements [2024-11-25T04:18:34.062Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v4/internal/appfunction 0.035s [2024-11-25T04:18:34.062Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/bootstrap/handlers 1.040s coverage: 85.1% of statements [2024-11-25T04:18:34.062Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/etm 1.026s coverage: 100.0% of statements [2024-11-25T04:18:34.321Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/runtime 1.348s coverage: 75.2% of statements [2024-11-25T04:18:34.579Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/http/mocks coverage: 0.0% of statements [2024-11-25T04:18:34.579Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/store/db/models 1.025s coverage: 97.3% of statements [2024-11-25T04:18:34.837Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mocks coverage: 0.0% of statements [2024-11-25T04:18:35.105Z] github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mqtt/mocks coverage: 0.0% of statements [2024-11-25T04:18:35.672Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/http 1.035s coverage: 82.8% of statements [2024-11-25T04:18:35.672Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/messagebus 1.043s coverage: 65.1% of statements [2024-11-25T04:18:36.236Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/trigger/mqtt 1.034s coverage: 27.6% of statements [2024-11-25T04:18:36.236Z] github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/interfaces coverage: 0.0% of statements [2024-11-25T04:18:36.236Z] github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-25T04:18:36.805Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/internal/webserver 1.046s coverage: 15.9% of statements [2024-11-25T04:18:37.373Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg 1.042s coverage: 27.3% of statements [2024-11-25T04:18:37.373Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/secure 1.026s coverage: 52.8% of statements [2024-11-25T04:19:03.934Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/transforms 26.132s coverage: 72.2% of statements [2024-11-25T04:19:03.934Z] ok github.com/edgexfoundry/app-functions-sdk-go/v4/pkg/util 1.021s coverage: 94.4% of statements [2024-11-25T04:19:03.934Z] FAIL [2024-11-25T04:19:03.934Z] make: *** [Makefile:43: test-sdk] Error 1 [Pipeline] } [2024-11-25T04:19:03.982Z] $ docker stop --time=1 9bacab4d1e0cbb625077845cb311ae879a48bc97e857da42814f26d3c9cdd166 [2024-11-25T04:19:05.365Z] $ docker rm -f --volumes 9bacab4d1e0cbb625077845cb311ae879a48bc97e857da42814f26d3c9cdd166 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-25T04:19:07.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-25T04:19:07.433Z] [2024-11-25T04:19:07.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-25T04:19:07.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-25T04:19:07.830Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-25T04:19:07.830Z] 5eb5b503b376: Pulling fs layer [2024-11-25T04:19:07.830Z] 5c69ac0246d0: Pulling fs layer [2024-11-25T04:19:07.830Z] ec43610c2a17: Pulling fs layer [2024-11-25T04:19:07.830Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-25T04:19:07.830Z] 33b1e0a273af: Pulling fs layer [2024-11-25T04:19:07.830Z] 5d3b04190fa2: Pulling fs layer [2024-11-25T04:19:07.830Z] 2f39f015ded8: Pulling fs layer [2024-11-25T04:19:07.830Z] 33b1e0a273af: Waiting [2024-11-25T04:19:07.830Z] 5d3b04190fa2: Waiting [2024-11-25T04:19:07.830Z] 2f39f015ded8: Waiting [2024-11-25T04:19:07.830Z] 3a2ae6a8a46f: Waiting [2024-11-25T04:19:07.830Z] 5c69ac0246d0: Verifying Checksum [2024-11-25T04:19:07.830Z] 5c69ac0246d0: Download complete [2024-11-25T04:19:07.830Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-25T04:19:07.830Z] 3a2ae6a8a46f: Download complete [2024-11-25T04:19:07.830Z] 33b1e0a273af: Verifying Checksum [2024-11-25T04:19:07.830Z] 33b1e0a273af: Download complete [2024-11-25T04:19:07.830Z] 5d3b04190fa2: Verifying Checksum [2024-11-25T04:19:07.830Z] 5d3b04190fa2: Download complete [2024-11-25T04:19:07.830Z] ec43610c2a17: Verifying Checksum [2024-11-25T04:19:07.830Z] ec43610c2a17: Download complete [2024-11-25T04:19:08.090Z] 5eb5b503b376: Download complete [2024-11-25T04:19:08.657Z] 2f39f015ded8: Download complete [2024-11-25T04:19:09.225Z] 5eb5b503b376: Pull complete [2024-11-25T04:19:09.225Z] 5c69ac0246d0: Pull complete [2024-11-25T04:19:09.789Z] ec43610c2a17: Pull complete [2024-11-25T04:19:09.789Z] 3a2ae6a8a46f: Pull complete [2024-11-25T04:19:10.047Z] 33b1e0a273af: Pull complete [2024-11-25T04:19:10.047Z] 5d3b04190fa2: Pull complete [2024-11-25T04:19:14.229Z] 2f39f015ded8: Pull complete [2024-11-25T04:19:14.229Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-25T04:19:14.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-25T04:19:14.229Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-25T04:19:14.491Z] prd-ubuntu20.04-docker-8c-8g-31779 does not seem to be running inside a container [2024-11-25T04:19:14.520Z] $ 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/dry_app-functions-sdk-go_PR-1642 -v /w/workspace/dry_app-functions-sdk-go_PR-1642:/w/workspace/dry_app-functions-sdk-go_PR-1642:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1642@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1642@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-25T04:19:15.491Z] $ docker top 828ccc2b5341ef3c8250511e00f4759a6650b5329aad5eab8df68c931122b55c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-25T04:19:16.154Z] ---> job-cost.sh [2024-11-25T04:19:16.154Z] lf-activate-venv: SKIPPING [2024-11-25T04:19:16.154Z] INFO: No Stack... [2024-11-25T04:19:16.721Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-25T04:19:16.980Z] INFO: Archiving Costs [Pipeline] sh [2024-11-25T04:19:17.306Z] + cat /w/workspace/dry_app-functions-sdk-go_PR-1642/archives/cost.csv [2024-11-25T04:19:17.306Z] + cut -d, -f6 [Pipeline] lock [2024-11-25T04:19:17.358Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1642-1-stack-cost] [2024-11-25T04:19:17.365Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1642-1-stack-cost] did not exist. Created. [2024-11-25T04:19:17.372Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1642-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-25T04:19:17.780Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-25T04:19:17.853Z] Stashed 1 file(s) [Pipeline] } [2024-11-25T04:19:17.881Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-functions-sdk-go-PR-1642-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-25T04:19:17.970Z] $ docker stop --time=1 828ccc2b5341ef3c8250511e00f4759a6650b5329aad5eab8df68c931122b55c [2024-11-25T04:19:19.128Z] $ docker rm -f --volumes 828ccc2b5341ef3c8250511e00f4759a6650b5329aad5eab8df68c931122b55c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-25T04:19:19.549Z] Failed in branch amd64 [2024-11-25T10:16:27.449Z] Cancelling nested steps due to timeout [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-25T10:16:27.644Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-25T10:16:30.428Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1642/archives ] [2024-11-25T10:16:30.428Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1642/archives [2024-11-25T10:16:30.428Z] total 16 [2024-11-25T10:16:30.428Z] drwxr-xr-x 3 root root 4096 Nov 25 04:19 . [2024-11-25T10:16:30.428Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 25 04:19 .. [2024-11-25T10:16:30.428Z] drwxr-xr-x 2 root root 4096 Nov 25 04:19 cost [2024-11-25T10:16:30.428Z] -rw-r--r-- 1 root root 93 Nov 25 04:19 cost.csv [2024-11-25T10:16:30.428Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1642/archives [2024-11-25T10:16:30.428Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1642/archives [2024-11-25T10:16:30.428Z] total 16 [2024-11-25T10:16:30.428Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 25 04:19 . [2024-11-25T10:16:30.428Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 25 04:19 .. [2024-11-25T10:16:30.428Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 25 04:19 cost [2024-11-25T10:16:30.428Z] -rw-r--r-- 1 jenkins jenkins 93 Nov 25 04:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-25T10:16:30.770Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-25T10:16:31.690Z] ---> package-listing.sh [2024-11-25T10:16:31.690Z] ++ facter osfamily [2024-11-25T10:16:31.690Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-25T10:16:31.952Z] + OS_FAMILY=debian [2024-11-25T10:16:31.952Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1642 [2024-11-25T10:16:31.952Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-25T10:16:31.952Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-25T10:16:31.952Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-25T10:16:31.952Z] + PACKAGES=/tmp/packages_start.txt [2024-11-25T10:16:31.952Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1642 ']' [2024-11-25T10:16:31.952Z] + PACKAGES=/tmp/packages_end.txt [2024-11-25T10:16:31.952Z] + case "${OS_FAMILY}" in [2024-11-25T10:16:31.952Z] + dpkg -l [2024-11-25T10:16:31.952Z] + grep '^ii' [2024-11-25T10:16:31.952Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-25T10:16:31.952Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-25T10:16:31.952Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-25T10:16:31.952Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1642 ']' [2024-11-25T10:16:31.952Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1642/archives/ [2024-11-25T10:16:31.952Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1642/archives/ [Pipeline] echo [2024-11-25T10:16:31.998Z] 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/dry_app-functions-sdk-go_PR-1642/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-25T10:16:32.302Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-25T10:16:32.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-25T10:16:32.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-25T10:16:33.140Z] prd-ubuntu20.04-docker-8c-8g-31779 does not seem to be running inside a container [2024-11-25T10:16:33.175Z] $ 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/dry_app-functions-sdk-go_PR-1642/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1642 -v /w/workspace/dry_app-functions-sdk-go_PR-1642:/w/workspace/dry_app-functions-sdk-go_PR-1642:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1642@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1642@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 [2024-11-25T10:16:33.361Z] $ docker top 409140550feea6e7ba2184b858e6f54031ba969092f73de76d9e536b54512a34 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-25T10:16:33.778Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-25T10:16:34.102Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-25T10:16:34.422Z] + ls /var/log/sa-host [2024-11-25T10:16:34.422Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-25T10:16:34.593Z] provisioning config files... [2024-11-25T10:16:34.606Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1642@tmp/config13249529364045170373tmp [Pipeline] { [Pipeline] echo [2024-11-25T10:16:34.675Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-25T10:16:35.036Z] ---> create-netrc.sh [Pipeline] } [2024-11-25T10:16:35.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-25T10:16:35.490Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-25T10:16:35.534Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-25T10:16:35.867Z] ---> sudo-logs.sh [2024-11-25T10:16:35.867Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-25T10:16:35.984Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-25T10:16:36.314Z] ---> job-cost.sh [2024-11-25T10:16:36.314Z] lf-activate-venv: SKIPPING [2024-11-25T10:16:36.314Z] DEBUG: total: 0.2199999988079071 [2024-11-25T10:16:36.314Z] INFO: Retrieving Stack Cost... [2024-11-25T10:16:36.574Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-25T10:16:37.143Z] INFO: Archiving Costs [Pipeline] echo [2024-11-25T10:16:37.186Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-25T10:16:37.516Z] ---> logs-deploy.sh [2024-11-25T10:16:37.516Z] lf-activate-venv: SKIPPING [2024-11-25T10:16:37.516Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1642/1 [2024-11-25T10:16:37.516Z] INFO: archiving workspace using pattern(s): [2024-11-25T10:16:38.455Z] Archives upload complete. [2024-11-25T10:16:38.718Z] INFO: archiving logs to Nexus