Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 11eb29cd9415f6bc1f7dad856498740e29903e46 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-ssh3022717964760156989.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh13473375738968847879.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16960173532184903807.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh4789899194995730733.key Verifying host key using known hosts file > 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-ssh7477076966410857266.key Verifying host key using known hosts file > 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/v2]] ========================================================= [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.18 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/v2 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 Running on prd-ubuntu20.04-docker-8c-8g-1353 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch Checking out Revision 11eb29cd9415f6bc1f7dad856498740e29903e46 (main) Commit message: "Merge pull request #1218 from hahattan/issue-1189-fix" > git config core.sparsecheckout # timeout=10 > git checkout -f 11eb29cd9415f6bc1f7dad856498740e29903e46 # timeout=10 > git rev-list --no-walk cfaa450af8bdc723ef881bcc3b2f03ba778d6875 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T14:11:15.054Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T14:11:15.100Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T14:11:15.113Z] ========================================================= [2022-09-27T14:11:15.113Z] EdgeX Global Pipelines Version Info [2022-09-27T14:11:15.113Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:11:15.838Z] ------------------- [2022-09-27T14:11:15.838Z] stable info: [2022-09-27T14:11:15.838Z] ------------------- [2022-09-27T14:11:15.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T14:11:15.838Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T14:11:15.838Z] Message: update stable to v1.0.239 [2022-09-27T14:11:16.407Z] ------------------- [2022-09-27T14:11:16.407Z] experimental info: [2022-09-27T14:11:16.407Z] ------------------- [2022-09-27T14:11:16.407Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T14:11:16.407Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T14:11:16.407Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T14:11:16.616Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-27T14:11:16.629Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-27T14:11:16.640Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T14:11:16.648Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T14:11:16.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T14:11:16.668Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T14:11:16.683Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T14:11:16.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-27T14:11:16.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T14:11:16.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T14:11:16.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T14:11:16.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-27T14:11:16.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T14:11:16.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T14:11:16.790Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T14:11:16.800Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T14:11:16.813Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T14:11:16.827Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T14:11:16.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T14:11:16.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T14:11:16.875Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-27T14:11:16.891Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-27T14:11:16.909Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T14:11:16.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T14:11:16.948Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T14:11:16.969Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T14:11:16.987Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T14:11:17.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-27T14:11:17.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-27T14:11:17.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-27T14:11:17.060Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11eb29cd9415f6bc1f7dad856498740e29903e46 [Pipeline] echo [2022-09-27T14:11:17.073Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11eb29c [Pipeline] echo [2022-09-27T14:11:17.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T14:11:17.145Z] provisioning config files... [2022-09-27T14:11:17.159Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8076641817089913447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:11:17.467Z] ---> docker-login.sh [2022-09-27T14:11:17.467Z] nexus3.edgexfoundry.org:10001 [2022-09-27T14:11:17.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:17.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:17.991Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:17.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:17.991Z] [2022-09-27T14:11:17.991Z] Login Succeeded [2022-09-27T14:11:17.991Z] nexus3.edgexfoundry.org:10002 [2022-09-27T14:11:17.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:18.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:18.251Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:18.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:18.252Z] [2022-09-27T14:11:18.252Z] Login Succeeded [2022-09-27T14:11:18.252Z] nexus3.edgexfoundry.org:10003 [2022-09-27T14:11:18.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:18.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:18.252Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:18.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:18.252Z] [2022-09-27T14:11:18.252Z] Login Succeeded [2022-09-27T14:11:18.252Z] nexus3.edgexfoundry.org:10004 [2022-09-27T14:11:18.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:18.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:18.252Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:18.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:18.252Z] [2022-09-27T14:11:18.252Z] Login Succeeded [2022-09-27T14:11:18.252Z] docker.io [2022-09-27T14:11:18.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:18.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:18.770Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:18.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:18.770Z] [2022-09-27T14:11:18.770Z] Login Succeeded [2022-09-27T14:11:18.770Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T14:11:18.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T14:11:19.222Z] + git rev-list -1 --merges 11eb29cd9415f6bc1f7dad856498740e29903e46~1..11eb29cd9415f6bc1f7dad856498740e29903e46 [Pipeline] echo [2022-09-27T14:11:19.269Z] -----------> git rev-list -1 --merges 11eb29cd9415f6bc1f7dad856498740e29903e46~1..11eb29cd9415f6bc1f7dad856498740e29903e46 11eb29cd9415f6bc1f7dad856498740e29903e46 [2022-09-27T14:11:19.269Z] 11eb29cd9415f6bc1f7dad856498740e29903e46 [false] [Pipeline] sh [2022-09-27T14:11:19.557Z] + git log --format=format:%s -1 11eb29cd9415f6bc1f7dad856498740e29903e46 [Pipeline] echo [2022-09-27T14:11:19.571Z] ========================================================= [2022-09-27T14:11:19.571Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T14:11:19.571Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T14:11:19.898Z] + git log --format=format:%s -1 11eb29cd9415f6bc1f7dad856498740e29903e46 [Pipeline] echo [2022-09-27T14:11:19.912Z] [semverPrep] GIT_COMMIT: 11eb29cd9415f6bc1f7dad856498740e29903e46, Commit Message: Merge pull request #1218 from hahattan/issue-1189-fix [Pipeline] echo [2022-09-27T14:11:19.924Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T14:11:20.298Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T14:11:20.298Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T14:11:20.298Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T14:11:20.298Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T14:11:20.298Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T14:11:20.298Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T14:11:20.298Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:11:20.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T14:11:20.716Z] [2022-09-27T14:11:20.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:11:21.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T14:11:21.017Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T14:11:21.017Z] b85a868b505f: Pulling fs layer [2022-09-27T14:11:21.017Z] e2be974225ed: Pulling fs layer [2022-09-27T14:11:21.017Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T14:11:21.017Z] 988bab9f4d93: Pulling fs layer [2022-09-27T14:11:21.017Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T14:11:21.017Z] eaf3925da568: Pulling fs layer [2022-09-27T14:11:21.017Z] bab4dde63d76: Pulling fs layer [2022-09-27T14:11:21.017Z] bde34c3a00c8: Pulling fs layer [2022-09-27T14:11:21.017Z] b352a97aabf1: Pulling fs layer [2022-09-27T14:11:21.017Z] 4872d77fe225: Pulling fs layer [2022-09-27T14:11:21.017Z] 5851b861e8e6: Pulling fs layer [2022-09-27T14:11:21.017Z] bab4dde63d76: Waiting [2022-09-27T14:11:21.017Z] bde34c3a00c8: Waiting [2022-09-27T14:11:21.017Z] 5851b861e8e6: Waiting [2022-09-27T14:11:21.017Z] b352a97aabf1: Waiting [2022-09-27T14:11:21.017Z] 4872d77fe225: Waiting [2022-09-27T14:11:21.017Z] 988bab9f4d93: Waiting [2022-09-27T14:11:21.017Z] 1469e6f7b9e6: Waiting [2022-09-27T14:11:21.017Z] eaf3925da568: Waiting [2022-09-27T14:11:21.017Z] e2be974225ed: Verifying Checksum [2022-09-27T14:11:21.017Z] e2be974225ed: Download complete [2022-09-27T14:11:21.017Z] 988bab9f4d93: Verifying Checksum [2022-09-27T14:11:21.017Z] 988bab9f4d93: Download complete [2022-09-27T14:11:21.276Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T14:11:21.276Z] 1469e6f7b9e6: Download complete [2022-09-27T14:11:21.276Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T14:11:21.276Z] 339a4e72a1f5: Download complete [2022-09-27T14:11:21.276Z] eaf3925da568: Download complete [2022-09-27T14:11:21.276Z] bde34c3a00c8: Verifying Checksum [2022-09-27T14:11:21.276Z] bde34c3a00c8: Download complete [2022-09-27T14:11:21.276Z] b352a97aabf1: Verifying Checksum [2022-09-27T14:11:21.276Z] b352a97aabf1: Download complete [2022-09-27T14:11:21.276Z] 4872d77fe225: Verifying Checksum [2022-09-27T14:11:21.276Z] 4872d77fe225: Download complete [2022-09-27T14:11:21.276Z] 5851b861e8e6: Verifying Checksum [2022-09-27T14:11:21.276Z] 5851b861e8e6: Download complete [2022-09-27T14:11:21.276Z] b85a868b505f: Verifying Checksum [2022-09-27T14:11:21.276Z] b85a868b505f: Download complete [2022-09-27T14:11:21.536Z] bab4dde63d76: Verifying Checksum [2022-09-27T14:11:21.536Z] bab4dde63d76: Download complete [2022-09-27T14:11:22.915Z] b85a868b505f: Pull complete [2022-09-27T14:11:22.915Z] e2be974225ed: Pull complete [2022-09-27T14:11:23.485Z] 339a4e72a1f5: Pull complete [2022-09-27T14:11:23.485Z] 988bab9f4d93: Pull complete [2022-09-27T14:11:23.745Z] 1469e6f7b9e6: Pull complete [2022-09-27T14:11:23.745Z] eaf3925da568: Pull complete [2022-09-27T14:11:25.649Z] bab4dde63d76: Pull complete [2022-09-27T14:11:25.649Z] bde34c3a00c8: Pull complete [2022-09-27T14:11:25.909Z] b352a97aabf1: Pull complete [2022-09-27T14:11:25.909Z] 4872d77fe225: Pull complete [2022-09-27T14:11:25.909Z] 5851b861e8e6: Pull complete [2022-09-27T14:11:26.169Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T14:11:26.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T14:11:26.169Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:11:26.252Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:11:26.277Z] $ 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 [2022-09-27T14:11:29.747Z] $ docker top d1be6b1dee8b60c42a275d77b89b0ed13591dc5440843df0ff21edef3ebcc41a -eo pid,comm [2022-09-27T14:11:29.814Z] 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). [2022-09-27T14:11:29.814Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T14:11:29.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T14:11:29.847Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T14:11:29.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T14:11:29.977Z] $ docker exec d1be6b1dee8b60c42a275d77b89b0ed13591dc5440843df0ff21edef3ebcc41a ssh-agent [2022-09-27T14:11:30.098Z] SSH_AUTH_SOCK=/tmp/ssh-2hklYPjUmUFX/agent.33 [2022-09-27T14:11:30.098Z] SSH_AGENT_PID=39 [2022-09-27T14:11:30.105Z] Running ssh-add (command line suppressed) [2022-09-27T14:11:30.222Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13140029599883915725.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13140029599883915725.key) [2022-09-27T14:11:30.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T14:11:30.528Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T14:11:30.539Z] $ docker exec --env ******** --env ******** d1be6b1dee8b60c42a275d77b89b0ed13591dc5440843df0ff21edef3ebcc41a ssh-agent -k [2022-09-27T14:11:30.647Z] unset SSH_AUTH_SOCK; [2022-09-27T14:11:30.648Z] unset SSH_AGENT_PID; [2022-09-27T14:11:30.648Z] echo Agent pid 39 killed; [2022-09-27T14:11:30.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T14:11:30.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T14:11:30.680Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T14:11:30.806Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T14:11:30.804Z] $ docker exec d1be6b1dee8b60c42a275d77b89b0ed13591dc5440843df0ff21edef3ebcc41a ssh-agent [2022-09-27T14:11:30.913Z] SSH_AUTH_SOCK=/tmp/ssh-9EuMxlL1Wktr/agent.71 [2022-09-27T14:11:30.913Z] SSH_AGENT_PID=77 [2022-09-27T14:11:30.918Z] Running ssh-add (command line suppressed) [2022-09-27T14:11:31.022Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1447399559245584212.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1447399559245584212.key) [2022-09-27T14:11:31.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T14:11:31.320Z] + git semver init [2022-09-27T14:11:31.579Z] 2022-09-27 14:11:31,505 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T14:11:31.579Z] 2022-09-27 14:11:31,505 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-09-27T14:11:31.579Z] 2022-09-27 14:11:31,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-09-27T14:11:31.579Z] 2022-09-27 14:11:31,506 [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) [2022-09-27T14:11:32.961Z] 2022-09-27 14:11:32,528 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-09-27T14:11:32.961Z] 2022-09-27 14:11:32,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-09-27T14:11:32.961Z] 2022-09-27 14:11:32,529 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:11:32.961Z] 2022-09-27 14:11:32,529 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:11:32.961Z] 2.3.0-dev.29 [Pipeline] } [2022-09-27T14:11:32.969Z] $ docker exec --env ******** --env ******** d1be6b1dee8b60c42a275d77b89b0ed13591dc5440843df0ff21edef3ebcc41a ssh-agent -k [2022-09-27T14:11:33.075Z] unset SSH_AUTH_SOCK; [2022-09-27T14:11:33.076Z] unset SSH_AGENT_PID; [2022-09-27T14:11:33.076Z] echo Agent pid 77 killed; [2022-09-27T14:11:33.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T14:11:33.399Z] + git semver [Pipeline] } [2022-09-27T14:11:33.669Z] $ docker stop --time=1 d1be6b1dee8b60c42a275d77b89b0ed13591dc5440843df0ff21edef3ebcc41a [2022-09-27T14:11:34.968Z] $ docker rm -f d1be6b1dee8b60c42a275d77b89b0ed13591dc5440843df0ff21edef3ebcc41a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T14:11:35.309Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T14:11:35.476Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T14:11:35.479Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.29 [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 [2022-09-27T14:11:35.604Z] provisioning config files... [2022-09-27T14:11:35.613Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16431777341665660917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:11:35.910Z] ---> docker-login.sh [2022-09-27T14:11:35.910Z] nexus3.edgexfoundry.org:10001 [2022-09-27T14:11:35.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:35.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:35.910Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:35.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:35.910Z] [2022-09-27T14:11:35.910Z] Login Succeeded [2022-09-27T14:11:35.910Z] nexus3.edgexfoundry.org:10002 [2022-09-27T14:11:35.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:35.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:35.910Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:35.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:35.910Z] [2022-09-27T14:11:36.171Z] Login Succeeded [2022-09-27T14:11:36.171Z] nexus3.edgexfoundry.org:10003 [2022-09-27T14:11:36.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:36.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:36.171Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:36.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:36.171Z] [2022-09-27T14:11:36.171Z] Login Succeeded [2022-09-27T14:11:36.171Z] nexus3.edgexfoundry.org:10004 [2022-09-27T14:11:36.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:36.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:36.171Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:36.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:36.171Z] [2022-09-27T14:11:36.171Z] Login Succeeded [2022-09-27T14:11:36.431Z] docker.io [2022-09-27T14:11:36.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:11:36.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:11:36.690Z] Configure a credential helper to remove this warning. See [2022-09-27T14:11:36.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:11:36.690Z] [2022-09-27T14:11:36.690Z] Login Succeeded [2022-09-27T14:11:36.690Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T14:11:36.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T14:11:36.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T14:11:36.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T14:11:36.796Z] ========================================================= [2022-09-27T14:11:36.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T14:11:36.796Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:11:37.126Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T14:11:37.126Z] Sending build context to Docker daemon 9.888MB [2022-09-27T14:11:37.126Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T14:11:37.126Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T14:11:37.126Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T14:11:37.126Z] 2408cc74d12b: Pulling fs layer [2022-09-27T14:11:37.126Z] ea60b727a1ce: Pulling fs layer [2022-09-27T14:11:37.126Z] 30c4a7721957: Pulling fs layer [2022-09-27T14:11:37.126Z] 370296b7ddb6: Pulling fs layer [2022-09-27T14:11:37.126Z] 7c6cee850709: Pulling fs layer [2022-09-27T14:11:37.126Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T14:11:37.126Z] d94ebbe4e438: Pulling fs layer [2022-09-27T14:11:37.126Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T14:11:37.126Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T14:11:37.126Z] 370296b7ddb6: Waiting [2022-09-27T14:11:37.126Z] d94ebbe4e438: Waiting [2022-09-27T14:11:37.126Z] bcfd1f05c69d: Waiting [2022-09-27T14:11:37.126Z] 59ccb84bbe0f: Waiting [2022-09-27T14:11:37.126Z] 39a5fcdaea64: Waiting [2022-09-27T14:11:37.126Z] 7c6cee850709: Waiting [2022-09-27T14:11:37.126Z] 30c4a7721957: Download complete [2022-09-27T14:11:37.126Z] ea60b727a1ce: Download complete [2022-09-27T14:11:37.126Z] 7c6cee850709: Download complete [2022-09-27T14:11:37.387Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T14:11:37.387Z] 39a5fcdaea64: Download complete [2022-09-27T14:11:37.387Z] 2408cc74d12b: Verifying Checksum [2022-09-27T14:11:37.387Z] d94ebbe4e438: Download complete [2022-09-27T14:11:37.387Z] 2408cc74d12b: Pull complete [2022-09-27T14:11:37.656Z] ea60b727a1ce: Pull complete [2022-09-27T14:11:37.656Z] 30c4a7721957: Pull complete [2022-09-27T14:11:37.922Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T14:11:37.922Z] 59ccb84bbe0f: Download complete [2022-09-27T14:11:38.180Z] 370296b7ddb6: Verifying Checksum [2022-09-27T14:11:38.180Z] 370296b7ddb6: Download complete [2022-09-27T14:11:38.180Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T14:11:38.180Z] bcfd1f05c69d: Download complete [2022-09-27T14:11:42.366Z] 370296b7ddb6: Pull complete [2022-09-27T14:11:42.366Z] 7c6cee850709: Pull complete [2022-09-27T14:11:42.366Z] 39a5fcdaea64: Pull complete [2022-09-27T14:11:42.366Z] d94ebbe4e438: Pull complete [2022-09-27T14:11:44.267Z] bcfd1f05c69d: Pull complete [2022-09-27T14:11:44.832Z] 59ccb84bbe0f: Pull complete [2022-09-27T14:11:44.832Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T14:11:44.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T14:11:44.832Z] ---> a4fb48ad2a94 [2022-09-27T14:11:44.832Z] Step 3/11 : ARG MAKE=make build [2022-09-27T14:11:50.103Z] ---> Running in d592bc0db212 [2022-09-27T14:11:50.103Z] Removing intermediate container d592bc0db212 [2022-09-27T14:11:50.103Z] ---> cb3964585385 [2022-09-27T14:11:50.103Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-27T14:11:50.103Z] ---> Running in 0fa942770b55 [2022-09-27T14:11:50.103Z] Removing intermediate container 0fa942770b55 [2022-09-27T14:11:50.103Z] ---> bdb2a85357d0 [2022-09-27T14:11:50.103Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T14:11:50.103Z] ---> Running in 5e2edfcd346f [2022-09-27T14:11:50.103Z] Removing intermediate container 5e2edfcd346f [2022-09-27T14:11:50.103Z] ---> 0ecce9cab413 [2022-09-27T14:11:50.103Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T14:11:50.103Z] ---> Running in ef0955f904df [2022-09-27T14:11:50.362Z] Removing intermediate container ef0955f904df [2022-09-27T14:11:50.362Z] ---> 04c369996d71 [2022-09-27T14:11:50.362Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T14:11:50.362Z] ---> Running in f0309a009918 [2022-09-27T14:11:50.561Z] Still waiting to schedule task [2022-09-27T14:11:50.561Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-27T14:11:50.621Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T14:11:51.555Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T14:11:51.814Z] OK: 211 MiB in 51 packages [2022-09-27T14:11:52.072Z] Removing intermediate container f0309a009918 [2022-09-27T14:11:52.072Z] ---> 14ac903d4943 [2022-09-27T14:11:52.072Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T14:11:52.330Z] ---> d3afd00e2f25 [2022-09-27T14:11:52.330Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T14:11:52.330Z] ---> Running in 8d64e4130373 [2022-09-27T14:12:18.978Z] Removing intermediate container 8d64e4130373 [2022-09-27T14:12:18.978Z] ---> d046f6e55450 [2022-09-27T14:12:18.978Z] Step 10/11 : COPY . . [2022-09-27T14:12:18.978Z] ---> e89d4fd44a59 [2022-09-27T14:12:18.978Z] Step 11/11 : RUN ${MAKE} [2022-09-27T14:12:18.978Z] ---> Running in 3e5a9ba9b726 [2022-09-27T14:12:18.978Z] noop [2022-09-27T14:12:18.978Z] Removing intermediate container 3e5a9ba9b726 [2022-09-27T14:12:18.978Z] ---> 571e9c639ede [2022-09-27T14:12:18.978Z] Successfully built 571e9c639ede [2022-09-27T14:12:18.978Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:12:19.288Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T14:12:19.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:12:19.348Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:12:19.376Z] $ 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 [2022-09-27T14:12:19.703Z] $ docker top 622687e051aa9268c3af3e169e88d388b16b13cb7284c31c1f17eec5d118cd94 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T14:12:20.041Z] + go version [2022-09-27T14:12:20.041Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T14:12:20.055Z] $ docker stop --time=1 622687e051aa9268c3af3e169e88d388b16b13cb7284c31c1f17eec5d118cd94 [2022-09-27T14:12:21.317Z] $ docker rm -f 622687e051aa9268c3af3e169e88d388b16b13cb7284c31c1f17eec5d118cd94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:12:21.708Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T14:12:21.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:12:21.772Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:12:21.807Z] $ 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 [2022-09-27T14:12:22.144Z] $ docker top 559ecbc2756f639d4020d7f8bf69051eee384ca7a80ddb1c12e2b3a9a704e92f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T14:12:22.486Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-09-27T14:12:22.782Z] + make test [2022-09-27T14:12:22.782Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-27T14:12:29.341Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-27T14:12:44.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-27T14:12:44.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 27.6% of statements [2022-09-27T14:12:44.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-27T14:12:44.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.081s coverage: 60.0% of statements [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-27T14:12:44.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 54.4% of statements [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-27T14:12:44.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 65.1% of statements [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-27T14:12:44.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.774s coverage: 89.2% of statements [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-27T14:12:44.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.5% of statements [2022-09-27T14:12:44.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-27T14:13:02.282Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-27T14:13:02.282Z] GO111MODULE=on go vet ./... [2022-09-27T14:13:03.656Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T14:13:03.656Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T14:13:03.656Z] ./bin/test-attribution-txt.sh [2022-09-27T14:13:03.656Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-27T14:13:03.656Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T14:13:03.656Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T14:13:03.656Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T14:13:03.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T14:13:03.684Z] $ docker stop --time=1 559ecbc2756f639d4020d7f8bf69051eee384ca7a80ddb1c12e2b3a9a704e92f [2022-09-27T14:13:06.873Z] $ docker rm -f 559ecbc2756f639d4020d7f8bf69051eee384ca7a80ddb1c12e2b3a9a704e92f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T14:13:07.386Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T14:13:07.446Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T14:13:07.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T14:13:08.227Z] + ls -al . [2022-09-27T14:13:08.227Z] total 276 [2022-09-27T14:13:08.227Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 14:12 . [2022-09-27T14:13:08.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:11 .. [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 14:11 .dockerignore [2022-09-27T14:13:08.227Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 14:12 .git [2022-09-27T14:13:08.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:11 .github [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 14:11 .gitignore [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 14:11 .golangci.yml [2022-09-27T14:13:08.227Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 14:11 .semver [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 14:11 CHANGELOG.md [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 14:11 GOVERNANCE.md [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 14:11 Jenkinsfile [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 14:11 LICENSE [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 14:11 Makefile [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 14:11 OWNERS.md [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 14:11 README.md [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 14:11 VERSION [2022-09-27T14:13:08.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:11 bin [2022-09-27T14:13:08.227Z] -rw-r--r-- 1 jenkins jenkins 101801 Sep 27 14:12 coverage.out [2022-09-27T14:13:08.227Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 14:11 example [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 14:11 go.mod [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 27 14:11 go.sum [2022-09-27T14:13:08.227Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 14:11 internal [2022-09-27T14:13:08.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 14:11 openapi [2022-09-27T14:13:08.227Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 14:11 pkg [2022-09-27T14:13:08.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:11 snap [2022-09-27T14:13:08.227Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 14:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:13:08.526Z] + 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=11eb29cd9415f6bc1f7dad856498740e29903e46 --label arch=amd64 --label version=2.3.0-dev.29 . [2022-09-27T14:13:08.526Z] Sending build context to Docker daemon 9.991MB [2022-09-27T14:13:08.526Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T14:13:08.526Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T14:13:08.526Z] ---> 571e9c639ede [2022-09-27T14:13:08.527Z] Step 3/25 : ARG MAKE=make build [2022-09-27T14:13:08.785Z] ---> Running in 724860a89b04 [2022-09-27T14:13:08.785Z] Removing intermediate container 724860a89b04 [2022-09-27T14:13:08.785Z] ---> c55564e71d7e [2022-09-27T14:13:08.785Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-27T14:13:08.785Z] ---> Running in 590bce08a968 [2022-09-27T14:13:08.785Z] Removing intermediate container 590bce08a968 [2022-09-27T14:13:08.785Z] ---> 6e7635d23510 [2022-09-27T14:13:08.785Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T14:13:09.044Z] ---> Running in d78933dd588a [2022-09-27T14:13:09.044Z] Removing intermediate container d78933dd588a [2022-09-27T14:13:09.044Z] ---> 4f3b26b5104b [2022-09-27T14:13:09.044Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T14:13:09.044Z] ---> Running in 9034df0b3a75 [2022-09-27T14:13:09.609Z] Removing intermediate container 9034df0b3a75 [2022-09-27T14:13:09.609Z] ---> bfb2c77a77c5 [2022-09-27T14:13:09.609Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T14:13:09.609Z] ---> Running in d2e0a8fa0dab [2022-09-27T14:13:09.866Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T14:13:10.811Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T14:13:11.070Z] OK: 211 MiB in 51 packages [2022-09-27T14:13:11.340Z] Removing intermediate container d2e0a8fa0dab [2022-09-27T14:13:11.340Z] ---> 896e4ed4a176 [2022-09-27T14:13:11.340Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-27T14:13:11.598Z] ---> a16e8e850bb9 [2022-09-27T14:13:11.598Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T14:13:11.598Z] ---> Running in 06d7a9cde1ab [2022-09-27T14:13:12.164Z] Removing intermediate container 06d7a9cde1ab [2022-09-27T14:13:12.164Z] ---> b440c1a49826 [2022-09-27T14:13:12.164Z] Step 10/25 : COPY . . [2022-09-27T14:13:12.730Z] ---> 228d5e34e9d0 [2022-09-27T14:13:12.730Z] Step 11/25 : RUN ${MAKE} [2022-09-27T14:13:12.730Z] ---> Running in 5ae5cc925bad [2022-09-27T14:13:12.988Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.29" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-27T14:13:23.874Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1354 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-09-27T14:13:23.886Z] Running in /w/workspace/device-sdk-go/104 [Pipeline] { [Pipeline] checkout [2022-09-27T14:13:23.921Z] The recommended git tool is: git [2022-09-27T14:13:28.866Z] using credential edgex-jenkins-ssh [2022-09-27T14:13:28.882Z] Cloning the remote Git repository [2022-09-27T14:13:28.912Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T14:13:28.982Z] > git init /w/workspace/device-sdk-go/104 # timeout=10 [2022-09-27T14:13:29.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T14:13:29.123Z] > git --version # timeout=10 [2022-09-27T14:13:29.141Z] > git --version # 'git version 2.25.1' [2022-09-27T14:13:29.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T14:13:29.186Z] Verifying host key using known hosts file [2022-09-27T14:13:29.378Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T14:13:29.391Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T14:13:31.294Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-27T14:13:30.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-27T14:13:30.909Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T14:13:31.762Z] Avoid second fetch [2022-09-27T14:13:31.762Z] Checking out Revision 11eb29cd9415f6bc1f7dad856498740e29903e46 (main) [2022-09-27T14:13:32.285Z] Commit message: "Merge pull request #1218 from hahattan/issue-1189-fix" [2022-09-27T14:13:31.770Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T14:13:31.787Z] > git checkout -f 11eb29cd9415f6bc1f7dad856498740e29903e46 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T14:13:33.235Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T14:13:33.235Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T14:13:33.235Z] Dload Upload Total Spent Left Speed [2022-09-27T14:13:33.235Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 99228 [Pipeline] sh [2022-09-27T14:13:33.847Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T14:13:34.180Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T14:13:34.180Z] + sudo tee /etc/docker/daemon.new [2022-09-27T14:13:34.180Z] { [2022-09-27T14:13:34.180Z] "registry-mirrors": [ [2022-09-27T14:13:34.180Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T14:13:34.180Z] ], [2022-09-27T14:13:34.180Z] "bip": "10.250.0.254/24", [2022-09-27T14:13:34.180Z] "hosts": [ [2022-09-27T14:13:34.180Z] "tcp://0.0.0.0:5555", [2022-09-27T14:13:34.180Z] "unix:///var/run/docker.sock" [2022-09-27T14:13:34.180Z] ], [2022-09-27T14:13:34.180Z] "mtu": 1458, [2022-09-27T14:13:34.180Z] "selinux-enabled": true, [2022-09-27T14:13:34.180Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T14:13:34.180Z] } [Pipeline] sh [2022-09-27T14:13:34.515Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T14:13:34.840Z] + sudo service docker restart [2022-09-27T14:13:35.661Z] Removing intermediate container 5ae5cc925bad [2022-09-27T14:13:35.661Z] ---> 24c7b1c12dbb [2022-09-27T14:13:35.661Z] Step 12/25 : FROM alpine:3.16 [2022-09-27T14:13:35.661Z] 3.16: Pulling from library/alpine [2022-09-27T14:13:35.661Z] 213ec9aee27d: Pulling fs layer [2022-09-27T14:13:35.918Z] 213ec9aee27d: Verifying Checksum [2022-09-27T14:13:36.177Z] 213ec9aee27d: Pull complete [2022-09-27T14:13:36.177Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T14:13:36.177Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T14:13:36.177Z] ---> 9c6f07244728 [2022-09-27T14:13:36.177Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T14:13:36.177Z] ---> Running in 946d6a3894cb [2022-09-27T14:13:36.177Z] Removing intermediate container 946d6a3894cb [2022-09-27T14:13:36.177Z] ---> 71031c4cf021 [2022-09-27T14:13:36.177Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T14:13:36.436Z] ---> Running in 52d821c37864 [2022-09-27T14:13:37.003Z] Removing intermediate container 52d821c37864 [2022-09-27T14:13:37.003Z] ---> 36fe5c6acf57 [2022-09-27T14:13:37.003Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-27T14:13:37.003Z] ---> Running in d13c32cf6cec [2022-09-27T14:13:37.262Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T14:13:38.197Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T14:13:38.197Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T14:13:38.456Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-27T14:13:38.456Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T14:13:38.715Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-27T14:13:38.715Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-27T14:13:38.715Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T14:13:38.715Z] OK: 8 MiB in 19 packages [2022-09-27T14:13:39.283Z] Removing intermediate container d13c32cf6cec [2022-09-27T14:13:39.283Z] ---> 49c24e6a06c5 [2022-09-27T14:13:39.283Z] Step 16/25 : WORKDIR / [2022-09-27T14:13:39.283Z] ---> Running in a4223cbe5d77 [2022-09-27T14:13:39.283Z] Removing intermediate container a4223cbe5d77 [2022-09-27T14:13:39.283Z] ---> d574949d8317 [2022-09-27T14:13:39.283Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-27T14:13:39.542Z] ---> 9f357b26faef [2022-09-27T14:13:39.542Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-27T14:13:40.477Z] ---> 39c9141d39ad [2022-09-27T14:13:40.477Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-27T14:13:40.477Z] ---> 94f9fe615712 [2022-09-27T14:13:40.477Z] Step 20/25 : EXPOSE 59999 [2022-09-27T14:13:40.477Z] ---> Running in d0d532630ba4 [2022-09-27T14:13:40.477Z] Removing intermediate container d0d532630ba4 [2022-09-27T14:13:40.477Z] ---> e06a563fd939 [2022-09-27T14:13:40.477Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-27T14:13:40.477Z] ---> Running in 4551f9c1d112 [2022-09-27T14:13:40.736Z] Removing intermediate container 4551f9c1d112 [2022-09-27T14:13:40.736Z] ---> 67f5657e71d7 [2022-09-27T14:13:40.736Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T14:13:40.736Z] ---> Running in d8168d4a7fe6 [2022-09-27T14:13:40.736Z] Removing intermediate container d8168d4a7fe6 [2022-09-27T14:13:40.736Z] ---> 149b2a29fbd7 [2022-09-27T14:13:40.736Z] Step 23/25 : LABEL arch=amd64 [2022-09-27T14:13:40.736Z] ---> Running in aa1eb10b8c02 [2022-09-27T14:13:40.736Z] Removing intermediate container aa1eb10b8c02 [2022-09-27T14:13:40.736Z] ---> 53474ae54048 [2022-09-27T14:13:40.736Z] Step 24/25 : LABEL git_sha=11eb29cd9415f6bc1f7dad856498740e29903e46 [2022-09-27T14:13:41.006Z] ---> Running in e0c49c215843 [2022-09-27T14:13:41.006Z] Removing intermediate container e0c49c215843 [2022-09-27T14:13:41.006Z] ---> b58fb586a762 [2022-09-27T14:13:41.006Z] Step 25/25 : LABEL version=2.3.0-dev.29 [2022-09-27T14:13:41.006Z] ---> Running in 42f1be0b1f1b [2022-09-27T14:13:41.006Z] Removing intermediate container 42f1be0b1f1b [2022-09-27T14:13:41.006Z] ---> b91e3c5a0bb2 [2022-09-27T14:13:41.006Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T14:13:41.006Z] Successfully built b91e3c5a0bb2 [2022-09-27T14:13:41.006Z] 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 [2022-09-27T14:13:41.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T14:13:41.440Z] [2022-09-27T14:13:41.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:13:41.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T14:13:41.741Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T14:13:41.741Z] 5eb5b503b376: Pulling fs layer [2022-09-27T14:13:41.741Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T14:13:41.741Z] ec43610c2a17: Pulling fs layer [2022-09-27T14:13:41.741Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T14:13:41.741Z] 33b1e0a273af: Pulling fs layer [2022-09-27T14:13:41.741Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T14:13:41.741Z] 2f39f015ded8: Pulling fs layer [2022-09-27T14:13:41.741Z] 3a2ae6a8a46f: Waiting [2022-09-27T14:13:41.741Z] 33b1e0a273af: Waiting [2022-09-27T14:13:41.741Z] 5d3b04190fa2: Waiting [2022-09-27T14:13:41.741Z] 2f39f015ded8: Waiting [2022-09-27T14:13:41.741Z] 5c69ac0246d0: Verifying Checksum [2022-09-27T14:13:41.741Z] 5c69ac0246d0: Download complete [2022-09-27T14:13:41.741Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T14:13:41.741Z] 3a2ae6a8a46f: Download complete [2022-09-27T14:13:41.741Z] 33b1e0a273af: Verifying Checksum [2022-09-27T14:13:41.741Z] 33b1e0a273af: Download complete [2022-09-27T14:13:41.741Z] ec43610c2a17: Verifying Checksum [2022-09-27T14:13:41.741Z] ec43610c2a17: Download complete [2022-09-27T14:13:41.741Z] 5d3b04190fa2: Verifying Checksum [2022-09-27T14:13:41.741Z] 5d3b04190fa2: Download complete [2022-09-27T14:13:41.999Z] 5eb5b503b376: Verifying Checksum [2022-09-27T14:13:41.999Z] 5eb5b503b376: Download complete [2022-09-27T14:13:42.568Z] 2f39f015ded8: Download complete [2022-09-27T14:13:43.139Z] 5eb5b503b376: Pull complete [2022-09-27T14:13:43.397Z] 5c69ac0246d0: Pull complete [2022-09-27T14:13:43.968Z] ec43610c2a17: Pull complete [2022-09-27T14:13:43.968Z] 3a2ae6a8a46f: Pull complete [2022-09-27T14:13:44.226Z] 33b1e0a273af: Pull complete [2022-09-27T14:13:44.226Z] 5d3b04190fa2: Pull complete [2022-09-27T14:13:49.497Z] 2f39f015ded8: Pull complete [2022-09-27T14:13:49.497Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T14:13:49.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T14:13:49.497Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:13:49.581Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:13:49.612Z] $ 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 [2022-09-27T14:13:53.287Z] $ docker top 3ca2e051598b652394e8a91c95cfc7c5fc9dd3cc7059f3dc31a735b42699dd8e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2022-09-27T14:13:53.449Z] provisioning config files... [2022-09-27T14:13:53.478Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/104@tmp/config18244821141832570234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:13:53.701Z] ---> job-cost.sh [2022-09-27T14:13:53.701Z] lf-activate-venv: SKIPPING [2022-09-27T14:13:53.701Z] INFO: No Stack... [2022-09-27T14:13:53.834Z] ---> docker-login.sh [2022-09-27T14:13:53.834Z] nexus3.edgexfoundry.org:10001 [2022-09-27T14:13:53.960Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T14:13:54.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:13:54.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:13:54.373Z] Configure a credential helper to remove this warning. See [2022-09-27T14:13:54.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:13:54.373Z] [2022-09-27T14:13:54.373Z] Login Succeeded [2022-09-27T14:13:54.373Z] nexus3.edgexfoundry.org:10002 [2022-09-27T14:13:54.526Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T14:13:54.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:13:54.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:13:54.644Z] Configure a credential helper to remove this warning. See [2022-09-27T14:13:54.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:13:54.644Z] [2022-09-27T14:13:54.644Z] Login Succeeded [2022-09-27T14:13:54.644Z] nexus3.edgexfoundry.org:10003 [2022-09-27T14:13:54.823Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-09-27T14:13:54.823Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T14:13:54.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-104-stack-cost] [2022-09-27T14:13:54.844Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-104-stack-cost] did not exist. Created. [2022-09-27T14:13:54.844Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T14:13:54.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:13:55.153Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T14:13:55.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:13:55.184Z] Configure a credential helper to remove this warning. See [2022-09-27T14:13:55.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:13:55.184Z] [2022-09-27T14:13:55.184Z] Login Succeeded [2022-09-27T14:13:55.184Z] nexus3.edgexfoundry.org:10004 [2022-09-27T14:13:55.192Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T14:13:55.198Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-104-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T14:13:55.218Z] $ docker stop --time=1 3ca2e051598b652394e8a91c95cfc7c5fc9dd3cc7059f3dc31a735b42699dd8e [2022-09-27T14:13:55.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:13:55.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:13:55.455Z] Configure a credential helper to remove this warning. See [2022-09-27T14:13:55.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:13:55.455Z] [2022-09-27T14:13:55.455Z] Login Succeeded [2022-09-27T14:13:55.455Z] docker.io [2022-09-27T14:13:55.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:13:55.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:13:55.993Z] Configure a credential helper to remove this warning. See [2022-09-27T14:13:55.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:13:55.993Z] [2022-09-27T14:13:55.993Z] Login Succeeded [2022-09-27T14:13:55.993Z] ---> docker-login.sh ends [2022-09-27T14:13:56.385Z] $ docker rm -f 3ca2e051598b652394e8a91c95cfc7c5fc9dd3cc7059f3dc31a735b42699dd8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2022-09-27T14:13:56.458Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] } [Pipeline] unstash [Pipeline] echo [2022-09-27T14:13:56.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T14:13:56.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T14:13:56.631Z] ========================================================= [2022-09-27T14:13:56.631Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T14:13:56.631Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:13:56.967Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T14:13:57.237Z] Sending build context to Docker daemon 5.309MB [2022-09-27T14:13:57.237Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T14:13:57.237Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T14:13:57.833Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T14:13:57.833Z] b3c136eddcbf: Pulling fs layer [2022-09-27T14:13:57.833Z] c0a3192eca97: Pulling fs layer [2022-09-27T14:13:57.833Z] a050256f5b6f: Pulling fs layer [2022-09-27T14:13:57.833Z] 656be50a0ddc: Pulling fs layer [2022-09-27T14:13:57.833Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T14:13:57.833Z] 46d945488cbd: Pulling fs layer [2022-09-27T14:13:57.833Z] 8a5474983e97: Pulling fs layer [2022-09-27T14:13:57.833Z] 329c88fbcd65: Pulling fs layer [2022-09-27T14:13:57.833Z] 46d945488cbd: Waiting [2022-09-27T14:13:57.833Z] 8a5474983e97: Waiting [2022-09-27T14:13:57.833Z] 329c88fbcd65: Waiting [2022-09-27T14:13:57.833Z] 656be50a0ddc: Waiting [2022-09-27T14:13:57.833Z] 2bbca73fdf42: Waiting [2022-09-27T14:13:57.833Z] a050256f5b6f: Download complete [2022-09-27T14:13:57.833Z] c0a3192eca97: Verifying Checksum [2022-09-27T14:13:57.833Z] c0a3192eca97: Download complete [2022-09-27T14:13:57.833Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T14:13:57.833Z] 2bbca73fdf42: Download complete [2022-09-27T14:13:57.833Z] 46d945488cbd: Verifying Checksum [2022-09-27T14:13:57.833Z] 46d945488cbd: Download complete [2022-09-27T14:13:58.106Z] b3c136eddcbf: Verifying Checksum [2022-09-27T14:13:58.106Z] b3c136eddcbf: Download complete [2022-09-27T14:13:59.099Z] b3c136eddcbf: Pull complete [2022-09-27T14:13:59.099Z] 329c88fbcd65: Verifying Checksum [2022-09-27T14:13:59.099Z] 329c88fbcd65: Download complete [2022-09-27T14:13:59.373Z] c0a3192eca97: Pull complete [2022-09-27T14:13:59.971Z] a050256f5b6f: Pull complete [2022-09-27T14:14:00.239Z] 8a5474983e97: Download complete [2022-09-27T14:14:00.829Z] 656be50a0ddc: Verifying Checksum [2022-09-27T14:14:00.829Z] 656be50a0ddc: Download complete [2022-09-27T14:14:13.176Z] 656be50a0ddc: Pull complete [2022-09-27T14:14:13.176Z] 2bbca73fdf42: Pull complete [2022-09-27T14:14:13.176Z] 46d945488cbd: Pull complete [2022-09-27T14:14:18.552Z] 8a5474983e97: Pull complete [2022-09-27T14:14:20.513Z] 329c88fbcd65: Pull complete [2022-09-27T14:14:20.513Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T14:14:20.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T14:14:20.513Z] ---> ff4287adb874 [2022-09-27T14:14:20.513Z] Step 3/11 : ARG MAKE=make build [2022-09-27T14:14:22.475Z] ---> Running in 0a4d23402c90 [2022-09-27T14:14:22.475Z] Removing intermediate container 0a4d23402c90 [2022-09-27T14:14:22.475Z] ---> df3a5f4e4770 [2022-09-27T14:14:22.475Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-27T14:14:22.742Z] ---> Running in ef88e8fb896d [2022-09-27T14:14:23.011Z] Removing intermediate container ef88e8fb896d [2022-09-27T14:14:23.011Z] ---> 2d819048f191 [2022-09-27T14:14:23.011Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T14:14:23.011Z] ---> Running in 7165ce5910e2 [2022-09-27T14:14:23.277Z] Removing intermediate container 7165ce5910e2 [2022-09-27T14:14:23.277Z] ---> 6d8af5f9330b [2022-09-27T14:14:23.277Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T14:14:23.545Z] ---> Running in c18839cceb7b [2022-09-27T14:14:25.491Z] Removing intermediate container c18839cceb7b [2022-09-27T14:14:25.491Z] ---> 61b51dac5f9c [2022-09-27T14:14:25.491Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T14:14:25.491Z] ---> Running in dffb3826f192 [2022-09-27T14:14:26.076Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T14:14:27.028Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T14:14:27.986Z] OK: 221 MiB in 51 packages [2022-09-27T14:14:28.691Z] Removing intermediate container dffb3826f192 [2022-09-27T14:14:28.691Z] ---> 0ad808064854 [2022-09-27T14:14:28.691Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T14:14:29.303Z] ---> 0ba4006f5954 [2022-09-27T14:14:29.303Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T14:14:29.303Z] ---> Running in 342e0df41a81 [2022-09-27T14:15:16.178Z] Removing intermediate container 342e0df41a81 [2022-09-27T14:15:16.178Z] ---> a6a8a6727707 [2022-09-27T14:15:16.178Z] Step 10/11 : COPY . . [2022-09-27T14:15:16.447Z] ---> 1e748951139c [2022-09-27T14:15:16.447Z] Step 11/11 : RUN ${MAKE} [2022-09-27T14:15:16.447Z] ---> Running in d1ec5abbd275 [2022-09-27T14:15:17.406Z] noop [2022-09-27T14:15:17.992Z] Removing intermediate container d1ec5abbd275 [2022-09-27T14:15:17.992Z] ---> d1b5f273c0e1 [2022-09-27T14:15:17.992Z] Successfully built d1b5f273c0e1 [2022-09-27T14:15:17.992Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:15:18.329Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T14:15:18.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:15:18.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-1354 does not seem to be running inside a container [2022-09-27T14:15:18.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/104 -v /w/workspace/device-sdk-go/104:/w/workspace/device-sdk-go/104:rw,z -v /w/workspace/device-sdk-go/104@tmp:/w/workspace/device-sdk-go/104@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 [2022-09-27T14:15:19.675Z] $ docker top 7fbc266ebc10bd7894f88b2577482d95332fe35792160b93b843483d8b9cb45e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T14:15:20.499Z] + go version [2022-09-27T14:15:20.499Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T14:15:20.520Z] $ docker stop --time=1 7fbc266ebc10bd7894f88b2577482d95332fe35792160b93b843483d8b9cb45e [2022-09-27T14:15:22.136Z] $ docker rm -f 7fbc266ebc10bd7894f88b2577482d95332fe35792160b93b843483d8b9cb45e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:15:22.685Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T14:15:22.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:15:22.847Z] prd-ubuntu20.04-docker-arm64-4c-16g-1354 does not seem to be running inside a container [2022-09-27T14:15:22.922Z] $ 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/104 -v /w/workspace/device-sdk-go/104:/w/workspace/device-sdk-go/104:rw,z -v /w/workspace/device-sdk-go/104@tmp:/w/workspace/device-sdk-go/104@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 [2022-09-27T14:15:24.056Z] $ docker top f9cfff6dcd5a2463d7baa30bfc69eb1cfa2a803751cc69fbb6772dd75a4ad627 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T14:15:24.557Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/104 [Pipeline] fileExists [Pipeline] sh [2022-09-27T14:15:24.882Z] + make test [2022-09-27T14:15:24.883Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-27T14:15:57.094Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-27T14:17:48.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-27T14:17:48.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-27T14:17:48.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-27T14:17:48.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-27T14:17:48.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-27T14:17:48.781Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.329s coverage: 27.6% of statements [2022-09-27T14:17:48.781Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.343s coverage: 78.9% of statements [2022-09-27T14:17:48.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-27T14:17:53.061Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.551s coverage: 60.0% of statements [2022-09-27T14:17:53.061Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-27T14:17:53.061Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-27T14:17:55.006Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.612s coverage: 54.4% of statements [2022-09-27T14:17:55.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-27T14:17:55.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-27T14:17:55.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-27T14:17:55.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-27T14:17:55.006Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.519s coverage: 65.1% of statements [2022-09-27T14:17:55.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-27T14:17:55.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-27T14:17:55.006Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.100s coverage: 89.2% of statements [2022-09-27T14:17:55.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-27T14:17:59.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.242s coverage: 4.5% of statements [2022-09-27T14:17:59.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-27T14:18:00.238Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T14:18:00.238Z] GO111MODULE=on go vet ./... [2022-09-27T14:19:36.914Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T14:19:36.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T14:19:36.915Z] ./bin/test-attribution-txt.sh [2022-09-27T14:19:36.915Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-27T14:19:36.915Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T14:19:36.915Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T14:19:36.915Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T14:19:36.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T14:19:36.954Z] $ docker stop --time=1 f9cfff6dcd5a2463d7baa30bfc69eb1cfa2a803751cc69fbb6772dd75a4ad627 [2022-09-27T14:19:38.762Z] $ docker rm -f f9cfff6dcd5a2463d7baa30bfc69eb1cfa2a803751cc69fbb6772dd75a4ad627 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T14:19:40.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T14:19:40.113Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T14:19:40.601Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T14:19:40.983Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T14:19:41.296Z] + ls -al . [2022-09-27T14:19:41.296Z] total 272 [2022-09-27T14:19:41.296Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 14:15 . [2022-09-27T14:19:41.296Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:13 .. [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 14:13 .dockerignore [2022-09-27T14:19:41.296Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 14:13 .git [2022-09-27T14:19:41.296Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:13 .github [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 14:13 .gitignore [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 14:13 .golangci.yml [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 14:13 CHANGELOG.md [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 14:13 GOVERNANCE.md [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 14:13 Jenkinsfile [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 14:13 LICENSE [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 14:13 Makefile [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 14:13 OWNERS.md [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 14:13 README.md [2022-09-27T14:19:41.296Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 14:11 VERSION [2022-09-27T14:19:41.296Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:13 bin [2022-09-27T14:19:41.296Z] -rw-r--r-- 1 jenkins jenkins 101801 Sep 27 14:17 coverage.out [2022-09-27T14:19:41.297Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 14:13 example [2022-09-27T14:19:41.297Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 14:13 go.mod [2022-09-27T14:19:41.297Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 27 14:13 go.sum [2022-09-27T14:19:41.297Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 14:13 internal [2022-09-27T14:19:41.297Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 14:13 openapi [2022-09-27T14:19:41.297Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 14:13 pkg [2022-09-27T14:19:41.297Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:13 snap [2022-09-27T14:19:41.297Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 14:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:19:41.633Z] + 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=11eb29cd9415f6bc1f7dad856498740e29903e46 --label arch=arm64 --label version=2.3.0-dev.29 . [2022-09-27T14:19:41.907Z] Sending build context to Docker daemon 5.412MB [2022-09-27T14:19:41.907Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T14:19:41.907Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T14:19:41.907Z] ---> d1b5f273c0e1 [2022-09-27T14:19:41.907Z] Step 3/25 : ARG MAKE=make build [2022-09-27T14:19:42.181Z] ---> Running in 86d3156a9d64 [2022-09-27T14:19:42.448Z] Removing intermediate container 86d3156a9d64 [2022-09-27T14:19:42.448Z] ---> 2dc5d0b91f5e [2022-09-27T14:19:42.448Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-27T14:19:42.448Z] ---> Running in 90cdffb30a46 [2022-09-27T14:19:42.718Z] Removing intermediate container 90cdffb30a46 [2022-09-27T14:19:42.718Z] ---> eb305a012495 [2022-09-27T14:19:42.718Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T14:19:42.987Z] ---> Running in c619c813fd44 [2022-09-27T14:19:43.255Z] Removing intermediate container c619c813fd44 [2022-09-27T14:19:43.255Z] ---> 1029f6d4d9bc [2022-09-27T14:19:43.255Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T14:19:43.255Z] ---> Running in 8163ab53431b [2022-09-27T14:19:45.204Z] Removing intermediate container 8163ab53431b [2022-09-27T14:19:45.204Z] ---> 52a3e937e073 [2022-09-27T14:19:45.204Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T14:19:45.204Z] ---> Running in ff916c53f2a7 [2022-09-27T14:19:45.796Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T14:19:46.753Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T14:19:47.715Z] OK: 221 MiB in 51 packages [2022-09-27T14:19:48.674Z] Removing intermediate container ff916c53f2a7 [2022-09-27T14:19:48.674Z] ---> ec2a6dc1726e [2022-09-27T14:19:48.674Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-27T14:19:48.943Z] ---> 8605edd599f7 [2022-09-27T14:19:48.943Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T14:19:48.943Z] ---> Running in a7043259cc15 [2022-09-27T14:19:50.888Z] Removing intermediate container a7043259cc15 [2022-09-27T14:19:50.888Z] ---> 62c8ab8ec116 [2022-09-27T14:19:50.888Z] Step 10/25 : COPY . . [2022-09-27T14:19:51.848Z] ---> 959ef488a304 [2022-09-27T14:19:51.848Z] Step 11/25 : RUN ${MAKE} [2022-09-27T14:19:52.120Z] ---> Running in bccb461125cd [2022-09-27T14:19:53.083Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.29" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-27T14:21:59.765Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-27T14:22:03.112Z] Removing intermediate container bccb461125cd [2022-09-27T14:22:03.112Z] ---> ed108dc03116 [2022-09-27T14:22:03.112Z] Step 12/25 : FROM alpine:3.16 [2022-09-27T14:22:03.693Z] 3.16: Pulling from library/alpine [2022-09-27T14:22:03.959Z] 9b18e9b68314: Pulling fs layer [2022-09-27T14:22:04.227Z] 9b18e9b68314: Verifying Checksum [2022-09-27T14:22:04.227Z] 9b18e9b68314: Download complete [2022-09-27T14:22:05.186Z] 9b18e9b68314: Pull complete [2022-09-27T14:22:05.186Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T14:22:05.186Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T14:22:05.186Z] ---> a6215f271958 [2022-09-27T14:22:05.186Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T14:22:05.460Z] ---> Running in e0ef66862b46 [2022-09-27T14:22:05.726Z] Removing intermediate container e0ef66862b46 [2022-09-27T14:22:05.726Z] ---> 32d313377361 [2022-09-27T14:22:05.726Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T14:22:05.726Z] ---> Running in 2aa6cb003417 [2022-09-27T14:22:07.144Z] Removing intermediate container 2aa6cb003417 [2022-09-27T14:22:07.144Z] ---> be4cac550a50 [2022-09-27T14:22:07.144Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-27T14:22:07.410Z] ---> Running in f848898b6691 [2022-09-27T14:22:08.371Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T14:22:09.330Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T14:22:10.286Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T14:22:10.286Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-27T14:22:10.286Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T14:22:10.552Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-27T14:22:10.552Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-27T14:22:10.817Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T14:22:10.817Z] OK: 8 MiB in 19 packages [2022-09-27T14:22:11.778Z] Removing intermediate container f848898b6691 [2022-09-27T14:22:11.778Z] ---> 9523fb0c28e4 [2022-09-27T14:22:11.778Z] Step 16/25 : WORKDIR / [2022-09-27T14:22:11.778Z] ---> Running in b96e30171504 [2022-09-27T14:22:12.043Z] Removing intermediate container b96e30171504 [2022-09-27T14:22:12.043Z] ---> 46095b06f5a9 [2022-09-27T14:22:12.043Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-27T14:22:12.626Z] ---> 94c26bce252a [2022-09-27T14:22:12.626Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-27T14:22:14.034Z] ---> ca5d685c4562 [2022-09-27T14:22:14.034Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-27T14:22:14.302Z] ---> 64fa4d483a32 [2022-09-27T14:22:14.302Z] Step 20/25 : EXPOSE 59999 [2022-09-27T14:22:14.570Z] ---> Running in 4ae801dc7765 [2022-09-27T14:22:14.845Z] Removing intermediate container 4ae801dc7765 [2022-09-27T14:22:14.845Z] ---> 73d1fdc091e1 [2022-09-27T14:22:14.845Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-27T14:22:14.845Z] ---> Running in a6455e4db029 [2022-09-27T14:22:15.111Z] Removing intermediate container a6455e4db029 [2022-09-27T14:22:15.111Z] ---> 0f927702c163 [2022-09-27T14:22:15.111Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T14:22:15.111Z] ---> Running in 4f6d92ecf387 [2022-09-27T14:22:15.380Z] Removing intermediate container 4f6d92ecf387 [2022-09-27T14:22:15.380Z] ---> 298c2c185928 [2022-09-27T14:22:15.381Z] Step 23/25 : LABEL arch=arm64 [2022-09-27T14:22:15.648Z] ---> Running in 17b994565990 [2022-09-27T14:22:15.914Z] Removing intermediate container 17b994565990 [2022-09-27T14:22:15.914Z] ---> e1857906a8e7 [2022-09-27T14:22:15.914Z] Step 24/25 : LABEL git_sha=11eb29cd9415f6bc1f7dad856498740e29903e46 [2022-09-27T14:22:15.914Z] ---> Running in 4dccf4f12b50 [2022-09-27T14:22:16.181Z] Removing intermediate container 4dccf4f12b50 [2022-09-27T14:22:16.181Z] ---> f38efbade45a [2022-09-27T14:22:16.181Z] Step 25/25 : LABEL version=2.3.0-dev.29 [2022-09-27T14:22:16.181Z] ---> Running in e7ee6a24228b [2022-09-27T14:22:16.448Z] Removing intermediate container e7ee6a24228b [2022-09-27T14:22:16.448Z] ---> e2fb186d1708 [2022-09-27T14:22:16.448Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T14:22:16.713Z] Successfully built e2fb186d1708 [2022-09-27T14:22:16.713Z] 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 [2022-09-27T14:22:17.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T14:22:17.124Z] [2022-09-27T14:22:17.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:22:17.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T14:22:17.794Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T14:22:17.794Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T14:22:17.794Z] 04944245beec: Pulling fs layer [2022-09-27T14:22:17.794Z] 699f458cf7ca: Pulling fs layer [2022-09-27T14:22:17.794Z] 765212b225bb: Pulling fs layer [2022-09-27T14:22:17.794Z] f23df028b6ca: Pulling fs layer [2022-09-27T14:22:17.794Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T14:22:17.794Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T14:22:17.794Z] 765212b225bb: Waiting [2022-09-27T14:22:17.794Z] f23df028b6ca: Waiting [2022-09-27T14:22:17.794Z] d65c8cfc05b1: Waiting [2022-09-27T14:22:17.794Z] 2437ff75d9bd: Waiting [2022-09-27T14:22:17.794Z] 04944245beec: Verifying Checksum [2022-09-27T14:22:17.794Z] 04944245beec: Download complete [2022-09-27T14:22:17.794Z] 765212b225bb: Verifying Checksum [2022-09-27T14:22:17.794Z] 765212b225bb: Download complete [2022-09-27T14:22:17.794Z] f23df028b6ca: Verifying Checksum [2022-09-27T14:22:17.794Z] f23df028b6ca: Download complete [2022-09-27T14:22:17.794Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T14:22:17.794Z] d65c8cfc05b1: Download complete [2022-09-27T14:22:18.065Z] 699f458cf7ca: Verifying Checksum [2022-09-27T14:22:18.065Z] 699f458cf7ca: Download complete [2022-09-27T14:22:18.338Z] 8998bd30e6a1: Download complete [2022-09-27T14:22:20.997Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T14:22:20.997Z] 2437ff75d9bd: Download complete [2022-09-27T14:22:22.944Z] 8998bd30e6a1: Pull complete [2022-09-27T14:22:23.211Z] 04944245beec: Pull complete [2022-09-27T14:22:24.619Z] 699f458cf7ca: Pull complete [2022-09-27T14:22:24.619Z] 765212b225bb: Pull complete [2022-09-27T14:22:25.204Z] f23df028b6ca: Pull complete [2022-09-27T14:22:25.471Z] d65c8cfc05b1: Pull complete [2022-09-27T14:22:40.462Z] 2437ff75d9bd: Pull complete [2022-09-27T14:22:40.462Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T14:22:40.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T14:22:40.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:22:40.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-1354 does not seem to be running inside a container [2022-09-27T14:22:40.713Z] $ 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/104 -v /w/workspace/device-sdk-go/104:/w/workspace/device-sdk-go/104:rw,z -v /w/workspace/device-sdk-go/104@tmp:/w/workspace/device-sdk-go/104@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 [2022-09-27T14:22:43.080Z] $ docker top 5408e6aee6f2ba20da6c532b9172ee2c8060b9116dca77083f5abc998367921f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:22:43.898Z] ---> job-cost.sh [2022-09-27T14:22:43.898Z] lf-activate-venv: SKIPPING [2022-09-27T14:22:43.898Z] INFO: No Stack... [2022-09-27T14:22:44.477Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T14:22:45.436Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T14:22:46.072Z] + + cat /w/workspace/device-sdk-go/104/archives/cost.csv [2022-09-27T14:22:46.072Z] cut -d, -f6 [Pipeline] lock [2022-09-27T14:22:46.135Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-104-stack-cost] [2022-09-27T14:22:46.142Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-104-stack-cost] did not exist. Created. [2022-09-27T14:22:46.142Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-104-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T14:22:46.792Z] /w/workspace/device-sdk-go/104@tmp/durable-e3fddf13/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T14:22:47.471Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T14:22:47.494Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T14:22:47.562Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T14:22:47.570Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-104-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T14:22:47.592Z] $ docker stop --time=1 5408e6aee6f2ba20da6c532b9172ee2c8060b9116dca77083f5abc998367921f [2022-09-27T14:22:49.208Z] $ docker rm -f 5408e6aee6f2ba20da6c532b9172ee2c8060b9116dca77083f5abc998367921f [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 [2022-09-27T14:22:49.552Z] provisioning config files... [2022-09-27T14:22:49.559Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9567133605553987600tmp [Pipeline] { [Pipeline] sh [2022-09-27T14:22:49.850Z] + set +x [2022-09-27T14:22:49.850Z] + + bash -s -- [2022-09-27T14:22:49.850Z] curl -s https://codecov.io/bash [2022-09-27T14:22:49.850Z] [2022-09-27T14:22:49.850Z] _____ _ [2022-09-27T14:22:49.850Z] / ____| | | [2022-09-27T14:22:49.850Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T14:22:49.850Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T14:22:49.850Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T14:22:49.850Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T14:22:49.850Z] Bash-1.0.6 [2022-09-27T14:22:49.850Z] [2022-09-27T14:22:49.850Z] [2022-09-27T14:22:49.850Z] ==> git version 2.25.1 found [2022-09-27T14:22:49.850Z] ==> 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 [2022-09-27T14:22:49.850Z] Release-Date: 2020-01-08 [2022-09-27T14:22:49.850Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-27T14:22:49.850Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T14:22:49.850Z] ==> Jenkins CI detected. [2022-09-27T14:22:49.850Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-09-27T14:22:49.850Z] project root: . [2022-09-27T14:22:49.850Z] --> token set from env [2022-09-27T14:22:49.850Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T14:22:49.850Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T14:22:49.850Z] ==> Python coveragepy not found [2022-09-27T14:22:49.850Z] ==> Searching for coverage reports in: [2022-09-27T14:22:49.850Z] + . [2022-09-27T14:22:49.850Z] -> Found 1 reports [2022-09-27T14:22:49.850Z] ==> Detecting git/mercurial file structure [2022-09-27T14:22:49.850Z] ==> Reading reports [2022-09-27T14:22:49.850Z] + ./coverage.out bytes=101801 [2022-09-27T14:22:49.850Z] ==> Appending adjustments [2022-09-27T14:22:49.850Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T14:22:50.417Z] + Found adjustments [2022-09-27T14:22:50.417Z] ==> Gzipping contents [2022-09-27T14:22:50.417Z] 16K /tmp/codecov.85t1w7.gz [2022-09-27T14:22:50.417Z] ==> Uploading reports [2022-09-27T14:22:50.417Z] url: https://codecov.io [2022-09-27T14:22:50.417Z] query: branch=main&commit=11eb29cd9415f6bc1f7dad856498740e29903e46&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-27T14:22:50.417Z] -> Pinging Codecov [2022-09-27T14:22:50.417Z] 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=11eb29cd9415f6bc1f7dad856498740e29903e46&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-27T14:22:50.417Z] -> Uploading to [2022-09-27T14:22:50.417Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7E55EF52A471D76F132DFD9A03CDDE97/11eb29cd9415f6bc1f7dad856498740e29903e46/8c12846c-8edd-43bd-8ad3-fb5e315e9c65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T142250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=275b99a9f18dc44207faa7ea38f820d7fd539083ffae31fd4075e14506f75bfd [2022-09-27T14:22:50.417Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T14:22:50.417Z] Dload Upload Total Spent Left Speed [2022-09-27T14:22:50.676Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14596 0 0 100 14596 0 66045 --:--:-- --:--:-- --:--:-- 65747 100 14596 0 0 100 14596 0 62643 --:--:-- --:--:-- --:--:-- 62376 [2022-09-27T14:22:50.676Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/11eb29cd9415f6bc1f7dad856498740e29903e46 [Pipeline] } [2022-09-27T14:22:50.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-27T14:22:50.853Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-27T14:22:50.862Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:22:51.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-27T14:22:51.155Z] [2022-09-27T14:22:51.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:22:51.450Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-27T14:22:51.450Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-27T14:22:51.450Z] df9b9388f04a: Pulling fs layer [2022-09-27T14:22:51.450Z] 52dc419b0ee2: Pulling fs layer [2022-09-27T14:22:51.450Z] 25bc292e5bac: Pulling fs layer [2022-09-27T14:22:51.450Z] 114826534d7a: Pulling fs layer [2022-09-27T14:22:51.450Z] 4657fd5d0bcf: Pulling fs layer [2022-09-27T14:22:51.450Z] 6ad1cebc031e: Pulling fs layer [2022-09-27T14:22:51.450Z] 8a3aa393b2d8: Pulling fs layer [2022-09-27T14:22:51.450Z] 114826534d7a: Waiting [2022-09-27T14:22:51.450Z] 4657fd5d0bcf: Waiting [2022-09-27T14:22:51.450Z] 6ad1cebc031e: Waiting [2022-09-27T14:22:51.450Z] 8a3aa393b2d8: Waiting [2022-09-27T14:22:51.450Z] 25bc292e5bac: Verifying Checksum [2022-09-27T14:22:51.450Z] 25bc292e5bac: Download complete [2022-09-27T14:22:51.450Z] 52dc419b0ee2: Verifying Checksum [2022-09-27T14:22:51.450Z] 52dc419b0ee2: Download complete [2022-09-27T14:22:51.450Z] 4657fd5d0bcf: Verifying Checksum [2022-09-27T14:22:51.450Z] 4657fd5d0bcf: Download complete [2022-09-27T14:22:51.450Z] df9b9388f04a: Download complete [2022-09-27T14:22:51.710Z] df9b9388f04a: Pull complete [2022-09-27T14:22:51.710Z] 6ad1cebc031e: Verifying Checksum [2022-09-27T14:22:51.710Z] 6ad1cebc031e: Download complete [2022-09-27T14:22:51.710Z] 52dc419b0ee2: Pull complete [2022-09-27T14:22:51.970Z] 25bc292e5bac: Pull complete [2022-09-27T14:22:52.227Z] 114826534d7a: Verifying Checksum [2022-09-27T14:22:52.227Z] 114826534d7a: Download complete [2022-09-27T14:22:52.227Z] 8a3aa393b2d8: Verifying Checksum [2022-09-27T14:22:52.227Z] 8a3aa393b2d8: Download complete [2022-09-27T14:22:55.508Z] 114826534d7a: Pull complete [2022-09-27T14:22:55.508Z] 4657fd5d0bcf: Pull complete [2022-09-27T14:22:55.766Z] 6ad1cebc031e: Pull complete [2022-09-27T14:22:58.296Z] 8a3aa393b2d8: Pull complete [2022-09-27T14:22:58.296Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-27T14:22:58.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-27T14:22:58.296Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:22:58.373Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:22:58.417Z] $ 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 [2022-09-27T14:23:01.814Z] $ docker top 48e97b6d0dbca8b1a136ce0fae86aa84b1507c311c7f8d0c92ba031b2af28d3a -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-27T14:23:01.870Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2022-09-27T14:23:02.148Z] + set -o pipefail [2022-09-27T14:23:02.148Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2022-09-27T14:23:07.432Z] [2022-09-27T14:23:07.432Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-09-27T14:23:07.432Z] [2022-09-27T14:23:07.432Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/d7807040-f6b5-4d93-9462-73a94f4d7a88 [2022-09-27T14:23:07.432Z] [2022-09-27T14:23:07.432Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-27T14:23:07.432Z] [2022-09-27T14:23:07.432Z] [Pipeline] } [2022-09-27T14:23:07.450Z] $ docker stop --time=1 48e97b6d0dbca8b1a136ce0fae86aa84b1507c311c7f8d0c92ba031b2af28d3a [2022-09-27T14:23:10.904Z] $ docker rm -f 48e97b6d0dbca8b1a136ce0fae86aa84b1507c311c7f8d0c92ba031b2af28d3a [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 [2022-09-27T14:23:11.265Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T14:23:11.280Z] provisioning config files... [2022-09-27T14:23:11.287Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18021607287431457171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:11.576Z] --> edgex-publish-swagger.sh [2022-09-27T14:23:11.576Z] === Publish openapi/v2 API === [2022-09-27T14:23:11.576Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-09-27T14:23:11.576Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-09-27T14:23:11.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T14:23:11.576Z] Dload Upload Total Spent Left Speed [2022-09-27T14:23:12.145Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 68656 --:--:-- --:--:-- --:--:-- 68568 100 53552 0 0 100 53552 0 68568 --:--:-- --:--:-- --:--:-- 68480 [2022-09-27T14:23:12.145Z] [2022-09-27T14:23:12.145Z] [Pipeline] } [2022-09-27T14:23:12.152Z] 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 [2022-09-27T14:23:12.528Z] + git log --format=format:%s -1 11eb29cd9415f6bc1f7dad856498740e29903e46 [Pipeline] sh [2022-09-27T14:23:12.817Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T14:23:12.818Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:23:13.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T14:23:13.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:23:13.180Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:23:13.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 [2022-09-27T14:23:13.710Z] $ docker top dd0a5361fcbc68f4392efd4ec016b8b0f27658fe96e3ed99299701214bba31cf -eo pid,comm [2022-09-27T14:23:13.752Z] 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). [2022-09-27T14:23:13.752Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T14:23:13.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T14:23:13.786Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T14:23:13.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T14:23:13.907Z] $ docker exec dd0a5361fcbc68f4392efd4ec016b8b0f27658fe96e3ed99299701214bba31cf ssh-agent [2022-09-27T14:23:14.005Z] SSH_AUTH_SOCK=/tmp/ssh-6nHj7D0Vopj2/agent.32 [2022-09-27T14:23:14.005Z] SSH_AGENT_PID=38 [2022-09-27T14:23:14.010Z] Running ssh-add (command line suppressed) [2022-09-27T14:23:14.116Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7358196446338361988.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7358196446338361988.key) [2022-09-27T14:23:14.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T14:23:14.406Z] + git semver tag [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,583 [run_tag] DEBUG tag force:False [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,583 [check_head_tag] DEBUG check head tag [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,584 [execute] INFO git cat-file --batch-check [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,588 [execute] INFO git cat-file --batch [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,601 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,601 [execute] INFO git tag -a v2.3.0-dev.29 -m v2.3.0-dev.29 [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,601 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.29', '-m', 'v2.3.0-dev.29'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-27T14:23:14.666Z] 2022-09-27 14:23:14,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:23:14.666Z] 2.3.0-dev.29 [Pipeline] } [2022-09-27T14:23:14.681Z] $ docker exec --env ******** --env ******** dd0a5361fcbc68f4392efd4ec016b8b0f27658fe96e3ed99299701214bba31cf ssh-agent -k [2022-09-27T14:23:14.775Z] unset SSH_AUTH_SOCK; [2022-09-27T14:23:14.776Z] unset SSH_AGENT_PID; [2022-09-27T14:23:14.776Z] echo Agent pid 38 killed; [2022-09-27T14:23:14.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T14:23:15.081Z] + git semver [Pipeline] } [2022-09-27T14:23:15.358Z] $ docker stop --time=1 dd0a5361fcbc68f4392efd4ec016b8b0f27658fe96e3ed99299701214bba31cf [2022-09-27T14:23:16.636Z] $ docker rm -f dd0a5361fcbc68f4392efd4ec016b8b0f27658fe96e3ed99299701214bba31cf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:23:17.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-27T14:23:17.014Z] [2022-09-27T14:23:17.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:23:17.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-27T14:23:17.313Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-27T14:23:17.313Z] ab5ef0e58194: Pulling fs layer [2022-09-27T14:23:17.313Z] 9712f1f96733: Pulling fs layer [2022-09-27T14:23:17.313Z] 63f879dbbcfc: Pulling fs layer [2022-09-27T14:23:17.313Z] 0d9ebad4ef96: Pulling fs layer [2022-09-27T14:23:17.313Z] e9a5061849ea: Pulling fs layer [2022-09-27T14:23:17.313Z] d747dcd14b5f: Pulling fs layer [2022-09-27T14:23:17.313Z] 2de7ff778b66: Pulling fs layer [2022-09-27T14:23:17.313Z] e9a5061849ea: Waiting [2022-09-27T14:23:17.313Z] d747dcd14b5f: Waiting [2022-09-27T14:23:17.313Z] 2de7ff778b66: Waiting [2022-09-27T14:23:17.313Z] 0d9ebad4ef96: Waiting [2022-09-27T14:23:17.313Z] 9712f1f96733: Download complete [2022-09-27T14:23:17.915Z] 63f879dbbcfc: Verifying Checksum [2022-09-27T14:23:17.915Z] 63f879dbbcfc: Download complete [2022-09-27T14:23:18.176Z] e9a5061849ea: Verifying Checksum [2022-09-27T14:23:18.177Z] e9a5061849ea: Download complete [2022-09-27T14:23:18.177Z] 0d9ebad4ef96: Verifying Checksum [2022-09-27T14:23:18.177Z] 0d9ebad4ef96: Download complete [2022-09-27T14:23:18.177Z] d747dcd14b5f: Verifying Checksum [2022-09-27T14:23:18.177Z] d747dcd14b5f: Download complete [2022-09-27T14:23:18.177Z] ab5ef0e58194: Verifying Checksum [2022-09-27T14:23:18.177Z] ab5ef0e58194: Download complete [2022-09-27T14:23:18.177Z] 2de7ff778b66: Verifying Checksum [2022-09-27T14:23:18.177Z] 2de7ff778b66: Download complete [2022-09-27T14:23:21.459Z] ab5ef0e58194: Pull complete [2022-09-27T14:23:21.459Z] 9712f1f96733: Pull complete [2022-09-27T14:23:21.717Z] 63f879dbbcfc: Pull complete [2022-09-27T14:23:26.026Z] 0d9ebad4ef96: Pull complete [2022-09-27T14:23:26.026Z] e9a5061849ea: Pull complete [2022-09-27T14:23:26.026Z] d747dcd14b5f: Pull complete [2022-09-27T14:23:26.591Z] 2de7ff778b66: Pull complete [2022-09-27T14:23:26.591Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-27T14:23:26.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-27T14:23:26.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:23:26.660Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:23:26.693Z] $ 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 [2022-09-27T14:23:31.099Z] $ docker top 912415b3f46a7fc909edc2831bc0900f6df310bf904f1b3da4c46369aca90a11 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-27T14:23:31.154Z] provisioning config files... [2022-09-27T14:23:31.161Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10994946472085251065tmp [2022-09-27T14:23:31.170Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4391519314221672212tmp [2022-09-27T14:23:31.179Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3638414239246023382tmp [Pipeline] { [Pipeline] echo [2022-09-27T14:23:31.193Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:31.473Z] ---> sigul-configuration.sh [2022-09-27T14:23:31.473Z] gpg: directory `/root/.gnupg' created [2022-09-27T14:23:31.474Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-27T14:23:31.474Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-27T14:23:31.474Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-27T14:23:31.474Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-27T14:23:31.474Z] gpg: CAST5 encrypted data [2022-09-27T14:23:31.474Z] gpg: encrypted with 1 passphrase [2022-09-27T14:23:31.474Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-27T14:23:31.755Z] + mkdir /home/jenkins [2022-09-27T14:23:31.755Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-27T14:23:32.044Z] + 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 [2022-09-27T14:23:32.054Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:32.342Z] ---> sigul-install.sh [2022-09-27T14:23:32.342Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-27T14:23:32.629Z] + git tag --list [2022-09-27T14:23:32.629Z] 0.7.1 [2022-09-27T14:23:32.629Z] delhi-tag [2022-09-27T14:23:32.629Z] v1.0.0 [2022-09-27T14:23:32.629Z] v1.1.0 [2022-09-27T14:23:32.629Z] v1.1.1 [2022-09-27T14:23:32.629Z] v1.1.2 [2022-09-27T14:23:32.629Z] v1.2.0 [2022-09-27T14:23:32.629Z] v1.2.1 [2022-09-27T14:23:32.629Z] v1.2.2 [2022-09-27T14:23:32.629Z] v1.2.3 [2022-09-27T14:23:32.629Z] v1.3.0 [2022-09-27T14:23:32.629Z] v1.4.0 [2022-09-27T14:23:32.629Z] v2.0.0 [2022-09-27T14:23:32.629Z] v2.1.0 [2022-09-27T14:23:32.629Z] v2.1.1 [2022-09-27T14:23:32.629Z] v2.1.1-dev.2 [2022-09-27T14:23:32.629Z] v2.1.1-dev.3 [2022-09-27T14:23:32.629Z] v2.2.0 [2022-09-27T14:23:32.629Z] v2.2.1-dev.1 [2022-09-27T14:23:32.629Z] v2.2.1-dev.10 [2022-09-27T14:23:32.629Z] v2.2.1-dev.11 [2022-09-27T14:23:32.629Z] v2.2.1-dev.12 [2022-09-27T14:23:32.629Z] v2.2.1-dev.13 [2022-09-27T14:23:32.629Z] v2.2.1-dev.14 [2022-09-27T14:23:32.629Z] v2.2.1-dev.2 [2022-09-27T14:23:32.629Z] v2.2.1-dev.3 [2022-09-27T14:23:32.629Z] v2.2.1-dev.4 [2022-09-27T14:23:32.629Z] v2.2.1-dev.5 [2022-09-27T14:23:32.629Z] v2.2.1-dev.6 [2022-09-27T14:23:32.629Z] v2.2.1-dev.7 [2022-09-27T14:23:32.629Z] v2.2.1-dev.8 [2022-09-27T14:23:32.629Z] v2.2.1-dev.9 [2022-09-27T14:23:32.629Z] v2.3.0-dev.14 [2022-09-27T14:23:32.629Z] v2.3.0-dev.15 [2022-09-27T14:23:32.629Z] v2.3.0-dev.16 [2022-09-27T14:23:32.629Z] v2.3.0-dev.17 [2022-09-27T14:23:32.629Z] v2.3.0-dev.18 [2022-09-27T14:23:32.629Z] v2.3.0-dev.19 [2022-09-27T14:23:32.629Z] v2.3.0-dev.20 [2022-09-27T14:23:32.629Z] v2.3.0-dev.21 [2022-09-27T14:23:32.629Z] v2.3.0-dev.22 [2022-09-27T14:23:32.629Z] v2.3.0-dev.23 [2022-09-27T14:23:32.629Z] v2.3.0-dev.24 [2022-09-27T14:23:32.629Z] v2.3.0-dev.25 [2022-09-27T14:23:32.629Z] v2.3.0-dev.26 [2022-09-27T14:23:32.629Z] v2.3.0-dev.27 [2022-09-27T14:23:32.629Z] v2.3.0-dev.28 [2022-09-27T14:23:32.629Z] v2.3.0-dev.29 [Pipeline] sh [2022-09-27T14:23:32.915Z] + lftools sign git-tag v2.3.0-dev.29 [2022-09-27T14:23:33.484Z] Signing Git tag with Sigul... [2022-09-27T14:23:33.484Z] Signing v2.3.0-dev.29 [Pipeline] echo [2022-09-27T14:23:33.751Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:34.033Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-27T14:23:34.040Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-27T14:23:34.070Z] $ docker stop --time=1 912415b3f46a7fc909edc2831bc0900f6df310bf904f1b3da4c46369aca90a11 [2022-09-27T14:23:35.362Z] $ docker rm -f 912415b3f46a7fc909edc2831bc0900f6df310bf904f1b3da4c46369aca90a11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-27T14:23:35.756Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T14:23:35.756Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:23:36.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T14:23:36.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:23:36.116Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:23:36.152Z] $ 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 [2022-09-27T14:23:36.474Z] $ docker top 4675118800dd8ee9792e6ae6147b0491f66191249e3223848480376801f030b0 -eo pid,comm [2022-09-27T14:23:36.514Z] 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). [2022-09-27T14:23:36.514Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T14:23:36.552Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T14:23:36.552Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T14:23:36.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T14:23:36.670Z] $ docker exec 4675118800dd8ee9792e6ae6147b0491f66191249e3223848480376801f030b0 ssh-agent [2022-09-27T14:23:36.766Z] SSH_AUTH_SOCK=/tmp/ssh-Zhenk3NkPFem/agent.31 [2022-09-27T14:23:36.766Z] SSH_AGENT_PID=37 [2022-09-27T14:23:36.770Z] Running ssh-add (command line suppressed) [2022-09-27T14:23:36.893Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2712490671218166400.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2712490671218166400.key) [2022-09-27T14:23:36.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T14:23:37.184Z] + git semver bump pre [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,352 [bump_version] DEBUG bumping version:2.3.0-dev.29 on axis:pre with prefix:dev [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,352 [bump_version] DEBUG bumped version:2.3.0-dev.30 [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,352 [write_version] DEBUG write version:2.3.0-dev.30 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,352 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,353 [execute] INFO git cat-file --batch-check [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,358 [execute] INFO git cat-file --batch [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T14:23:37.444Z] 2022-09-27 14:23:37,364 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:23:37.444Z] 2.3.0-dev.30 [Pipeline] } [2022-09-27T14:23:37.459Z] $ docker exec --env ******** --env ******** 4675118800dd8ee9792e6ae6147b0491f66191249e3223848480376801f030b0 ssh-agent -k [2022-09-27T14:23:37.557Z] unset SSH_AUTH_SOCK; [2022-09-27T14:23:37.557Z] unset SSH_AGENT_PID; [2022-09-27T14:23:37.557Z] echo Agent pid 37 killed; [2022-09-27T14:23:37.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T14:23:37.862Z] + git semver [Pipeline] } [2022-09-27T14:23:38.139Z] $ docker stop --time=1 4675118800dd8ee9792e6ae6147b0491f66191249e3223848480376801f030b0 [2022-09-27T14:23:39.425Z] $ docker rm -f 4675118800dd8ee9792e6ae6147b0491f66191249e3223848480376801f030b0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T14:23:39.751Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T14:23:39.751Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:23:40.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T14:23:40.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:23:40.105Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:23:40.138Z] $ 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 [2022-09-27T14:23:40.525Z] $ docker top 53bf09ad7cacc17a63cf1ce36c934a970c2c28064a51b70483980d55b08edb4d -eo pid,comm [2022-09-27T14:23:40.568Z] 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). [2022-09-27T14:23:40.568Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T14:23:40.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T14:23:40.596Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T14:23:40.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T14:23:40.716Z] $ docker exec 53bf09ad7cacc17a63cf1ce36c934a970c2c28064a51b70483980d55b08edb4d ssh-agent [2022-09-27T14:23:40.811Z] SSH_AUTH_SOCK=/tmp/ssh-DVWGTpOD4hKF/agent.32 [2022-09-27T14:23:40.811Z] SSH_AGENT_PID=38 [2022-09-27T14:23:40.815Z] Running ssh-add (command line suppressed) [2022-09-27T14:23:40.929Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14084146555273570300.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14084146555273570300.key) [2022-09-27T14:23:40.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T14:23:41.222Z] + git semver push [2022-09-27T14:23:41.481Z] 2022-09-27 14:23:41,410 [run_push] DEBUG push [2022-09-27T14:23:41.481Z] 2022-09-27 14:23:41,410 [execute] INFO git cat-file --batch-check [2022-09-27T14:23:41.481Z] 2022-09-27 14:23:41,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T14:23:41.481Z] 2022-09-27 14:23:41,414 [execute] INFO git rev-list 9b544edf7acbf01d4a53129595250ebabcd07c49 -- [2022-09-27T14:23:41.481Z] 2022-09-27 14:23:41,414 [execute] DEBUG Popen(['git', 'rev-list', '9b544edf7acbf01d4a53129595250ebabcd07c49', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-27T14:23:41.481Z] 2022-09-27 14:23:41,425 [execute] INFO git fetch -v origin [2022-09-27T14:23:41.481Z] 2022-09-27 14:23:41,425 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-09-27T14:23:42.049Z] 2022-09-27 14:23:42,027 [run_push] DEBUG no remote changes detected [2022-09-27T14:23:42.049Z] 2022-09-27 14:23:42,027 [execute] INFO git push origin semver [2022-09-27T14:23:42.049Z] 2022-09-27 14:23:42,028 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-27T14:23:43.426Z] 2022-09-27 14:23:43,064 [run_push] DEBUG push all version tags [2022-09-27T14:23:43.426Z] 2022-09-27 14:23:43,065 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-27T14:23:43.426Z] 2022-09-27 14:23:43,065 [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) [2022-09-27T14:23:43.993Z] 2022-09-27 14:23:43,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:23:43.993Z] 2.3.0-dev.30 [Pipeline] } [2022-09-27T14:23:44.009Z] $ docker exec --env ******** --env ******** 53bf09ad7cacc17a63cf1ce36c934a970c2c28064a51b70483980d55b08edb4d ssh-agent -k [2022-09-27T14:23:44.109Z] unset SSH_AUTH_SOCK; [2022-09-27T14:23:44.109Z] unset SSH_AGENT_PID; [2022-09-27T14:23:44.109Z] echo Agent pid 38 killed; [2022-09-27T14:23:44.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T14:23:44.423Z] + git semver [Pipeline] } [2022-09-27T14:23:44.700Z] $ docker stop --time=1 53bf09ad7cacc17a63cf1ce36c934a970c2c28064a51b70483980d55b08edb4d [2022-09-27T14:23:45.970Z] $ docker rm -f 53bf09ad7cacc17a63cf1ce36c934a970c2c28064a51b70483980d55b08edb4d [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 [2022-09-27T14:23:46.511Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-09-27T14:23:46.511Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-27T14:23:46.511Z] total 16 [2022-09-27T14:23:46.511Z] drwxr-xr-x 3 root root 4096 Sep 27 14:13 . [2022-09-27T14:23:46.511Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 14:23 .. [2022-09-27T14:23:46.511Z] drwxr-xr-x 2 root root 4096 Sep 27 14:13 cost [2022-09-27T14:23:46.511Z] -rw-r--r-- 1 root root 85 Sep 27 14:13 cost.csv [2022-09-27T14:23:46.511Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-27T14:23:46.511Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-27T14:23:46.511Z] total 16 [2022-09-27T14:23:46.511Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 14:13 . [2022-09-27T14:23:46.511Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 14:23 .. [2022-09-27T14:23:46.511Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 14:13 cost [2022-09-27T14:23:46.511Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 27 14:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:46.803Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:47.664Z] ---> package-listing.sh [2022-09-27T14:23:47.664Z] ++ facter osfamily [2022-09-27T14:23:47.664Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T14:23:47.923Z] + OS_FAMILY=debian [2022-09-27T14:23:47.923Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-09-27T14:23:47.923Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T14:23:47.923Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T14:23:47.923Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T14:23:47.923Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T14:23:47.923Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-09-27T14:23:47.923Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T14:23:47.923Z] + case "${OS_FAMILY}" in [2022-09-27T14:23:47.923Z] + dpkg -l [2022-09-27T14:23:47.923Z] + grep '^ii' [2022-09-27T14:23:47.923Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T14:23:47.923Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T14:23:47.923Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T14:23:47.923Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-09-27T14:23:47.923Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-09-27T14:23:47.923Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-09-27T14:23:47.933Z] 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 [2022-09-27T14:23:48.211Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:23:48.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T14:23:48.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:23:48.832Z] prd-ubuntu20.04-docker-8c-8g-1353 does not seem to be running inside a container [2022-09-27T14:23:48.869Z] $ 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 [2022-09-27T14:23:49.069Z] $ docker top 4baae0395739d10768a4f5ee06990ac8a1bcafaaf634a2f211aba8a0734d443c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T14:23:49.392Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T14:23:49.673Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T14:23:49.957Z] + ls /var/log/sa-host [2022-09-27T14:23:49.957Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T14:23:50.092Z] provisioning config files... [2022-09-27T14:23:50.100Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8216240764426972307tmp [Pipeline] { [Pipeline] echo [2022-09-27T14:23:50.113Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:50.391Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T14:23:50.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:50.721Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T14:23:50.729Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:51.021Z] ---> sudo-logs.sh [2022-09-27T14:23:51.021Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T14:23:51.060Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:51.396Z] ---> job-cost.sh [2022-09-27T14:23:51.396Z] lf-activate-venv: SKIPPING [2022-09-27T14:23:51.396Z] DEBUG: total: 0.2199999988079071 [2022-09-27T14:23:51.396Z] INFO: Retrieving Stack Cost... [2022-09-27T14:23:51.681Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T14:23:52.276Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T14:23:52.287Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:23:52.567Z] ---> logs-deploy.sh [2022-09-27T14:23:52.567Z] lf-activate-venv: SKIPPING [2022-09-27T14:23:52.567Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/104 [2022-09-27T14:23:52.567Z] INFO: archiving workspace using pattern(s): [2022-09-27T14:23:53.505Z] Archives upload complete. [2022-09-27T14:23:53.505Z] INFO: archiving logs to Nexus