Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 67986f5e85a843a874e3bc4d59755e1036e07d38 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-ssh9765632163420715415.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-ssh5774376248656719546.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-ssh17743807536536032365.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-ssh177554292151414624.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-ssh2876209170739581763.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-7819 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 Avoid second fetch Checking out Revision 67986f5e85a843a874e3bc4d59755e1036e07d38 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67986f5e85a843a874e3bc4d59755e1036e07d38 # timeout=10 Commit message: "Merge pull request #1236 from hahattan/issue-1235" > git rev-list --no-walk 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-13T16:26:28.536Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-13T16:26:28.601Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-13T16:26:28.615Z] ========================================================= [2022-10-13T16:26:28.615Z] EdgeX Global Pipelines Version Info [2022-10-13T16:26:28.615Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:26:29.321Z] ------------------- [2022-10-13T16:26:29.321Z] stable info: [2022-10-13T16:26:29.321Z] ------------------- [2022-10-13T16:26:29.321Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-13T16:26:29.321Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T16:26:29.321Z] Message: update stable to v1.0.239 [2022-10-13T16:26:29.890Z] ------------------- [2022-10-13T16:26:29.890Z] experimental info: [2022-10-13T16:26:29.890Z] ------------------- [2022-10-13T16:26:29.890Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-13T16:26:29.890Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T16:26:29.890Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-13T16:26:30.032Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-13T16:26:30.040Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-13T16:26:30.048Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-13T16:26:30.056Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-13T16:26:30.064Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-13T16:26:30.072Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-13T16:26:30.080Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-13T16:26:30.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-13T16:26:30.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-13T16:26:30.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-13T16:26:30.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-13T16:26:30.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-13T16:26:30.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-13T16:26:30.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-13T16:26:30.143Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-13T16:26:30.161Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T16:26:30.175Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T16:26:30.190Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T16:26:30.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-13T16:26:30.217Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-13T16:26:30.234Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-13T16:26:30.245Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-13T16:26:30.257Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-13T16:26:30.281Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-13T16:26:30.298Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-13T16:26:30.312Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-13T16:26:30.323Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-13T16:26:30.334Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-13T16:26:30.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-13T16:26:30.360Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-13T16:26:30.379Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] echo [2022-10-13T16:26:30.393Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67986f5 [Pipeline] echo [2022-10-13T16:26:30.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T16:26:30.450Z] provisioning config files... [2022-10-13T16:26:30.463Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15842374297584730957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:26:30.762Z] ---> docker-login.sh [2022-10-13T16:26:30.762Z] nexus3.edgexfoundry.org:10001 [2022-10-13T16:26:31.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:31.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:31.280Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:31.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:31.280Z] [2022-10-13T16:26:31.280Z] Login Succeeded [2022-10-13T16:26:31.280Z] nexus3.edgexfoundry.org:10002 [2022-10-13T16:26:31.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:31.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:31.542Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:31.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:31.542Z] [2022-10-13T16:26:31.542Z] Login Succeeded [2022-10-13T16:26:31.542Z] nexus3.edgexfoundry.org:10003 [2022-10-13T16:26:31.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:31.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:31.542Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:31.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:31.542Z] [2022-10-13T16:26:31.542Z] Login Succeeded [2022-10-13T16:26:31.542Z] nexus3.edgexfoundry.org:10004 [2022-10-13T16:26:31.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:31.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:31.542Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:31.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:31.542Z] [2022-10-13T16:26:31.542Z] Login Succeeded [2022-10-13T16:26:31.542Z] docker.io [2022-10-13T16:26:31.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:32.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:32.062Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:32.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:32.062Z] [2022-10-13T16:26:32.062Z] Login Succeeded [2022-10-13T16:26:32.062Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T16:26:32.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-13T16:26:32.443Z] + git rev-list -1 --merges 67986f5e85a843a874e3bc4d59755e1036e07d38~1..67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] echo [2022-10-13T16:26:32.469Z] -----------> git rev-list -1 --merges 67986f5e85a843a874e3bc4d59755e1036e07d38~1..67986f5e85a843a874e3bc4d59755e1036e07d38 67986f5e85a843a874e3bc4d59755e1036e07d38 [2022-10-13T16:26:32.469Z] 67986f5e85a843a874e3bc4d59755e1036e07d38 [false] [Pipeline] sh [2022-10-13T16:26:32.757Z] + git log --format=format:%s -1 67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] echo [2022-10-13T16:26:32.797Z] ========================================================= [2022-10-13T16:26:32.797Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-13T16:26:32.797Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T16:26:33.116Z] + git log --format=format:%s -1 67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] echo [2022-10-13T16:26:33.127Z] [semverPrep] GIT_COMMIT: 67986f5e85a843a874e3bc4d59755e1036e07d38, Commit Message: Merge pull request #1236 from hahattan/issue-1235 [Pipeline] echo [2022-10-13T16:26:33.138Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-13T16:26:33.502Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-13T16:26:33.502Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-13T16:26:33.502Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-13T16:26:33.502Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-13T16:26:33.502Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-10-13T16:26:33.502Z] -a /etc/ssh/ssh_known_hosts [2022-10-13T16:26:33.502Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:26:33.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T16:26:33.913Z] [2022-10-13T16:26:33.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:26:34.214Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T16:26:34.214Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-13T16:26:34.472Z] b85a868b505f: Pulling fs layer [2022-10-13T16:26:34.472Z] e2be974225ed: Pulling fs layer [2022-10-13T16:26:34.472Z] 339a4e72a1f5: Pulling fs layer [2022-10-13T16:26:34.472Z] 988bab9f4d93: Pulling fs layer [2022-10-13T16:26:34.472Z] 1469e6f7b9e6: Pulling fs layer [2022-10-13T16:26:34.472Z] eaf3925da568: Pulling fs layer [2022-10-13T16:26:34.472Z] bab4dde63d76: Pulling fs layer [2022-10-13T16:26:34.472Z] bde34c3a00c8: Pulling fs layer [2022-10-13T16:26:34.472Z] b352a97aabf1: Pulling fs layer [2022-10-13T16:26:34.472Z] 4872d77fe225: Pulling fs layer [2022-10-13T16:26:34.472Z] 5851b861e8e6: Pulling fs layer [2022-10-13T16:26:34.472Z] 988bab9f4d93: Waiting [2022-10-13T16:26:34.472Z] bab4dde63d76: Waiting [2022-10-13T16:26:34.472Z] eaf3925da568: Waiting [2022-10-13T16:26:34.472Z] 4872d77fe225: Waiting [2022-10-13T16:26:34.472Z] bde34c3a00c8: Waiting [2022-10-13T16:26:34.472Z] b352a97aabf1: Waiting [2022-10-13T16:26:34.472Z] 5851b861e8e6: Waiting [2022-10-13T16:26:34.472Z] 1469e6f7b9e6: Waiting [2022-10-13T16:26:34.472Z] e2be974225ed: Verifying Checksum [2022-10-13T16:26:34.472Z] e2be974225ed: Download complete [2022-10-13T16:26:34.472Z] 988bab9f4d93: Verifying Checksum [2022-10-13T16:26:34.472Z] 988bab9f4d93: Download complete [2022-10-13T16:26:34.472Z] 339a4e72a1f5: Download complete [2022-10-13T16:26:34.472Z] 1469e6f7b9e6: Verifying Checksum [2022-10-13T16:26:34.472Z] 1469e6f7b9e6: Download complete [2022-10-13T16:26:34.472Z] eaf3925da568: Download complete [2022-10-13T16:26:34.472Z] bde34c3a00c8: Verifying Checksum [2022-10-13T16:26:34.472Z] bde34c3a00c8: Download complete [2022-10-13T16:26:34.731Z] b352a97aabf1: Verifying Checksum [2022-10-13T16:26:34.731Z] b352a97aabf1: Download complete [2022-10-13T16:26:34.731Z] 4872d77fe225: Verifying Checksum [2022-10-13T16:26:34.731Z] 4872d77fe225: Download complete [2022-10-13T16:26:34.731Z] 5851b861e8e6: Verifying Checksum [2022-10-13T16:26:34.731Z] 5851b861e8e6: Download complete [2022-10-13T16:26:34.731Z] b85a868b505f: Verifying Checksum [2022-10-13T16:26:34.731Z] b85a868b505f: Download complete [2022-10-13T16:26:35.015Z] bab4dde63d76: Verifying Checksum [2022-10-13T16:26:35.015Z] bab4dde63d76: Download complete [2022-10-13T16:26:35.955Z] b85a868b505f: Pull complete [2022-10-13T16:26:36.544Z] e2be974225ed: Pull complete [2022-10-13T16:26:37.121Z] 339a4e72a1f5: Pull complete [2022-10-13T16:26:37.380Z] 988bab9f4d93: Pull complete [2022-10-13T16:26:37.641Z] 1469e6f7b9e6: Pull complete [2022-10-13T16:26:37.902Z] eaf3925da568: Pull complete [2022-10-13T16:26:40.446Z] bab4dde63d76: Pull complete [2022-10-13T16:26:40.446Z] bde34c3a00c8: Pull complete [2022-10-13T16:26:40.706Z] b352a97aabf1: Pull complete [2022-10-13T16:26:40.706Z] 4872d77fe225: Pull complete [2022-10-13T16:26:40.966Z] 5851b861e8e6: Pull complete [2022-10-13T16:26:41.226Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-13T16:26:41.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T16:26:41.226Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:26:41.308Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:26:41.339Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-13T16:26:47.468Z] $ docker top 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 -eo pid,comm [2022-10-13T16:26:47.533Z] 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-10-13T16:26:47.533Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-13T16:26:47.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T16:26:47.566Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T16:26:47.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T16:26:47.694Z] $ docker exec 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 ssh-agent [2022-10-13T16:26:47.825Z] SSH_AUTH_SOCK=/tmp/ssh-9oOc3N0CKWIr/agent.14 [2022-10-13T16:26:47.826Z] SSH_AGENT_PID=20 [2022-10-13T16:26:47.832Z] Running ssh-add (command line suppressed) [2022-10-13T16:26:47.941Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17817937819535953396.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17817937819535953396.key) [2022-10-13T16:26:47.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T16:26:48.256Z] + git tag --points-at HEAD [Pipeline] } [2022-10-13T16:26:48.271Z] $ docker exec --env ******** --env ******** 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 ssh-agent -k [2022-10-13T16:26:48.376Z] unset SSH_AUTH_SOCK; [2022-10-13T16:26:48.376Z] unset SSH_AGENT_PID; [2022-10-13T16:26:48.376Z] echo Agent pid 20 killed; [2022-10-13T16:26:48.386Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-13T16:26:48.411Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T16:26:48.411Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T16:26:48.538Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T16:26:48.540Z] $ docker exec 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 ssh-agent [2022-10-13T16:26:48.667Z] SSH_AUTH_SOCK=/tmp/ssh-i4VWXDUerpXD/agent.59 [2022-10-13T16:26:48.667Z] SSH_AGENT_PID=76 [2022-10-13T16:26:48.674Z] Running ssh-add (command line suppressed) [2022-10-13T16:26:48.786Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16865737472552594594.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16865737472552594594.key) [2022-10-13T16:26:48.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T16:26:49.083Z] + git semver init [2022-10-13T16:26:49.343Z] 2022-10-13 16:26:49,267 [run_init] DEBUG init version:0.0.0 force:False [2022-10-13T16:26:49.343Z] 2022-10-13 16:26:49,268 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-10-13T16:26:49.343Z] 2022-10-13 16:26:49,268 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-10-13T16:26:49.343Z] 2022-10-13 16:26:49,268 [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-10-13T16:26:50.723Z] 2022-10-13 16:26:50,415 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-10-13T16:26:50.723Z] 2022-10-13 16:26:50,415 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-10-13T16:26:50.723Z] 2022-10-13 16:26:50,415 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-13T16:26:50.723Z] 2022-10-13 16:26:50,416 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-13T16:26:50.723Z] 2.3.0-dev.40 [Pipeline] } [2022-10-13T16:26:50.732Z] $ docker exec --env ******** --env ******** 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 ssh-agent -k [2022-10-13T16:26:50.835Z] unset SSH_AUTH_SOCK; [2022-10-13T16:26:50.836Z] unset SSH_AGENT_PID; [2022-10-13T16:26:50.836Z] echo Agent pid 76 killed; [2022-10-13T16:26:50.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-13T16:26:51.146Z] + git semver [Pipeline] } [2022-10-13T16:26:51.418Z] $ docker stop --time=1 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 [2022-10-13T16:26:53.196Z] $ docker rm -f 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T16:26:53.616Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-13T16:26:53.829Z] Stashed 1 file(s) [Pipeline] echo [2022-10-13T16:26:53.831Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.40 [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-10-13T16:26:54.029Z] provisioning config files... [2022-10-13T16:26:54.040Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config119027882023424381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:26:54.336Z] ---> docker-login.sh [2022-10-13T16:26:54.336Z] nexus3.edgexfoundry.org:10001 [2022-10-13T16:26:54.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:54.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:54.336Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:54.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:54.336Z] [2022-10-13T16:26:54.336Z] Login Succeeded [2022-10-13T16:26:54.336Z] nexus3.edgexfoundry.org:10002 [2022-10-13T16:26:54.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:54.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:54.336Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:54.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:54.336Z] [2022-10-13T16:26:54.336Z] Login Succeeded [2022-10-13T16:26:54.336Z] nexus3.edgexfoundry.org:10003 [2022-10-13T16:26:54.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:54.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:54.596Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:54.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:54.596Z] [2022-10-13T16:26:54.596Z] Login Succeeded [2022-10-13T16:26:54.596Z] nexus3.edgexfoundry.org:10004 [2022-10-13T16:26:54.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:54.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:54.596Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:54.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:54.596Z] [2022-10-13T16:26:54.596Z] Login Succeeded [2022-10-13T16:26:54.596Z] docker.io [2022-10-13T16:26:54.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:26:55.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:26:55.117Z] Configure a credential helper to remove this warning. See [2022-10-13T16:26:55.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:26:55.117Z] [2022-10-13T16:26:55.117Z] Login Succeeded [2022-10-13T16:26:55.117Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T16:26:55.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T16:26:55.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T16:26:55.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T16:26:55.222Z] ========================================================= [2022-10-13T16:26:55.222Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-13T16:26:55.222Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:26:55.534Z] + 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-10-13T16:26:55.534Z] Sending build context to Docker daemon 9.985MB [2022-10-13T16:26:55.534Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T16:26:55.534Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-13T16:26:55.793Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-13T16:26:55.794Z] 213ec9aee27d: Pulling fs layer [2022-10-13T16:26:55.794Z] 4583459ba037: Pulling fs layer [2022-10-13T16:26:55.794Z] 93c1e223e6f2: Pulling fs layer [2022-10-13T16:26:55.794Z] 53926ce57604: Pulling fs layer [2022-10-13T16:26:55.794Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-13T16:26:55.794Z] 30f14e443154: Pulling fs layer [2022-10-13T16:26:55.794Z] 801331c1e519: Pulling fs layer [2022-10-13T16:26:55.794Z] 99cc6dd402b0: Pulling fs layer [2022-10-13T16:26:55.794Z] 7d9ed39f4882: Pulling fs layer [2022-10-13T16:26:55.794Z] 53926ce57604: Waiting [2022-10-13T16:26:55.794Z] 21b2b0c7a3f4: Waiting [2022-10-13T16:26:55.794Z] 30f14e443154: Waiting [2022-10-13T16:26:55.794Z] 801331c1e519: Waiting [2022-10-13T16:26:55.794Z] 99cc6dd402b0: Waiting [2022-10-13T16:26:55.794Z] 7d9ed39f4882: Waiting [2022-10-13T16:26:55.794Z] 93c1e223e6f2: Verifying Checksum [2022-10-13T16:26:55.794Z] 93c1e223e6f2: Download complete [2022-10-13T16:26:55.794Z] 4583459ba037: Download complete [2022-10-13T16:26:55.794Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-13T16:26:55.794Z] 21b2b0c7a3f4: Download complete [2022-10-13T16:26:55.794Z] 30f14e443154: Verifying Checksum [2022-10-13T16:26:55.794Z] 30f14e443154: Download complete [2022-10-13T16:26:55.794Z] 213ec9aee27d: Verifying Checksum [2022-10-13T16:26:55.794Z] 213ec9aee27d: Download complete [2022-10-13T16:26:55.794Z] 801331c1e519: Download complete [2022-10-13T16:26:55.794Z] 213ec9aee27d: Pull complete [2022-10-13T16:26:56.058Z] 4583459ba037: Pull complete [2022-10-13T16:26:56.058Z] 93c1e223e6f2: Pull complete [2022-10-13T16:26:56.319Z] 7d9ed39f4882: Verifying Checksum [2022-10-13T16:26:56.319Z] 7d9ed39f4882: Download complete [2022-10-13T16:26:56.319Z] 99cc6dd402b0: Verifying Checksum [2022-10-13T16:26:56.319Z] 99cc6dd402b0: Download complete [2022-10-13T16:26:56.577Z] 53926ce57604: Verifying Checksum [2022-10-13T16:26:56.577Z] 53926ce57604: Download complete [2022-10-13T16:26:59.859Z] 53926ce57604: Pull complete [2022-10-13T16:27:00.120Z] 21b2b0c7a3f4: Pull complete [2022-10-13T16:27:00.120Z] 30f14e443154: Pull complete [2022-10-13T16:27:00.120Z] 801331c1e519: Pull complete [2022-10-13T16:27:02.651Z] 99cc6dd402b0: Pull complete [2022-10-13T16:27:03.218Z] 7d9ed39f4882: Pull complete [2022-10-13T16:27:03.218Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-13T16:27:03.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-13T16:27:03.477Z] ---> 1dedd983c030 [2022-10-13T16:27:03.477Z] Step 3/11 : ARG MAKE=make build [2022-10-13T16:27:08.751Z] ---> Running in 00631581620b [2022-10-13T16:27:08.751Z] Removing intermediate container 00631581620b [2022-10-13T16:27:08.751Z] ---> 8152de033f0e [2022-10-13T16:27:08.751Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-13T16:27:08.999Z] Still waiting to schedule task [2022-10-13T16:27:09.000Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-13T16:27:09.009Z] ---> Running in bf48f98fd407 [2022-10-13T16:27:09.009Z] Removing intermediate container bf48f98fd407 [2022-10-13T16:27:09.009Z] ---> 07bc66f10613 [2022-10-13T16:27:09.009Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T16:27:09.009Z] ---> Running in b5669e7ef6a4 [2022-10-13T16:27:09.267Z] Removing intermediate container b5669e7ef6a4 [2022-10-13T16:27:09.267Z] ---> f631d17bc039 [2022-10-13T16:27:09.267Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T16:27:09.267Z] ---> Running in 120175b9fb1a [2022-10-13T16:27:09.833Z] Removing intermediate container 120175b9fb1a [2022-10-13T16:27:09.833Z] ---> 7b4a8cb7cad5 [2022-10-13T16:27:09.833Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T16:27:09.833Z] ---> Running in 672eeb130f44 [2022-10-13T16:27:10.092Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T16:27:11.026Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T16:27:11.285Z] OK: 211 MiB in 51 packages [2022-10-13T16:27:11.852Z] Removing intermediate container 672eeb130f44 [2022-10-13T16:27:11.852Z] ---> db504dda499a [2022-10-13T16:27:11.852Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-13T16:27:11.852Z] ---> be04726e6c36 [2022-10-13T16:27:11.852Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T16:27:12.109Z] ---> Running in 6ea6d5bda996 [2022-10-13T16:27:38.658Z] Removing intermediate container 6ea6d5bda996 [2022-10-13T16:27:38.658Z] ---> d3f7acad9cd1 [2022-10-13T16:27:38.658Z] Step 10/11 : COPY . . [2022-10-13T16:27:38.658Z] ---> 5b389c7c77a6 [2022-10-13T16:27:38.658Z] Step 11/11 : RUN ${MAKE} [2022-10-13T16:27:38.658Z] ---> Running in 9eacb0ca8b83 [2022-10-13T16:27:38.658Z] noop [2022-10-13T16:27:38.658Z] Removing intermediate container 9eacb0ca8b83 [2022-10-13T16:27:38.658Z] ---> e9c99fd6aed3 [2022-10-13T16:27:38.658Z] Successfully built e9c99fd6aed3 [2022-10-13T16:27:38.658Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:27:38.963Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T16:27:38.963Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:27:39.029Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:27:39.063Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-13T16:27:39.472Z] $ docker top c24fe20acc2978a8f6d3e82bfc1f203ab708704d6054a684107071864c2254bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T16:27:39.807Z] + go version [2022-10-13T16:27:39.807Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-13T16:27:39.824Z] $ docker stop --time=1 c24fe20acc2978a8f6d3e82bfc1f203ab708704d6054a684107071864c2254bf [2022-10-13T16:27:41.128Z] $ docker rm -f c24fe20acc2978a8f6d3e82bfc1f203ab708704d6054a684107071864c2254bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:27:41.520Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T16:27:41.520Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:27:41.589Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:27:41.624Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-13T16:27:41.988Z] $ docker top 2cc17894db6f6d04af882a8abcb4300d1eb0c738be4be411527c21df961f3ae1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T16:27:42.321Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-10-13T16:27:42.614Z] + make test [2022-10-13T16:27:42.614Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-13T16:27:49.176Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-13T16:28:04.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-10-13T16:28:04.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-13T16:28:04.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.080s coverage: 60.0% of statements [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-13T16:28:04.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-13T16:28:04.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 65.1% of statements [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-13T16:28:04.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.745s coverage: 89.2% of statements [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-13T16:28:04.034Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-10-13T16:28:04.034Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-13T16:28:22.108Z] 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-10-13T16:28:22.108Z] GO111MODULE=on go vet ./... [2022-10-13T16:28:22.680Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T16:28:22.940Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T16:28:22.940Z] ./bin/test-attribution-txt.sh [2022-10-13T16:28:22.940Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-13T16:28:22.940Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-13T16:28:22.940Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-13T16:28:22.940Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-13T16:28:23.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T16:28:23.042Z] $ docker stop --time=1 2cc17894db6f6d04af882a8abcb4300d1eb0c738be4be411527c21df961f3ae1 [2022-10-13T16:28:27.012Z] $ docker rm -f 2cc17894db6f6d04af882a8abcb4300d1eb0c738be4be411527c21df961f3ae1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T16:28:27.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T16:28:27.596Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-13T16:28:28.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T16:28:28.389Z] + ls -al . [2022-10-13T16:28:28.389Z] total 276 [2022-10-13T16:28:28.389Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 16:27 . [2022-10-13T16:28:28.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 16:26 .. [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 16:26 .dockerignore [2022-10-13T16:28:28.389Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 16:28 .git [2022-10-13T16:28:28.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 16:26 .github [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 16:26 .gitignore [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 16:26 .golangci.yml [2022-10-13T16:28:28.389Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 16:26 .semver [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 16:26 CHANGELOG.md [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 16:26 GOVERNANCE.md [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 16:26 Jenkinsfile [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 16:26 LICENSE [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 16:26 Makefile [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 16:26 OWNERS.md [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 16:26 README.md [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 16:26 VERSION [2022-10-13T16:28:28.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 16:26 bin [2022-10-13T16:28:28.389Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 16:28 coverage.out [2022-10-13T16:28:28.389Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 16:26 example [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 16:26 go.mod [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 16:26 go.sum [2022-10-13T16:28:28.389Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 16:26 internal [2022-10-13T16:28:28.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 16:26 openapi [2022-10-13T16:28:28.389Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 16:26 pkg [2022-10-13T16:28:28.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 16:26 snap [2022-10-13T16:28:28.389Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 16:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:28:28.723Z] + 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=67986f5e85a843a874e3bc4d59755e1036e07d38 --label arch=amd64 --label version=2.3.0-dev.40 . [2022-10-13T16:28:28.723Z] Sending build context to Docker daemon 10.09MB [2022-10-13T16:28:28.723Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T16:28:28.723Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-13T16:28:28.723Z] ---> e9c99fd6aed3 [2022-10-13T16:28:28.723Z] Step 3/25 : ARG MAKE=make build [2022-10-13T16:28:28.982Z] ---> Running in ab4eaa5b313a [2022-10-13T16:28:28.982Z] Removing intermediate container ab4eaa5b313a [2022-10-13T16:28:28.982Z] ---> bf12515e7251 [2022-10-13T16:28:28.982Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-13T16:28:28.982Z] ---> Running in 132bc99b910d [2022-10-13T16:28:29.240Z] Removing intermediate container 132bc99b910d [2022-10-13T16:28:29.240Z] ---> 087e8972fb20 [2022-10-13T16:28:29.240Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T16:28:29.240Z] ---> Running in 818d5fd68c9b [2022-10-13T16:28:29.240Z] Removing intermediate container 818d5fd68c9b [2022-10-13T16:28:29.240Z] ---> 265ab629603e [2022-10-13T16:28:29.240Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T16:28:29.240Z] ---> Running in cda2640b6d3e [2022-10-13T16:28:29.809Z] Removing intermediate container cda2640b6d3e [2022-10-13T16:28:29.809Z] ---> 0919951c595a [2022-10-13T16:28:29.809Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T16:28:29.809Z] ---> Running in 4fba15c15817 [2022-10-13T16:28:30.067Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T16:28:31.004Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T16:28:31.263Z] OK: 211 MiB in 51 packages [2022-10-13T16:28:31.522Z] Removing intermediate container 4fba15c15817 [2022-10-13T16:28:31.522Z] ---> e3196c0a58e9 [2022-10-13T16:28:31.522Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-13T16:28:31.781Z] ---> 252f3fbb1342 [2022-10-13T16:28:31.781Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T16:28:31.781Z] ---> Running in 1fcd5896023d [2022-10-13T16:28:32.349Z] Removing intermediate container 1fcd5896023d [2022-10-13T16:28:32.349Z] ---> df7044c42f28 [2022-10-13T16:28:32.349Z] Step 10/25 : COPY . . [2022-10-13T16:28:32.949Z] ---> 2f2cdf3fa6e1 [2022-10-13T16:28:32.949Z] Step 11/25 : RUN ${MAKE} [2022-10-13T16:28:33.228Z] ---> Running in 539c0d1a80ac [2022-10-13T16:28:33.508Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.40" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-13T16:28:34.942Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7820 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-10-13T16:28:34.952Z] Running in /w/workspace/device-sdk-go/115 [Pipeline] { [Pipeline] checkout [2022-10-13T16:28:34.980Z] The recommended git tool is: git [2022-10-13T16:28:39.828Z] using credential edgex-jenkins-ssh [2022-10-13T16:28:39.843Z] Cloning the remote Git repository [2022-10-13T16:28:39.885Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T16:28:39.959Z] > git init /w/workspace/device-sdk-go/115 # timeout=10 [2022-10-13T16:28:40.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T16:28:40.093Z] > git --version # timeout=10 [2022-10-13T16:28:40.111Z] > git --version # 'git version 2.25.1' [2022-10-13T16:28:40.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T16:28:40.162Z] Verifying host key using known hosts file [2022-10-13T16:28:40.358Z] 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-10-13T16:28:40.372Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T16:28:41.885Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-13T16:28:41.909Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T16:28:42.671Z] Avoid second fetch [2022-10-13T16:28:42.672Z] Checking out Revision 67986f5e85a843a874e3bc4d59755e1036e07d38 (main) [2022-10-13T16:28:43.144Z] Commit message: "Merge pull request #1236 from hahattan/issue-1235" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T16:28:42.689Z] > git config core.sparsecheckout # timeout=10 [2022-10-13T16:28:42.705Z] > git checkout -f 67986f5e85a843a874e3bc4d59755e1036e07d38 # timeout=10 [2022-10-13T16:28:44.103Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-13T16:28:44.103Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T16:28:44.103Z] Dload Upload Total Spent Left Speed [2022-10-13T16:28:44.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 95469 0 --:--:-- --:--:-- --:--:-- 95469 [Pipeline] sh [2022-10-13T16:28:44.720Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-13T16:28:45.048Z] + sudo tee /etc/docker/daemon.new [2022-10-13T16:28:45.048Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-13T16:28:45.048Z] { [2022-10-13T16:28:45.048Z] "registry-mirrors": [ [2022-10-13T16:28:45.048Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-13T16:28:45.048Z] ], [2022-10-13T16:28:45.048Z] "bip": "10.250.0.254/24", [2022-10-13T16:28:45.048Z] "hosts": [ [2022-10-13T16:28:45.048Z] "tcp://0.0.0.0:5555", [2022-10-13T16:28:45.048Z] "unix:///var/run/docker.sock" [2022-10-13T16:28:45.048Z] ], [2022-10-13T16:28:45.048Z] "mtu": 1458, [2022-10-13T16:28:45.048Z] "selinux-enabled": true, [2022-10-13T16:28:45.048Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-13T16:28:45.048Z] } [Pipeline] sh [2022-10-13T16:28:45.378Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-13T16:28:45.707Z] + sudo service docker restart [2022-10-13T16:28:51.798Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-13T16:28:57.089Z] Removing intermediate container 539c0d1a80ac [2022-10-13T16:28:57.089Z] ---> b09cd22dfa5c [2022-10-13T16:28:57.089Z] Step 12/25 : FROM alpine:3.16 [2022-10-13T16:28:57.347Z] 3.16: Pulling from library/alpine [2022-10-13T16:28:57.606Z] 213ec9aee27d: Already exists [2022-10-13T16:28:57.606Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T16:28:57.606Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T16:28:57.606Z] ---> 9c6f07244728 [2022-10-13T16:28:57.606Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T16:28:57.865Z] ---> Running in 757df7a92494 [2022-10-13T16:28:57.865Z] Removing intermediate container 757df7a92494 [2022-10-13T16:28:57.865Z] ---> b8e14fd56498 [2022-10-13T16:28:57.865Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T16:28:57.865Z] ---> Running in 5789ad90b3a5 [2022-10-13T16:28:58.433Z] Removing intermediate container 5789ad90b3a5 [2022-10-13T16:28:58.433Z] ---> 843892286af7 [2022-10-13T16:28:58.433Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-13T16:28:58.433Z] ---> Running in ef2d252d513c [2022-10-13T16:28:58.691Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T16:28:59.627Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T16:28:59.886Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T16:28:59.886Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-13T16:29:00.145Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T16:29:00.146Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-13T16:29:00.146Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-13T16:29:00.409Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T16:29:00.409Z] OK: 8 MiB in 19 packages [2022-10-13T16:29:00.672Z] Removing intermediate container ef2d252d513c [2022-10-13T16:29:00.672Z] ---> 0cb3f6839b97 [2022-10-13T16:29:00.672Z] Step 16/25 : WORKDIR / [2022-10-13T16:29:00.672Z] ---> Running in 8c65109ad2f4 [2022-10-13T16:29:00.930Z] Removing intermediate container 8c65109ad2f4 [2022-10-13T16:29:00.930Z] ---> 6156fc173bc4 [2022-10-13T16:29:00.930Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-13T16:29:00.930Z] ---> 69aca3ac51f3 [2022-10-13T16:29:00.930Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-13T16:29:02.305Z] ---> f1c12d319f5d [2022-10-13T16:29:02.305Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-13T16:29:02.305Z] ---> 46d70e92a152 [2022-10-13T16:29:02.305Z] Step 20/25 : EXPOSE 59999 [2022-10-13T16:29:02.305Z] ---> Running in 6d688fa74b18 [2022-10-13T16:29:02.305Z] Removing intermediate container 6d688fa74b18 [2022-10-13T16:29:02.305Z] ---> 59b55427b1c7 [2022-10-13T16:29:02.305Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-13T16:29:02.305Z] ---> Running in f5ff13046eda [2022-10-13T16:29:02.305Z] Removing intermediate container f5ff13046eda [2022-10-13T16:29:02.305Z] ---> dc4f99175a34 [2022-10-13T16:29:02.305Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T16:29:02.305Z] ---> Running in 077b06d6b191 [2022-10-13T16:29:02.569Z] Removing intermediate container 077b06d6b191 [2022-10-13T16:29:02.569Z] ---> a1e55c7a0cc1 [2022-10-13T16:29:02.569Z] Step 23/25 : LABEL arch=amd64 [2022-10-13T16:29:02.569Z] ---> Running in 8ab75e9f3dcd [2022-10-13T16:29:02.569Z] Removing intermediate container 8ab75e9f3dcd [2022-10-13T16:29:02.569Z] ---> 44c56a857e58 [2022-10-13T16:29:02.569Z] Step 24/25 : LABEL git_sha=67986f5e85a843a874e3bc4d59755e1036e07d38 [2022-10-13T16:29:02.569Z] ---> Running in d5afb5f79fa6 [2022-10-13T16:29:02.569Z] Removing intermediate container d5afb5f79fa6 [2022-10-13T16:29:02.569Z] ---> 0db55de3bc61 [2022-10-13T16:29:02.569Z] Step 25/25 : LABEL version=2.3.0-dev.40 [2022-10-13T16:29:02.834Z] ---> Running in 9083b8d505e4 [2022-10-13T16:29:02.834Z] Removing intermediate container 9083b8d505e4 [2022-10-13T16:29:02.834Z] ---> ef9b14a10120 [2022-10-13T16:29:02.834Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T16:29:02.834Z] Successfully built ef9b14a10120 [2022-10-13T16:29:02.834Z] 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-10-13T16:29:03.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T16:29:03.322Z] [2022-10-13T16:29:03.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:29:03.632Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T16:29:03.632Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-13T16:29:03.632Z] 5eb5b503b376: Pulling fs layer [2022-10-13T16:29:03.632Z] 5c69ac0246d0: Pulling fs layer [2022-10-13T16:29:03.632Z] ec43610c2a17: Pulling fs layer [2022-10-13T16:29:03.632Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-13T16:29:03.632Z] 33b1e0a273af: Pulling fs layer [2022-10-13T16:29:03.632Z] 5d3b04190fa2: Pulling fs layer [2022-10-13T16:29:03.632Z] 2f39f015ded8: Pulling fs layer [2022-10-13T16:29:03.632Z] 3a2ae6a8a46f: Waiting [2022-10-13T16:29:03.632Z] 2f39f015ded8: Waiting [2022-10-13T16:29:03.632Z] 33b1e0a273af: Waiting [2022-10-13T16:29:03.632Z] 5d3b04190fa2: Waiting [2022-10-13T16:29:03.632Z] 5c69ac0246d0: Download complete [2022-10-13T16:29:03.632Z] 3a2ae6a8a46f: Download complete [2022-10-13T16:29:03.891Z] 33b1e0a273af: Verifying Checksum [2022-10-13T16:29:03.891Z] 33b1e0a273af: Download complete [2022-10-13T16:29:03.891Z] 5d3b04190fa2: Verifying Checksum [2022-10-13T16:29:03.891Z] 5d3b04190fa2: Download complete [2022-10-13T16:29:03.891Z] ec43610c2a17: Verifying Checksum [2022-10-13T16:29:03.891Z] ec43610c2a17: Download complete [2022-10-13T16:29:03.891Z] 5eb5b503b376: Verifying Checksum [2022-10-13T16:29:03.891Z] 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T16:29:03.967Z] provisioning config files... [2022-10-13T16:29:03.994Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/115@tmp/config11325598202409456134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:29:04.359Z] ---> docker-login.sh [2022-10-13T16:29:04.359Z] nexus3.edgexfoundry.org:10001 [2022-10-13T16:29:04.459Z] 2f39f015ded8: Download complete [2022-10-13T16:29:04.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:29:04.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:29:04.920Z] Configure a credential helper to remove this warning. See [2022-10-13T16:29:04.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:29:04.920Z] [2022-10-13T16:29:04.920Z] Login Succeeded [2022-10-13T16:29:04.920Z] nexus3.edgexfoundry.org:10002 [2022-10-13T16:29:05.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:29:05.398Z] 5eb5b503b376: Pull complete [2022-10-13T16:29:05.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:29:05.463Z] Configure a credential helper to remove this warning. See [2022-10-13T16:29:05.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:29:05.463Z] [2022-10-13T16:29:05.463Z] Login Succeeded [2022-10-13T16:29:05.463Z] nexus3.edgexfoundry.org:10003 [2022-10-13T16:29:05.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:29:05.658Z] 5c69ac0246d0: Pull complete [2022-10-13T16:29:05.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:29:05.734Z] Configure a credential helper to remove this warning. See [2022-10-13T16:29:05.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:29:05.734Z] [2022-10-13T16:29:05.734Z] Login Succeeded [2022-10-13T16:29:05.734Z] nexus3.edgexfoundry.org:10004 [2022-10-13T16:29:06.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:29:06.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:29:06.004Z] Configure a credential helper to remove this warning. See [2022-10-13T16:29:06.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:29:06.004Z] [2022-10-13T16:29:06.004Z] Login Succeeded [2022-10-13T16:29:06.004Z] docker.io [2022-10-13T16:29:06.227Z] ec43610c2a17: Pull complete [2022-10-13T16:29:06.227Z] 3a2ae6a8a46f: Pull complete [2022-10-13T16:29:06.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T16:29:06.486Z] 33b1e0a273af: Pull complete [2022-10-13T16:29:06.486Z] 5d3b04190fa2: Pull complete [2022-10-13T16:29:06.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T16:29:06.859Z] Configure a credential helper to remove this warning. See [2022-10-13T16:29:06.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T16:29:06.859Z] [2022-10-13T16:29:06.859Z] Login Succeeded [2022-10-13T16:29:06.859Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T16:29:06.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T16:29:07.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T16:29:07.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T16:29:07.041Z] ========================================================= [2022-10-13T16:29:07.041Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-13T16:29:07.041Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:29:07.380Z] + 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-10-13T16:29:07.660Z] Sending build context to Docker daemon 5.363MB [2022-10-13T16:29:07.660Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T16:29:07.660Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-13T16:29:07.929Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-13T16:29:07.929Z] 9b18e9b68314: Pulling fs layer [2022-10-13T16:29:07.929Z] d32db5db7311: Pulling fs layer [2022-10-13T16:29:07.929Z] d0c4b47475fc: Pulling fs layer [2022-10-13T16:29:07.929Z] 5831b945b038: Pulling fs layer [2022-10-13T16:29:07.929Z] 86bbec2aaacd: Pulling fs layer [2022-10-13T16:29:07.929Z] e10730c5d714: Pulling fs layer [2022-10-13T16:29:07.929Z] 5dd5c2283517: Pulling fs layer [2022-10-13T16:29:07.929Z] d5ac0230b979: Pulling fs layer [2022-10-13T16:29:07.929Z] e10730c5d714: Waiting [2022-10-13T16:29:07.929Z] 5dd5c2283517: Waiting [2022-10-13T16:29:07.929Z] d5ac0230b979: Waiting [2022-10-13T16:29:07.929Z] 5831b945b038: Waiting [2022-10-13T16:29:07.929Z] 86bbec2aaacd: Waiting [2022-10-13T16:29:07.929Z] d0c4b47475fc: Verifying Checksum [2022-10-13T16:29:07.929Z] d0c4b47475fc: Download complete [2022-10-13T16:29:07.929Z] d32db5db7311: Verifying Checksum [2022-10-13T16:29:07.929Z] d32db5db7311: Download complete [2022-10-13T16:29:07.929Z] 86bbec2aaacd: Download complete [2022-10-13T16:29:07.929Z] e10730c5d714: Verifying Checksum [2022-10-13T16:29:07.929Z] e10730c5d714: Download complete [2022-10-13T16:29:07.929Z] 9b18e9b68314: Verifying Checksum [2022-10-13T16:29:07.929Z] 9b18e9b68314: Download complete [2022-10-13T16:29:10.103Z] 9b18e9b68314: Pull complete [2022-10-13T16:29:10.386Z] d5ac0230b979: Verifying Checksum [2022-10-13T16:29:10.386Z] d5ac0230b979: Download complete [2022-10-13T16:29:10.386Z] 5dd5c2283517: Verifying Checksum [2022-10-13T16:29:10.978Z] d32db5db7311: Pull complete [2022-10-13T16:29:10.978Z] d0c4b47475fc: Pull complete [2022-10-13T16:29:11.259Z] 5831b945b038: Verifying Checksum [2022-10-13T16:29:11.259Z] 5831b945b038: Download complete [2022-10-13T16:29:11.806Z] 2f39f015ded8: Pull complete [2022-10-13T16:29:11.806Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-13T16:29:11.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T16:29:11.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:29:11.894Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:29:11.926Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-13T16:29:15.737Z] $ docker top 28cdf1f5f025ce228cbd10ccfb00ed4934d66f0c59836ce49d87982daa9af44c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:29:16.135Z] ---> job-cost.sh [2022-10-13T16:29:16.135Z] lf-activate-venv: SKIPPING [2022-10-13T16:29:16.135Z] INFO: No Stack... [2022-10-13T16:29:16.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T16:29:16.993Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T16:29:17.281Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-10-13T16:29:17.281Z] + cut -d, -f6 [Pipeline] lock [2022-10-13T16:29:17.294Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [2022-10-13T16:29:17.305Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] did not exist. Created. [2022-10-13T16:29:17.306Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T16:29:17.609Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-13T16:29:17.648Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T16:29:17.654Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T16:29:17.677Z] $ docker stop --time=1 28cdf1f5f025ce228cbd10ccfb00ed4934d66f0c59836ce49d87982daa9af44c [2022-10-13T16:29:18.854Z] $ docker rm -f 28cdf1f5f025ce228cbd10ccfb00ed4934d66f0c59836ce49d87982daa9af44c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-13T16:29:23.671Z] 5831b945b038: Pull complete [2022-10-13T16:29:23.671Z] 86bbec2aaacd: Pull complete [2022-10-13T16:29:23.671Z] e10730c5d714: Pull complete [2022-10-13T16:29:30.322Z] 5dd5c2283517: Pull complete [2022-10-13T16:29:31.285Z] d5ac0230b979: Pull complete [2022-10-13T16:29:31.285Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-13T16:29:31.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-13T16:29:31.285Z] ---> 59b3b1a385d4 [2022-10-13T16:29:31.285Z] Step 3/11 : ARG MAKE=make build [2022-10-13T16:29:33.239Z] ---> Running in 0b5cd15969d1 [2022-10-13T16:29:33.511Z] Removing intermediate container 0b5cd15969d1 [2022-10-13T16:29:33.511Z] ---> 424bbe765aae [2022-10-13T16:29:33.511Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-13T16:29:33.511Z] ---> Running in 04b59d689b1f [2022-10-13T16:29:33.781Z] Removing intermediate container 04b59d689b1f [2022-10-13T16:29:33.781Z] ---> 31f3ed46dc05 [2022-10-13T16:29:33.782Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T16:29:34.053Z] ---> Running in d6ecf9bbc549 [2022-10-13T16:29:34.321Z] Removing intermediate container d6ecf9bbc549 [2022-10-13T16:29:34.321Z] ---> 1d33bc44517a [2022-10-13T16:29:34.321Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T16:29:34.321Z] ---> Running in e58dbf8f4d66 [2022-10-13T16:29:36.277Z] Removing intermediate container e58dbf8f4d66 [2022-10-13T16:29:36.277Z] ---> 133fcfef90ba [2022-10-13T16:29:36.277Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T16:29:36.277Z] ---> Running in f330419e8a8b [2022-10-13T16:29:37.241Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T16:29:37.822Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T16:29:38.783Z] OK: 221 MiB in 51 packages [2022-10-13T16:29:39.827Z] Removing intermediate container f330419e8a8b [2022-10-13T16:29:39.827Z] ---> 754f6dafc525 [2022-10-13T16:29:39.827Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-13T16:29:40.113Z] ---> b0c00397d814 [2022-10-13T16:29:40.113Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T16:29:40.383Z] ---> Running in 66514c08fd5a [2022-10-13T16:30:36.820Z] Removing intermediate container 66514c08fd5a [2022-10-13T16:30:36.820Z] ---> 9b2d7f797c7a [2022-10-13T16:30:36.820Z] Step 10/11 : COPY . . [2022-10-13T16:30:36.820Z] ---> ee79a89b0dbd [2022-10-13T16:30:36.820Z] Step 11/11 : RUN ${MAKE} [2022-10-13T16:30:36.820Z] ---> Running in a234a96d74d2 [2022-10-13T16:30:36.820Z] noop [2022-10-13T16:30:36.820Z] Removing intermediate container a234a96d74d2 [2022-10-13T16:30:36.820Z] ---> 76a6326e0cde [2022-10-13T16:30:36.820Z] Successfully built 76a6326e0cde [2022-10-13T16:30:36.820Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:30:37.166Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T16:30:37.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:30:37.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-7820 does not seem to be running inside a container [2022-10-13T16:30:37.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@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-10-13T16:30:38.561Z] $ docker top 8d0daf4653244654afc3cefa73f33fffc24924ff221e5a164eed072063315732 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T16:30:39.389Z] + go version [2022-10-13T16:30:39.389Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-13T16:30:39.413Z] $ docker stop --time=1 8d0daf4653244654afc3cefa73f33fffc24924ff221e5a164eed072063315732 [2022-10-13T16:30:41.011Z] $ docker rm -f 8d0daf4653244654afc3cefa73f33fffc24924ff221e5a164eed072063315732 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:30:41.537Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T16:30:41.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:30:41.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-7820 does not seem to be running inside a container [2022-10-13T16:30:41.790Z] $ 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/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@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-10-13T16:30:42.904Z] $ docker top 9c9e51d21523895926690f981c9c4ab1bc6baec4db26fa0aebd4479075403316 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T16:30:43.389Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/115 [Pipeline] fileExists [Pipeline] sh [2022-10-13T16:30:43.714Z] + make test [2022-10-13T16:30:43.714Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-13T16:31:15.929Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-13T16:33:07.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-13T16:33:07.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-13T16:33:07.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-13T16:33:07.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-13T16:33:07.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-13T16:33:07.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.267s coverage: 27.6% of statements [2022-10-13T16:33:09.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.394s coverage: 78.9% of statements [2022-10-13T16:33:09.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-13T16:33:10.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.600s coverage: 60.0% of statements [2022-10-13T16:33:10.962Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-13T16:33:10.962Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-13T16:33:17.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.845s coverage: 54.4% of statements [2022-10-13T16:33:17.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-13T16:33:17.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-13T16:33:17.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-13T16:33:17.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-13T16:33:19.575Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.621s coverage: 65.1% of statements [2022-10-13T16:33:19.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-13T16:33:19.575Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-13T16:33:21.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.284s coverage: 89.2% of statements [2022-10-13T16:33:21.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-13T16:33:24.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.7% of statements [2022-10-13T16:33:24.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-13T16:33:24.701Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-13T16:33:24.701Z] GO111MODULE=on go vet ./... [2022-10-13T16:35:01.405Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T16:35:01.405Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T16:35:01.405Z] ./bin/test-attribution-txt.sh [2022-10-13T16:35:01.405Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-13T16:35:01.405Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-13T16:35:01.405Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-13T16:35:01.405Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-13T16:35:01.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T16:35:01.433Z] $ docker stop --time=1 9c9e51d21523895926690f981c9c4ab1bc6baec4db26fa0aebd4479075403316 [2022-10-13T16:35:03.321Z] $ docker rm -f 9c9e51d21523895926690f981c9c4ab1bc6baec4db26fa0aebd4479075403316 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T16:35:04.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T16:35:04.683Z] Warning: overwriting stash ‘coverage-report’ [2022-10-13T16:35:05.125Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T16:35:05.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T16:35:05.785Z] + ls -al . [2022-10-13T16:35:05.785Z] total 272 [2022-10-13T16:35:05.785Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 16:30 . [2022-10-13T16:35:05.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 16:28 .. [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 16:28 .dockerignore [2022-10-13T16:35:05.785Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 16:28 .git [2022-10-13T16:35:05.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 16:28 .github [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 16:28 .gitignore [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 16:28 .golangci.yml [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 16:28 CHANGELOG.md [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 16:28 GOVERNANCE.md [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 16:28 Jenkinsfile [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 16:28 LICENSE [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 16:28 Makefile [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 16:28 OWNERS.md [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 16:28 README.md [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 16:26 VERSION [2022-10-13T16:35:05.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 16:28 bin [2022-10-13T16:35:05.785Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 16:33 coverage.out [2022-10-13T16:35:05.785Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 16:28 example [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 16:28 go.mod [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 16:28 go.sum [2022-10-13T16:35:05.785Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 16:28 internal [2022-10-13T16:35:05.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 16:28 openapi [2022-10-13T16:35:05.785Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 16:28 pkg [2022-10-13T16:35:05.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 16:28 snap [2022-10-13T16:35:05.785Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 16:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:35:06.115Z] + 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=67986f5e85a843a874e3bc4d59755e1036e07d38 --label arch=arm64 --label version=2.3.0-dev.40 . [2022-10-13T16:35:06.381Z] Sending build context to Docker daemon 5.465MB [2022-10-13T16:35:06.381Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T16:35:06.381Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-13T16:35:06.381Z] ---> 76a6326e0cde [2022-10-13T16:35:06.381Z] Step 3/25 : ARG MAKE=make build [2022-10-13T16:35:06.649Z] ---> Running in 1563f0850787 [2022-10-13T16:35:06.917Z] Removing intermediate container 1563f0850787 [2022-10-13T16:35:06.917Z] ---> d09d73c34213 [2022-10-13T16:35:06.917Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-13T16:35:06.917Z] ---> Running in aba45c18b286 [2022-10-13T16:35:07.188Z] Removing intermediate container aba45c18b286 [2022-10-13T16:35:07.188Z] ---> 1eb58cfb9bdb [2022-10-13T16:35:07.188Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T16:35:07.454Z] ---> Running in 0241f85e97a7 [2022-10-13T16:35:07.722Z] Removing intermediate container 0241f85e97a7 [2022-10-13T16:35:07.722Z] ---> 7a031597571a [2022-10-13T16:35:07.722Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T16:35:07.722Z] ---> Running in da88f4436bdd [2022-10-13T16:35:09.130Z] Removing intermediate container da88f4436bdd [2022-10-13T16:35:09.130Z] ---> 156776e25194 [2022-10-13T16:35:09.130Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T16:35:09.401Z] ---> Running in 7fd36241013c [2022-10-13T16:35:10.365Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T16:35:11.325Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T16:35:12.288Z] OK: 221 MiB in 51 packages [2022-10-13T16:35:12.871Z] Removing intermediate container 7fd36241013c [2022-10-13T16:35:12.871Z] ---> ad957c742d5e [2022-10-13T16:35:12.871Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-13T16:35:13.457Z] ---> 0aeb0d015058 [2022-10-13T16:35:13.457Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T16:35:13.457Z] ---> Running in af7ceebcedc8 [2022-10-13T16:35:15.400Z] Removing intermediate container af7ceebcedc8 [2022-10-13T16:35:15.400Z] ---> afd2a8d13de4 [2022-10-13T16:35:15.400Z] Step 10/25 : COPY . . [2022-10-13T16:35:16.364Z] ---> d832b7ecfe71 [2022-10-13T16:35:16.364Z] Step 11/25 : RUN ${MAKE} [2022-10-13T16:35:16.364Z] ---> Running in 0d652ae672d6 [2022-10-13T16:35:17.324Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.40" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-13T16:37:23.994Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-13T16:37:23.994Z] Removing intermediate container 0d652ae672d6 [2022-10-13T16:37:23.994Z] ---> 45c8dbf1c345 [2022-10-13T16:37:23.994Z] Step 12/25 : FROM alpine:3.16 [2022-10-13T16:37:23.994Z] 3.16: Pulling from library/alpine [2022-10-13T16:37:23.994Z] 9b18e9b68314: Already exists [2022-10-13T16:37:23.994Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T16:37:23.994Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T16:37:23.994Z] ---> a6215f271958 [2022-10-13T16:37:23.994Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T16:37:23.994Z] ---> Running in ea4d698fa821 [2022-10-13T16:37:23.994Z] Removing intermediate container ea4d698fa821 [2022-10-13T16:37:23.994Z] ---> cad5088fc06c [2022-10-13T16:37:23.994Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T16:37:23.994Z] ---> Running in 8867c37e76d2 [2022-10-13T16:37:25.404Z] Removing intermediate container 8867c37e76d2 [2022-10-13T16:37:25.404Z] ---> 1e60c42196fe [2022-10-13T16:37:25.404Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-13T16:37:25.404Z] ---> Running in 660b5c826def [2022-10-13T16:37:26.367Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T16:37:27.324Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T16:37:28.283Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T16:37:28.283Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-13T16:37:28.549Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T16:37:28.549Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-13T16:37:28.815Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-13T16:37:28.815Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T16:37:28.815Z] OK: 8 MiB in 19 packages [2022-10-13T16:37:29.777Z] Removing intermediate container 660b5c826def [2022-10-13T16:37:29.777Z] ---> df1deb399f95 [2022-10-13T16:37:29.777Z] Step 16/25 : WORKDIR / [2022-10-13T16:37:29.777Z] ---> Running in 16394f2be278 [2022-10-13T16:37:30.043Z] Removing intermediate container 16394f2be278 [2022-10-13T16:37:30.043Z] ---> ab769de60281 [2022-10-13T16:37:30.043Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-13T16:37:31.457Z] ---> 87fa98fcc19e [2022-10-13T16:37:31.457Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-13T16:37:32.863Z] ---> 55af35f35bfb [2022-10-13T16:37:32.863Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-13T16:37:33.449Z] ---> 61dd7005bad8 [2022-10-13T16:37:33.449Z] Step 20/25 : EXPOSE 59999 [2022-10-13T16:37:33.449Z] ---> Running in 9345138ea8d3 [2022-10-13T16:37:33.720Z] Removing intermediate container 9345138ea8d3 [2022-10-13T16:37:33.720Z] ---> 9abdd3060245 [2022-10-13T16:37:33.720Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-13T16:37:33.988Z] ---> Running in d7146c08c8dc [2022-10-13T16:37:33.988Z] Removing intermediate container d7146c08c8dc [2022-10-13T16:37:33.988Z] ---> 8b4b805c6934 [2022-10-13T16:37:33.988Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T16:37:34.254Z] ---> Running in df560f767d08 [2022-10-13T16:37:34.523Z] Removing intermediate container df560f767d08 [2022-10-13T16:37:34.523Z] ---> 5e92c00614e6 [2022-10-13T16:37:34.523Z] Step 23/25 : LABEL arch=arm64 [2022-10-13T16:37:34.523Z] ---> Running in af92ae63625c [2022-10-13T16:37:34.798Z] Removing intermediate container af92ae63625c [2022-10-13T16:37:34.798Z] ---> 624354c995ee [2022-10-13T16:37:34.798Z] Step 24/25 : LABEL git_sha=67986f5e85a843a874e3bc4d59755e1036e07d38 [2022-10-13T16:37:34.798Z] ---> Running in 08f2864a8c6e [2022-10-13T16:37:35.063Z] Removing intermediate container 08f2864a8c6e [2022-10-13T16:37:35.063Z] ---> d9030dbadf8d [2022-10-13T16:37:35.063Z] Step 25/25 : LABEL version=2.3.0-dev.40 [2022-10-13T16:37:35.063Z] ---> Running in c6d327f7d5d8 [2022-10-13T16:37:35.328Z] Removing intermediate container c6d327f7d5d8 [2022-10-13T16:37:35.328Z] ---> 2bc72ac7a9d3 [2022-10-13T16:37:35.328Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T16:37:35.328Z] Successfully built 2bc72ac7a9d3 [2022-10-13T16:37:35.328Z] 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-10-13T16:37:35.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T16:37:35.747Z] [2022-10-13T16:37:35.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:37:36.067Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T16:37:36.067Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-13T16:37:36.067Z] 8998bd30e6a1: Pulling fs layer [2022-10-13T16:37:36.067Z] 04944245beec: Pulling fs layer [2022-10-13T16:37:36.067Z] 699f458cf7ca: Pulling fs layer [2022-10-13T16:37:36.067Z] 765212b225bb: Pulling fs layer [2022-10-13T16:37:36.067Z] f23df028b6ca: Pulling fs layer [2022-10-13T16:37:36.067Z] d65c8cfc05b1: Pulling fs layer [2022-10-13T16:37:36.067Z] 2437ff75d9bd: Pulling fs layer [2022-10-13T16:37:36.067Z] 765212b225bb: Waiting [2022-10-13T16:37:36.067Z] f23df028b6ca: Waiting [2022-10-13T16:37:36.067Z] 2437ff75d9bd: Waiting [2022-10-13T16:37:36.334Z] 04944245beec: Verifying Checksum [2022-10-13T16:37:36.334Z] 04944245beec: Download complete [2022-10-13T16:37:36.334Z] 765212b225bb: Verifying Checksum [2022-10-13T16:37:36.334Z] 765212b225bb: Download complete [2022-10-13T16:37:36.334Z] f23df028b6ca: Verifying Checksum [2022-10-13T16:37:36.334Z] f23df028b6ca: Download complete [2022-10-13T16:37:36.334Z] d65c8cfc05b1: Verifying Checksum [2022-10-13T16:37:36.334Z] d65c8cfc05b1: Download complete [2022-10-13T16:37:36.334Z] 699f458cf7ca: Verifying Checksum [2022-10-13T16:37:36.334Z] 699f458cf7ca: Download complete [2022-10-13T16:37:36.926Z] 8998bd30e6a1: Verifying Checksum [2022-10-13T16:37:36.926Z] 8998bd30e6a1: Download complete [2022-10-13T16:37:38.873Z] 2437ff75d9bd: Verifying Checksum [2022-10-13T16:37:38.873Z] 2437ff75d9bd: Download complete [2022-10-13T16:37:40.814Z] 8998bd30e6a1: Pull complete [2022-10-13T16:37:41.079Z] 04944245beec: Pull complete [2022-10-13T16:37:42.485Z] 699f458cf7ca: Pull complete [2022-10-13T16:37:42.751Z] 765212b225bb: Pull complete [2022-10-13T16:37:43.713Z] f23df028b6ca: Pull complete [2022-10-13T16:37:43.713Z] d65c8cfc05b1: Pull complete [2022-10-13T16:37:58.702Z] 2437ff75d9bd: Pull complete [2022-10-13T16:37:58.702Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-13T16:37:58.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T16:37:58.702Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:37:58.884Z] prd-ubuntu20.04-docker-arm64-4c-16g-7820 does not seem to be running inside a container [2022-10-13T16:37:58.944Z] $ 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/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@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-10-13T16:38:01.562Z] $ docker top a31b5ee310936ece612697cae40ad8fff2175e182c13ad0e4962442034d76c55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:38:02.068Z] ---> job-cost.sh [2022-10-13T16:38:02.337Z] lf-activate-venv: SKIPPING [2022-10-13T16:38:02.337Z] INFO: No Stack... [2022-10-13T16:38:02.916Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-13T16:38:03.497Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T16:38:03.818Z] + cut -d, -f6 [2022-10-13T16:38:03.818Z] + cat /w/workspace/device-sdk-go/115/archives/cost.csv [Pipeline] lock [2022-10-13T16:38:04.152Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [2022-10-13T16:38:04.158Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] did not exist. Created. [2022-10-13T16:38:04.158Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T16:38:04.809Z] /w/workspace/device-sdk-go/115@tmp/durable-6d45dc04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-13T16:38:05.138Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-13T16:38:05.162Z] Warning: overwriting stash ‘stack-cost’ [2022-10-13T16:38:05.265Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T16:38:05.271Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T16:38:05.291Z] $ docker stop --time=1 a31b5ee310936ece612697cae40ad8fff2175e182c13ad0e4962442034d76c55 [2022-10-13T16:38:06.833Z] $ docker rm -f a31b5ee310936ece612697cae40ad8fff2175e182c13ad0e4962442034d76c55 [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-10-13T16:38:07.220Z] provisioning config files... [2022-10-13T16:38:07.232Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11642378327205026334tmp [Pipeline] { [Pipeline] sh [2022-10-13T16:38:07.533Z] + set +x [2022-10-13T16:38:07.533Z] + bash -s -- [2022-10-13T16:38:07.533Z] + curl -s https://codecov.io/bash [2022-10-13T16:38:07.533Z] [2022-10-13T16:38:07.533Z] _____ _ [2022-10-13T16:38:07.533Z] / ____| | | [2022-10-13T16:38:07.533Z] | | ___ __| | ___ ___ _____ __ [2022-10-13T16:38:07.533Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-13T16:38:07.533Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-13T16:38:07.533Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-13T16:38:07.533Z] Bash-1.0.6 [2022-10-13T16:38:07.533Z] [2022-10-13T16:38:07.533Z] [2022-10-13T16:38:07.533Z] ==> git version 2.25.1 found [2022-10-13T16:38:07.533Z] ==> 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-10-13T16:38:07.533Z] Release-Date: 2020-01-08 [2022-10-13T16:38:07.533Z] 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-10-13T16:38:07.533Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-13T16:38:07.533Z] ==> Jenkins CI detected. [2022-10-13T16:38:07.533Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-10-13T16:38:07.533Z] project root: . [2022-10-13T16:38:07.533Z] --> token set from env [2022-10-13T16:38:07.533Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-13T16:38:07.533Z] ==> Running gcov in . (disable via -X gcov) [2022-10-13T16:38:07.533Z] ==> Python coveragepy not found [2022-10-13T16:38:07.533Z] ==> Searching for coverage reports in: [2022-10-13T16:38:07.533Z] + . [2022-10-13T16:38:07.533Z] -> Found 1 reports [2022-10-13T16:38:07.533Z] ==> Detecting git/mercurial file structure [2022-10-13T16:38:07.792Z] ==> Reading reports [2022-10-13T16:38:07.792Z] + ./coverage.out bytes=101009 [2022-10-13T16:38:07.792Z] ==> Appending adjustments [2022-10-13T16:38:07.792Z] https://docs.codecov.io/docs/fixing-reports [2022-10-13T16:38:08.053Z] + Found adjustments [2022-10-13T16:38:08.053Z] ==> Gzipping contents [2022-10-13T16:38:08.053Z] 16K /tmp/codecov.t6rGKk.gz [2022-10-13T16:38:08.053Z] ==> Uploading reports [2022-10-13T16:38:08.053Z] url: https://codecov.io [2022-10-13T16:38:08.053Z] query: branch=main&commit=67986f5e85a843a874e3bc4d59755e1036e07d38&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-13T16:38:08.053Z] -> Pinging Codecov [2022-10-13T16:38:08.053Z] 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=67986f5e85a843a874e3bc4d59755e1036e07d38&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-13T16:38:08.312Z] -> Uploading to [2022-10-13T16:38:08.312Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-13/7E55EF52A471D76F132DFD9A03CDDE97/67986f5e85a843a874e3bc4d59755e1036e07d38/9062cca0-08f5-4ad5-b3b0-d30c4c9327c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221013T163808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c3077bca6b80db90051107898132cc515d85b408443018ed8809203764a877e [2022-10-13T16:38:08.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T16:38:08.312Z] Dload Upload Total Spent Left Speed [2022-10-13T16:38:08.571Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14611 0 0 100 14611 0 57523 --:--:-- --:--:-- --:--:-- 57523 [2022-10-13T16:38:08.571Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] } [2022-10-13T16:38:08.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-13T16:38:08.758Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-13T16:38:08.767Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:38:09.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-13T16:38:09.065Z] [2022-10-13T16:38:09.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:38:09.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-13T16:38:09.936Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-13T16:38:09.936Z] df9b9388f04a: Pulling fs layer [2022-10-13T16:38:09.936Z] 52dc419b0ee2: Pulling fs layer [2022-10-13T16:38:09.936Z] 25bc292e5bac: Pulling fs layer [2022-10-13T16:38:09.936Z] 114826534d7a: Pulling fs layer [2022-10-13T16:38:09.936Z] 4657fd5d0bcf: Pulling fs layer [2022-10-13T16:38:09.936Z] 6ad1cebc031e: Pulling fs layer [2022-10-13T16:38:09.936Z] 8a3aa393b2d8: Pulling fs layer [2022-10-13T16:38:09.936Z] 114826534d7a: Waiting [2022-10-13T16:38:09.936Z] 4657fd5d0bcf: Waiting [2022-10-13T16:38:09.936Z] 6ad1cebc031e: Waiting [2022-10-13T16:38:09.936Z] 8a3aa393b2d8: Waiting [2022-10-13T16:38:09.936Z] 25bc292e5bac: Verifying Checksum [2022-10-13T16:38:09.936Z] 25bc292e5bac: Download complete [2022-10-13T16:38:09.936Z] 4657fd5d0bcf: Verifying Checksum [2022-10-13T16:38:09.936Z] 4657fd5d0bcf: Download complete [2022-10-13T16:38:09.936Z] df9b9388f04a: Verifying Checksum [2022-10-13T16:38:09.936Z] df9b9388f04a: Download complete [2022-10-13T16:38:10.198Z] 6ad1cebc031e: Verifying Checksum [2022-10-13T16:38:10.198Z] 6ad1cebc031e: Download complete [2022-10-13T16:38:10.457Z] df9b9388f04a: Pull complete [2022-10-13T16:38:10.716Z] 114826534d7a: Verifying Checksum [2022-10-13T16:38:10.716Z] 114826534d7a: Download complete [2022-10-13T16:38:10.975Z] 52dc419b0ee2: Pull complete [2022-10-13T16:38:10.975Z] 8a3aa393b2d8: Verifying Checksum [2022-10-13T16:38:10.975Z] 8a3aa393b2d8: Download complete [2022-10-13T16:38:12.883Z] 25bc292e5bac: Pull complete [2022-10-13T16:38:21.023Z] 114826534d7a: Pull complete [2022-10-13T16:38:21.023Z] 4657fd5d0bcf: Pull complete [2022-10-13T16:38:21.590Z] 6ad1cebc031e: Pull complete [2022-10-13T16:38:25.775Z] 8a3aa393b2d8: Pull complete [2022-10-13T16:38:25.775Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-13T16:38:25.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-13T16:38:25.775Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:38:25.860Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:38:25.914Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-10-13T16:38:38.275Z] $ docker top 9ce7becb8704fb85f5246591ce28a80632734fd684387d1422e8f97efadd3690 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-13T16:38:38.332Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2022-10-13T16:38:38.615Z] + set -o pipefail [2022-10-13T16:38:38.615Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2022-10-13T16:38:45.243Z] [2022-10-13T16:38:45.243Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-10-13T16:38:45.243Z] [2022-10-13T16:38:45.243Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/9939aabd-a99a-413c-a016-31507811912b [2022-10-13T16:38:45.243Z] [2022-10-13T16:38:45.243Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-13T16:38:45.243Z] [2022-10-13T16:38:45.243Z] [2022-10-13T16:38:45.243Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-13T16:38:45.243Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-13T16:38:45.243Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-13T16:38:45.262Z] $ docker stop --time=1 9ce7becb8704fb85f5246591ce28a80632734fd684387d1422e8f97efadd3690 [2022-10-13T16:39:04.447Z] $ docker rm -f 9ce7becb8704fb85f5246591ce28a80632734fd684387d1422e8f97efadd3690 [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-10-13T16:39:04.846Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T16:39:04.854Z] provisioning config files... [2022-10-13T16:39:04.860Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12118937980706284579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:39:05.156Z] --> edgex-publish-swagger.sh [2022-10-13T16:39:05.156Z] === Publish openapi/v2 API === [2022-10-13T16:39:05.156Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-10-13T16:39:05.156Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-10-13T16:39:05.156Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T16:39:05.156Z] Dload Upload Total Spent Left Speed [2022-10-13T16:39:05.725Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 78178 --:--:-- --:--:-- --:--:-- 78178 100 53552 0 0 100 53552 0 78178 --:--:-- --:--:-- --:--:-- 78064 [2022-10-13T16:39:05.725Z] [2022-10-13T16:39:05.725Z] [Pipeline] } [2022-10-13T16:39:05.733Z] 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-10-13T16:39:06.121Z] + git log --format=format:%s -1 67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] sh [2022-10-13T16:39:06.416Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-13T16:39:06.416Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:39:06.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T16:39:06.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:39:06.792Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:39:06.836Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-13T16:39:09.746Z] $ docker top 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 -eo pid,comm [2022-10-13T16:39:09.786Z] 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-10-13T16:39:09.786Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-13T16:39:09.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T16:39:09.821Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T16:39:09.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T16:39:09.970Z] $ docker exec 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 ssh-agent [2022-10-13T16:39:10.065Z] SSH_AUTH_SOCK=/tmp/ssh-2EYHLErgPegl/agent.13 [2022-10-13T16:39:10.065Z] SSH_AGENT_PID=19 [2022-10-13T16:39:10.070Z] Running ssh-add (command line suppressed) [2022-10-13T16:39:10.186Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_810586112466266746.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_810586112466266746.key) [2022-10-13T16:39:10.215Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T16:39:10.515Z] + git semver tag [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,888 [run_tag] DEBUG tag force:False [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,889 [check_head_tag] DEBUG check head tag [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,891 [execute] INFO git cat-file --batch-check [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,895 [execute] INFO git cat-file --batch [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,913 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,913 [execute] INFO git tag -a v2.3.0-dev.40 -m v2.3.0-dev.40 [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,914 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.40', '-m', 'v2.3.0-dev.40'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-10-13T16:39:11.083Z] 2022-10-13 16:39:10,918 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-13T16:39:11.083Z] 2.3.0-dev.40 [Pipeline] } [2022-10-13T16:39:11.102Z] $ docker exec --env ******** --env ******** 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 ssh-agent -k [2022-10-13T16:39:11.208Z] unset SSH_AUTH_SOCK; [2022-10-13T16:39:11.208Z] unset SSH_AGENT_PID; [2022-10-13T16:39:11.208Z] echo Agent pid 19 killed; [2022-10-13T16:39:11.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-13T16:39:11.527Z] + git semver [Pipeline] } [2022-10-13T16:39:12.116Z] $ docker stop --time=1 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 [2022-10-13T16:39:14.048Z] $ docker rm -f 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:39:14.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-13T16:39:14.610Z] [2022-10-13T16:39:14.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:39:14.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-13T16:39:15.193Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-13T16:39:15.193Z] ab5ef0e58194: Pulling fs layer [2022-10-13T16:39:15.193Z] 9712f1f96733: Pulling fs layer [2022-10-13T16:39:15.193Z] 63f879dbbcfc: Pulling fs layer [2022-10-13T16:39:15.193Z] 0d9ebad4ef96: Pulling fs layer [2022-10-13T16:39:15.193Z] e9a5061849ea: Pulling fs layer [2022-10-13T16:39:15.193Z] d747dcd14b5f: Pulling fs layer [2022-10-13T16:39:15.193Z] 2de7ff778b66: Pulling fs layer [2022-10-13T16:39:15.193Z] d747dcd14b5f: Waiting [2022-10-13T16:39:15.193Z] e9a5061849ea: Waiting [2022-10-13T16:39:15.193Z] 2de7ff778b66: Waiting [2022-10-13T16:39:15.193Z] 0d9ebad4ef96: Waiting [2022-10-13T16:39:15.193Z] 9712f1f96733: Verifying Checksum [2022-10-13T16:39:15.193Z] 9712f1f96733: Download complete [2022-10-13T16:39:15.464Z] 63f879dbbcfc: Verifying Checksum [2022-10-13T16:39:15.464Z] 63f879dbbcfc: Download complete [2022-10-13T16:39:15.726Z] e9a5061849ea: Verifying Checksum [2022-10-13T16:39:15.726Z] e9a5061849ea: Download complete [2022-10-13T16:39:15.726Z] d747dcd14b5f: Download complete [2022-10-13T16:39:15.726Z] 0d9ebad4ef96: Download complete [2022-10-13T16:39:15.726Z] ab5ef0e58194: Verifying Checksum [2022-10-13T16:39:15.726Z] ab5ef0e58194: Download complete [2022-10-13T16:39:15.726Z] 2de7ff778b66: Verifying Checksum [2022-10-13T16:39:15.726Z] 2de7ff778b66: Download complete [2022-10-13T16:39:19.008Z] ab5ef0e58194: Pull complete [2022-10-13T16:39:19.008Z] 9712f1f96733: Pull complete [2022-10-13T16:39:20.383Z] 63f879dbbcfc: Pull complete [2022-10-13T16:39:24.568Z] 0d9ebad4ef96: Pull complete [2022-10-13T16:39:24.825Z] e9a5061849ea: Pull complete [2022-10-13T16:39:25.768Z] d747dcd14b5f: Pull complete [2022-10-13T16:39:27.678Z] 2de7ff778b66: Pull complete [2022-10-13T16:39:27.678Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-13T16:39:27.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-13T16:39:27.936Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:39:28.018Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:39:28.059Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-10-13T16:39:50.230Z] $ docker top 6c16127dc973421f38439d0f6880e25a07814a13d6ebb7700593251e91695130 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-13T16:39:50.290Z] provisioning config files... [2022-10-13T16:39:50.297Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7277008000225715112tmp [2022-10-13T16:39:50.306Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8035985267375278646tmp [2022-10-13T16:39:50.318Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12540810660817088202tmp [Pipeline] { [Pipeline] echo [2022-10-13T16:39:50.333Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:39:50.637Z] ---> sigul-configuration.sh [2022-10-13T16:39:50.638Z] gpg: directory `/root/.gnupg' created [2022-10-13T16:39:50.638Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-13T16:39:50.638Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-13T16:39:50.638Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-13T16:39:50.638Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-13T16:39:50.638Z] gpg: CAST5 encrypted data [2022-10-13T16:39:50.638Z] gpg: encrypted with 1 passphrase [2022-10-13T16:39:50.638Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-13T16:39:50.928Z] + mkdir /home/jenkins [2022-10-13T16:39:50.929Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-13T16:39:51.215Z] + 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-10-13T16:39:51.223Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:39:51.547Z] ---> sigul-install.sh [2022-10-13T16:39:51.547Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-13T16:39:51.833Z] + git tag --list [2022-10-13T16:39:51.834Z] 0.7.1 [2022-10-13T16:39:51.834Z] delhi-tag [2022-10-13T16:39:51.834Z] v1.0.0 [2022-10-13T16:39:51.834Z] v1.1.0 [2022-10-13T16:39:51.834Z] v1.1.1 [2022-10-13T16:39:51.834Z] v1.1.2 [2022-10-13T16:39:51.834Z] v1.2.0 [2022-10-13T16:39:51.834Z] v1.2.1 [2022-10-13T16:39:51.834Z] v1.2.2 [2022-10-13T16:39:51.834Z] v1.2.3 [2022-10-13T16:39:51.834Z] v1.3.0 [2022-10-13T16:39:51.834Z] v1.4.0 [2022-10-13T16:39:51.834Z] v2.0.0 [2022-10-13T16:39:51.834Z] v2.1.0 [2022-10-13T16:39:51.834Z] v2.1.1 [2022-10-13T16:39:51.834Z] v2.1.1-dev.2 [2022-10-13T16:39:51.834Z] v2.1.1-dev.3 [2022-10-13T16:39:51.834Z] v2.2.0 [2022-10-13T16:39:51.834Z] v2.2.1-dev.1 [2022-10-13T16:39:51.834Z] v2.2.1-dev.10 [2022-10-13T16:39:51.834Z] v2.2.1-dev.11 [2022-10-13T16:39:51.834Z] v2.2.1-dev.12 [2022-10-13T16:39:51.834Z] v2.2.1-dev.13 [2022-10-13T16:39:51.834Z] v2.2.1-dev.14 [2022-10-13T16:39:51.834Z] v2.2.1-dev.2 [2022-10-13T16:39:51.834Z] v2.2.1-dev.3 [2022-10-13T16:39:51.834Z] v2.2.1-dev.4 [2022-10-13T16:39:51.834Z] v2.2.1-dev.5 [2022-10-13T16:39:51.834Z] v2.2.1-dev.6 [2022-10-13T16:39:51.834Z] v2.2.1-dev.7 [2022-10-13T16:39:51.834Z] v2.2.1-dev.8 [2022-10-13T16:39:51.834Z] v2.2.1-dev.9 [2022-10-13T16:39:51.834Z] v2.3.0-dev.14 [2022-10-13T16:39:51.834Z] v2.3.0-dev.15 [2022-10-13T16:39:51.834Z] v2.3.0-dev.16 [2022-10-13T16:39:51.834Z] v2.3.0-dev.17 [2022-10-13T16:39:51.834Z] v2.3.0-dev.18 [2022-10-13T16:39:51.834Z] v2.3.0-dev.19 [2022-10-13T16:39:51.834Z] v2.3.0-dev.20 [2022-10-13T16:39:51.834Z] v2.3.0-dev.21 [2022-10-13T16:39:51.834Z] v2.3.0-dev.22 [2022-10-13T16:39:51.834Z] v2.3.0-dev.23 [2022-10-13T16:39:51.834Z] v2.3.0-dev.24 [2022-10-13T16:39:51.834Z] v2.3.0-dev.25 [2022-10-13T16:39:51.834Z] v2.3.0-dev.26 [2022-10-13T16:39:51.834Z] v2.3.0-dev.27 [2022-10-13T16:39:51.834Z] v2.3.0-dev.28 [2022-10-13T16:39:51.834Z] v2.3.0-dev.29 [2022-10-13T16:39:51.834Z] v2.3.0-dev.30 [2022-10-13T16:39:51.834Z] v2.3.0-dev.31 [2022-10-13T16:39:51.834Z] v2.3.0-dev.32 [2022-10-13T16:39:51.834Z] v2.3.0-dev.33 [2022-10-13T16:39:51.834Z] v2.3.0-dev.34 [2022-10-13T16:39:51.834Z] v2.3.0-dev.35 [2022-10-13T16:39:51.834Z] v2.3.0-dev.36 [2022-10-13T16:39:51.834Z] v2.3.0-dev.37 [2022-10-13T16:39:51.834Z] v2.3.0-dev.38 [2022-10-13T16:39:51.834Z] v2.3.0-dev.39 [2022-10-13T16:39:51.834Z] v2.3.0-dev.40 [Pipeline] sh [2022-10-13T16:39:52.121Z] + lftools sign git-tag v2.3.0-dev.40 [2022-10-13T16:39:52.688Z] Signing Git tag with Sigul... [2022-10-13T16:39:52.688Z] Signing v2.3.0-dev.40 [Pipeline] echo [2022-10-13T16:39:52.957Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:39:53.241Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-13T16:39:53.248Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-13T16:39:53.277Z] $ docker stop --time=1 6c16127dc973421f38439d0f6880e25a07814a13d6ebb7700593251e91695130 [2022-10-13T16:39:55.272Z] $ docker rm -f 6c16127dc973421f38439d0f6880e25a07814a13d6ebb7700593251e91695130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-13T16:39:55.791Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-13T16:39:55.791Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:39:56.086Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T16:39:56.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:39:56.158Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:39:56.199Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-13T16:39:58.213Z] $ docker top 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec -eo pid,comm [2022-10-13T16:39:58.249Z] 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-10-13T16:39:58.249Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-13T16:39:58.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T16:39:58.285Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T16:39:58.452Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T16:39:58.466Z] $ docker exec 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec ssh-agent [2022-10-13T16:39:58.567Z] SSH_AUTH_SOCK=/tmp/ssh-lHFaa5DVlCWk/agent.14 [2022-10-13T16:39:58.567Z] SSH_AGENT_PID=20 [2022-10-13T16:39:58.571Z] Running ssh-add (command line suppressed) [2022-10-13T16:39:58.696Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_598440587911287345.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_598440587911287345.key) [2022-10-13T16:39:58.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T16:39:58.984Z] + git semver bump pre [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,506 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,506 [bump_version] DEBUG bumping version:2.3.0-dev.40 on axis:pre with prefix:dev [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,506 [bump_version] DEBUG bumped version:2.3.0-dev.41 [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,506 [write_version] DEBUG write version:2.3.0-dev.41 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,506 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,507 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,511 [execute] INFO git cat-file --batch-check [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,518 [execute] INFO git cat-file --batch [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T16:39:59.553Z] 2022-10-13 16:39:59,524 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-13T16:39:59.553Z] 2.3.0-dev.41 [Pipeline] } [2022-10-13T16:39:59.574Z] $ docker exec --env ******** --env ******** 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec ssh-agent -k [2022-10-13T16:39:59.664Z] unset SSH_AUTH_SOCK; [2022-10-13T16:39:59.664Z] unset SSH_AGENT_PID; [2022-10-13T16:39:59.664Z] echo Agent pid 20 killed; [2022-10-13T16:39:59.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-13T16:39:59.993Z] + git semver [Pipeline] } [2022-10-13T16:40:00.271Z] $ docker stop --time=1 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec [2022-10-13T16:40:02.606Z] $ docker rm -f 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T16:40:03.082Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-13T16:40:03.082Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:40:03.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T16:40:03.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:40:03.446Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:40:03.489Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-13T16:40:06.072Z] $ docker top e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb -eo pid,comm [2022-10-13T16:40:06.106Z] 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-10-13T16:40:06.106Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-13T16:40:06.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T16:40:06.136Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T16:40:06.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T16:40:06.250Z] $ docker exec e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb ssh-agent [2022-10-13T16:40:06.380Z] SSH_AUTH_SOCK=/tmp/ssh-dxIWg3rhCm5H/agent.13 [2022-10-13T16:40:06.380Z] SSH_AGENT_PID=19 [2022-10-13T16:40:06.384Z] Running ssh-add (command line suppressed) [2022-10-13T16:40:06.487Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15488347837858506045.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15488347837858506045.key) [2022-10-13T16:40:06.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T16:40:06.807Z] + git semver push [2022-10-13T16:40:07.377Z] 2022-10-13 16:40:07,118 [run_push] DEBUG push [2022-10-13T16:40:07.377Z] 2022-10-13 16:40:07,120 [execute] INFO git cat-file --batch-check [2022-10-13T16:40:07.377Z] 2022-10-13 16:40:07,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T16:40:07.377Z] 2022-10-13 16:40:07,125 [execute] INFO git rev-list e02b17b8f4f5edecef38c816168078f631f020af -- [2022-10-13T16:40:07.377Z] 2022-10-13 16:40:07,125 [execute] DEBUG Popen(['git', 'rev-list', 'e02b17b8f4f5edecef38c816168078f631f020af', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-13T16:40:07.377Z] 2022-10-13 16:40:07,136 [execute] INFO git fetch -v origin [2022-10-13T16:40:07.377Z] 2022-10-13 16:40:07,136 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-10-13T16:40:07.962Z] 2022-10-13 16:40:07,726 [run_push] DEBUG no remote changes detected [2022-10-13T16:40:07.962Z] 2022-10-13 16:40:07,727 [execute] INFO git push origin semver [2022-10-13T16:40:07.962Z] 2022-10-13 16:40:07,727 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-13T16:40:08.896Z] 2022-10-13 16:40:08,547 [run_push] DEBUG push all version tags [2022-10-13T16:40:08.896Z] 2022-10-13 16:40:08,548 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-13T16:40:08.896Z] 2022-10-13 16:40:08,549 [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-10-13T16:40:09.462Z] 2022-10-13 16:40:09,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-13T16:40:09.462Z] 2.3.0-dev.41 [Pipeline] } [2022-10-13T16:40:09.480Z] $ docker exec --env ******** --env ******** e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb ssh-agent -k [2022-10-13T16:40:09.579Z] unset SSH_AUTH_SOCK; [2022-10-13T16:40:09.580Z] unset SSH_AGENT_PID; [2022-10-13T16:40:09.580Z] echo Agent pid 19 killed; [2022-10-13T16:40:09.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-13T16:40:09.879Z] + git semver [Pipeline] } [2022-10-13T16:40:10.471Z] $ docker stop --time=1 e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb [2022-10-13T16:40:14.551Z] $ docker rm -f e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb [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-10-13T16:40:15.237Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-10-13T16:40:15.237Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-10-13T16:40:15.237Z] total 16 [2022-10-13T16:40:15.237Z] drwxr-xr-x 3 root root 4096 Oct 13 16:29 . [2022-10-13T16:40:15.237Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 16:39 .. [2022-10-13T16:40:15.237Z] drwxr-xr-x 2 root root 4096 Oct 13 16:29 cost [2022-10-13T16:40:15.237Z] -rw-r--r-- 1 root root 85 Oct 13 16:29 cost.csv [2022-10-13T16:40:15.237Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-10-13T16:40:15.237Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-10-13T16:40:15.237Z] total 16 [2022-10-13T16:40:15.237Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 16:29 . [2022-10-13T16:40:15.237Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 16:39 .. [2022-10-13T16:40:15.237Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 16:29 cost [2022-10-13T16:40:15.237Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 13 16:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:40:15.523Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:40:16.383Z] ---> package-listing.sh [2022-10-13T16:40:16.383Z] ++ facter osfamily [2022-10-13T16:40:16.383Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-13T16:40:16.643Z] + OS_FAMILY=debian [2022-10-13T16:40:16.643Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-10-13T16:40:16.643Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-13T16:40:16.643Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-13T16:40:16.643Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-13T16:40:16.643Z] + PACKAGES=/tmp/packages_start.txt [2022-10-13T16:40:16.643Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-10-13T16:40:16.643Z] + PACKAGES=/tmp/packages_end.txt [2022-10-13T16:40:16.643Z] + case "${OS_FAMILY}" in [2022-10-13T16:40:16.643Z] + dpkg -l [2022-10-13T16:40:16.643Z] + grep '^ii' [2022-10-13T16:40:16.643Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-13T16:40:16.643Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-13T16:40:16.643Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-13T16:40:16.643Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-10-13T16:40:16.643Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-10-13T16:40:16.643Z] + 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-10-13T16:40:16.653Z] 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-10-13T16:40:16.933Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T16:40:17.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T16:40:17.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T16:40:17.550Z] prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container [2022-10-13T16:40:17.594Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-13T16:40:20.566Z] $ docker top aa925fbc497b73c9b574f3ad4abc5169569eb395f3aad63aba019ffd67f620ad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T16:40:20.895Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-13T16:40:21.199Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-13T16:40:21.483Z] + ls /var/log/sa-host [2022-10-13T16:40:21.483Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T16:40:21.704Z] provisioning config files... [2022-10-13T16:40:21.724Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13146495457301289314tmp [Pipeline] { [Pipeline] echo [2022-10-13T16:40:21.745Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:40:22.045Z] ---> create-netrc.sh [Pipeline] } [2022-10-13T16:40:22.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:40:22.413Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-13T16:40:22.420Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:40:22.728Z] ---> sudo-logs.sh [2022-10-13T16:40:22.728Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-13T16:40:22.757Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:40:23.052Z] ---> job-cost.sh [2022-10-13T16:40:23.052Z] lf-activate-venv: SKIPPING [2022-10-13T16:40:23.052Z] DEBUG: total: 0.2199999988079071 [2022-10-13T16:40:23.052Z] INFO: Retrieving Stack Cost... [2022-10-13T16:40:23.620Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T16:40:23.877Z] INFO: Archiving Costs [Pipeline] echo [2022-10-13T16:40:23.887Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T16:40:24.167Z] ---> logs-deploy.sh [2022-10-13T16:40:24.167Z] lf-activate-venv: SKIPPING [2022-10-13T16:40:24.167Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/115 [2022-10-13T16:40:24.167Z] INFO: archiving workspace using pattern(s): [2022-10-13T16:40:25.102Z] Archives upload complete. [2022-10-13T16:40:25.360Z] INFO: archiving logs to Nexus