Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fcbf44bcbbc574f021408d70e777feaef97917b6 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-ssh13206537124565484744.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-ssh15717076098205342055.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-ssh16246036908799179898.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-ssh4191233704564500562.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-ssh2666942143283549043.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-4260’ Running on prd-ubuntu20.04-docker-8c-8g-4263 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 fcbf44bcbbc574f021408d70e777feaef97917b6 (main) Commit message: "build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#1497)" > 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 fcbf44bcbbc574f021408d70e777feaef97917b6 # timeout=10 > git rev-list --no-walk b58b30e7bb628030941072b2ed6fa4c53da1af43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-22T16:20:19.094Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-22T16:20:19.138Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-22T16:20:19.152Z] ========================================================= [2023-08-22T16:20:19.152Z] EdgeX Global Pipelines Version Info [2023-08-22T16:20:19.152Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:20:19.942Z] ------------------- [2023-08-22T16:20:19.942Z] stable info: [2023-08-22T16:20:19.942Z] ------------------- [2023-08-22T16:20:19.942Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-22T16:20:19.942Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T16:20:19.942Z] Message: update stable to v1.0.253 [2023-08-22T16:20:20.513Z] ------------------- [2023-08-22T16:20:20.513Z] experimental info: [2023-08-22T16:20:20.513Z] ------------------- [2023-08-22T16:20:20.513Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-22T16:20:20.513Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T16:20:20.513Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-22T16:20:20.743Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-22T16:20:20.756Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-22T16:20:20.769Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-22T16:20:20.781Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-22T16:20:20.945Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-22T16:20:20.964Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-22T16:20:20.980Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-22T16:20:20.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-22T16:20:21.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-22T16:20:21.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-22T16:20:21.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-22T16:20:21.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-22T16:20:21.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-22T16:20:21.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-22T16:20:21.116Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-22T16:20:21.130Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T16:20:21.145Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T16:20:21.164Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T16:20:21.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-22T16:20:21.192Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-22T16:20:21.250Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-22T16:20:21.262Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-22T16:20:21.278Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-22T16:20:21.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-22T16:20:21.318Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-22T16:20:21.334Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-22T16:20:21.349Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-22T16:20:21.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-22T16:20:21.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-22T16:20:21.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-22T16:20:21.419Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] echo [2023-08-22T16:20:21.434Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fcbf44b [Pipeline] echo [2023-08-22T16:20:21.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:20:21.498Z] provisioning config files... [2023-08-22T16:20:21.510Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5976210629585226706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:20:21.814Z] ---> docker-login.sh [2023-08-22T16:20:21.815Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:20:22.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:22.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:22.755Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:22.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:22.755Z] [2023-08-22T16:20:22.755Z] Login Succeeded [2023-08-22T16:20:22.755Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:20:22.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:22.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:22.755Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:22.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:22.755Z] [2023-08-22T16:20:22.755Z] Login Succeeded [2023-08-22T16:20:22.755Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:20:22.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:23.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:23.015Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:23.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:23.015Z] [2023-08-22T16:20:23.015Z] Login Succeeded [2023-08-22T16:20:23.015Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:20:23.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:23.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:23.015Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:23.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:23.015Z] [2023-08-22T16:20:23.015Z] Login Succeeded [2023-08-22T16:20:23.015Z] docker.io [2023-08-22T16:20:23.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:23.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:23.277Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:23.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:23.277Z] [2023-08-22T16:20:23.277Z] Login Succeeded [2023-08-22T16:20:23.277Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:20:23.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-22T16:20:23.676Z] + git rev-list -1 --merges fcbf44bcbbc574f021408d70e777feaef97917b6~1..fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] echo [2023-08-22T16:20:23.722Z] -----------> git rev-list -1 --merges fcbf44bcbbc574f021408d70e777feaef97917b6~1..fcbf44bcbbc574f021408d70e777feaef97917b6 fcbf44bcbbc574f021408d70e777feaef97917b6 [false] [Pipeline] sh [2023-08-22T16:20:24.013Z] + git log --format=format:%s -1 fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] echo [2023-08-22T16:20:24.025Z] ========================================================= [2023-08-22T16:20:24.026Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-22T16:20:24.026Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:20:24.348Z] + git log --format=format:%s -1 fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] echo [2023-08-22T16:20:24.356Z] [semverPrep] GIT_COMMIT: fcbf44bcbbc574f021408d70e777feaef97917b6, Commit Message: build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#1497) [Pipeline] echo [2023-08-22T16:20:24.371Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-22T16:20:24.719Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:20:24.719Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-22T16:20:24.719Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-22T16:20:24.719Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-22T16:20:24.719Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-22T16:20:24.719Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-22T16:20:24.719Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:20:25.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:20:25.078Z] [2023-08-22T16:20:25.078Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:20:25.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:20:25.384Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-22T16:20:25.384Z] b85a868b505f: Pulling fs layer [2023-08-22T16:20:25.384Z] e2be974225ed: Pulling fs layer [2023-08-22T16:20:25.384Z] 339a4e72a1f5: Pulling fs layer [2023-08-22T16:20:25.384Z] 988bab9f4d93: Pulling fs layer [2023-08-22T16:20:25.384Z] 1469e6f7b9e6: Pulling fs layer [2023-08-22T16:20:25.384Z] eaf3925da568: Pulling fs layer [2023-08-22T16:20:25.384Z] bab4dde63d76: Pulling fs layer [2023-08-22T16:20:25.384Z] bde34c3a00c8: Pulling fs layer [2023-08-22T16:20:25.384Z] b352a97aabf1: Pulling fs layer [2023-08-22T16:20:25.384Z] 4872d77fe225: Pulling fs layer [2023-08-22T16:20:25.384Z] 5851b861e8e6: Pulling fs layer [2023-08-22T16:20:25.384Z] bab4dde63d76: Waiting [2023-08-22T16:20:25.384Z] bde34c3a00c8: Waiting [2023-08-22T16:20:25.384Z] 988bab9f4d93: Waiting [2023-08-22T16:20:25.384Z] b352a97aabf1: Waiting [2023-08-22T16:20:25.384Z] 1469e6f7b9e6: Waiting [2023-08-22T16:20:25.384Z] 4872d77fe225: Waiting [2023-08-22T16:20:25.384Z] eaf3925da568: Waiting [2023-08-22T16:20:25.384Z] 5851b861e8e6: Waiting [2023-08-22T16:20:25.384Z] e2be974225ed: Verifying Checksum [2023-08-22T16:20:25.384Z] e2be974225ed: Download complete [2023-08-22T16:20:25.384Z] 988bab9f4d93: Verifying Checksum [2023-08-22T16:20:25.384Z] 988bab9f4d93: Download complete [2023-08-22T16:20:25.653Z] 1469e6f7b9e6: Verifying Checksum [2023-08-22T16:20:25.653Z] 1469e6f7b9e6: Download complete [2023-08-22T16:20:25.653Z] eaf3925da568: Verifying Checksum [2023-08-22T16:20:25.653Z] eaf3925da568: Download complete [2023-08-22T16:20:25.653Z] 339a4e72a1f5: Verifying Checksum [2023-08-22T16:20:25.653Z] 339a4e72a1f5: Download complete [2023-08-22T16:20:25.653Z] bde34c3a00c8: Verifying Checksum [2023-08-22T16:20:25.653Z] bde34c3a00c8: Download complete [2023-08-22T16:20:25.653Z] b352a97aabf1: Download complete [2023-08-22T16:20:25.653Z] 4872d77fe225: Download complete [2023-08-22T16:20:25.653Z] 5851b861e8e6: Verifying Checksum [2023-08-22T16:20:25.653Z] b85a868b505f: Verifying Checksum [2023-08-22T16:20:25.653Z] b85a868b505f: Download complete [2023-08-22T16:20:25.911Z] bab4dde63d76: Verifying Checksum [2023-08-22T16:20:25.911Z] bab4dde63d76: Download complete [2023-08-22T16:20:27.290Z] b85a868b505f: Pull complete [2023-08-22T16:20:27.290Z] e2be974225ed: Pull complete [2023-08-22T16:20:27.859Z] 339a4e72a1f5: Pull complete [2023-08-22T16:20:27.859Z] 988bab9f4d93: Pull complete [2023-08-22T16:20:28.119Z] 1469e6f7b9e6: Pull complete [2023-08-22T16:20:28.119Z] eaf3925da568: Pull complete [2023-08-22T16:20:30.656Z] bab4dde63d76: Pull complete [2023-08-22T16:20:30.656Z] bde34c3a00c8: Pull complete [2023-08-22T16:20:30.656Z] b352a97aabf1: Pull complete [2023-08-22T16:20:30.915Z] 4872d77fe225: Pull complete [2023-08-22T16:20:30.915Z] 5851b861e8e6: Pull complete [2023-08-22T16:20:30.915Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-22T16:20:30.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:20:30.915Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:20:31.027Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:20:31.054Z] $ 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-08-22T16:20:35.099Z] $ docker top dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 -eo pid,comm [2023-08-22T16:20:35.155Z] 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-08-22T16:20:35.155Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:20:35.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:20:35.190Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:20:35.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:20:35.301Z] $ docker exec dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 ssh-agent [2023-08-22T16:20:35.401Z] SSH_AUTH_SOCK=/tmp/ssh-SRksZODWgO15/agent.32 [2023-08-22T16:20:35.401Z] SSH_AGENT_PID=38 [2023-08-22T16:20:35.408Z] Running ssh-add (command line suppressed) [2023-08-22T16:20:35.502Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_874348040808189278.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_874348040808189278.key) [2023-08-22T16:20:35.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:20:35.807Z] + git tag --points-at HEAD [Pipeline] } [2023-08-22T16:20:35.815Z] $ docker exec --env ******** --env ******** dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 ssh-agent -k [2023-08-22T16:20:35.920Z] unset SSH_AUTH_SOCK; [2023-08-22T16:20:35.920Z] unset SSH_AGENT_PID; [2023-08-22T16:20:35.920Z] echo Agent pid 38 killed; [2023-08-22T16:20:35.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-22T16:20:35.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:20:35.963Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:20:36.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:20:36.079Z] $ docker exec dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 ssh-agent [2023-08-22T16:20:36.194Z] SSH_AUTH_SOCK=/tmp/ssh-zXBuih50fNan/agent.70 [2023-08-22T16:20:36.194Z] SSH_AGENT_PID=76 [2023-08-22T16:20:36.199Z] Running ssh-add (command line suppressed) [2023-08-22T16:20:36.315Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9875053655106754958.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9875053655106754958.key) [2023-08-22T16:20:36.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:20:36.622Z] + git semver init [2023-08-22T16:20:36.880Z] 2023-08-22 16:20:36,808 [run_init] DEBUG init version:0.0.0 force:False [2023-08-22T16:20:36.880Z] 2023-08-22 16:20:36,808 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-22T16:20:36.880Z] 2023-08-22 16:20:36,809 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-22T16:20:36.880Z] 2023-08-22 16:20:36,809 [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-08-22T16:20:37.821Z] 2023-08-22 16:20:37,721 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-08-22T16:20:37.821Z] 2023-08-22 16:20:37,722 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-08-22T16:20:37.821Z] 2023-08-22 16:20:37,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-22T16:20:37.821Z] 2023-08-22 16:20:37,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-22T16:20:37.821Z] 3.1.0-dev.14 [Pipeline] } [2023-08-22T16:20:37.827Z] $ docker exec --env ******** --env ******** dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 ssh-agent -k [2023-08-22T16:20:37.914Z] unset SSH_AUTH_SOCK; [2023-08-22T16:20:37.915Z] unset SSH_AGENT_PID; [2023-08-22T16:20:37.915Z] echo Agent pid 76 killed; [2023-08-22T16:20:37.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:20:38.223Z] + git semver [Pipeline] } [2023-08-22T16:20:38.492Z] $ docker stop --time=1 dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 [2023-08-22T16:20:39.781Z] $ docker rm -f --volumes dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:20:40.135Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-22T16:20:40.355Z] Stashed 1 file(s) [Pipeline] echo [2023-08-22T16:20:40.358Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.14 [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-08-22T16:20:40.512Z] provisioning config files... [2023-08-22T16:20:40.522Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15133700228790659030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:20:40.817Z] ---> docker-login.sh [2023-08-22T16:20:40.817Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:20:40.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:40.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:40.817Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:40.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:40.817Z] [2023-08-22T16:20:40.817Z] Login Succeeded [2023-08-22T16:20:40.817Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:20:40.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:40.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:40.817Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:40.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:40.817Z] [2023-08-22T16:20:40.817Z] Login Succeeded [2023-08-22T16:20:40.817Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:20:41.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:41.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:41.077Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:41.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:41.077Z] [2023-08-22T16:20:41.077Z] Login Succeeded [2023-08-22T16:20:41.077Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:20:41.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:41.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:41.078Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:41.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:41.078Z] [2023-08-22T16:20:41.078Z] Login Succeeded [2023-08-22T16:20:41.078Z] docker.io [2023-08-22T16:20:41.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:20:41.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:20:41.337Z] Configure a credential helper to remove this warning. See [2023-08-22T16:20:41.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:20:41.337Z] [2023-08-22T16:20:41.337Z] Login Succeeded [2023-08-22T16:20:41.337Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:20:41.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T16:20:41.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:20:41.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:20:41.414Z] ========================================================= [2023-08-22T16:20:41.414Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-22T16:20:41.414Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:20:41.723Z] + 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-08-22T16:20:41.723Z] Sending build context to Docker daemon 11.05MB [2023-08-22T16:20:41.723Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:20:41.723Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-22T16:20:41.723Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-22T16:20:41.723Z] 4db1b89c0bd1: Pulling fs layer [2023-08-22T16:20:41.723Z] 6911f1a30b25: Pulling fs layer [2023-08-22T16:20:41.723Z] e194b8c5c2a9: Pulling fs layer [2023-08-22T16:20:41.723Z] 6863d3e3a2b1: Pulling fs layer [2023-08-22T16:20:41.723Z] ec0bb842ea78: Pulling fs layer [2023-08-22T16:20:41.723Z] 40a00589a448: Pulling fs layer [2023-08-22T16:20:41.723Z] 6c08303d61cc: Pulling fs layer [2023-08-22T16:20:41.723Z] 798269fcf238: Pulling fs layer [2023-08-22T16:20:41.723Z] 40a00589a448: Waiting [2023-08-22T16:20:41.723Z] 6863d3e3a2b1: Waiting [2023-08-22T16:20:41.723Z] 6c08303d61cc: Waiting [2023-08-22T16:20:41.723Z] ec0bb842ea78: Waiting [2023-08-22T16:20:41.723Z] 6911f1a30b25: Download complete [2023-08-22T16:20:41.983Z] 6863d3e3a2b1: Download complete [2023-08-22T16:20:41.983Z] ec0bb842ea78: Verifying Checksum [2023-08-22T16:20:41.983Z] ec0bb842ea78: Download complete [2023-08-22T16:20:41.983Z] 4db1b89c0bd1: Verifying Checksum [2023-08-22T16:20:41.983Z] 4db1b89c0bd1: Download complete [2023-08-22T16:20:41.983Z] 40a00589a448: Verifying Checksum [2023-08-22T16:20:41.983Z] 40a00589a448: Download complete [2023-08-22T16:20:41.983Z] 4db1b89c0bd1: Pull complete [2023-08-22T16:20:42.246Z] 6911f1a30b25: Pull complete [2023-08-22T16:20:42.507Z] 798269fcf238: Verifying Checksum [2023-08-22T16:20:42.507Z] 798269fcf238: Download complete [2023-08-22T16:20:42.766Z] e194b8c5c2a9: Verifying Checksum [2023-08-22T16:20:42.766Z] e194b8c5c2a9: Download complete [2023-08-22T16:20:43.024Z] 6c08303d61cc: Verifying Checksum [2023-08-22T16:20:43.024Z] 6c08303d61cc: Download complete [2023-08-22T16:20:46.307Z] e194b8c5c2a9: Pull complete [2023-08-22T16:20:46.307Z] 6863d3e3a2b1: Pull complete [2023-08-22T16:20:46.565Z] ec0bb842ea78: Pull complete [2023-08-22T16:20:46.565Z] 40a00589a448: Pull complete [2023-08-22T16:20:49.095Z] 6c08303d61cc: Pull complete [2023-08-22T16:20:50.030Z] 798269fcf238: Pull complete [2023-08-22T16:20:50.030Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-22T16:20:50.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-22T16:20:50.030Z] ---> ec979cd7f677 [2023-08-22T16:20:50.030Z] Step 3/10 : ARG MAKE=make build [2023-08-22T16:20:55.464Z] Still waiting to schedule task [2023-08-22T16:20:55.464Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4261’ [2023-08-22T16:20:58.159Z] ---> Running in 9f3745bbaec8 [2023-08-22T16:20:58.159Z] Removing intermediate container 9f3745bbaec8 [2023-08-22T16:20:58.159Z] ---> 40892858ac3b [2023-08-22T16:20:58.159Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-22T16:20:58.159Z] ---> Running in 543abb32b09a [2023-08-22T16:20:58.159Z] Removing intermediate container 543abb32b09a [2023-08-22T16:20:58.159Z] ---> f6cf6f37af6b [2023-08-22T16:20:58.159Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-22T16:20:58.159Z] ---> Running in cc41b12f361d [2023-08-22T16:20:58.419Z] Removing intermediate container cc41b12f361d [2023-08-22T16:20:58.419Z] ---> 2becc18674e9 [2023-08-22T16:20:58.419Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-22T16:20:58.419Z] ---> Running in 4ac812d637dd [2023-08-22T16:20:58.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:20:58.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:20:59.197Z] OK: 265 MiB in 53 packages [2023-08-22T16:20:59.456Z] Removing intermediate container 4ac812d637dd [2023-08-22T16:20:59.456Z] ---> 80a1cbe4971f [2023-08-22T16:20:59.456Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-22T16:20:59.719Z] ---> 21f004174af9 [2023-08-22T16:20:59.719Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:20:59.719Z] ---> Running in c4b03a806c0f [2023-08-22T16:21:56.040Z] Removing intermediate container c4b03a806c0f [2023-08-22T16:21:56.040Z] ---> 35fec80c5107 [2023-08-22T16:21:56.040Z] Step 9/10 : COPY . . [2023-08-22T16:21:56.040Z] ---> 5b2aa5a6b10a [2023-08-22T16:21:56.040Z] Step 10/10 : RUN ${MAKE} [2023-08-22T16:21:56.040Z] ---> Running in 01c90a0c34f2 [2023-08-22T16:21:56.040Z] noop [2023-08-22T16:21:56.040Z] Removing intermediate container 01c90a0c34f2 [2023-08-22T16:21:56.040Z] ---> c2d783d36e2d [2023-08-22T16:21:56.040Z] Successfully built c2d783d36e2d [2023-08-22T16:21:56.040Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:21:56.365Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T16:21:56.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:21:56.453Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:21:56.479Z] $ 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-08-22T16:21:56.847Z] $ docker top 384afed2a1299847a2306ef9e165dd210d9325ce5deceea6b06e704175872e1f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:21:57.206Z] + go version [2023-08-22T16:21:57.207Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-22T16:21:57.215Z] $ docker stop --time=1 384afed2a1299847a2306ef9e165dd210d9325ce5deceea6b06e704175872e1f [2023-08-22T16:21:58.483Z] $ docker rm -f --volumes 384afed2a1299847a2306ef9e165dd210d9325ce5deceea6b06e704175872e1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:21:58.920Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T16:21:58.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:21:58.995Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:21:59.022Z] $ 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-08-22T16:21:59.369Z] $ docker top 3e838f4314da83f0e52c6e75da7165d706384806abbccf3cca70584125d76072 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:21:59.711Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-22T16:22:00.010Z] + make test [2023-08-22T16:22:00.011Z] go test -race -coverprofile=coverage.out ./... [2023-08-22T16:22:08.144Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-22T16:22:20.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-22T16:22:20.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-22T16:22:20.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-22T16:22:20.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-22T16:22:20.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-22T16:22:21.340Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.085s coverage: 27.6% of statements [2023-08-22T16:22:21.340Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-22T16:22:21.340Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-22T16:22:21.340Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-22T16:22:21.340Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.070s coverage: 80.2% of statements [2023-08-22T16:22:21.340Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.091s coverage: 86.0% of statements [2023-08-22T16:22:21.340Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 71.8% of statements [2023-08-22T16:22:22.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-22T16:22:22.714Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-22T16:22:22.973Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-22T16:22:24.877Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.101s coverage: 14.3% of statements [2023-08-22T16:22:25.137Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.480s coverage: 43.8% of statements [2023-08-22T16:22:25.137Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements [2023-08-22T16:22:25.137Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.125s coverage: 89.2% of statements [2023-08-22T16:22:25.137Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-08-22T16:22:51.688Z] GO111MODULE=on go vet ./... [2023-08-22T16:22:52.620Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-22T16:22:52.620Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-22T16:22:52.620Z] ./bin/test-attribution-txt.sh [2023-08-22T16:22:52.620Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-22T16:22:52.620Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-22T16:22:52.620Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-22T16:22:52.620Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-22T16:22:52.620Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-22T16:22:52.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-22T16:22:52.639Z] $ docker stop --time=1 3e838f4314da83f0e52c6e75da7165d706384806abbccf3cca70584125d76072 [2023-08-22T16:22:57.260Z] $ docker rm -f --volumes 3e838f4314da83f0e52c6e75da7165d706384806abbccf3cca70584125d76072 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:22:57.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-22T16:22:57.935Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-22T16:22:58.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-22T16:22:58.718Z] + ls -al . [2023-08-22T16:22:58.718Z] total 304 [2023-08-22T16:22:58.718Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 16:22 . [2023-08-22T16:22:58.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:20 .. [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 22 16:20 .dockerignore [2023-08-22T16:22:58.718Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:20 .git [2023-08-22T16:22:58.718Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:20 .github [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 22 16:20 .gitignore [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 16:20 .golangci.yml [2023-08-22T16:22:58.718Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:20 .semver [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 22 16:20 CHANGELOG.md [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:20 GOVERNANCE.md [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 22 16:20 Jenkinsfile [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 22 16:20 LICENSE [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 22 16:20 Makefile [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 22 16:20 OWNERS.md [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 22 16:20 README.md [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 22 16:20 VERSION [2023-08-22T16:22:58.718Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:20 bin [2023-08-22T16:22:58.718Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 22 16:22 coverage.out [2023-08-22T16:22:58.718Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 22 16:20 example [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 22 16:20 go.mod [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 22 16:20 go.sum [2023-08-22T16:22:58.718Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 16:20 internal [2023-08-22T16:22:58.718Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:20 openapi [2023-08-22T16:22:58.718Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 16:20 pkg [2023-08-22T16:22:58.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:20 snap [2023-08-22T16:22:58.718Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 22 16:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:22:59.028Z] + 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=fcbf44bcbbc574f021408d70e777feaef97917b6 --label arch=amd64 --label version=3.1.0-dev.14 . [2023-08-22T16:22:59.028Z] Sending build context to Docker daemon 11.17MB [2023-08-22T16:22:59.028Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:22:59.028Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-22T16:22:59.028Z] ---> c2d783d36e2d [2023-08-22T16:22:59.028Z] Step 3/23 : ARG MAKE=make build [2023-08-22T16:22:59.289Z] ---> Running in e853891f6b20 [2023-08-22T16:22:59.289Z] Removing intermediate container e853891f6b20 [2023-08-22T16:22:59.289Z] ---> 3254c1c8d3d8 [2023-08-22T16:22:59.289Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-22T16:22:59.289Z] ---> Running in c6ba76f7bd54 [2023-08-22T16:22:59.550Z] Removing intermediate container c6ba76f7bd54 [2023-08-22T16:22:59.550Z] ---> ecc96206a48a [2023-08-22T16:22:59.550Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-22T16:22:59.550Z] ---> Running in 49a9dcb0973b [2023-08-22T16:22:59.550Z] Removing intermediate container 49a9dcb0973b [2023-08-22T16:22:59.550Z] ---> dfbed3579743 [2023-08-22T16:22:59.550Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-22T16:22:59.550Z] ---> Running in c83eff46aa37 [2023-08-22T16:22:59.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:00.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:00.328Z] OK: 265 MiB in 53 packages [2023-08-22T16:23:00.899Z] Removing intermediate container c83eff46aa37 [2023-08-22T16:23:00.899Z] ---> ef11628a9ed2 [2023-08-22T16:23:00.899Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-22T16:23:00.899Z] ---> 9410623573ce [2023-08-22T16:23:00.899Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:23:00.899Z] ---> Running in d191b7cc45c5 [2023-08-22T16:23:01.466Z] Removing intermediate container d191b7cc45c5 [2023-08-22T16:23:01.466Z] ---> a64453c6e33d [2023-08-22T16:23:01.466Z] Step 9/23 : COPY . . [2023-08-22T16:23:02.272Z] ---> 08b22fd8f8a7 [2023-08-22T16:23:02.272Z] Step 10/23 : RUN ${MAKE} [2023-08-22T16:23:02.272Z] ---> Running in 2c5f734be253 [2023-08-22T16:23:02.530Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-22T16:23:24.465Z] Removing intermediate container 2c5f734be253 [2023-08-22T16:23:24.465Z] ---> be83d2d45d72 [2023-08-22T16:23:24.465Z] Step 11/23 : FROM alpine:3.17 [2023-08-22T16:23:25.034Z] 3.17: Pulling from library/alpine [2023-08-22T16:23:25.034Z] 9398808236ff: Pulling fs layer [2023-08-22T16:23:25.321Z] 9398808236ff: Verifying Checksum [2023-08-22T16:23:25.321Z] 9398808236ff: Download complete [2023-08-22T16:23:25.321Z] 9398808236ff: Pull complete [2023-08-22T16:23:25.321Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-22T16:23:25.321Z] Status: Downloaded newer image for alpine:3.17 [2023-08-22T16:23:25.321Z] ---> 1e0b8b5322fc [2023-08-22T16:23:25.321Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-22T16:23:25.579Z] ---> Running in 469fedc5bfef [2023-08-22T16:23:25.579Z] Removing intermediate container 469fedc5bfef [2023-08-22T16:23:25.579Z] ---> 6082fbef9a01 [2023-08-22T16:23:25.579Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-22T16:23:25.579Z] ---> Running in c40a2ff2eedc [2023-08-22T16:23:25.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:26.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:23:26.099Z] OK: 7 MiB in 15 packages [2023-08-22T16:23:26.668Z] Removing intermediate container c40a2ff2eedc [2023-08-22T16:23:26.669Z] ---> 4688636b4d73 [2023-08-22T16:23:26.669Z] Step 14/23 : WORKDIR / [2023-08-22T16:23:26.669Z] ---> Running in bce6bf66fe6e [2023-08-22T16:23:26.669Z] Removing intermediate container bce6bf66fe6e [2023-08-22T16:23:26.669Z] ---> 85ee38307ad8 [2023-08-22T16:23:26.669Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-22T16:23:26.669Z] ---> 43e602524949 [2023-08-22T16:23:26.669Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-22T16:23:27.606Z] ---> 60677b2dc63b [2023-08-22T16:23:27.606Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-22T16:23:27.865Z] ---> 5006e84907be [2023-08-22T16:23:27.865Z] Step 18/23 : EXPOSE 59999 [2023-08-22T16:23:27.865Z] ---> Running in 455a26a55f86 [2023-08-22T16:23:27.865Z] Removing intermediate container 455a26a55f86 [2023-08-22T16:23:27.865Z] ---> 563b4f972c5d [2023-08-22T16:23:27.865Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-22T16:23:27.865Z] ---> Running in 605372e9cfd2 [2023-08-22T16:23:28.123Z] Removing intermediate container 605372e9cfd2 [2023-08-22T16:23:28.123Z] ---> 8593f373542f [2023-08-22T16:23:28.123Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-22T16:23:28.123Z] ---> Running in 5f88981b2f6f [2023-08-22T16:23:28.123Z] Removing intermediate container 5f88981b2f6f [2023-08-22T16:23:28.123Z] ---> 559cef508769 [2023-08-22T16:23:28.123Z] Step 21/23 : LABEL arch=amd64 [2023-08-22T16:23:28.123Z] ---> Running in a06f51c67a34 [2023-08-22T16:23:28.123Z] Removing intermediate container a06f51c67a34 [2023-08-22T16:23:28.123Z] ---> 332c2d3b2dbc [2023-08-22T16:23:28.123Z] Step 22/23 : LABEL git_sha=fcbf44bcbbc574f021408d70e777feaef97917b6 [2023-08-22T16:23:28.123Z] ---> Running in 17c3c46a79bf [2023-08-22T16:23:28.383Z] Removing intermediate container 17c3c46a79bf [2023-08-22T16:23:28.383Z] ---> 4be66c08aaf0 [2023-08-22T16:23:28.383Z] Step 23/23 : LABEL version=3.1.0-dev.14 [2023-08-22T16:23:28.383Z] ---> Running in e075edc3518d [2023-08-22T16:23:28.383Z] Removing intermediate container e075edc3518d [2023-08-22T16:23:28.383Z] ---> 72d415b7c129 [2023-08-22T16:23:28.383Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-22T16:23:28.383Z] Successfully built 72d415b7c129 [2023-08-22T16:23:28.383Z] 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-08-22T16:23:28.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:23:28.809Z] [2023-08-22T16:23:28.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:23:29.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:23:29.118Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-22T16:23:29.118Z] 5eb5b503b376: Pulling fs layer [2023-08-22T16:23:29.118Z] 5c69ac0246d0: Pulling fs layer [2023-08-22T16:23:29.118Z] ec43610c2a17: Pulling fs layer [2023-08-22T16:23:29.118Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-22T16:23:29.118Z] 33b1e0a273af: Pulling fs layer [2023-08-22T16:23:29.118Z] 5d3b04190fa2: Pulling fs layer [2023-08-22T16:23:29.118Z] 2f39f015ded8: Pulling fs layer [2023-08-22T16:23:29.118Z] 3a2ae6a8a46f: Waiting [2023-08-22T16:23:29.118Z] 33b1e0a273af: Waiting [2023-08-22T16:23:29.118Z] 5d3b04190fa2: Waiting [2023-08-22T16:23:29.118Z] 2f39f015ded8: Waiting [2023-08-22T16:23:29.118Z] 5c69ac0246d0: Verifying Checksum [2023-08-22T16:23:29.118Z] 5c69ac0246d0: Download complete [2023-08-22T16:23:29.118Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-22T16:23:29.118Z] 3a2ae6a8a46f: Download complete [2023-08-22T16:23:29.118Z] ec43610c2a17: Verifying Checksum [2023-08-22T16:23:29.118Z] ec43610c2a17: Download complete [2023-08-22T16:23:29.118Z] 33b1e0a273af: Verifying Checksum [2023-08-22T16:23:29.118Z] 33b1e0a273af: Download complete [2023-08-22T16:23:29.118Z] 5d3b04190fa2: Verifying Checksum [2023-08-22T16:23:29.118Z] 5d3b04190fa2: Download complete [2023-08-22T16:23:29.390Z] 5eb5b503b376: Verifying Checksum [2023-08-22T16:23:29.390Z] 5eb5b503b376: Download complete [2023-08-22T16:23:29.959Z] 2f39f015ded8: Verifying Checksum [2023-08-22T16:23:29.959Z] 2f39f015ded8: Download complete [2023-08-22T16:23:30.894Z] 5eb5b503b376: Pull complete [2023-08-22T16:23:30.894Z] 5c69ac0246d0: Pull complete [2023-08-22T16:23:31.464Z] ec43610c2a17: Pull complete [2023-08-22T16:23:31.464Z] 3a2ae6a8a46f: Pull complete [2023-08-22T16:23:31.723Z] 33b1e0a273af: Pull complete [2023-08-22T16:23:31.723Z] 5d3b04190fa2: Pull complete [2023-08-22T16:23:37.025Z] 2f39f015ded8: Pull complete [2023-08-22T16:23:37.025Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-22T16:23:37.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:23:37.025Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:23:37.115Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:23:37.143Z] $ 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-08-22T16:23:42.499Z] $ docker top dbf2390dfb5ca37a117e18b42d63c8eeeda3fc70b9271c5adc10373242afc3a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:23:42.874Z] ---> job-cost.sh [2023-08-22T16:23:42.874Z] lf-activate-venv: SKIPPING [2023-08-22T16:23:42.874Z] INFO: No Stack... [2023-08-22T16:23:43.133Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T16:23:43.394Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T16:23:43.684Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-08-22T16:23:43.684Z] + cut -d, -f6 [Pipeline] lock [2023-08-22T16:23:43.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [2023-08-22T16:23:43.703Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] did not exist. Created. [2023-08-22T16:23:43.703Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:23:44.009Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-22T16:23:44.045Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T16:23:44.052Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T16:23:44.064Z] $ docker stop --time=1 dbf2390dfb5ca37a117e18b42d63c8eeeda3fc70b9271c5adc10373242afc3a6 [2023-08-22T16:23:45.224Z] $ docker rm -f --volumes dbf2390dfb5ca37a117e18b42d63c8eeeda3fc70b9271c5adc10373242afc3a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-22T16:24:01.249Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4270 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-08-22T16:24:01.263Z] Running in /w/workspace/device-sdk-go/243 [Pipeline] { [Pipeline] checkout [2023-08-22T16:24:01.311Z] The recommended git tool is: git [2023-08-22T16:24:08.156Z] using credential edgex-jenkins-ssh [2023-08-22T16:24:08.176Z] Cloning the remote Git repository [2023-08-22T16:24:08.242Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-22T16:24:08.412Z] > git init /w/workspace/device-sdk-go/243 # timeout=10 [2023-08-22T16:24:08.616Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-22T16:24:08.617Z] > git --version # timeout=10 [2023-08-22T16:24:08.648Z] > git --version # 'git version 2.25.1' [2023-08-22T16:24:08.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-22T16:24:08.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T16:24:11.918Z] Avoid second fetch [2023-08-22T16:24:11.919Z] Checking out Revision fcbf44bcbbc574f021408d70e777feaef97917b6 (main) [2023-08-22T16:24:10.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-22T16:24:10.807Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T16:24:11.938Z] > git config core.sparsecheckout # timeout=10 [2023-08-22T16:24:12.683Z] Commit message: "build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#1497)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:24:12.039Z] > git checkout -f fcbf44bcbbc574f021408d70e777feaef97917b6 # timeout=10 [2023-08-22T16:24:13.632Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-22T16:24:13.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T16:24:13.632Z] Dload Upload Total Spent Left Speed [2023-08-22T16:24:13.632Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh [2023-08-22T16:24:14.228Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-22T16:24:14.575Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-22T16:24:14.575Z] + sudo tee /etc/docker/daemon.new [2023-08-22T16:24:14.575Z] { [2023-08-22T16:24:14.575Z] "registry-mirrors": [ [2023-08-22T16:24:14.575Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-22T16:24:14.575Z] ], [2023-08-22T16:24:14.575Z] "bip": "10.250.0.254/24", [2023-08-22T16:24:14.575Z] "hosts": [ [2023-08-22T16:24:14.575Z] "tcp://0.0.0.0:5555", [2023-08-22T16:24:14.575Z] "unix:///var/run/docker.sock" [2023-08-22T16:24:14.575Z] ], [2023-08-22T16:24:14.575Z] "mtu": 1458, [2023-08-22T16:24:14.575Z] "selinux-enabled": true, [2023-08-22T16:24:14.575Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-22T16:24:14.575Z] } [Pipeline] sh [2023-08-22T16:24:14.918Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-22T16:24:15.263Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:24:37.470Z] provisioning config files... [2023-08-22T16:24:37.504Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/243@tmp/config7198971775562890269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:24:37.876Z] ---> docker-login.sh [2023-08-22T16:24:37.876Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:24:38.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:24:38.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:24:38.469Z] Configure a credential helper to remove this warning. See [2023-08-22T16:24:38.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:24:38.469Z] [2023-08-22T16:24:38.469Z] Login Succeeded [2023-08-22T16:24:38.469Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:24:38.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:24:39.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:24:39.013Z] Configure a credential helper to remove this warning. See [2023-08-22T16:24:39.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:24:39.013Z] [2023-08-22T16:24:39.013Z] Login Succeeded [2023-08-22T16:24:39.013Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:24:39.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:24:39.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:24:39.284Z] Configure a credential helper to remove this warning. See [2023-08-22T16:24:39.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:24:39.284Z] [2023-08-22T16:24:39.284Z] Login Succeeded [2023-08-22T16:24:39.284Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:24:39.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:24:39.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:24:39.833Z] Configure a credential helper to remove this warning. See [2023-08-22T16:24:39.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:24:39.833Z] [2023-08-22T16:24:39.833Z] Login Succeeded [2023-08-22T16:24:39.833Z] docker.io [2023-08-22T16:24:40.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:24:40.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:24:40.694Z] Configure a credential helper to remove this warning. See [2023-08-22T16:24:40.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:24:40.694Z] [2023-08-22T16:24:40.694Z] Login Succeeded [2023-08-22T16:24:40.694Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:24:40.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T16:24:41.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:24:41.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:24:41.071Z] ========================================================= [2023-08-22T16:24:41.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-22T16:24:41.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:24:41.423Z] + 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-08-22T16:24:41.695Z] Sending build context to Docker daemon 5.897MB [2023-08-22T16:24:41.969Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:24:41.969Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-22T16:24:41.969Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-22T16:24:41.969Z] edb6bdbacee9: Pulling fs layer [2023-08-22T16:24:41.969Z] 5f9638ab2659: Pulling fs layer [2023-08-22T16:24:41.969Z] 8d51d6327a98: Pulling fs layer [2023-08-22T16:24:41.969Z] 8b374f2dd631: Pulling fs layer [2023-08-22T16:24:41.969Z] ec14aa9079de: Pulling fs layer [2023-08-22T16:24:41.969Z] 2f466654f4bb: Pulling fs layer [2023-08-22T16:24:41.969Z] 554e91adad29: Pulling fs layer [2023-08-22T16:24:41.969Z] ec14aa9079de: Waiting [2023-08-22T16:24:41.969Z] 2f466654f4bb: Waiting [2023-08-22T16:24:41.969Z] 554e91adad29: Waiting [2023-08-22T16:24:41.969Z] 8b374f2dd631: Waiting [2023-08-22T16:24:41.969Z] 5f9638ab2659: Verifying Checksum [2023-08-22T16:24:41.969Z] 5f9638ab2659: Download complete [2023-08-22T16:24:41.969Z] 8b374f2dd631: Verifying Checksum [2023-08-22T16:24:41.969Z] 8b374f2dd631: Download complete [2023-08-22T16:24:42.246Z] ec14aa9079de: Verifying Checksum [2023-08-22T16:24:42.246Z] ec14aa9079de: Download complete [2023-08-22T16:24:42.246Z] edb6bdbacee9: Verifying Checksum [2023-08-22T16:24:42.246Z] edb6bdbacee9: Download complete [2023-08-22T16:24:43.228Z] edb6bdbacee9: Pull complete [2023-08-22T16:24:43.503Z] 554e91adad29: Verifying Checksum [2023-08-22T16:24:43.503Z] 554e91adad29: Download complete [2023-08-22T16:24:43.773Z] 5f9638ab2659: Pull complete [2023-08-22T16:24:44.749Z] 8d51d6327a98: Download complete [2023-08-22T16:24:45.034Z] 2f466654f4bb: Verifying Checksum [2023-08-22T16:24:45.034Z] 2f466654f4bb: Download complete [2023-08-22T16:24:57.412Z] 8d51d6327a98: Pull complete [2023-08-22T16:24:57.412Z] 8b374f2dd631: Pull complete [2023-08-22T16:24:57.412Z] ec14aa9079de: Pull complete [2023-08-22T16:25:03.991Z] 2f466654f4bb: Pull complete [2023-08-22T16:25:06.621Z] 554e91adad29: Pull complete [2023-08-22T16:25:06.621Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-22T16:25:06.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-22T16:25:06.621Z] ---> 1e15ea492957 [2023-08-22T16:25:06.621Z] Step 3/10 : ARG MAKE=make build [2023-08-22T16:25:08.638Z] ---> Running in 2771791190c5 [2023-08-22T16:25:08.915Z] Removing intermediate container 2771791190c5 [2023-08-22T16:25:08.915Z] ---> c1160df4e9f7 [2023-08-22T16:25:08.915Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-22T16:25:09.187Z] ---> Running in a1531dfa71a7 [2023-08-22T16:25:09.459Z] Removing intermediate container a1531dfa71a7 [2023-08-22T16:25:09.459Z] ---> b3efd69131aa [2023-08-22T16:25:09.459Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-22T16:25:09.800Z] ---> Running in 0fcd6659f90b [2023-08-22T16:25:10.105Z] Removing intermediate container 0fcd6659f90b [2023-08-22T16:25:10.105Z] ---> b8d5ca3b3c60 [2023-08-22T16:25:10.105Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-22T16:25:10.105Z] ---> Running in e95e1f3a5257 [2023-08-22T16:25:11.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:25:12.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:25:13.978Z] OK: 263 MiB in 53 packages [2023-08-22T16:25:16.604Z] Removing intermediate container e95e1f3a5257 [2023-08-22T16:25:16.604Z] ---> dff4053ebe89 [2023-08-22T16:25:16.604Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-22T16:25:17.203Z] ---> 73d4a4602805 [2023-08-22T16:25:17.203Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:25:17.203Z] ---> Running in 8196188bcd18 [2023-08-22T16:26:38.994Z] Removing intermediate container 8196188bcd18 [2023-08-22T16:26:38.994Z] ---> f1364fa0c1f0 [2023-08-22T16:26:38.994Z] Step 9/10 : COPY . . [2023-08-22T16:26:38.994Z] ---> 648011685218 [2023-08-22T16:26:38.994Z] Step 10/10 : RUN ${MAKE} [2023-08-22T16:26:38.994Z] ---> Running in 906718f8b218 [2023-08-22T16:26:38.994Z] noop [2023-08-22T16:26:38.994Z] Removing intermediate container 906718f8b218 [2023-08-22T16:26:38.994Z] ---> b877af8ca4bb [2023-08-22T16:26:38.994Z] Successfully built b877af8ca4bb [2023-08-22T16:26:38.994Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:26:39.355Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T16:26:39.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:26:39.614Z] prd-ubuntu20.04-docker-arm64-4c-16g-4270 does not seem to be running inside a container [2023-08-22T16:26:39.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/243 -v /w/workspace/device-sdk-go/243:/w/workspace/device-sdk-go/243:rw,z -v /w/workspace/device-sdk-go/243@tmp:/w/workspace/device-sdk-go/243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-22T16:26:41.264Z] $ docker top b799440432adf3bf7dd3033d48a4adb68a70065a60c15e1f05c43fbffd5c09bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:26:42.213Z] + go version [2023-08-22T16:26:42.213Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-22T16:26:42.237Z] $ docker stop --time=1 b799440432adf3bf7dd3033d48a4adb68a70065a60c15e1f05c43fbffd5c09bf [2023-08-22T16:26:44.045Z] $ docker rm -f --volumes b799440432adf3bf7dd3033d48a4adb68a70065a60c15e1f05c43fbffd5c09bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:26:44.689Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T16:26:44.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:26:44.946Z] prd-ubuntu20.04-docker-arm64-4c-16g-4270 does not seem to be running inside a container [2023-08-22T16:26:45.035Z] $ 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/243 -v /w/workspace/device-sdk-go/243:/w/workspace/device-sdk-go/243:rw,z -v /w/workspace/device-sdk-go/243@tmp:/w/workspace/device-sdk-go/243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-22T16:26:46.737Z] $ docker top 93da88e5d5d919341a17567c7de1de9ab577d5fea12a15f6fc2fad4430ae3065 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:26:47.643Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/243 [Pipeline] fileExists [Pipeline] sh [2023-08-22T16:26:48.326Z] + make test [2023-08-22T16:26:48.327Z] go test -race -coverprofile=coverage.out ./... [2023-08-22T16:27:44.828Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-22T16:30:36.641Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-22T16:30:36.641Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-22T16:30:36.641Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-22T16:30:36.641Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-22T16:30:36.641Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-22T16:30:46.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.282s coverage: 27.6% of statements [2023-08-22T16:30:53.371Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.313s coverage: 80.2% of statements [2023-08-22T16:31:11.611Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-22T16:31:11.611Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-22T16:31:11.611Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.436s coverage: 86.0% of statements [2023-08-22T16:31:18.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-22T16:31:18.534Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.561s coverage: 71.8% of statements [2023-08-22T16:31:21.885Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.362s coverage: 14.3% of statements [2023-08-22T16:31:26.181Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.368s coverage: 43.8% of statements [2023-08-22T16:31:26.452Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-22T16:31:26.452Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-22T16:31:27.040Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.488s coverage: 68.5% of statements [2023-08-22T16:31:31.311Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.500s coverage: 89.2% of statements [2023-08-22T16:31:33.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-22T16:31:33.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.320s coverage: 5.5% of statements [2023-08-22T16:31:34.877Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-22T16:31:34.877Z] GO111MODULE=on go vet ./... [2023-08-22T16:34:41.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-22T16:34:41.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-22T16:34:41.741Z] ./bin/test-attribution-txt.sh [2023-08-22T16:34:41.741Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-22T16:34:41.741Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-22T16:34:41.741Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-22T16:34:41.741Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-22T16:34:41.741Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-22T16:34:41.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-22T16:34:41.768Z] $ docker stop --time=1 93da88e5d5d919341a17567c7de1de9ab577d5fea12a15f6fc2fad4430ae3065 [2023-08-22T16:34:43.673Z] $ docker rm -f --volumes 93da88e5d5d919341a17567c7de1de9ab577d5fea12a15f6fc2fad4430ae3065 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:34:45.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-22T16:34:45.484Z] Warning: overwriting stash ‘coverage-report’ [2023-08-22T16:34:46.164Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:34:46.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-22T16:34:46.898Z] + ls -al . [2023-08-22T16:34:46.898Z] total 300 [2023-08-22T16:34:46.898Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 16:26 . [2023-08-22T16:34:46.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 .. [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 22 16:24 .dockerignore [2023-08-22T16:34:46.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:24 .git [2023-08-22T16:34:46.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:24 .github [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 22 16:24 .gitignore [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 16:24 .golangci.yml [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 22 16:24 CHANGELOG.md [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:24 GOVERNANCE.md [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 22 16:24 Jenkinsfile [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 22 16:24 LICENSE [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 22 16:24 Makefile [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 22 16:24 OWNERS.md [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 22 16:24 README.md [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 22 16:20 VERSION [2023-08-22T16:34:46.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:24 bin [2023-08-22T16:34:46.898Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 22 16:31 coverage.out [2023-08-22T16:34:46.898Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 22 16:24 example [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 22 16:24 go.mod [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 22 16:24 go.sum [2023-08-22T16:34:46.898Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 16:24 internal [2023-08-22T16:34:46.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:24 openapi [2023-08-22T16:34:46.898Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 16:24 pkg [2023-08-22T16:34:46.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 snap [2023-08-22T16:34:46.898Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 22 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:34:47.242Z] + 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=fcbf44bcbbc574f021408d70e777feaef97917b6 --label arch=arm64 --label version=3.1.0-dev.14 . [2023-08-22T16:34:47.512Z] Sending build context to Docker daemon 6.018MB [2023-08-22T16:34:47.780Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:34:47.780Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-22T16:34:47.780Z] ---> b877af8ca4bb [2023-08-22T16:34:47.780Z] Step 3/23 : ARG MAKE=make build [2023-08-22T16:34:47.780Z] ---> Running in 062370ac387b [2023-08-22T16:34:48.055Z] Removing intermediate container 062370ac387b [2023-08-22T16:34:48.055Z] ---> 6f5d322f88b0 [2023-08-22T16:34:48.055Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-22T16:34:48.323Z] ---> Running in 01e7c04372af [2023-08-22T16:34:51.803Z] Removing intermediate container 01e7c04372af [2023-08-22T16:34:51.803Z] ---> c24d08a20d8e [2023-08-22T16:34:51.803Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-22T16:34:51.803Z] ---> Running in 8ee43885c9d8 [2023-08-22T16:34:52.092Z] Removing intermediate container 8ee43885c9d8 [2023-08-22T16:34:52.092Z] ---> 8fb6a6c9fe76 [2023-08-22T16:34:52.092Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-22T16:34:52.092Z] ---> Running in abddea7344fa [2023-08-22T16:34:53.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:34:54.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:34:54.998Z] OK: 263 MiB in 53 packages [2023-08-22T16:34:55.972Z] Removing intermediate container abddea7344fa [2023-08-22T16:34:55.972Z] ---> 0d99caa0ce32 [2023-08-22T16:34:55.972Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-22T16:34:56.561Z] ---> 2cc97a326cb5 [2023-08-22T16:34:56.561Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:34:56.561Z] ---> Running in 444cf670cfc9 [2023-08-22T16:34:59.165Z] Removing intermediate container 444cf670cfc9 [2023-08-22T16:34:59.165Z] ---> 4319a5d3acc6 [2023-08-22T16:34:59.165Z] Step 9/23 : COPY . . [2023-08-22T16:35:00.130Z] ---> e5e899d0aaee [2023-08-22T16:35:00.130Z] Step 10/23 : RUN ${MAKE} [2023-08-22T16:35:00.421Z] ---> Running in 7c2fdbf92450 [2023-08-22T16:35:01.390Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-22T16:37:53.187Z] Removing intermediate container 7c2fdbf92450 [2023-08-22T16:37:53.188Z] ---> d2b441060671 [2023-08-22T16:37:53.188Z] Step 11/23 : FROM alpine:3.17 [2023-08-22T16:37:53.188Z] 3.17: Pulling from library/alpine [2023-08-22T16:37:53.188Z] 4060ece20d7a: Pulling fs layer [2023-08-22T16:37:53.188Z] 4060ece20d7a: Verifying Checksum [2023-08-22T16:37:53.188Z] 4060ece20d7a: Download complete [2023-08-22T16:37:53.188Z] 4060ece20d7a: Pull complete [2023-08-22T16:37:53.188Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-22T16:37:53.188Z] Status: Downloaded newer image for alpine:3.17 [2023-08-22T16:37:53.188Z] ---> 8650cd65339b [2023-08-22T16:37:53.188Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-22T16:37:53.188Z] ---> Running in dfabe1e4d090 [2023-08-22T16:37:53.188Z] Removing intermediate container dfabe1e4d090 [2023-08-22T16:37:53.188Z] ---> ec5ebc44d51d [2023-08-22T16:37:53.188Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-22T16:37:53.188Z] ---> Running in bad3ef5ec273 [2023-08-22T16:37:53.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:37:53.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:37:53.188Z] OK: 7 MiB in 15 packages [2023-08-22T16:37:53.188Z] Removing intermediate container bad3ef5ec273 [2023-08-22T16:37:53.188Z] ---> 5eb8b406231a [2023-08-22T16:37:53.188Z] Step 14/23 : WORKDIR / [2023-08-22T16:37:53.188Z] ---> Running in f8020bbc68bb [2023-08-22T16:37:53.188Z] Removing intermediate container f8020bbc68bb [2023-08-22T16:37:53.188Z] ---> 12ce8f9b7e33 [2023-08-22T16:37:53.188Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-22T16:37:53.188Z] ---> b2524948ef2c [2023-08-22T16:37:53.188Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-22T16:37:53.188Z] ---> 8d95ec2bbf67 [2023-08-22T16:37:53.188Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-22T16:37:53.188Z] ---> c23c33a6d10d [2023-08-22T16:37:53.188Z] Step 18/23 : EXPOSE 59999 [2023-08-22T16:37:53.188Z] ---> Running in 00243e8d9880 [2023-08-22T16:37:53.188Z] Removing intermediate container 00243e8d9880 [2023-08-22T16:37:53.188Z] ---> 50e6f07198e3 [2023-08-22T16:37:53.188Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-22T16:37:53.188Z] ---> Running in e7bf1ef5c7b9 [2023-08-22T16:37:53.188Z] Removing intermediate container e7bf1ef5c7b9 [2023-08-22T16:37:53.188Z] ---> 3b7019dac6d8 [2023-08-22T16:37:53.188Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-22T16:37:53.188Z] ---> Running in 01082052dd26 [2023-08-22T16:37:53.188Z] Removing intermediate container 01082052dd26 [2023-08-22T16:37:53.188Z] ---> 5ea0f15d3f03 [2023-08-22T16:37:53.188Z] Step 21/23 : LABEL arch=arm64 [2023-08-22T16:37:53.188Z] ---> Running in 297d6970ff4d [2023-08-22T16:37:53.188Z] Removing intermediate container 297d6970ff4d [2023-08-22T16:37:53.188Z] ---> badb1a6b3492 [2023-08-22T16:37:53.188Z] Step 22/23 : LABEL git_sha=fcbf44bcbbc574f021408d70e777feaef97917b6 [2023-08-22T16:37:53.188Z] ---> Running in 2865d0ab7cc7 [2023-08-22T16:37:53.188Z] Removing intermediate container 2865d0ab7cc7 [2023-08-22T16:37:53.188Z] ---> 0b98b8d5c545 [2023-08-22T16:37:53.188Z] Step 23/23 : LABEL version=3.1.0-dev.14 [2023-08-22T16:37:53.188Z] ---> Running in 1396cc9eafaa [2023-08-22T16:37:53.188Z] Removing intermediate container 1396cc9eafaa [2023-08-22T16:37:53.188Z] ---> 029cb67dd626 [2023-08-22T16:37:53.188Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-22T16:37:53.188Z] Successfully built 029cb67dd626 [2023-08-22T16:37:53.188Z] 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-08-22T16:37:53.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:37:53.641Z] [2023-08-22T16:37:53.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:37:53.977Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:37:53.977Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-22T16:37:53.977Z] 8998bd30e6a1: Pulling fs layer [2023-08-22T16:37:53.977Z] 04944245beec: Pulling fs layer [2023-08-22T16:37:53.977Z] 699f458cf7ca: Pulling fs layer [2023-08-22T16:37:53.977Z] 765212b225bb: Pulling fs layer [2023-08-22T16:37:53.977Z] f23df028b6ca: Pulling fs layer [2023-08-22T16:37:53.977Z] d65c8cfc05b1: Pulling fs layer [2023-08-22T16:37:53.977Z] 2437ff75d9bd: Pulling fs layer [2023-08-22T16:37:53.977Z] 765212b225bb: Waiting [2023-08-22T16:37:53.977Z] f23df028b6ca: Waiting [2023-08-22T16:37:53.977Z] d65c8cfc05b1: Waiting [2023-08-22T16:37:53.977Z] 2437ff75d9bd: Waiting [2023-08-22T16:37:54.244Z] 04944245beec: Verifying Checksum [2023-08-22T16:37:54.244Z] 04944245beec: Download complete [2023-08-22T16:37:54.244Z] 765212b225bb: Verifying Checksum [2023-08-22T16:37:54.244Z] 765212b225bb: Download complete [2023-08-22T16:37:54.244Z] f23df028b6ca: Verifying Checksum [2023-08-22T16:37:54.244Z] f23df028b6ca: Download complete [2023-08-22T16:37:54.244Z] d65c8cfc05b1: Verifying Checksum [2023-08-22T16:37:54.244Z] d65c8cfc05b1: Download complete [2023-08-22T16:37:54.244Z] 699f458cf7ca: Verifying Checksum [2023-08-22T16:37:54.244Z] 699f458cf7ca: Download complete [2023-08-22T16:37:54.829Z] 8998bd30e6a1: Verifying Checksum [2023-08-22T16:37:54.829Z] 8998bd30e6a1: Download complete [2023-08-22T16:37:57.411Z] 2437ff75d9bd: Verifying Checksum [2023-08-22T16:37:57.411Z] 2437ff75d9bd: Download complete [2023-08-22T16:37:59.993Z] 8998bd30e6a1: Pull complete [2023-08-22T16:38:00.575Z] 04944245beec: Pull complete [2023-08-22T16:38:01.987Z] 699f458cf7ca: Pull complete [2023-08-22T16:38:01.987Z] 765212b225bb: Pull complete [2023-08-22T16:38:02.948Z] f23df028b6ca: Pull complete [2023-08-22T16:38:03.216Z] d65c8cfc05b1: Pull complete [2023-08-22T16:38:18.244Z] 2437ff75d9bd: Pull complete [2023-08-22T16:38:18.244Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-22T16:38:18.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:38:18.244Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:38:18.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-4270 does not seem to be running inside a container [2023-08-22T16:38:18.529Z] $ 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/243 -v /w/workspace/device-sdk-go/243:/w/workspace/device-sdk-go/243:rw,z -v /w/workspace/device-sdk-go/243@tmp:/w/workspace/device-sdk-go/243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-22T16:38:21.171Z] $ docker top a55cc6ace4f0af9d06080347c51ed27fa1f35b42da4a8499040d7234fda414c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:38:22.020Z] ---> job-cost.sh [2023-08-22T16:38:22.020Z] lf-activate-venv: SKIPPING [2023-08-22T16:38:22.020Z] INFO: No Stack... [2023-08-22T16:38:22.601Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-22T16:38:23.181Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T16:38:23.816Z] + cut -d, -f6 [2023-08-22T16:38:23.816Z] + cat /w/workspace/device-sdk-go/243/archives/cost.csv [Pipeline] lock [2023-08-22T16:38:23.893Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [2023-08-22T16:38:23.898Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] did not exist. Created. [2023-08-22T16:38:23.898Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:38:24.560Z] /w/workspace/device-sdk-go/243@tmp/durable-35561204/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-22T16:38:25.220Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-22T16:38:25.236Z] Warning: overwriting stash ‘stack-cost’ [2023-08-22T16:38:25.329Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T16:38:25.336Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T16:38:25.355Z] $ docker stop --time=1 a55cc6ace4f0af9d06080347c51ed27fa1f35b42da4a8499040d7234fda414c3 [2023-08-22T16:38:28.580Z] $ docker rm -f --volumes a55cc6ace4f0af9d06080347c51ed27fa1f35b42da4a8499040d7234fda414c3 [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-08-22T16:38:28.980Z] provisioning config files... [2023-08-22T16:38:28.988Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15991511718516153235tmp [Pipeline] { [Pipeline] sh [2023-08-22T16:38:29.282Z] + set +x [2023-08-22T16:38:29.282Z] + curl -s+ https://codecov.io/bash [2023-08-22T16:38:29.282Z] bash -s -- [2023-08-22T16:38:29.282Z] [2023-08-22T16:38:29.282Z] _____ _ [2023-08-22T16:38:29.282Z] / ____| | | [2023-08-22T16:38:29.282Z] | | ___ __| | ___ ___ _____ __ [2023-08-22T16:38:29.282Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-22T16:38:29.282Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-22T16:38:29.282Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-22T16:38:29.282Z] Bash-1.0.6 [2023-08-22T16:38:29.282Z] [2023-08-22T16:38:29.282Z] [2023-08-22T16:38:29.282Z] ==> git version 2.25.1 found [2023-08-22T16:38:29.282Z] ==> 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-08-22T16:38:29.282Z] Release-Date: 2020-01-08 [2023-08-22T16:38:29.282Z] 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-08-22T16:38:29.282Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-22T16:38:29.282Z] ==> Jenkins CI detected. [2023-08-22T16:38:29.282Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-08-22T16:38:29.282Z] project root: . [2023-08-22T16:38:29.282Z] --> token set from env [2023-08-22T16:38:29.282Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-22T16:38:29.282Z] ==> Running gcov in . (disable via -X gcov) [2023-08-22T16:38:29.282Z] ==> Python coveragepy not found [2023-08-22T16:38:29.282Z] ==> Searching for coverage reports in: [2023-08-22T16:38:29.282Z] + . [2023-08-22T16:38:29.282Z] -> Found 1 reports [2023-08-22T16:38:29.282Z] ==> Detecting git/mercurial file structure [2023-08-22T16:38:29.282Z] ==> Reading reports [2023-08-22T16:38:29.282Z] + ./coverage.out bytes=120271 [2023-08-22T16:38:29.282Z] ==> Appending adjustments [2023-08-22T16:38:29.282Z] https://docs.codecov.io/docs/fixing-reports [2023-08-22T16:38:29.540Z] + Found adjustments [2023-08-22T16:38:29.540Z] ==> Gzipping contents [2023-08-22T16:38:29.799Z] 20K /tmp/codecov.PS4zGy.gz [2023-08-22T16:38:29.799Z] ==> Uploading reports [2023-08-22T16:38:29.799Z] url: https://codecov.io [2023-08-22T16:38:29.799Z] query: branch=main&commit=fcbf44bcbbc574f021408d70e777feaef97917b6&build=243&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F243%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-22T16:38:29.799Z] -> Pinging Codecov [2023-08-22T16:38:29.799Z] 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=fcbf44bcbbc574f021408d70e777feaef97917b6&build=243&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F243%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-22T16:38:29.799Z] -> Uploading to [2023-08-22T16:38:29.799Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-22/7E55EF52A471D76F132DFD9A03CDDE97/fcbf44bcbbc574f021408d70e777feaef97917b6/cf73a751-760c-4fc1-838d-57508a4dd38b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230822%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230822T163829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e672465810ff914887175db642a6ba30275108402015decc0aff1ab51629ad4 [2023-08-22T16:38:30.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T16:38:30.059Z] Dload Upload Total Spent Left Speed [2023-08-22T16:38:30.059Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16433 0 0 100 16433 0 86489 --:--:-- --:--:-- --:--:-- 86489 [2023-08-22T16:38:30.059Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] } [2023-08-22T16:38:30.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-22T16:38:30.179Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-22T16:38:30.187Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:38:30.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-22T16:38:30.479Z] [2023-08-22T16:38:30.479Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:38:30.773Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-22T16:38:34.589Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-22T16:38:34.589Z] df9b9388f04a: Pulling fs layer [2023-08-22T16:38:34.589Z] 52dc419b0ee2: Pulling fs layer [2023-08-22T16:38:34.589Z] 25bc292e5bac: Pulling fs layer [2023-08-22T16:38:34.589Z] 114826534d7a: Pulling fs layer [2023-08-22T16:38:34.589Z] 4657fd5d0bcf: Pulling fs layer [2023-08-22T16:38:34.589Z] 6ad1cebc031e: Pulling fs layer [2023-08-22T16:38:34.589Z] 8a3aa393b2d8: Pulling fs layer [2023-08-22T16:38:34.589Z] 4657fd5d0bcf: Waiting [2023-08-22T16:38:34.589Z] 6ad1cebc031e: Waiting [2023-08-22T16:38:34.589Z] 114826534d7a: Waiting [2023-08-22T16:38:34.589Z] 8a3aa393b2d8: Waiting [2023-08-22T16:38:34.589Z] 25bc292e5bac: Verifying Checksum [2023-08-22T16:38:34.589Z] 25bc292e5bac: Download complete [2023-08-22T16:38:34.589Z] 52dc419b0ee2: Verifying Checksum [2023-08-22T16:38:34.589Z] 52dc419b0ee2: Download complete [2023-08-22T16:38:34.589Z] 4657fd5d0bcf: Verifying Checksum [2023-08-22T16:38:34.589Z] 4657fd5d0bcf: Download complete [2023-08-22T16:38:34.589Z] df9b9388f04a: Download complete [2023-08-22T16:38:34.850Z] 6ad1cebc031e: Verifying Checksum [2023-08-22T16:38:34.850Z] 6ad1cebc031e: Download complete [2023-08-22T16:38:35.416Z] 114826534d7a: Verifying Checksum [2023-08-22T16:38:35.416Z] 114826534d7a: Download complete [2023-08-22T16:38:35.675Z] 8a3aa393b2d8: Verifying Checksum [2023-08-22T16:38:35.675Z] 8a3aa393b2d8: Download complete [2023-08-22T16:38:40.955Z] df9b9388f04a: Pull complete [2023-08-22T16:38:42.860Z] 52dc419b0ee2: Pull complete [2023-08-22T16:38:49.428Z] 25bc292e5bac: Pull complete [2023-08-22T16:38:55.990Z] 114826534d7a: Pull complete [2023-08-22T16:38:58.558Z] 4657fd5d0bcf: Pull complete [2023-08-22T16:39:01.854Z] 6ad1cebc031e: Pull complete [2023-08-22T16:39:08.428Z] 8a3aa393b2d8: Pull complete [2023-08-22T16:39:10.336Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-22T16:39:10.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-22T16:39:11.168Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:39:11.266Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:39:11.293Z] $ 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-08-22T16:39:57.174Z] $ docker top e32c0e2187bcab529e049b89481dbcf2b333383cc220ca86f0c1dd6d531a853c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-22T16:39:57.253Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-08-22T16:39:57.540Z] + set -o pipefail [2023-08-22T16:39:57.540Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-08-22T16:40:02.814Z] [2023-08-22T16:40:02.814Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-08-22T16:40:02.814Z] [2023-08-22T16:40:02.814Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/60a7b010-91c3-4e85-879f-eb4f7260049f [2023-08-22T16:40:02.814Z] [2023-08-22T16:40:02.814Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-22T16:40:02.814Z] [2023-08-22T16:40:03.384Z] [2023-08-22T16:40:03.384Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-22T16:40:03.384Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-22T16:40:03.384Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-22T16:40:03.388Z] $ docker stop --time=1 e32c0e2187bcab529e049b89481dbcf2b333383cc220ca86f0c1dd6d531a853c [2023-08-22T16:40:15.203Z] $ docker rm -f --volumes e32c0e2187bcab529e049b89481dbcf2b333383cc220ca86f0c1dd6d531a853c [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-08-22T16:40:15.784Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:40:15.795Z] provisioning config files... [2023-08-22T16:40:15.802Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9433036142546842228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:40:16.099Z] --> edgex-publish-swagger.sh [2023-08-22T16:40:16.100Z] === Publish openapi/v3 API === [2023-08-22T16:40:16.100Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-08-22T16:40:16.100Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-08-22T16:40:16.100Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T16:40:16.100Z] Dload Upload Total Spent Left Speed [2023-08-22T16:40:16.360Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 53682 --:--:-- --:--:-- --:--:-- 53682 [2023-08-22T16:40:16.360Z] [2023-08-22T16:40:16.360Z] [Pipeline] } [2023-08-22T16:40:16.367Z] 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-08-22T16:40:16.792Z] + git log --format=format:%s -1 fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] sh [2023-08-22T16:40:17.080Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:40:17.080Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:40:17.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:40:17.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:40:17.454Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:40:17.481Z] $ 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-08-22T16:40:18.897Z] $ docker top 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 -eo pid,comm [2023-08-22T16:40:18.954Z] 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-08-22T16:40:18.954Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:40:18.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:40:18.992Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:40:19.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:40:19.132Z] $ docker exec 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 ssh-agent [2023-08-22T16:40:19.241Z] SSH_AUTH_SOCK=/tmp/ssh-iD98rfrZ1uyT/agent.32 [2023-08-22T16:40:19.241Z] SSH_AGENT_PID=38 [2023-08-22T16:40:19.246Z] Running ssh-add (command line suppressed) [2023-08-22T16:40:19.341Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13922464095433637528.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13922464095433637528.key) [2023-08-22T16:40:19.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:40:19.649Z] + git semver tag [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,831 [run_tag] DEBUG tag force:False [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,832 [check_head_tag] DEBUG check head tag [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,833 [execute] INFO git cat-file --batch-check [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,838 [execute] INFO git cat-file --batch [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,851 [execute] INFO git tag -a v3.1.0-dev.14 -m v3.1.0-dev.14 [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,851 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.14', '-m', 'v3.1.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:40:19.908Z] 2023-08-22 16:40:19,857 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-22T16:40:19.908Z] 3.1.0-dev.14 [Pipeline] } [2023-08-22T16:40:19.911Z] $ docker exec --env ******** --env ******** 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 ssh-agent -k [2023-08-22T16:40:20.013Z] unset SSH_AUTH_SOCK; [2023-08-22T16:40:20.013Z] unset SSH_AGENT_PID; [2023-08-22T16:40:20.013Z] echo Agent pid 38 killed; [2023-08-22T16:40:20.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:40:20.343Z] + git semver [Pipeline] } [2023-08-22T16:40:20.610Z] $ docker stop --time=1 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 [2023-08-22T16:40:21.956Z] $ docker rm -f --volumes 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:40:22.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-22T16:40:22.358Z] [2023-08-22T16:40:22.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:40:22.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-22T16:40:22.655Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-22T16:40:22.655Z] ab5ef0e58194: Pulling fs layer [2023-08-22T16:40:22.655Z] 9712f1f96733: Pulling fs layer [2023-08-22T16:40:22.655Z] 63f879dbbcfc: Pulling fs layer [2023-08-22T16:40:22.655Z] 0d9ebad4ef96: Pulling fs layer [2023-08-22T16:40:22.655Z] e9a5061849ea: Pulling fs layer [2023-08-22T16:40:22.655Z] d747dcd14b5f: Pulling fs layer [2023-08-22T16:40:22.655Z] 2de7ff778b66: Pulling fs layer [2023-08-22T16:40:22.655Z] 0d9ebad4ef96: Waiting [2023-08-22T16:40:22.655Z] d747dcd14b5f: Waiting [2023-08-22T16:40:22.655Z] 2de7ff778b66: Waiting [2023-08-22T16:40:22.655Z] e9a5061849ea: Waiting [2023-08-22T16:40:22.655Z] 9712f1f96733: Download complete [2023-08-22T16:40:23.448Z] 63f879dbbcfc: Download complete [2023-08-22T16:40:23.448Z] 0d9ebad4ef96: Verifying Checksum [2023-08-22T16:40:23.448Z] 0d9ebad4ef96: Download complete [2023-08-22T16:40:23.448Z] d747dcd14b5f: Download complete [2023-08-22T16:40:23.448Z] e9a5061849ea: Verifying Checksum [2023-08-22T16:40:23.448Z] e9a5061849ea: Download complete [2023-08-22T16:40:23.448Z] ab5ef0e58194: Download complete [2023-08-22T16:40:23.707Z] 2de7ff778b66: Verifying Checksum [2023-08-22T16:40:27.891Z] ab5ef0e58194: Pull complete [2023-08-22T16:40:27.891Z] 9712f1f96733: Pull complete [2023-08-22T16:40:28.150Z] 63f879dbbcfc: Pull complete [2023-08-22T16:40:32.330Z] 0d9ebad4ef96: Pull complete [2023-08-22T16:40:32.903Z] e9a5061849ea: Pull complete [2023-08-22T16:40:32.903Z] d747dcd14b5f: Pull complete [2023-08-22T16:40:34.330Z] 2de7ff778b66: Pull complete [2023-08-22T16:40:34.330Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-22T16:40:34.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-22T16:40:34.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:40:34.424Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:40:34.456Z] $ 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-08-22T16:40:48.735Z] $ docker top e2ba16720452dbdb98eababd315baf85f7043831dc55f2d5d4671332bcdb9b2d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:40:48.813Z] provisioning config files... [2023-08-22T16:40:48.819Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12936562701628641891tmp [2023-08-22T16:40:48.828Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7664167103871605327tmp [2023-08-22T16:40:48.838Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16253027743095185734tmp [Pipeline] { [Pipeline] echo [2023-08-22T16:40:48.854Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:40:49.135Z] ---> sigul-configuration.sh [2023-08-22T16:40:49.135Z] gpg: directory `/root/.gnupg' created [2023-08-22T16:40:49.135Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-22T16:40:49.135Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-22T16:40:49.135Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-22T16:40:49.135Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-22T16:40:49.135Z] gpg: CAST5 encrypted data [2023-08-22T16:40:49.135Z] gpg: encrypted with 1 passphrase [2023-08-22T16:40:49.135Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-22T16:40:49.424Z] + mkdir /home/jenkins [2023-08-22T16:40:49.424Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-22T16:40:49.713Z] + 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-08-22T16:40:49.722Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:40:50.011Z] ---> sigul-install.sh [2023-08-22T16:40:50.011Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-22T16:40:50.298Z] + git tag --list [2023-08-22T16:40:50.298Z] 0.7.1 [2023-08-22T16:40:50.298Z] delhi-tag [2023-08-22T16:40:50.298Z] v1.0.0 [2023-08-22T16:40:50.298Z] v1.1.0 [2023-08-22T16:40:50.298Z] v1.1.1 [2023-08-22T16:40:50.298Z] v1.1.2 [2023-08-22T16:40:50.298Z] v1.2.0 [2023-08-22T16:40:50.298Z] v1.2.1 [2023-08-22T16:40:50.298Z] v1.2.2 [2023-08-22T16:40:50.298Z] v1.2.3 [2023-08-22T16:40:50.298Z] v1.3.0 [2023-08-22T16:40:50.298Z] v1.4.0 [2023-08-22T16:40:50.298Z] v2.0.0 [2023-08-22T16:40:50.298Z] v2.1.0 [2023-08-22T16:40:50.298Z] v2.1.1 [2023-08-22T16:40:50.298Z] v2.2.0 [2023-08-22T16:40:50.298Z] v2.3.0 [2023-08-22T16:40:50.298Z] v2.3.1 [2023-08-22T16:40:50.298Z] v3.0 [2023-08-22T16:40:50.298Z] v3.0.0 [2023-08-22T16:40:50.298Z] v3.0.1-dev.1 [2023-08-22T16:40:50.298Z] v3.1.0-dev.1 [2023-08-22T16:40:50.298Z] v3.1.0-dev.10 [2023-08-22T16:40:50.298Z] v3.1.0-dev.11 [2023-08-22T16:40:50.298Z] v3.1.0-dev.12 [2023-08-22T16:40:50.298Z] v3.1.0-dev.13 [2023-08-22T16:40:50.298Z] v3.1.0-dev.14 [2023-08-22T16:40:50.298Z] v3.1.0-dev.2 [2023-08-22T16:40:50.298Z] v3.1.0-dev.3 [2023-08-22T16:40:50.298Z] v3.1.0-dev.4 [2023-08-22T16:40:50.298Z] v3.1.0-dev.5 [2023-08-22T16:40:50.298Z] v3.1.0-dev.6 [2023-08-22T16:40:50.298Z] v3.1.0-dev.7 [2023-08-22T16:40:50.298Z] v3.1.0-dev.8 [2023-08-22T16:40:50.298Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-22T16:40:50.583Z] + lftools sign git-tag v3.1.0-dev.14 [2023-08-22T16:40:51.151Z] Signing Git tag with Sigul... [2023-08-22T16:40:51.151Z] Signing v3.1.0-dev.14 [Pipeline] echo [2023-08-22T16:40:51.724Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:40:52.008Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-22T16:40:52.016Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-22T16:40:52.039Z] $ docker stop --time=1 e2ba16720452dbdb98eababd315baf85f7043831dc55f2d5d4671332bcdb9b2d [2023-08-22T16:40:54.270Z] $ docker rm -f --volumes e2ba16720452dbdb98eababd315baf85f7043831dc55f2d5d4671332bcdb9b2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-22T16:40:54.819Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:40:54.819Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:40:55.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:40:55.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:40:55.190Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:40:55.216Z] $ 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-08-22T16:40:56.259Z] $ docker top cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 -eo pid,comm [2023-08-22T16:40:56.314Z] 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-08-22T16:40:56.314Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:40:56.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:40:56.350Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:40:56.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:40:56.466Z] $ docker exec cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 ssh-agent [2023-08-22T16:40:56.592Z] SSH_AUTH_SOCK=/tmp/ssh-dPRftXAq8icr/agent.15 [2023-08-22T16:40:56.592Z] SSH_AGENT_PID=21 [2023-08-22T16:40:56.600Z] Running ssh-add (command line suppressed) [2023-08-22T16:40:56.710Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7399271495925505813.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7399271495925505813.key) [2023-08-22T16:40:56.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:40:57.026Z] + git semver bump pre [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,234 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,235 [bump_version] DEBUG bumping version:3.1.0-dev.14 on axis:pre with prefix:dev [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,235 [bump_version] DEBUG bumped version:3.1.0-dev.15 [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,235 [write_version] DEBUG write version:3.1.0-dev.15 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,235 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,235 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,239 [execute] INFO git cat-file --batch-check [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,246 [execute] INFO git cat-file --batch [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:40:57.290Z] 2023-08-22 16:40:57,252 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-22T16:40:57.290Z] 3.1.0-dev.15 [Pipeline] } [2023-08-22T16:40:57.294Z] $ docker exec --env ******** --env ******** cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 ssh-agent -k [2023-08-22T16:40:57.406Z] unset SSH_AUTH_SOCK; [2023-08-22T16:40:57.406Z] unset SSH_AGENT_PID; [2023-08-22T16:40:57.407Z] echo Agent pid 21 killed; [2023-08-22T16:40:57.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:40:57.756Z] + git semver [Pipeline] } [2023-08-22T16:40:58.024Z] $ docker stop --time=1 cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 [2023-08-22T16:41:00.396Z] $ docker rm -f --volumes cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:41:00.787Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:41:00.787Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:41:01.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:41:01.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:41:01.154Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:41:01.183Z] $ 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-08-22T16:41:02.549Z] $ docker top b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 -eo pid,comm [2023-08-22T16:41:02.608Z] 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-08-22T16:41:02.608Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:41:02.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:41:02.689Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:41:02.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:41:02.801Z] $ docker exec b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 ssh-agent [2023-08-22T16:41:02.931Z] SSH_AUTH_SOCK=/tmp/ssh-BgW8yQ6W5EhP/agent.13 [2023-08-22T16:41:02.931Z] SSH_AGENT_PID=19 [2023-08-22T16:41:02.936Z] Running ssh-add (command line suppressed) [2023-08-22T16:41:03.028Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4683374576644185101.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4683374576644185101.key) [2023-08-22T16:41:03.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:41:03.408Z] + git semver push [2023-08-22T16:41:03.700Z] 2023-08-22 16:41:03,594 [run_push] DEBUG push [2023-08-22T16:41:03.700Z] 2023-08-22 16:41:03,595 [execute] INFO git cat-file --batch-check [2023-08-22T16:41:03.700Z] 2023-08-22 16:41:03,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:41:03.700Z] 2023-08-22 16:41:03,601 [execute] INFO git rev-list ab17f2c445e5e4419a4846876ec1c7348257e81b -- [2023-08-22T16:41:03.700Z] 2023-08-22 16:41:03,601 [execute] DEBUG Popen(['git', 'rev-list', 'ab17f2c445e5e4419a4846876ec1c7348257e81b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:41:03.700Z] 2023-08-22 16:41:03,616 [execute] INFO git fetch -v origin [2023-08-22T16:41:03.700Z] 2023-08-22 16:41:03,616 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-22T16:41:04.268Z] 2023-08-22 16:41:04,097 [run_push] DEBUG no remote changes detected [2023-08-22T16:41:04.268Z] 2023-08-22 16:41:04,098 [execute] INFO git push origin semver [2023-08-22T16:41:04.268Z] 2023-08-22 16:41:04,098 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:41:05.207Z] 2023-08-22 16:41:04,980 [run_push] DEBUG push all version tags [2023-08-22T16:41:05.207Z] 2023-08-22 16:41:04,980 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-22T16:41:05.207Z] 2023-08-22 16:41:04,981 [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-08-22T16:41:05.778Z] 2023-08-22 16:41:05,724 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-22T16:41:05.778Z] 3.1.0-dev.15 [Pipeline] } [2023-08-22T16:41:05.783Z] $ docker exec --env ******** --env ******** b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 ssh-agent -k [2023-08-22T16:41:05.882Z] unset SSH_AUTH_SOCK; [2023-08-22T16:41:05.882Z] unset SSH_AGENT_PID; [2023-08-22T16:41:05.882Z] echo Agent pid 19 killed; [2023-08-22T16:41:05.898Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:41:06.222Z] + git semver [Pipeline] } [2023-08-22T16:41:06.488Z] $ docker stop --time=1 b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 [2023-08-22T16:41:08.910Z] $ docker rm -f --volumes b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 [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-08-22T16:41:09.485Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-08-22T16:41:09.485Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-22T16:41:09.485Z] total 16 [2023-08-22T16:41:09.485Z] drwxr-xr-x 3 root root 4096 Aug 22 16:23 . [2023-08-22T16:41:09.485Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 16:40 .. [2023-08-22T16:41:09.485Z] drwxr-xr-x 2 root root 4096 Aug 22 16:23 cost [2023-08-22T16:41:09.485Z] -rw-r--r-- 1 root root 85 Aug 22 16:23 cost.csv [2023-08-22T16:41:09.485Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-22T16:41:09.485Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-22T16:41:09.485Z] total 16 [2023-08-22T16:41:09.485Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:23 . [2023-08-22T16:41:09.485Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 16:40 .. [2023-08-22T16:41:09.485Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 16:23 cost [2023-08-22T16:41:09.485Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 22 16:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:41:09.872Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:41:10.822Z] ---> package-listing.sh [2023-08-22T16:41:10.822Z] ++ facter osfamily [2023-08-22T16:41:10.822Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-22T16:41:10.822Z] + OS_FAMILY=debian [2023-08-22T16:41:10.822Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-08-22T16:41:10.822Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-22T16:41:10.822Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-22T16:41:10.822Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-22T16:41:10.822Z] + PACKAGES=/tmp/packages_start.txt [2023-08-22T16:41:10.822Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-22T16:41:10.822Z] + PACKAGES=/tmp/packages_end.txt [2023-08-22T16:41:10.822Z] + case "${OS_FAMILY}" in [2023-08-22T16:41:10.822Z] + dpkg -l [2023-08-22T16:41:10.822Z] + grep '^ii' [2023-08-22T16:41:11.095Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-22T16:41:11.095Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-22T16:41:11.095Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-22T16:41:11.095Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-22T16:41:11.095Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-08-22T16:41:11.095Z] + 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-08-22T16:41:11.105Z] 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-08-22T16:41:11.383Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:41:11.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:41:11.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:41:12.018Z] prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container [2023-08-22T16:41:12.048Z] $ 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-08-22T16:41:13.506Z] $ docker top 3b3df740ca182e14b1e8948e86e0b79e1f078ad321c69a10e95c39b841cc64b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:41:13.856Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-22T16:41:14.158Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-22T16:41:14.448Z] + ls /var/log/sa-host [2023-08-22T16:41:14.449Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:41:14.536Z] provisioning config files... [2023-08-22T16:41:14.545Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config624480096960746722tmp [Pipeline] { [Pipeline] echo [2023-08-22T16:41:14.556Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:41:14.842Z] ---> create-netrc.sh [Pipeline] } [2023-08-22T16:41:14.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:41:15.179Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-22T16:41:15.188Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:41:15.474Z] ---> sudo-logs.sh [2023-08-22T16:41:15.474Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-22T16:41:15.504Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:41:15.785Z] ---> job-cost.sh [2023-08-22T16:41:15.785Z] lf-activate-venv: SKIPPING [2023-08-22T16:41:15.785Z] DEBUG: total: 0.2199999988079071 [2023-08-22T16:41:15.785Z] INFO: Retrieving Stack Cost... [2023-08-22T16:41:16.353Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T16:41:16.612Z] INFO: Archiving Costs [Pipeline] echo [2023-08-22T16:41:16.626Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:41:16.907Z] ---> logs-deploy.sh [2023-08-22T16:41:16.907Z] lf-activate-venv: SKIPPING [2023-08-22T16:41:16.907Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/243 [2023-08-22T16:41:16.907Z] INFO: archiving workspace using pattern(s): [2023-08-22T16:41:17.845Z] Archives upload complete. [2023-08-22T16:41:18.104Z] INFO: archiving logs to Nexus