Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8e06685c5bed515b18a4f19b1b2841e63869493f 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-ssh11681616541325047874.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6049588156560222806.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11437365671037803033.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17459437101471907695.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/device-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/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3783245042753887470.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:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage: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: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true 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: true 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 ‘prd-ubuntu20.04-docker-8c-8g-5891’ Running on prd-ubuntu20.04-docker-8c-8g-5893 in /w/workspace/edgexfoundry_device-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/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-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/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8e06685c5bed515b18a4f19b1b2841e63869493f (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1509)" > git rev-list --no-walk 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T15:38:35.017Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T15:38:35.084Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T15:38:35.105Z] ========================================================= [2023-09-12T15:38:35.105Z] EdgeX Global Pipelines Version Info [2023-09-12T15:38:35.105Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:38:35.837Z] ------------------- [2023-09-12T15:38:35.837Z] stable info: [2023-09-12T15:38:35.837Z] ------------------- [2023-09-12T15:38:35.837Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T15:38:35.837Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-12T15:38:35.837Z] Message: update stable to v1.0.253 [2023-09-12T15:38:36.409Z] ------------------- [2023-09-12T15:38:36.409Z] experimental info: [2023-09-12T15:38:36.409Z] ------------------- [2023-09-12T15:38:36.409Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T15:38:36.409Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-12T15:38:36.409Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T15:38:36.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-12T15:38:36.601Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-12T15:38:36.614Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T15:38:36.633Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T15:38:36.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T15:38:36.667Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-12T15:38:36.682Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T15:38:36.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-12T15:38:36.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T15:38:36.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T15:38:36.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T15:38:36.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-12T15:38:36.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T15:38:36.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T15:38:36.892Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T15:38:36.904Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T15:38:36.914Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T15:38:36.923Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T15:38:36.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T15:38:36.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T15:38:36.957Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-12T15:38:36.972Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-12T15:38:36.982Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T15:38:36.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T15:38:37.006Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T15:38:37.018Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T15:38:37.032Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T15:38:37.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-12T15:38:37.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-12T15:38:37.067Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-12T15:38:37.081Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] echo [2023-09-12T15:38:37.096Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e06685 [Pipeline] echo [2023-09-12T15:38:37.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T15:38:37.149Z] provisioning config files... [2023-09-12T15:38:37.165Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1378966651783075657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:38:37.476Z] ---> docker-login.sh [2023-09-12T15:38:37.476Z] nexus3.edgexfoundry.org:10001 [2023-09-12T15:38:38.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:38.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:38.417Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:38.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:38.417Z] [2023-09-12T15:38:38.417Z] Login Succeeded [2023-09-12T15:38:38.417Z] nexus3.edgexfoundry.org:10002 [2023-09-12T15:38:38.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:38.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:38.676Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:38.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:38.676Z] [2023-09-12T15:38:38.676Z] Login Succeeded [2023-09-12T15:38:38.676Z] nexus3.edgexfoundry.org:10003 [2023-09-12T15:38:38.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:38.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:38.676Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:38.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:38.676Z] [2023-09-12T15:38:38.676Z] Login Succeeded [2023-09-12T15:38:38.676Z] nexus3.edgexfoundry.org:10004 [2023-09-12T15:38:38.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:38.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:38.936Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:38.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:38.936Z] [2023-09-12T15:38:38.936Z] Login Succeeded [2023-09-12T15:38:38.936Z] docker.io [2023-09-12T15:38:38.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:39.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:39.195Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:39.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:39.195Z] [2023-09-12T15:38:39.195Z] Login Succeeded [2023-09-12T15:38:39.195Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T15:38:39.202Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T15:38:39.563Z] + git rev-list -1 --merges 8e06685c5bed515b18a4f19b1b2841e63869493f~1..8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] echo [2023-09-12T15:38:39.615Z] -----------> git rev-list -1 --merges 8e06685c5bed515b18a4f19b1b2841e63869493f~1..8e06685c5bed515b18a4f19b1b2841e63869493f 8e06685c5bed515b18a4f19b1b2841e63869493f [false] [Pipeline] sh [2023-09-12T15:38:39.911Z] + git log --format=format:%s -1 8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] echo [2023-09-12T15:38:39.925Z] ========================================================= [2023-09-12T15:38:39.925Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T15:38:39.925Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T15:38:40.267Z] + git log --format=format:%s -1 8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] echo [2023-09-12T15:38:40.278Z] [semverPrep] GIT_COMMIT: 8e06685c5bed515b18a4f19b1b2841e63869493f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1509) [Pipeline] echo [2023-09-12T15:38:40.287Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T15:38:40.631Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T15:38:40.632Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T15:38:40.632Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T15:38:40.632Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T15:38:40.632Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T15:38:40.632Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T15:38:40.632Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:38:40.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T15:38:40.975Z] [2023-09-12T15:38:40.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:38:41.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T15:38:41.282Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T15:38:41.282Z] b85a868b505f: Pulling fs layer [2023-09-12T15:38:41.282Z] e2be974225ed: Pulling fs layer [2023-09-12T15:38:41.282Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T15:38:41.282Z] 988bab9f4d93: Pulling fs layer [2023-09-12T15:38:41.282Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T15:38:41.282Z] eaf3925da568: Pulling fs layer [2023-09-12T15:38:41.282Z] 988bab9f4d93: Waiting [2023-09-12T15:38:41.282Z] 1469e6f7b9e6: Waiting [2023-09-12T15:38:41.282Z] bab4dde63d76: Pulling fs layer [2023-09-12T15:38:41.282Z] eaf3925da568: Waiting [2023-09-12T15:38:41.282Z] bab4dde63d76: Waiting [2023-09-12T15:38:41.282Z] bde34c3a00c8: Pulling fs layer [2023-09-12T15:38:41.282Z] b352a97aabf1: Pulling fs layer [2023-09-12T15:38:41.282Z] b352a97aabf1: Waiting [2023-09-12T15:38:41.282Z] bde34c3a00c8: Waiting [2023-09-12T15:38:41.282Z] 4872d77fe225: Pulling fs layer [2023-09-12T15:38:41.282Z] 5851b861e8e6: Pulling fs layer [2023-09-12T15:38:41.282Z] 5851b861e8e6: Waiting [2023-09-12T15:38:41.282Z] e2be974225ed: Verifying Checksum [2023-09-12T15:38:41.282Z] e2be974225ed: Download complete [2023-09-12T15:38:41.282Z] 988bab9f4d93: Verifying Checksum [2023-09-12T15:38:41.282Z] 988bab9f4d93: Download complete [2023-09-12T15:38:41.541Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T15:38:41.541Z] 1469e6f7b9e6: Download complete [2023-09-12T15:38:41.541Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T15:38:41.541Z] 339a4e72a1f5: Download complete [2023-09-12T15:38:41.541Z] eaf3925da568: Verifying Checksum [2023-09-12T15:38:41.541Z] eaf3925da568: Download complete [2023-09-12T15:38:41.541Z] bde34c3a00c8: Verifying Checksum [2023-09-12T15:38:41.541Z] bde34c3a00c8: Download complete [2023-09-12T15:38:41.541Z] b352a97aabf1: Verifying Checksum [2023-09-12T15:38:41.541Z] b352a97aabf1: Download complete [2023-09-12T15:38:41.541Z] 4872d77fe225: Verifying Checksum [2023-09-12T15:38:41.541Z] 4872d77fe225: Download complete [2023-09-12T15:38:41.541Z] 5851b861e8e6: Verifying Checksum [2023-09-12T15:38:41.541Z] 5851b861e8e6: Download complete [2023-09-12T15:38:41.541Z] b85a868b505f: Verifying Checksum [2023-09-12T15:38:41.541Z] b85a868b505f: Download complete [2023-09-12T15:38:42.107Z] bab4dde63d76: Verifying Checksum [2023-09-12T15:38:42.107Z] bab4dde63d76: Download complete [2023-09-12T15:38:43.048Z] b85a868b505f: Pull complete [2023-09-12T15:38:43.048Z] e2be974225ed: Pull complete [2023-09-12T15:38:43.617Z] 339a4e72a1f5: Pull complete [2023-09-12T15:38:43.617Z] 988bab9f4d93: Pull complete [2023-09-12T15:38:44.225Z] 1469e6f7b9e6: Pull complete [2023-09-12T15:38:44.225Z] eaf3925da568: Pull complete [2023-09-12T15:38:46.128Z] bab4dde63d76: Pull complete [2023-09-12T15:38:46.128Z] bde34c3a00c8: Pull complete [2023-09-12T15:38:46.128Z] b352a97aabf1: Pull complete [2023-09-12T15:38:46.128Z] 4872d77fe225: Pull complete [2023-09-12T15:38:46.387Z] 5851b861e8e6: Pull complete [2023-09-12T15:38:46.387Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T15:38:46.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T15:38:46.388Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:38:46.504Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:38:46.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T15:38:50.227Z] $ docker top f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 -eo pid,comm [2023-09-12T15:38:50.284Z] 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). [2023-09-12T15:38:50.284Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T15:38:50.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T15:38:50.324Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T15:38:50.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T15:38:50.434Z] $ docker exec f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 ssh-agent [2023-09-12T15:38:50.538Z] SSH_AUTH_SOCK=/tmp/ssh-61ZZ75KTj3Ll/agent.32 [2023-09-12T15:38:50.538Z] SSH_AGENT_PID=38 [2023-09-12T15:38:50.544Z] Running ssh-add (command line suppressed) [2023-09-12T15:38:50.646Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13028095302061718347.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13028095302061718347.key) [2023-09-12T15:38:50.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T15:38:50.951Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T15:38:50.963Z] $ docker exec --env ******** --env ******** f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 ssh-agent -k [2023-09-12T15:38:51.063Z] unset SSH_AUTH_SOCK; [2023-09-12T15:38:51.063Z] unset SSH_AGENT_PID; [2023-09-12T15:38:51.063Z] echo Agent pid 38 killed; [2023-09-12T15:38:51.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T15:38:51.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T15:38:51.101Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T15:38:51.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T15:38:51.214Z] $ docker exec f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 ssh-agent [2023-09-12T15:38:51.315Z] SSH_AUTH_SOCK=/tmp/ssh-e8j8JpIVh8eI/agent.70 [2023-09-12T15:38:51.315Z] SSH_AGENT_PID=76 [2023-09-12T15:38:51.320Z] Running ssh-add (command line suppressed) [2023-09-12T15:38:51.437Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15133313565502858920.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15133313565502858920.key) [2023-09-12T15:38:51.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T15:38:51.741Z] + git semver init [2023-09-12T15:38:52.000Z] 2023-09-12 15:38:51,924 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T15:38:52.000Z] 2023-09-12 15:38:51,925 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-12T15:38:52.000Z] 2023-09-12 15:38:51,926 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-12T15:38:52.000Z] 2023-09-12 15:38:51,926 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T15:38:52.941Z] 2023-09-12 15:38:52,926 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-12T15:38:52.941Z] 2023-09-12 15:38:52,926 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-12T15:38:52.941Z] 2023-09-12 15:38:52,926 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T15:38:52.941Z] 2023-09-12 15:38:52,927 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T15:38:52.941Z] 3.1.0-dev.21 [Pipeline] } [2023-09-12T15:38:53.209Z] $ docker exec --env ******** --env ******** f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 ssh-agent -k [2023-09-12T15:38:53.300Z] unset SSH_AUTH_SOCK; [2023-09-12T15:38:53.301Z] unset SSH_AGENT_PID; [2023-09-12T15:38:53.301Z] echo Agent pid 76 killed; [2023-09-12T15:38:53.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T15:38:53.611Z] + git semver [Pipeline] } [2023-09-12T15:38:53.878Z] $ docker stop --time=1 f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 [2023-09-12T15:38:55.318Z] $ docker rm -f --volumes f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T15:38:55.721Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T15:38:55.962Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T15:38:55.964Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.21 [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] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T15:38:56.079Z] provisioning config files... [2023-09-12T15:38:56.089Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4704169565258369201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:38:56.387Z] ---> docker-login.sh [2023-09-12T15:38:56.387Z] nexus3.edgexfoundry.org:10001 [2023-09-12T15:38:56.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:56.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:56.387Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:56.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:56.387Z] [2023-09-12T15:38:56.387Z] Login Succeeded [2023-09-12T15:38:56.387Z] nexus3.edgexfoundry.org:10002 [2023-09-12T15:38:56.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:56.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:56.387Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:56.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:56.387Z] [2023-09-12T15:38:56.387Z] Login Succeeded [2023-09-12T15:38:56.387Z] nexus3.edgexfoundry.org:10003 [2023-09-12T15:38:56.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:56.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:56.646Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:56.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:56.646Z] [2023-09-12T15:38:56.646Z] Login Succeeded [2023-09-12T15:38:56.646Z] nexus3.edgexfoundry.org:10004 [2023-09-12T15:38:56.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:56.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:56.646Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:56.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:56.646Z] [2023-09-12T15:38:56.646Z] Login Succeeded [2023-09-12T15:38:56.646Z] docker.io [2023-09-12T15:38:56.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:38:56.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:38:56.905Z] Configure a credential helper to remove this warning. See [2023-09-12T15:38:56.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:38:56.905Z] [2023-09-12T15:38:56.905Z] Login Succeeded [2023-09-12T15:38:56.905Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T15:38:56.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T15:38:56.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T15:38:56.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T15:38:56.989Z] ========================================================= [2023-09-12T15:38:56.989Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-12T15:38:56.989Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:38:57.291Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T15:38:57.291Z] Sending build context to Docker daemon 11.1MB [2023-09-12T15:38:57.291Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T15:38:57.291Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T15:38:57.551Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T15:38:57.551Z] 4db1b89c0bd1: Pulling fs layer [2023-09-12T15:38:57.551Z] 6911f1a30b25: Pulling fs layer [2023-09-12T15:38:57.551Z] e194b8c5c2a9: Pulling fs layer [2023-09-12T15:38:57.551Z] 6863d3e3a2b1: Pulling fs layer [2023-09-12T15:38:57.551Z] ec0bb842ea78: Pulling fs layer [2023-09-12T15:38:57.551Z] 40a00589a448: Pulling fs layer [2023-09-12T15:38:57.551Z] 6c08303d61cc: Pulling fs layer [2023-09-12T15:38:57.551Z] 798269fcf238: Pulling fs layer [2023-09-12T15:38:57.551Z] 40a00589a448: Waiting [2023-09-12T15:38:57.551Z] 6863d3e3a2b1: Waiting [2023-09-12T15:38:57.551Z] 6c08303d61cc: Waiting [2023-09-12T15:38:57.551Z] ec0bb842ea78: Waiting [2023-09-12T15:38:57.551Z] 798269fcf238: Waiting [2023-09-12T15:38:57.551Z] 6911f1a30b25: Verifying Checksum [2023-09-12T15:38:57.551Z] 6911f1a30b25: Download complete [2023-09-12T15:38:57.551Z] 6863d3e3a2b1: Verifying Checksum [2023-09-12T15:38:57.551Z] 6863d3e3a2b1: Download complete [2023-09-12T15:38:57.812Z] ec0bb842ea78: Verifying Checksum [2023-09-12T15:38:57.812Z] ec0bb842ea78: Download complete [2023-09-12T15:38:57.812Z] 4db1b89c0bd1: Verifying Checksum [2023-09-12T15:38:57.812Z] 4db1b89c0bd1: Download complete [2023-09-12T15:38:57.812Z] 40a00589a448: Verifying Checksum [2023-09-12T15:38:57.812Z] 40a00589a448: Download complete [2023-09-12T15:38:58.072Z] 4db1b89c0bd1: Pull complete [2023-09-12T15:38:58.334Z] 6911f1a30b25: Pull complete [2023-09-12T15:38:58.595Z] 798269fcf238: Verifying Checksum [2023-09-12T15:38:58.595Z] 798269fcf238: Download complete [2023-09-12T15:38:58.595Z] e194b8c5c2a9: Verifying Checksum [2023-09-12T15:38:58.595Z] e194b8c5c2a9: Download complete [2023-09-12T15:38:58.855Z] 6c08303d61cc: Download complete [2023-09-12T15:39:02.165Z] e194b8c5c2a9: Pull complete [2023-09-12T15:39:02.165Z] 6863d3e3a2b1: Pull complete [2023-09-12T15:39:02.165Z] ec0bb842ea78: Pull complete [2023-09-12T15:39:02.165Z] 40a00589a448: Pull complete [2023-09-12T15:39:04.752Z] 6c08303d61cc: Pull complete [2023-09-12T15:39:05.686Z] 798269fcf238: Pull complete [2023-09-12T15:39:05.686Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-12T15:39:05.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-12T15:39:05.686Z] ---> ec979cd7f677 [2023-09-12T15:39:05.686Z] Step 3/10 : ARG MAKE=make build [2023-09-12T15:39:11.048Z] Still waiting to schedule task [2023-09-12T15:39:11.048Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5892’ [2023-09-12T15:39:15.723Z] ---> Running in b423fbd6b56a [2023-09-12T15:39:15.723Z] Removing intermediate container b423fbd6b56a [2023-09-12T15:39:15.723Z] ---> ec97d07a4ef1 [2023-09-12T15:39:15.723Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T15:39:15.982Z] ---> Running in 57faaa5ffb52 [2023-09-12T15:39:15.982Z] Removing intermediate container 57faaa5ffb52 [2023-09-12T15:39:15.982Z] ---> 60440d24322c [2023-09-12T15:39:15.982Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T15:39:15.982Z] ---> Running in 4ce80679ffc3 [2023-09-12T15:39:16.241Z] Removing intermediate container 4ce80679ffc3 [2023-09-12T15:39:16.241Z] ---> f7d8c671adbf [2023-09-12T15:39:16.241Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T15:39:16.241Z] ---> Running in 31d285b42ebd [2023-09-12T15:39:16.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-12T15:39:16.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-12T15:39:16.761Z] OK: 265 MiB in 53 packages [2023-09-12T15:39:17.330Z] Removing intermediate container 31d285b42ebd [2023-09-12T15:39:17.330Z] ---> 64a2e4e4b78a [2023-09-12T15:39:17.330Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T15:39:17.330Z] ---> 1e50d40aa840 [2023-09-12T15:39:17.330Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T15:39:17.330Z] ---> Running in 51a327150b92 [2023-09-12T15:40:13.563Z] Removing intermediate container 51a327150b92 [2023-09-12T15:40:13.563Z] ---> 46938eb5f062 [2023-09-12T15:40:13.563Z] Step 9/10 : COPY . . [2023-09-12T15:40:13.563Z] ---> b00e7cb610f9 [2023-09-12T15:40:13.563Z] Step 10/10 : RUN ${MAKE} [2023-09-12T15:40:13.563Z] ---> Running in eb55538709d5 [2023-09-12T15:40:13.563Z] noop [2023-09-12T15:40:13.563Z] Removing intermediate container eb55538709d5 [2023-09-12T15:40:13.563Z] ---> ffa0a8bb8d68 [2023-09-12T15:40:13.563Z] Successfully built ffa0a8bb8d68 [2023-09-12T15:40:13.563Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:40:13.876Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T15:40:13.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:40:13.950Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:40:13.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T15:40:15.166Z] $ docker top cb5ee73f9d6ff29ffab62bcbb07bcfb21d55f3547ee3301744e404c92808bd4d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T15:40:15.504Z] + go version [2023-09-12T15:40:15.504Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-12T15:40:15.512Z] $ docker stop --time=1 cb5ee73f9d6ff29ffab62bcbb07bcfb21d55f3547ee3301744e404c92808bd4d [2023-09-12T15:40:16.771Z] $ docker rm -f --volumes cb5ee73f9d6ff29ffab62bcbb07bcfb21d55f3547ee3301744e404c92808bd4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:40:17.191Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T15:40:17.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:40:17.256Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:40:17.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T15:40:17.616Z] $ docker top 36ec4476f6a44efa321ec1d95356a6a53d02ed84a1f96fd6298943f52cf415ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T15:40:17.958Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-12T15:40:18.255Z] + make test [2023-09-12T15:40:18.255Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T15:40:24.816Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T15:40:37.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T15:40:37.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T15:40:37.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T15:40:37.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T15:40:37.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T15:40:37.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements [2023-09-12T15:40:37.978Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T15:40:37.978Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T15:40:37.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.079s coverage: 80.2% of statements [2023-09-12T15:40:37.978Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T15:40:37.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.097s coverage: 86.0% of statements [2023-09-12T15:40:37.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.077s coverage: 71.8% of statements [2023-09-12T15:40:39.351Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T15:40:39.351Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T15:40:39.351Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T15:40:41.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.082s coverage: 14.1% of statements [2023-09-12T15:40:41.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.049s coverage: 44.2% of statements [2023-09-12T15:40:41.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.100s coverage: 68.5% of statements [2023-09-12T15:40:41.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.128s coverage: 89.2% of statements [2023-09-12T15:40:41.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 5.5% of statements [2023-09-12T15:41:03.177Z] GO111MODULE=on go vet ./... [2023-09-12T15:41:05.709Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T15:41:05.709Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T15:41:05.709Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T15:41:05.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T15:41:05.730Z] $ docker stop --time=1 36ec4476f6a44efa321ec1d95356a6a53d02ed84a1f96fd6298943f52cf415ef [2023-09-12T15:41:14.649Z] $ docker rm -f --volumes 36ec4476f6a44efa321ec1d95356a6a53d02ed84a1f96fd6298943f52cf415ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T15:41:15.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T15:41:15.362Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T15:41:15.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T15:41:16.208Z] + ls -al . [2023-09-12T15:41:16.208Z] total 304 [2023-09-12T15:41:16.208Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 15:40 . [2023-09-12T15:41:16.208Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 15:38 .. [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 15:38 .dockerignore [2023-09-12T15:41:16.208Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 15:38 .git [2023-09-12T15:41:16.208Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 15:38 .github [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 15:38 .gitignore [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 15:38 .golangci.yml [2023-09-12T15:41:16.208Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 15:38 .semver [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 15:38 CHANGELOG.md [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 15:38 GOVERNANCE.md [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 15:38 Jenkinsfile [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 15:38 LICENSE [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 15:38 Makefile [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 15:38 OWNERS.md [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 15:38 README.md [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 15:38 VERSION [2023-09-12T15:41:16.208Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 15:38 bin [2023-09-12T15:41:16.208Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 15:40 coverage.out [2023-09-12T15:41:16.208Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 15:38 example [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 15:38 go.mod [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 15:38 go.sum [2023-09-12T15:41:16.208Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 15:38 internal [2023-09-12T15:41:16.208Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 15:38 openapi [2023-09-12T15:41:16.208Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 15:38 pkg [2023-09-12T15:41:16.208Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 15:38 snap [2023-09-12T15:41:16.208Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 15:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:41:16.510Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8e06685c5bed515b18a4f19b1b2841e63869493f --label arch=amd64 --label version=3.1.0-dev.21 . [2023-09-12T15:41:16.510Z] Sending build context to Docker daemon 11.22MB [2023-09-12T15:41:16.510Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T15:41:16.510Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T15:41:16.510Z] ---> ffa0a8bb8d68 [2023-09-12T15:41:16.510Z] Step 3/23 : ARG MAKE=make build [2023-09-12T15:41:17.449Z] ---> Running in 7ac5ac2c3cb6 [2023-09-12T15:41:17.449Z] Removing intermediate container 7ac5ac2c3cb6 [2023-09-12T15:41:17.449Z] ---> b8e58c407b5a [2023-09-12T15:41:17.449Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T15:41:17.449Z] ---> Running in a9bc54b5199c [2023-09-12T15:41:17.450Z] Removing intermediate container a9bc54b5199c [2023-09-12T15:41:17.450Z] ---> 92bfdbbadbd2 [2023-09-12T15:41:17.450Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T15:41:17.450Z] ---> Running in e1438dbdd40b [2023-09-12T15:41:17.708Z] Removing intermediate container e1438dbdd40b [2023-09-12T15:41:17.708Z] ---> 815da218254b [2023-09-12T15:41:17.708Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T15:41:17.708Z] ---> Running in 04c4cf51edb9 [2023-09-12T15:41:17.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-12T15:41:17.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-12T15:41:18.224Z] OK: 265 MiB in 53 packages [2023-09-12T15:41:18.789Z] Removing intermediate container 04c4cf51edb9 [2023-09-12T15:41:18.789Z] ---> 08307f08cc88 [2023-09-12T15:41:18.789Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T15:41:18.789Z] ---> cb25804d7bb2 [2023-09-12T15:41:18.789Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T15:41:18.789Z] ---> Running in 4d74c4b0b702 [2023-09-12T15:41:19.356Z] Removing intermediate container 4d74c4b0b702 [2023-09-12T15:41:19.356Z] ---> 7e104fcc8d70 [2023-09-12T15:41:19.356Z] Step 9/23 : COPY . . [2023-09-12T15:41:19.923Z] ---> b4b4f8255c6c [2023-09-12T15:41:19.923Z] Step 10/23 : RUN ${MAKE} [2023-09-12T15:41:19.923Z] ---> Running in ed255ff0a39c [2023-09-12T15:41:20.490Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.21" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T15:41:47.093Z] Removing intermediate container ed255ff0a39c [2023-09-12T15:41:47.093Z] ---> 55a63eac6ae7 [2023-09-12T15:41:47.093Z] Step 11/23 : FROM alpine:3.17 [2023-09-12T15:41:47.093Z] 3.17: Pulling from library/alpine [2023-09-12T15:41:47.093Z] 9398808236ff: Pulling fs layer [2023-09-12T15:41:47.093Z] 9398808236ff: Verifying Checksum [2023-09-12T15:41:47.093Z] 9398808236ff: Download complete [2023-09-12T15:41:47.093Z] 9398808236ff: Pull complete [2023-09-12T15:41:47.093Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-12T15:41:47.093Z] Status: Downloaded newer image for alpine:3.17 [2023-09-12T15:41:47.093Z] ---> 1e0b8b5322fc [2023-09-12T15:41:47.093Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T15:41:47.661Z] ---> Running in cd5710b88118 [2023-09-12T15:41:47.920Z] Removing intermediate container cd5710b88118 [2023-09-12T15:41:47.920Z] ---> 6663a7dc5542 [2023-09-12T15:41:47.920Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T15:41:48.178Z] ---> Running in 8f1b8d0b0978 [2023-09-12T15:41:48.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-12T15:41:49.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-12T15:41:49.264Z] OK: 7 MiB in 15 packages [2023-09-12T15:41:50.203Z] Removing intermediate container 8f1b8d0b0978 [2023-09-12T15:41:50.203Z] ---> a2f6a8175abf [2023-09-12T15:41:50.203Z] Step 14/23 : WORKDIR / [2023-09-12T15:41:50.461Z] ---> Running in 7c1328c06adf [2023-09-12T15:41:50.720Z] Removing intermediate container 7c1328c06adf [2023-09-12T15:41:50.720Z] ---> c9c3a92bc2f2 [2023-09-12T15:41:50.720Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T15:41:50.979Z] ---> 9ea9fae43689 [2023-09-12T15:41:50.979Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T15:41:52.921Z] ---> 521318d506a9 [2023-09-12T15:41:52.921Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T15:41:52.921Z] ---> ef2d83d3b27a [2023-09-12T15:41:52.921Z] Step 18/23 : EXPOSE 59999 [2023-09-12T15:41:53.180Z] ---> Running in 83779a03f7f8 [2023-09-12T15:41:53.439Z] Removing intermediate container 83779a03f7f8 [2023-09-12T15:41:53.439Z] ---> 1c02cd10bba9 [2023-09-12T15:41:53.439Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T15:41:53.439Z] ---> Running in a4466f0499d4 [2023-09-12T15:41:53.698Z] Removing intermediate container a4466f0499d4 [2023-09-12T15:41:53.698Z] ---> 3f2ae9629cd5 [2023-09-12T15:41:53.698Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T15:41:53.698Z] ---> Running in 5b478b272659 [2023-09-12T15:41:53.957Z] Removing intermediate container 5b478b272659 [2023-09-12T15:41:53.957Z] ---> 1013896b9dfb [2023-09-12T15:41:53.957Z] Step 21/23 : LABEL arch=amd64 [2023-09-12T15:41:53.957Z] ---> Running in 22653ad71108 [2023-09-12T15:41:54.220Z] Removing intermediate container 22653ad71108 [2023-09-12T15:41:54.220Z] ---> 039f31bd0883 [2023-09-12T15:41:54.220Z] Step 22/23 : LABEL git_sha=8e06685c5bed515b18a4f19b1b2841e63869493f [2023-09-12T15:41:54.220Z] ---> Running in 96e1415c5726 [2023-09-12T15:41:54.481Z] Removing intermediate container 96e1415c5726 [2023-09-12T15:41:54.481Z] ---> 51d9c1bc99c8 [2023-09-12T15:41:54.481Z] Step 23/23 : LABEL version=3.1.0-dev.21 [2023-09-12T15:41:54.481Z] ---> Running in 42182e7d84c2 [2023-09-12T15:41:54.739Z] Removing intermediate container 42182e7d84c2 [2023-09-12T15:41:54.739Z] ---> 16dd0253c5eb [2023-09-12T15:41:54.739Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T15:41:54.739Z] Successfully built 16dd0253c5eb [2023-09-12T15:41:54.998Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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 [2023-09-12T15:41:55.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T15:41:55.457Z] [2023-09-12T15:41:55.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:41:55.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T15:41:55.758Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T15:41:55.758Z] 5eb5b503b376: Pulling fs layer [2023-09-12T15:41:55.759Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T15:41:55.759Z] ec43610c2a17: Pulling fs layer [2023-09-12T15:41:55.759Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T15:41:55.759Z] 33b1e0a273af: Pulling fs layer [2023-09-12T15:41:55.759Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T15:41:55.759Z] 2f39f015ded8: Pulling fs layer [2023-09-12T15:41:55.759Z] 33b1e0a273af: Waiting [2023-09-12T15:41:55.759Z] 5d3b04190fa2: Waiting [2023-09-12T15:41:55.759Z] 3a2ae6a8a46f: Waiting [2023-09-12T15:41:55.759Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T15:41:55.759Z] 5c69ac0246d0: Download complete [2023-09-12T15:41:55.759Z] 3a2ae6a8a46f: Download complete [2023-09-12T15:41:55.759Z] 33b1e0a273af: Verifying Checksum [2023-09-12T15:41:55.759Z] 33b1e0a273af: Download complete [2023-09-12T15:41:55.759Z] ec43610c2a17: Verifying Checksum [2023-09-12T15:41:55.759Z] ec43610c2a17: Download complete [2023-09-12T15:41:55.759Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T15:41:55.759Z] 5d3b04190fa2: Download complete [2023-09-12T15:41:56.019Z] 5eb5b503b376: Verifying Checksum [2023-09-12T15:41:56.019Z] 5eb5b503b376: Download complete [2023-09-12T15:41:56.989Z] 2f39f015ded8: Download complete [2023-09-12T15:41:57.249Z] 5eb5b503b376: Pull complete [2023-09-12T15:41:57.249Z] 5c69ac0246d0: Pull complete [2023-09-12T15:41:57.816Z] ec43610c2a17: Pull complete [2023-09-12T15:41:57.816Z] 3a2ae6a8a46f: Pull complete [2023-09-12T15:41:58.075Z] 33b1e0a273af: Pull complete [2023-09-12T15:41:58.075Z] 5d3b04190fa2: Pull complete [2023-09-12T15:42:02.263Z] 2f39f015ded8: Pull complete [2023-09-12T15:42:02.263Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T15:42:02.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T15:42:02.263Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:42:02.369Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:42:02.404Z] $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-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 [2023-09-12T15:42:03.314Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5895 in /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-12T15:42:08.390Z] $ docker top 4e2e125de5826a2d8c902d1e773c8f016352d6d89b77a9148f647a2f61d79d32 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-09-12T15:42:08.526Z] Running in /w/workspace/device-sdk-go/250 [Pipeline] { [Pipeline] checkout [2023-09-12T15:42:08.568Z] The recommended git tool is: git [2023-09-12T15:42:08.776Z] ---> job-cost.sh [2023-09-12T15:42:08.777Z] lf-activate-venv: SKIPPING [2023-09-12T15:42:08.777Z] INFO: No Stack... [2023-09-12T15:42:09.035Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T15:42:09.295Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T15:42:09.600Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-12T15:42:09.600Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T15:42:09.611Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [2023-09-12T15:42:09.617Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] did not exist. Created. [2023-09-12T15:42:09.617Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T15:42:09.916Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T15:42:09.955Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T15:42:09.964Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T15:42:09.977Z] $ docker stop --time=1 4e2e125de5826a2d8c902d1e773c8f016352d6d89b77a9148f647a2f61d79d32 [2023-09-12T15:42:11.147Z] $ docker rm -f --volumes 4e2e125de5826a2d8c902d1e773c8f016352d6d89b77a9148f647a2f61d79d32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T15:42:14.323Z] using credential edgex-jenkins-ssh [2023-09-12T15:42:14.340Z] Cloning the remote Git repository [2023-09-12T15:42:14.397Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T15:42:14.515Z] > git init /w/workspace/device-sdk-go/250 # timeout=10 [2023-09-12T15:42:14.695Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T15:42:14.697Z] > git --version # timeout=10 [2023-09-12T15:42:14.723Z] > git --version # 'git version 2.25.1' [2023-09-12T15:42:14.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T15:42:14.903Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T15:42:16.747Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T15:42:16.771Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T15:42:17.715Z] Avoid second fetch [2023-09-12T15:42:17.715Z] Checking out Revision 8e06685c5bed515b18a4f19b1b2841e63869493f (main) [2023-09-12T15:42:18.383Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1509)" [2023-09-12T15:42:17.738Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T15:42:17.819Z] > git checkout -f 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T15:42:19.463Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T15:42:19.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T15:42:19.463Z] Dload Upload Total Spent Left Speed [2023-09-12T15:42:19.463Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-09-12T15:42:20.154Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T15:42:20.490Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T15:42:20.490Z] + sudo tee /etc/docker/daemon.new [2023-09-12T15:42:20.490Z] { [2023-09-12T15:42:20.490Z] "registry-mirrors": [ [2023-09-12T15:42:20.490Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T15:42:20.490Z] ], [2023-09-12T15:42:20.490Z] "bip": "10.250.0.254/24", [2023-09-12T15:42:20.490Z] "hosts": [ [2023-09-12T15:42:20.490Z] "tcp://0.0.0.0:5555", [2023-09-12T15:42:20.490Z] "unix:///var/run/docker.sock" [2023-09-12T15:42:20.490Z] ], [2023-09-12T15:42:20.490Z] "mtu": 1458, [2023-09-12T15:42:20.490Z] "selinux-enabled": true, [2023-09-12T15:42:20.490Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T15:42:20.490Z] } [Pipeline] sh [2023-09-12T15:42:20.834Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T15:42:21.179Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T15:42:39.463Z] provisioning config files... [2023-09-12T15:42:39.492Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/250@tmp/config10909481085694900648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:42:39.856Z] ---> docker-login.sh [2023-09-12T15:42:39.856Z] nexus3.edgexfoundry.org:10001 [2023-09-12T15:42:40.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:42:40.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:42:40.449Z] Configure a credential helper to remove this warning. See [2023-09-12T15:42:40.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:42:40.449Z] [2023-09-12T15:42:40.449Z] Login Succeeded [2023-09-12T15:42:40.449Z] nexus3.edgexfoundry.org:10002 [2023-09-12T15:42:40.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:42:40.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:42:40.992Z] Configure a credential helper to remove this warning. See [2023-09-12T15:42:40.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:42:40.992Z] [2023-09-12T15:42:40.992Z] Login Succeeded [2023-09-12T15:42:40.992Z] nexus3.edgexfoundry.org:10003 [2023-09-12T15:42:41.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:42:41.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:42:41.266Z] Configure a credential helper to remove this warning. See [2023-09-12T15:42:41.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:42:41.266Z] [2023-09-12T15:42:41.266Z] Login Succeeded [2023-09-12T15:42:41.266Z] nexus3.edgexfoundry.org:10004 [2023-09-12T15:42:41.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:42:41.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:42:41.811Z] Configure a credential helper to remove this warning. See [2023-09-12T15:42:41.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:42:41.811Z] [2023-09-12T15:42:41.811Z] Login Succeeded [2023-09-12T15:42:41.811Z] docker.io [2023-09-12T15:42:42.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T15:42:42.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T15:42:42.352Z] Configure a credential helper to remove this warning. See [2023-09-12T15:42:42.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T15:42:42.352Z] [2023-09-12T15:42:42.352Z] Login Succeeded [2023-09-12T15:42:42.352Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T15:42:42.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T15:42:42.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T15:42:42.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T15:42:42.707Z] ========================================================= [2023-09-12T15:42:42.707Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-12T15:42:42.707Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:42:43.065Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T15:42:45.675Z] Sending build context to Docker daemon 5.929MB [2023-09-12T15:42:45.675Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T15:42:45.675Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T15:42:45.675Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T15:42:45.675Z] edb6bdbacee9: Pulling fs layer [2023-09-12T15:42:45.675Z] 5f9638ab2659: Pulling fs layer [2023-09-12T15:42:45.675Z] 8d51d6327a98: Pulling fs layer [2023-09-12T15:42:45.675Z] 8b374f2dd631: Pulling fs layer [2023-09-12T15:42:45.675Z] ec14aa9079de: Pulling fs layer [2023-09-12T15:42:45.675Z] 2f466654f4bb: Pulling fs layer [2023-09-12T15:42:45.675Z] 554e91adad29: Pulling fs layer [2023-09-12T15:42:45.675Z] ec14aa9079de: Waiting [2023-09-12T15:42:45.675Z] 2f466654f4bb: Waiting [2023-09-12T15:42:45.675Z] 554e91adad29: Waiting [2023-09-12T15:42:45.675Z] 5f9638ab2659: Verifying Checksum [2023-09-12T15:42:45.675Z] 5f9638ab2659: Download complete [2023-09-12T15:42:45.675Z] 8b374f2dd631: Verifying Checksum [2023-09-12T15:42:45.675Z] 8b374f2dd631: Download complete [2023-09-12T15:42:45.675Z] ec14aa9079de: Download complete [2023-09-12T15:42:45.675Z] edb6bdbacee9: Verifying Checksum [2023-09-12T15:42:46.682Z] edb6bdbacee9: Pull complete [2023-09-12T15:42:46.956Z] 554e91adad29: Verifying Checksum [2023-09-12T15:42:46.956Z] 554e91adad29: Download complete [2023-09-12T15:42:47.552Z] 5f9638ab2659: Pull complete [2023-09-12T15:42:48.154Z] 8d51d6327a98: Verifying Checksum [2023-09-12T15:42:48.154Z] 8d51d6327a98: Download complete [2023-09-12T15:42:48.424Z] 2f466654f4bb: Download complete [2023-09-12T15:43:00.798Z] 8d51d6327a98: Pull complete [2023-09-12T15:43:00.798Z] 8b374f2dd631: Pull complete [2023-09-12T15:43:00.798Z] ec14aa9079de: Pull complete [2023-09-12T15:43:07.521Z] 2f466654f4bb: Pull complete [2023-09-12T15:43:08.960Z] 554e91adad29: Pull complete [2023-09-12T15:43:08.960Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-12T15:43:08.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-12T15:43:08.960Z] ---> 1e15ea492957 [2023-09-12T15:43:08.960Z] Step 3/10 : ARG MAKE=make build [2023-09-12T15:43:11.585Z] ---> Running in 90a7516f0c47 [2023-09-12T15:43:11.585Z] Removing intermediate container 90a7516f0c47 [2023-09-12T15:43:11.585Z] ---> 9e037fe632d6 [2023-09-12T15:43:11.585Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T15:43:11.585Z] ---> Running in 32d613293285 [2023-09-12T15:43:11.857Z] Removing intermediate container 32d613293285 [2023-09-12T15:43:11.857Z] ---> 1eaf3e9ea7aa [2023-09-12T15:43:11.857Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T15:43:12.125Z] ---> Running in 9a35532e6a4e [2023-09-12T15:43:12.399Z] Removing intermediate container 9a35532e6a4e [2023-09-12T15:43:12.399Z] ---> 35b9920c2000 [2023-09-12T15:43:12.399Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T15:43:12.399Z] ---> Running in 44adbf38d047 [2023-09-12T15:43:13.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-12T15:43:14.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-12T15:43:16.213Z] OK: 263 MiB in 53 packages [2023-09-12T15:43:17.175Z] Removing intermediate container 44adbf38d047 [2023-09-12T15:43:17.175Z] ---> 4d129552262d [2023-09-12T15:43:17.175Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T15:43:17.443Z] ---> 5dbf88529af8 [2023-09-12T15:43:17.443Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T15:43:17.714Z] ---> Running in 9f55c54cc2a3 [2023-09-12T15:44:39.385Z] Removing intermediate container 9f55c54cc2a3 [2023-09-12T15:44:39.385Z] ---> 1bc45a0d2f46 [2023-09-12T15:44:39.385Z] Step 9/10 : COPY . . [2023-09-12T15:44:39.385Z] ---> f7be291d1b45 [2023-09-12T15:44:39.385Z] Step 10/10 : RUN ${MAKE} [2023-09-12T15:44:39.385Z] ---> Running in 5b5f6cca7c5c [2023-09-12T15:44:39.385Z] noop [2023-09-12T15:44:39.385Z] Removing intermediate container 5b5f6cca7c5c [2023-09-12T15:44:39.385Z] ---> 15d6b05ad2f0 [2023-09-12T15:44:39.385Z] Successfully built 15d6b05ad2f0 [2023-09-12T15:44:39.385Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:44:39.748Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T15:44:39.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:44:39.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-5895 does not seem to be running inside a container [2023-09-12T15:44:40.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/250 -v /w/workspace/device-sdk-go/250:/w/workspace/device-sdk-go/250:rw,z -v /w/workspace/device-sdk-go/250@tmp:/w/workspace/device-sdk-go/250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T15:44:41.339Z] $ docker top 449033bd250d004b8a35aa5e48b06d78652b779ceb0a824f4df1e2c692a28af0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T15:44:42.208Z] + go version [2023-09-12T15:44:42.208Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-12T15:44:42.230Z] $ docker stop --time=1 449033bd250d004b8a35aa5e48b06d78652b779ceb0a824f4df1e2c692a28af0 [2023-09-12T15:44:43.869Z] $ docker rm -f --volumes 449033bd250d004b8a35aa5e48b06d78652b779ceb0a824f4df1e2c692a28af0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:44:44.395Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T15:44:44.395Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:44:44.631Z] prd-ubuntu20.04-docker-arm64-4c-16g-5895 does not seem to be running inside a container [2023-09-12T15:44:44.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/250 -v /w/workspace/device-sdk-go/250:/w/workspace/device-sdk-go/250:rw,z -v /w/workspace/device-sdk-go/250@tmp:/w/workspace/device-sdk-go/250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T15:44:48.881Z] $ docker top 2bb0b2a90a2940dc7a13e6f4987ebd9c35e97dddfd7e7b6008da4a208a0aca1d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T15:44:49.791Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/250 [Pipeline] fileExists [Pipeline] sh [2023-09-12T15:44:50.459Z] + make test [2023-09-12T15:44:50.459Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T15:45:46.904Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T15:48:23.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T15:48:23.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T15:48:23.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T15:48:23.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T15:48:23.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T15:48:36.003Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.253s coverage: 27.6% of statements [2023-09-12T15:48:41.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.298s coverage: 80.2% of statements [2023-09-12T15:48:56.371Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T15:48:56.371Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T15:48:56.371Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.384s coverage: 86.0% of statements [2023-09-12T15:49:01.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T15:49:02.307Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.531s coverage: 71.8% of statements [2023-09-12T15:49:06.576Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.329s coverage: 14.1% of statements [2023-09-12T15:49:09.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T15:49:09.926Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T15:49:09.926Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.600s coverage: 44.2% of statements [2023-09-12T15:49:09.926Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.473s coverage: 68.5% of statements [2023-09-12T15:49:14.190Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.513s coverage: 89.2% of statements [2023-09-12T15:49:15.604Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T15:49:16.193Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.335s coverage: 5.5% of statements [2023-09-12T15:49:17.165Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T15:49:17.165Z] GO111MODULE=on go vet ./... [2023-09-12T15:52:08.988Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T15:52:08.988Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T15:52:08.988Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T15:52:09.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T15:52:09.026Z] $ docker stop --time=1 2bb0b2a90a2940dc7a13e6f4987ebd9c35e97dddfd7e7b6008da4a208a0aca1d [2023-09-12T15:52:11.052Z] $ docker rm -f --volumes 2bb0b2a90a2940dc7a13e6f4987ebd9c35e97dddfd7e7b6008da4a208a0aca1d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T15:52:12.835Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T15:52:12.854Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T15:52:13.448Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T15:52:13.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T15:52:14.170Z] + ls -al . [2023-09-12T15:52:14.170Z] total 300 [2023-09-12T15:52:14.170Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 15:44 . [2023-09-12T15:52:14.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 15:42 .. [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 15:42 .dockerignore [2023-09-12T15:52:14.170Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 15:42 .git [2023-09-12T15:52:14.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 15:42 .github [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 15:42 .gitignore [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 15:42 .golangci.yml [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 15:42 CHANGELOG.md [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 15:42 GOVERNANCE.md [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 15:42 Jenkinsfile [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 15:42 LICENSE [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 15:42 Makefile [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 15:42 OWNERS.md [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 15:42 README.md [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 15:38 VERSION [2023-09-12T15:52:14.170Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 15:42 bin [2023-09-12T15:52:14.170Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 15:49 coverage.out [2023-09-12T15:52:14.170Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 15:42 example [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 15:42 go.mod [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 15:42 go.sum [2023-09-12T15:52:14.170Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 15:42 internal [2023-09-12T15:52:14.170Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 15:42 openapi [2023-09-12T15:52:14.170Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 15:42 pkg [2023-09-12T15:52:14.170Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 15:42 snap [2023-09-12T15:52:14.170Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 15:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:52:14.521Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8e06685c5bed515b18a4f19b1b2841e63869493f --label arch=arm64 --label version=3.1.0-dev.21 . [2023-09-12T15:52:14.789Z] Sending build context to Docker daemon 6.05MB [2023-09-12T15:52:15.056Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T15:52:15.056Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T15:52:15.056Z] ---> 15d6b05ad2f0 [2023-09-12T15:52:15.056Z] Step 3/23 : ARG MAKE=make build [2023-09-12T15:52:15.056Z] ---> Running in 896a060d2908 [2023-09-12T15:52:15.327Z] Removing intermediate container 896a060d2908 [2023-09-12T15:52:15.327Z] ---> 7442383672fe [2023-09-12T15:52:15.327Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T15:52:15.598Z] ---> Running in e12112ff97d4 [2023-09-12T15:52:15.869Z] Removing intermediate container e12112ff97d4 [2023-09-12T15:52:15.869Z] ---> de293c62e949 [2023-09-12T15:52:15.869Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T15:52:15.869Z] ---> Running in ffc8a60f4c44 [2023-09-12T15:52:16.141Z] Removing intermediate container ffc8a60f4c44 [2023-09-12T15:52:16.141Z] ---> 54e332d1b047 [2023-09-12T15:52:16.141Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T15:52:16.141Z] ---> Running in c339f1e42f79 [2023-09-12T15:52:17.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-12T15:52:17.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-12T15:52:19.234Z] OK: 263 MiB in 53 packages [2023-09-12T15:52:20.195Z] Removing intermediate container c339f1e42f79 [2023-09-12T15:52:20.195Z] ---> 7a7a7e848352 [2023-09-12T15:52:20.195Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T15:52:20.474Z] ---> f7ec5aba1071 [2023-09-12T15:52:20.474Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T15:52:20.744Z] ---> Running in e78f5c0019e9 [2023-09-12T15:52:22.690Z] Removing intermediate container e78f5c0019e9 [2023-09-12T15:52:22.690Z] ---> 60a007f66b9d [2023-09-12T15:52:22.690Z] Step 9/23 : COPY . . [2023-09-12T15:52:24.114Z] ---> 5c860daf3952 [2023-09-12T15:52:24.115Z] Step 10/23 : RUN ${MAKE} [2023-09-12T15:52:24.115Z] ---> Running in 482f7c281a44 [2023-09-12T15:52:25.189Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.21" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T15:55:17.066Z] Removing intermediate container 482f7c281a44 [2023-09-12T15:55:17.066Z] ---> 760a0b259f8e [2023-09-12T15:55:17.066Z] Step 11/23 : FROM alpine:3.17 [2023-09-12T15:55:17.066Z] 3.17: Pulling from library/alpine [2023-09-12T15:55:17.066Z] 4060ece20d7a: Pulling fs layer [2023-09-12T15:55:17.066Z] 4060ece20d7a: Verifying Checksum [2023-09-12T15:55:17.066Z] 4060ece20d7a: Download complete [2023-09-12T15:55:17.066Z] 4060ece20d7a: Pull complete [2023-09-12T15:55:17.066Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-12T15:55:17.066Z] Status: Downloaded newer image for alpine:3.17 [2023-09-12T15:55:17.066Z] ---> 8650cd65339b [2023-09-12T15:55:17.066Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T15:55:17.066Z] ---> Running in a7472a1ce45a [2023-09-12T15:55:17.066Z] Removing intermediate container a7472a1ce45a [2023-09-12T15:55:17.066Z] ---> 63c72ff097ee [2023-09-12T15:55:17.066Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T15:55:17.066Z] ---> Running in 0ef1d4552ebf [2023-09-12T15:55:17.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-12T15:55:17.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-12T15:55:17.066Z] OK: 7 MiB in 15 packages [2023-09-12T15:55:17.066Z] Removing intermediate container 0ef1d4552ebf [2023-09-12T15:55:17.066Z] ---> 4f649c8f664d [2023-09-12T15:55:17.066Z] Step 14/23 : WORKDIR / [2023-09-12T15:55:17.066Z] ---> Running in 68819a35e9cc [2023-09-12T15:55:17.066Z] Removing intermediate container 68819a35e9cc [2023-09-12T15:55:17.066Z] ---> 71f8ef030db4 [2023-09-12T15:55:17.066Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T15:55:17.066Z] ---> 9fccada8fd8c [2023-09-12T15:55:17.066Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T15:55:17.066Z] ---> 3efd0c503500 [2023-09-12T15:55:17.066Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T15:55:17.066Z] ---> e7b51f3c50cc [2023-09-12T15:55:17.066Z] Step 18/23 : EXPOSE 59999 [2023-09-12T15:55:17.066Z] ---> Running in b42ae221f729 [2023-09-12T15:55:17.066Z] Removing intermediate container b42ae221f729 [2023-09-12T15:55:17.066Z] ---> 7ff732ee11a0 [2023-09-12T15:55:17.066Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T15:55:17.066Z] ---> Running in 715033f79b39 [2023-09-12T15:55:17.066Z] Removing intermediate container 715033f79b39 [2023-09-12T15:55:17.066Z] ---> fefee6ec94cb [2023-09-12T15:55:17.066Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T15:55:17.066Z] ---> Running in cacfc4dca4ab [2023-09-12T15:55:17.066Z] Removing intermediate container cacfc4dca4ab [2023-09-12T15:55:17.066Z] ---> b2c4d15c56f4 [2023-09-12T15:55:17.066Z] Step 21/23 : LABEL arch=arm64 [2023-09-12T15:55:17.066Z] ---> Running in 322e43923046 [2023-09-12T15:55:17.066Z] Removing intermediate container 322e43923046 [2023-09-12T15:55:17.066Z] ---> 20dea5c121ef [2023-09-12T15:55:17.066Z] Step 22/23 : LABEL git_sha=8e06685c5bed515b18a4f19b1b2841e63869493f [2023-09-12T15:55:17.066Z] ---> Running in ee7089f59dff [2023-09-12T15:55:17.066Z] Removing intermediate container ee7089f59dff [2023-09-12T15:55:17.066Z] ---> 0d4231700992 [2023-09-12T15:55:17.066Z] Step 23/23 : LABEL version=3.1.0-dev.21 [2023-09-12T15:55:17.066Z] ---> Running in 5b20c75d568f [2023-09-12T15:55:17.066Z] Removing intermediate container 5b20c75d568f [2023-09-12T15:55:17.066Z] ---> 0ab3fa232797 [2023-09-12T15:55:17.066Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T15:55:17.066Z] Successfully built 0ab3fa232797 [2023-09-12T15:55:17.066Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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 [2023-09-12T15:55:17.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T15:55:17.506Z] [2023-09-12T15:55:17.506Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:55:17.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T15:55:17.838Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T15:55:17.838Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T15:55:17.838Z] 04944245beec: Pulling fs layer [2023-09-12T15:55:17.838Z] 699f458cf7ca: Pulling fs layer [2023-09-12T15:55:17.838Z] 765212b225bb: Pulling fs layer [2023-09-12T15:55:17.838Z] f23df028b6ca: Pulling fs layer [2023-09-12T15:55:17.838Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T15:55:17.838Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T15:55:17.838Z] 765212b225bb: Waiting [2023-09-12T15:55:17.838Z] f23df028b6ca: Waiting [2023-09-12T15:55:17.838Z] d65c8cfc05b1: Waiting [2023-09-12T15:55:17.838Z] 2437ff75d9bd: Waiting [2023-09-12T15:55:18.112Z] 04944245beec: Verifying Checksum [2023-09-12T15:55:18.112Z] 04944245beec: Download complete [2023-09-12T15:55:18.112Z] 765212b225bb: Verifying Checksum [2023-09-12T15:55:18.112Z] 765212b225bb: Download complete [2023-09-12T15:55:18.112Z] f23df028b6ca: Verifying Checksum [2023-09-12T15:55:18.112Z] f23df028b6ca: Download complete [2023-09-12T15:55:18.112Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T15:55:18.112Z] d65c8cfc05b1: Download complete [2023-09-12T15:55:18.112Z] 699f458cf7ca: Verifying Checksum [2023-09-12T15:55:18.112Z] 699f458cf7ca: Download complete [2023-09-12T15:55:18.696Z] 8998bd30e6a1: Download complete [2023-09-12T15:55:20.641Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T15:55:20.641Z] 2437ff75d9bd: Download complete [2023-09-12T15:55:22.593Z] 8998bd30e6a1: Pull complete [2023-09-12T15:55:23.181Z] 04944245beec: Pull complete [2023-09-12T15:55:25.774Z] 699f458cf7ca: Pull complete [2023-09-12T15:55:26.043Z] 765212b225bb: Pull complete [2023-09-12T15:55:27.008Z] f23df028b6ca: Pull complete [2023-09-12T15:55:27.008Z] d65c8cfc05b1: Pull complete [2023-09-12T15:55:42.016Z] 2437ff75d9bd: Pull complete [2023-09-12T15:55:42.016Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T15:55:42.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T15:55:42.016Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:55:42.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-5895 does not seem to be running inside a container [2023-09-12T15:55:42.347Z] $ 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/device-sdk-go/250 -v /w/workspace/device-sdk-go/250:/w/workspace/device-sdk-go/250:rw,z -v /w/workspace/device-sdk-go/250@tmp:/w/workspace/device-sdk-go/250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T15:55:45.090Z] $ docker top 0d502317e18341e0d5a69224222ab53728cb900486dd34bcaeac0a60ad5655aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:55:45.970Z] ---> job-cost.sh [2023-09-12T15:55:45.970Z] lf-activate-venv: SKIPPING [2023-09-12T15:55:45.970Z] INFO: No Stack... [2023-09-12T15:55:46.558Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T15:55:47.517Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T15:55:48.161Z] + cut -d, -f6 [2023-09-12T15:55:48.162Z] + cat /w/workspace/device-sdk-go/250/archives/cost.csv [Pipeline] lock [2023-09-12T15:55:48.228Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [2023-09-12T15:55:48.234Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] did not exist. Created. [2023-09-12T15:55:48.234Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T15:55:48.901Z] /w/workspace/device-sdk-go/250@tmp/durable-c8f3a6d3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T15:55:49.565Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T15:55:49.587Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T15:55:49.680Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T15:55:49.687Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T15:55:49.698Z] $ docker stop --time=1 0d502317e18341e0d5a69224222ab53728cb900486dd34bcaeac0a60ad5655aa [2023-09-12T15:55:51.211Z] $ docker rm -f --volumes 0d502317e18341e0d5a69224222ab53728cb900486dd34bcaeac0a60ad5655aa [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 [2023-09-12T15:55:52.565Z] provisioning config files... [2023-09-12T15:55:52.571Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8965276642826177714tmp [Pipeline] { [Pipeline] sh [2023-09-12T15:55:52.866Z] + set +x [2023-09-12T15:55:52.866Z] + curl -s https://codecov.io/bash [2023-09-12T15:55:52.866Z] + bash -s -- [2023-09-12T15:55:52.866Z] [2023-09-12T15:55:52.866Z] _____ _ [2023-09-12T15:55:52.866Z] / ____| | | [2023-09-12T15:55:52.866Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T15:55:52.866Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T15:55:52.866Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T15:55:52.866Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T15:55:52.866Z] Bash-1.0.6 [2023-09-12T15:55:52.866Z] [2023-09-12T15:55:52.866Z] [2023-09-12T15:55:52.866Z] ==> git version 2.25.1 found [2023-09-12T15:55:52.866Z] ==> 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 [2023-09-12T15:55:52.866Z] Release-Date: 2020-01-08 [2023-09-12T15:55:52.866Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-12T15:55:52.866Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T15:55:52.866Z] ==> Jenkins CI detected. [2023-09-12T15:55:52.866Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-12T15:55:52.866Z] project root: . [2023-09-12T15:55:52.866Z] --> token set from env [2023-09-12T15:55:52.866Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T15:55:52.866Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T15:55:52.866Z] ==> Python coveragepy not found [2023-09-12T15:55:52.866Z] ==> Searching for coverage reports in: [2023-09-12T15:55:52.866Z] + . [2023-09-12T15:55:52.866Z] -> Found 1 reports [2023-09-12T15:55:52.866Z] ==> Detecting git/mercurial file structure [2023-09-12T15:55:52.866Z] ==> Reading reports [2023-09-12T15:55:52.866Z] + ./coverage.out bytes=120468 [2023-09-12T15:55:52.866Z] ==> Appending adjustments [2023-09-12T15:55:52.866Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T15:55:53.127Z] + Found adjustments [2023-09-12T15:55:53.127Z] ==> Gzipping contents [2023-09-12T15:55:53.386Z] 20K /tmp/codecov.RRSArq.gz [2023-09-12T15:55:53.386Z] ==> Uploading reports [2023-09-12T15:55:53.386Z] url: https://codecov.io [2023-09-12T15:55:53.386Z] query: branch=main&commit=8e06685c5bed515b18a4f19b1b2841e63869493f&build=250&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F250%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T15:55:53.386Z] -> Pinging Codecov [2023-09-12T15:55:53.386Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=8e06685c5bed515b18a4f19b1b2841e63869493f&build=250&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F250%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T15:55:53.386Z] -> Uploading to [2023-09-12T15:55:53.386Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/8e06685c5bed515b18a4f19b1b2841e63869493f/83f9d5ac-521c-40fa-9a85-2adf404b3464.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T155553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd306b1ffe6b6b94044a5c0cd1fc1cd59c3f4fb629992978a6b6dbb97b00093b [2023-09-12T15:55:53.386Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T15:55:53.386Z] Dload Upload Total Spent Left Speed [2023-09-12T15:55:53.646Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16426 0 0 100 16426 0 81316 --:--:-- --:--:-- --:--:-- 80916 100 16426 0 0 100 16426 0 81316 --:--:-- --:--:-- --:--:-- 80916 [2023-09-12T15:55:53.646Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] } [2023-09-12T15:55:53.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-12T15:55:53.768Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-12T15:55:53.783Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:55:54.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T15:55:54.079Z] [2023-09-12T15:55:54.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:55:54.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T15:55:54.385Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-12T15:55:54.385Z] df9b9388f04a: Pulling fs layer [2023-09-12T15:55:54.385Z] 52dc419b0ee2: Pulling fs layer [2023-09-12T15:55:54.385Z] 25bc292e5bac: Pulling fs layer [2023-09-12T15:55:54.385Z] 114826534d7a: Pulling fs layer [2023-09-12T15:55:54.385Z] 4657fd5d0bcf: Pulling fs layer [2023-09-12T15:55:54.385Z] 6ad1cebc031e: Pulling fs layer [2023-09-12T15:55:54.385Z] 8a3aa393b2d8: Pulling fs layer [2023-09-12T15:55:54.385Z] 4657fd5d0bcf: Waiting [2023-09-12T15:55:54.385Z] 6ad1cebc031e: Waiting [2023-09-12T15:55:54.385Z] 8a3aa393b2d8: Waiting [2023-09-12T15:55:54.385Z] 114826534d7a: Waiting [2023-09-12T15:55:54.385Z] 25bc292e5bac: Download complete [2023-09-12T15:55:54.385Z] 52dc419b0ee2: Download complete [2023-09-12T15:55:54.385Z] 4657fd5d0bcf: Download complete [2023-09-12T15:55:54.385Z] df9b9388f04a: Verifying Checksum [2023-09-12T15:55:54.385Z] df9b9388f04a: Download complete [2023-09-12T15:55:54.651Z] df9b9388f04a: Pull complete [2023-09-12T15:55:54.651Z] 6ad1cebc031e: Verifying Checksum [2023-09-12T15:55:54.651Z] 6ad1cebc031e: Download complete [2023-09-12T15:55:54.651Z] 52dc419b0ee2: Pull complete [2023-09-12T15:55:54.651Z] 25bc292e5bac: Pull complete [2023-09-12T15:55:55.222Z] 114826534d7a: Verifying Checksum [2023-09-12T15:55:55.222Z] 114826534d7a: Download complete [2023-09-12T15:55:55.481Z] 8a3aa393b2d8: Verifying Checksum [2023-09-12T15:55:55.481Z] 8a3aa393b2d8: Download complete [2023-09-12T15:55:58.764Z] 114826534d7a: Pull complete [2023-09-12T15:55:58.764Z] 4657fd5d0bcf: Pull complete [2023-09-12T15:55:58.764Z] 6ad1cebc031e: Pull complete [2023-09-12T15:56:01.453Z] 8a3aa393b2d8: Pull complete [2023-09-12T15:56:01.453Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-12T15:56:01.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T15:56:01.453Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:56:01.528Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:56:01.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-12T15:56:05.326Z] $ docker top fac0635c34f4b6fd99edcb5f7ec46914b6879b68dac92710b252bda2d33612c8 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-12T15:56:05.394Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-12T15:56:05.670Z] + set -o pipefail [2023-09-12T15:56:05.670Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-12T15:56:10.938Z] [2023-09-12T15:56:10.938Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-12T15:56:10.938Z] [2023-09-12T15:56:10.938Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4dbcc050-4a83-401a-ace7-4dbbc0b5e683 [2023-09-12T15:56:10.938Z] [2023-09-12T15:56:10.938Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-12T15:56:10.938Z] [2023-09-12T15:56:10.938Z] [2023-09-12T15:56:10.938Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-12T15:56:10.938Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-12T15:56:10.938Z] More details here: https://snyk.co/ue1NS [2023-09-12T15:56:10.938Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-12T15:56:10.938Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-12T15:56:10.944Z] $ docker stop --time=1 fac0635c34f4b6fd99edcb5f7ec46914b6879b68dac92710b252bda2d33612c8 [2023-09-12T15:56:14.904Z] $ docker rm -f --volumes fac0635c34f4b6fd99edcb5f7ec46914b6879b68dac92710b252bda2d33612c8 [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 [2023-09-12T15:56:15.286Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T15:56:15.299Z] provisioning config files... [2023-09-12T15:56:15.307Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4078553131469693673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:15.603Z] --> edgex-publish-swagger.sh [2023-09-12T15:56:15.603Z] === Publish openapi/v3 API === [2023-09-12T15:56:15.603Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-12T15:56:15.603Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-12T15:56:15.603Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T15:56:15.603Z] Dload Upload Total Spent Left Speed [2023-09-12T15:56:15.862Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 48512 --:--:-- --:--:-- --:--:-- 48512 [2023-09-12T15:56:15.862Z] [2023-09-12T15:56:15.862Z] [Pipeline] } [2023-09-12T15:56:15.869Z] 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 [2023-09-12T15:56:16.289Z] + git log --format=format:%s -1 8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] sh [2023-09-12T15:56:16.577Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T15:56:16.577Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:56:16.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T15:56:16.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:56:16.943Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:56:16.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T15:56:17.421Z] $ docker top e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T15:56:17.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T15:56:17.501Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T15:56:17.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T15:56:17.606Z] $ docker exec e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 ssh-agent [2023-09-12T15:56:17.702Z] SSH_AUTH_SOCK=/tmp/ssh-u1DYcrVtTEGz/agent.32 [2023-09-12T15:56:17.702Z] SSH_AGENT_PID=38 [2023-09-12T15:56:17.707Z] Running ssh-add (command line suppressed) [2023-09-12T15:56:17.793Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11303822784836255526.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11303822784836255526.key) [2023-09-12T15:56:17.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T15:56:18.092Z] + git semver tag [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,241 [run_tag] DEBUG tag force:False [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,241 [check_head_tag] DEBUG check head tag [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,242 [execute] INFO git cat-file --batch-check [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,246 [execute] INFO git cat-file --batch [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,258 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,259 [execute] INFO git tag -a v3.1.0-dev.21 -m v3.1.0-dev.21 [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,259 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.21', '-m', 'v3.1.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T15:56:18.352Z] 2023-09-12 15:56:18,263 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T15:56:18.352Z] 3.1.0-dev.21 [Pipeline] } [2023-09-12T15:56:18.357Z] $ docker exec --env ******** --env ******** e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 ssh-agent -k [2023-09-12T15:56:18.449Z] unset SSH_AUTH_SOCK; [2023-09-12T15:56:18.449Z] unset SSH_AGENT_PID; [2023-09-12T15:56:18.449Z] echo Agent pid 38 killed; [2023-09-12T15:56:18.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T15:56:18.766Z] + git semver [Pipeline] } [2023-09-12T15:56:19.030Z] $ docker stop --time=1 e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 [2023-09-12T15:56:20.344Z] $ docker rm -f --volumes e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:56:20.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T15:56:20.721Z] [2023-09-12T15:56:20.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:56:21.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T15:56:21.026Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-12T15:56:21.026Z] ab5ef0e58194: Pulling fs layer [2023-09-12T15:56:21.026Z] 9712f1f96733: Pulling fs layer [2023-09-12T15:56:21.026Z] 63f879dbbcfc: Pulling fs layer [2023-09-12T15:56:21.026Z] 0d9ebad4ef96: Pulling fs layer [2023-09-12T15:56:21.026Z] e9a5061849ea: Pulling fs layer [2023-09-12T15:56:21.026Z] d747dcd14b5f: Pulling fs layer [2023-09-12T15:56:21.026Z] 2de7ff778b66: Pulling fs layer [2023-09-12T15:56:21.026Z] d747dcd14b5f: Waiting [2023-09-12T15:56:21.026Z] 0d9ebad4ef96: Waiting [2023-09-12T15:56:21.026Z] e9a5061849ea: Waiting [2023-09-12T15:56:21.026Z] 2de7ff778b66: Waiting [2023-09-12T15:56:21.026Z] 9712f1f96733: Verifying Checksum [2023-09-12T15:56:21.026Z] 9712f1f96733: Download complete [2023-09-12T15:56:21.596Z] 63f879dbbcfc: Verifying Checksum [2023-09-12T15:56:21.596Z] 63f879dbbcfc: Download complete [2023-09-12T15:56:21.596Z] e9a5061849ea: Verifying Checksum [2023-09-12T15:56:21.596Z] e9a5061849ea: Download complete [2023-09-12T15:56:21.596Z] 0d9ebad4ef96: Verifying Checksum [2023-09-12T15:56:21.596Z] 0d9ebad4ef96: Download complete [2023-09-12T15:56:21.596Z] d747dcd14b5f: Download complete [2023-09-12T15:56:21.854Z] ab5ef0e58194: Download complete [2023-09-12T15:56:21.854Z] 2de7ff778b66: Verifying Checksum [2023-09-12T15:56:21.854Z] 2de7ff778b66: Download complete [2023-09-12T15:56:24.381Z] ab5ef0e58194: Pull complete [2023-09-12T15:56:24.381Z] 9712f1f96733: Pull complete [2023-09-12T15:56:24.946Z] 63f879dbbcfc: Pull complete [2023-09-12T15:56:29.156Z] 0d9ebad4ef96: Pull complete [2023-09-12T15:56:29.156Z] e9a5061849ea: Pull complete [2023-09-12T15:56:29.156Z] d747dcd14b5f: Pull complete [2023-09-12T15:56:29.722Z] 2de7ff778b66: Pull complete [2023-09-12T15:56:29.722Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-12T15:56:29.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T15:56:29.722Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:56:29.810Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:56:29.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-12T15:56:33.886Z] $ docker top 2bcdb3c87102726e3706b32148e4f06bc4045b319d83e91d74bb308f5c601920 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-12T15:56:33.966Z] provisioning config files... [2023-09-12T15:56:33.971Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8619249431389222651tmp [2023-09-12T15:56:33.980Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14626459644157365611tmp [2023-09-12T15:56:33.989Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4311461913843710565tmp [Pipeline] { [Pipeline] echo [2023-09-12T15:56:34.005Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:34.286Z] ---> sigul-configuration.sh [2023-09-12T15:56:34.286Z] gpg: directory `/root/.gnupg' created [2023-09-12T15:56:34.286Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-12T15:56:34.286Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-12T15:56:34.286Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-12T15:56:34.286Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-12T15:56:34.286Z] gpg: CAST5 encrypted data [2023-09-12T15:56:34.286Z] gpg: encrypted with 1 passphrase [2023-09-12T15:56:34.286Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-12T15:56:34.570Z] + mkdir /home/jenkins [2023-09-12T15:56:34.570Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-12T15:56:34.860Z] + 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 [2023-09-12T15:56:34.869Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:35.151Z] ---> sigul-install.sh [2023-09-12T15:56:35.151Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-12T15:56:35.434Z] + git tag --list [2023-09-12T15:56:35.434Z] 0.7.1 [2023-09-12T15:56:35.434Z] delhi-tag [2023-09-12T15:56:35.434Z] v1.0.0 [2023-09-12T15:56:35.434Z] v1.1.0 [2023-09-12T15:56:35.434Z] v1.1.1 [2023-09-12T15:56:35.434Z] v1.1.2 [2023-09-12T15:56:35.434Z] v1.2.0 [2023-09-12T15:56:35.434Z] v1.2.1 [2023-09-12T15:56:35.434Z] v1.2.2 [2023-09-12T15:56:35.434Z] v1.2.3 [2023-09-12T15:56:35.434Z] v1.3.0 [2023-09-12T15:56:35.434Z] v1.4.0 [2023-09-12T15:56:35.434Z] v2.0.0 [2023-09-12T15:56:35.434Z] v2.1.0 [2023-09-12T15:56:35.434Z] v2.1.1 [2023-09-12T15:56:35.434Z] v2.2.0 [2023-09-12T15:56:35.434Z] v2.3.0 [2023-09-12T15:56:35.434Z] v2.3.1 [2023-09-12T15:56:35.434Z] v3.0 [2023-09-12T15:56:35.434Z] v3.0.0 [2023-09-12T15:56:35.434Z] v3.0.1-dev.1 [2023-09-12T15:56:35.434Z] v3.1.0-dev.1 [2023-09-12T15:56:35.434Z] v3.1.0-dev.10 [2023-09-12T15:56:35.434Z] v3.1.0-dev.11 [2023-09-12T15:56:35.434Z] v3.1.0-dev.12 [2023-09-12T15:56:35.434Z] v3.1.0-dev.13 [2023-09-12T15:56:35.434Z] v3.1.0-dev.14 [2023-09-12T15:56:35.434Z] v3.1.0-dev.15 [2023-09-12T15:56:35.434Z] v3.1.0-dev.16 [2023-09-12T15:56:35.434Z] v3.1.0-dev.17 [2023-09-12T15:56:35.434Z] v3.1.0-dev.18 [2023-09-12T15:56:35.434Z] v3.1.0-dev.19 [2023-09-12T15:56:35.434Z] v3.1.0-dev.2 [2023-09-12T15:56:35.434Z] v3.1.0-dev.20 [2023-09-12T15:56:35.434Z] v3.1.0-dev.21 [2023-09-12T15:56:35.434Z] v3.1.0-dev.3 [2023-09-12T15:56:35.434Z] v3.1.0-dev.4 [2023-09-12T15:56:35.434Z] v3.1.0-dev.5 [2023-09-12T15:56:35.434Z] v3.1.0-dev.6 [2023-09-12T15:56:35.434Z] v3.1.0-dev.7 [2023-09-12T15:56:35.434Z] v3.1.0-dev.8 [2023-09-12T15:56:35.434Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-12T15:56:35.721Z] + lftools sign git-tag v3.1.0-dev.21 [2023-09-12T15:56:36.286Z] Signing Git tag with Sigul... [2023-09-12T15:56:36.286Z] Signing v3.1.0-dev.21 [Pipeline] echo [2023-09-12T15:56:36.554Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:36.833Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-12T15:56:36.840Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-12T15:56:36.855Z] $ docker stop --time=1 2bcdb3c87102726e3706b32148e4f06bc4045b319d83e91d74bb308f5c601920 [2023-09-12T15:56:38.638Z] $ docker rm -f --volumes 2bcdb3c87102726e3706b32148e4f06bc4045b319d83e91d74bb308f5c601920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-12T15:56:39.089Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T15:56:39.089Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:56:39.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T15:56:39.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:56:39.457Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:56:39.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T15:56:40.243Z] $ docker top 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 -eo pid,comm [2023-09-12T15:56:40.310Z] 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). [2023-09-12T15:56:40.311Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T15:56:40.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T15:56:40.351Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T15:56:40.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T15:56:40.466Z] $ docker exec 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 ssh-agent [2023-09-12T15:56:40.575Z] SSH_AUTH_SOCK=/tmp/ssh-eFQlKPR96chp/agent.33 [2023-09-12T15:56:40.575Z] SSH_AGENT_PID=39 [2023-09-12T15:56:40.580Z] Running ssh-add (command line suppressed) [2023-09-12T15:56:40.697Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4014210449231641315.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4014210449231641315.key) [2023-09-12T15:56:40.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T15:56:40.993Z] + git semver bump pre [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,146 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,146 [bump_version] DEBUG bumping version:3.1.0-dev.21 on axis:pre with prefix:dev [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,146 [bump_version] DEBUG bumped version:3.1.0-dev.22 [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,146 [write_version] DEBUG write version:3.1.0-dev.22 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,146 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,146 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,148 [execute] INFO git cat-file --batch-check [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,153 [execute] INFO git cat-file --batch [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T15:56:41.252Z] 2023-09-12 15:56:41,158 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T15:56:41.252Z] 3.1.0-dev.22 [Pipeline] } [2023-09-12T15:56:41.256Z] $ docker exec --env ******** --env ******** 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 ssh-agent -k [2023-09-12T15:56:41.359Z] unset SSH_AUTH_SOCK; [2023-09-12T15:56:41.359Z] unset SSH_AGENT_PID; [2023-09-12T15:56:41.359Z] echo Agent pid 39 killed; [2023-09-12T15:56:41.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T15:56:41.682Z] + git semver [Pipeline] } [2023-09-12T15:56:41.948Z] $ docker stop --time=1 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 [2023-09-12T15:56:43.205Z] $ docker rm -f --volumes 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T15:56:43.565Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T15:56:43.565Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:56:43.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T15:56:43.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:56:43.946Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:56:43.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T15:56:44.317Z] $ docker top 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T15:56:44.405Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T15:56:44.405Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T15:56:44.519Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T15:56:44.517Z] $ docker exec 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 ssh-agent [2023-09-12T15:56:44.640Z] SSH_AUTH_SOCK=/tmp/ssh-u8FhjqoxhYiE/agent.31 [2023-09-12T15:56:44.640Z] SSH_AGENT_PID=37 [2023-09-12T15:56:44.645Z] Running ssh-add (command line suppressed) [2023-09-12T15:56:44.733Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10421902840316235794.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10421902840316235794.key) [2023-09-12T15:56:44.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T15:56:45.035Z] + git semver push [2023-09-12T15:56:45.293Z] 2023-09-12 15:56:45,200 [run_push] DEBUG push [2023-09-12T15:56:45.293Z] 2023-09-12 15:56:45,201 [execute] INFO git cat-file --batch-check [2023-09-12T15:56:45.293Z] 2023-09-12 15:56:45,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T15:56:45.293Z] 2023-09-12 15:56:45,205 [execute] INFO git rev-list 8aad0d440a314e1fc5db56acb8dec5d7cb721c5d -- [2023-09-12T15:56:45.293Z] 2023-09-12 15:56:45,205 [execute] DEBUG Popen(['git', 'rev-list', '8aad0d440a314e1fc5db56acb8dec5d7cb721c5d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T15:56:45.293Z] 2023-09-12 15:56:45,218 [execute] INFO git fetch -v origin [2023-09-12T15:56:45.293Z] 2023-09-12 15:56:45,219 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-12T15:56:45.861Z] 2023-09-12 15:56:45,687 [run_push] DEBUG no remote changes detected [2023-09-12T15:56:45.861Z] 2023-09-12 15:56:45,687 [execute] INFO git push origin semver [2023-09-12T15:56:45.861Z] 2023-09-12 15:56:45,688 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T15:56:46.798Z] 2023-09-12 15:56:46,492 [run_push] DEBUG push all version tags [2023-09-12T15:56:46.798Z] 2023-09-12 15:56:46,492 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-12T15:56:46.798Z] 2023-09-12 15:56:46,493 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T15:56:47.365Z] 2023-09-12 15:56:47,291 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T15:56:47.365Z] 3.1.0-dev.22 [Pipeline] } [2023-09-12T15:56:47.370Z] $ docker exec --env ******** --env ******** 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 ssh-agent -k [2023-09-12T15:56:47.470Z] unset SSH_AUTH_SOCK; [2023-09-12T15:56:47.470Z] unset SSH_AGENT_PID; [2023-09-12T15:56:47.470Z] echo Agent pid 37 killed; [2023-09-12T15:56:47.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T15:56:47.794Z] + git semver [Pipeline] } [2023-09-12T15:56:48.062Z] $ docker stop --time=1 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 [2023-09-12T15:56:49.318Z] $ docker rm -f --volumes 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 [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 [2023-09-12T15:56:49.892Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-12T15:56:49.892Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-12T15:56:49.892Z] total 16 [2023-09-12T15:56:49.892Z] drwxr-xr-x 3 root root 4096 Sep 12 15:42 . [2023-09-12T15:56:49.892Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 15:56 .. [2023-09-12T15:56:49.892Z] drwxr-xr-x 2 root root 4096 Sep 12 15:42 cost [2023-09-12T15:56:49.892Z] -rw-r--r-- 1 root root 85 Sep 12 15:42 cost.csv [2023-09-12T15:56:49.892Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-12T15:56:49.892Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-12T15:56:49.892Z] total 16 [2023-09-12T15:56:49.892Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 15:42 . [2023-09-12T15:56:49.892Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 15:56 .. [2023-09-12T15:56:49.892Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 15:42 cost [2023-09-12T15:56:49.892Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 12 15:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:50.181Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:51.040Z] ---> package-listing.sh [2023-09-12T15:56:51.040Z] ++ facter osfamily [2023-09-12T15:56:51.040Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T15:56:51.298Z] + OS_FAMILY=debian [2023-09-12T15:56:51.298Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-12T15:56:51.298Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T15:56:51.298Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T15:56:51.298Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T15:56:51.298Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T15:56:51.298Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-12T15:56:51.298Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T15:56:51.298Z] + case "${OS_FAMILY}" in [2023-09-12T15:56:51.298Z] + dpkg -l [2023-09-12T15:56:51.298Z] + grep '^ii' [2023-09-12T15:56:51.298Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T15:56:51.298Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T15:56:51.298Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T15:56:51.298Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-12T15:56:51.298Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-12T15:56:51.298Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-09-12T15:56:51.310Z] 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/edgexfoundry_device-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 [2023-09-12T15:56:51.586Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T15:56:52.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T15:56:52.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T15:56:52.302Z] prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container [2023-09-12T15:56:52.378Z] $ 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/edgexfoundry_device-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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T15:56:52.591Z] $ docker top 6dc552c12739131b4e09c1383f0c18da8d50f41d179668b881d20f7964682f30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T15:56:52.942Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T15:56:53.226Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T15:56:53.510Z] + ls /var/log/sa-host [2023-09-12T15:56:53.510Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T15:56:53.584Z] provisioning config files... [2023-09-12T15:56:53.590Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16518238185062506970tmp [Pipeline] { [Pipeline] echo [2023-09-12T15:56:53.601Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:53.882Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T15:56:53.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:54.214Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T15:56:54.222Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:54.507Z] ---> sudo-logs.sh [2023-09-12T15:56:54.507Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T15:56:54.539Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:54.822Z] ---> job-cost.sh [2023-09-12T15:56:54.822Z] lf-activate-venv: SKIPPING [2023-09-12T15:56:54.822Z] DEBUG: total: 0.2199999988079071 [2023-09-12T15:56:54.822Z] INFO: Retrieving Stack Cost... [2023-09-12T15:56:55.392Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T15:56:55.651Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T15:56:55.662Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T15:56:55.945Z] ---> logs-deploy.sh [2023-09-12T15:56:55.945Z] lf-activate-venv: SKIPPING [2023-09-12T15:56:55.945Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/250 [2023-09-12T15:56:55.945Z] INFO: archiving workspace using pattern(s): [2023-09-12T15:56:56.883Z] Archives upload complete. [2023-09-12T15:56:56.883Z] INFO: archiving logs to Nexus