Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8fb9feca0c10481a594d8c8fb14f04008fc9a26d 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-ssh2124682936436863986.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15824638974132871552.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh14485674241788403792.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17551346714479271389.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13709059136906301470.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-308 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8fb9feca0c10481a594d8c8fb14f04008fc9a26d (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 Commit message: "Merge pull request #1375 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.47" > git config core.sparsecheckout # timeout=10 > git checkout -f 8fb9feca0c10481a594d8c8fb14f04008fc9a26d # timeout=10 > git rev-list --no-walk a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T01:26:29.335Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T01:26:29.392Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T01:26:29.407Z] ========================================================= [2023-03-15T01:26:29.407Z] EdgeX Global Pipelines Version Info [2023-03-15T01:26:29.407Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:26:30.166Z] ------------------- [2023-03-15T01:26:30.166Z] stable info: [2023-03-15T01:26:30.166Z] ------------------- [2023-03-15T01:26:30.166Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T01:26:30.166Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T01:26:30.166Z] Message: update stable to v1.0.245 [2023-03-15T01:26:30.747Z] ------------------- [2023-03-15T01:26:30.747Z] experimental info: [2023-03-15T01:26:30.747Z] ------------------- [2023-03-15T01:26:30.747Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T01:26:30.747Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T01:26:30.747Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T01:26:30.911Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-15T01:26:30.923Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-15T01:26:30.939Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T01:26:30.949Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T01:26:30.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T01:26:30.983Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T01:26:31.000Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T01:26:31.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-15T01:26:31.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T01:26:31.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T01:26:31.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T01:26:31.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-15T01:26:31.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T01:26:31.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T01:26:31.108Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T01:26:31.121Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T01:26:31.132Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T01:26:31.143Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T01:26:31.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T01:26:31.164Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T01:26:31.172Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-15T01:26:31.181Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-15T01:26:31.189Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T01:26:31.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T01:26:31.216Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T01:26:31.227Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T01:26:31.238Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T01:26:31.252Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T01:26:31.267Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T01:26:31.276Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T01:26:31.290Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8fb9feca0c10481a594d8c8fb14f04008fc9a26d [Pipeline] echo [2023-03-15T01:26:31.309Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8fb9fec [Pipeline] echo [2023-03-15T01:26:31.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T01:26:31.371Z] provisioning config files... [2023-03-15T01:26:31.385Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5969732070584808503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:26:31.685Z] ---> docker-login.sh [2023-03-15T01:26:31.685Z] nexus3.edgexfoundry.org:10001 [2023-03-15T01:26:31.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:31.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:31.946Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:31.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:31.946Z] [2023-03-15T01:26:31.946Z] Login Succeeded [2023-03-15T01:26:31.946Z] nexus3.edgexfoundry.org:10002 [2023-03-15T01:26:32.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:32.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:32.207Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:32.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:32.207Z] [2023-03-15T01:26:32.207Z] Login Succeeded [2023-03-15T01:26:32.207Z] nexus3.edgexfoundry.org:10003 [2023-03-15T01:26:32.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:32.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:32.207Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:32.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:32.207Z] [2023-03-15T01:26:32.207Z] Login Succeeded [2023-03-15T01:26:32.207Z] nexus3.edgexfoundry.org:10004 [2023-03-15T01:26:32.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:32.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:32.467Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:32.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:32.467Z] [2023-03-15T01:26:32.467Z] Login Succeeded [2023-03-15T01:26:32.467Z] docker.io [2023-03-15T01:26:32.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:32.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:32.726Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:32.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:32.726Z] [2023-03-15T01:26:32.726Z] Login Succeeded [2023-03-15T01:26:32.726Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T01:26:32.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T01:26:33.085Z] + git rev-list -1 --merges 8fb9feca0c10481a594d8c8fb14f04008fc9a26d~1..8fb9feca0c10481a594d8c8fb14f04008fc9a26d [Pipeline] echo [2023-03-15T01:26:33.129Z] -----------> git rev-list -1 --merges 8fb9feca0c10481a594d8c8fb14f04008fc9a26d~1..8fb9feca0c10481a594d8c8fb14f04008fc9a26d 8fb9feca0c10481a594d8c8fb14f04008fc9a26d [2023-03-15T01:26:33.129Z] 8fb9feca0c10481a594d8c8fb14f04008fc9a26d [false] [Pipeline] sh [2023-03-15T01:26:33.420Z] + git log --format=format:%s -1 8fb9feca0c10481a594d8c8fb14f04008fc9a26d [Pipeline] echo [2023-03-15T01:26:33.437Z] ========================================================= [2023-03-15T01:26:33.437Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T01:26:33.437Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T01:26:33.751Z] + git log --format=format:%s -1 8fb9feca0c10481a594d8c8fb14f04008fc9a26d [Pipeline] echo [2023-03-15T01:26:33.761Z] [semverPrep] GIT_COMMIT: 8fb9feca0c10481a594d8c8fb14f04008fc9a26d, Commit Message: Merge pull request #1375 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.47 [Pipeline] echo [2023-03-15T01:26:33.768Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T01:26:34.132Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T01:26:34.132Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T01:26:34.132Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T01:26:34.132Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T01:26:34.132Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T01:26:34.132Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T01:26:34.132Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:26:34.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T01:26:34.541Z] [2023-03-15T01:26:34.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:26:34.845Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T01:26:34.845Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T01:26:34.845Z] b85a868b505f: Pulling fs layer [2023-03-15T01:26:34.845Z] e2be974225ed: Pulling fs layer [2023-03-15T01:26:34.845Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T01:26:34.845Z] 988bab9f4d93: Pulling fs layer [2023-03-15T01:26:34.845Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T01:26:34.845Z] eaf3925da568: Pulling fs layer [2023-03-15T01:26:34.845Z] bab4dde63d76: Pulling fs layer [2023-03-15T01:26:34.845Z] bde34c3a00c8: Pulling fs layer [2023-03-15T01:26:34.845Z] b352a97aabf1: Pulling fs layer [2023-03-15T01:26:34.845Z] 4872d77fe225: Pulling fs layer [2023-03-15T01:26:34.845Z] 5851b861e8e6: Pulling fs layer [2023-03-15T01:26:34.845Z] 988bab9f4d93: Waiting [2023-03-15T01:26:34.845Z] 1469e6f7b9e6: Waiting [2023-03-15T01:26:34.845Z] eaf3925da568: Waiting [2023-03-15T01:26:34.845Z] bab4dde63d76: Waiting [2023-03-15T01:26:34.845Z] 4872d77fe225: Waiting [2023-03-15T01:26:34.845Z] 5851b861e8e6: Waiting [2023-03-15T01:26:34.845Z] bde34c3a00c8: Waiting [2023-03-15T01:26:34.845Z] b352a97aabf1: Waiting [2023-03-15T01:26:34.845Z] e2be974225ed: Verifying Checksum [2023-03-15T01:26:34.845Z] e2be974225ed: Download complete [2023-03-15T01:26:34.845Z] 988bab9f4d93: Download complete [2023-03-15T01:26:35.106Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T01:26:35.106Z] 1469e6f7b9e6: Download complete [2023-03-15T01:26:35.106Z] eaf3925da568: Verifying Checksum [2023-03-15T01:26:35.106Z] eaf3925da568: Download complete [2023-03-15T01:26:35.106Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T01:26:35.106Z] 339a4e72a1f5: Download complete [2023-03-15T01:26:35.106Z] bde34c3a00c8: Download complete [2023-03-15T01:26:35.106Z] b352a97aabf1: Verifying Checksum [2023-03-15T01:26:35.106Z] b352a97aabf1: Download complete [2023-03-15T01:26:35.106Z] 5851b861e8e6: Download complete [2023-03-15T01:26:35.364Z] b85a868b505f: Verifying Checksum [2023-03-15T01:26:35.364Z] b85a868b505f: Download complete [2023-03-15T01:26:35.622Z] bab4dde63d76: Verifying Checksum [2023-03-15T01:26:35.622Z] bab4dde63d76: Download complete [2023-03-15T01:26:36.557Z] b85a868b505f: Pull complete [2023-03-15T01:26:36.557Z] e2be974225ed: Pull complete [2023-03-15T01:26:37.137Z] 339a4e72a1f5: Pull complete [2023-03-15T01:26:37.137Z] 988bab9f4d93: Pull complete [2023-03-15T01:26:37.399Z] 1469e6f7b9e6: Pull complete [2023-03-15T01:26:37.657Z] eaf3925da568: Pull complete [2023-03-15T01:26:39.563Z] bab4dde63d76: Pull complete [2023-03-15T01:26:39.563Z] bde34c3a00c8: Pull complete [2023-03-15T01:26:39.822Z] b352a97aabf1: Pull complete [2023-03-15T01:26:39.822Z] 4872d77fe225: Pull complete [2023-03-15T01:26:39.822Z] 5851b861e8e6: Pull complete [2023-03-15T01:26:39.822Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T01:26:39.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T01:26:40.081Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:26:40.181Z] prd-ubuntu20.04-docker-8c-8g-308 does not seem to be running inside a container [2023-03-15T01:26:40.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T01:26:41.741Z] $ docker top 1e4fb258c3e6a2bf82cbfeb598974fbc51e2719bd60b766296a398d0308c9103 -eo pid,comm [2023-03-15T01:26:41.795Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-15T01:26:41.795Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T01:26:41.834Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T01:26:41.834Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T01:26:41.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T01:26:41.967Z] $ docker exec 1e4fb258c3e6a2bf82cbfeb598974fbc51e2719bd60b766296a398d0308c9103 ssh-agent [2023-03-15T01:26:42.079Z] SSH_AUTH_SOCK=/tmp/ssh-d6CcID3utc5j/agent.33 [2023-03-15T01:26:42.079Z] SSH_AGENT_PID=39 [2023-03-15T01:26:42.086Z] Running ssh-add (command line suppressed) [2023-03-15T01:26:42.209Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1375793370553357762.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1375793370553357762.key) [2023-03-15T01:26:42.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T01:26:42.515Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T01:26:42.535Z] $ docker exec --env ******** --env ******** 1e4fb258c3e6a2bf82cbfeb598974fbc51e2719bd60b766296a398d0308c9103 ssh-agent -k [2023-03-15T01:26:42.634Z] unset SSH_AUTH_SOCK; [2023-03-15T01:26:42.634Z] unset SSH_AGENT_PID; [2023-03-15T01:26:42.634Z] echo Agent pid 39 killed; [2023-03-15T01:26:42.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T01:26:42.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T01:26:42.664Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T01:26:42.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T01:26:42.792Z] $ docker exec 1e4fb258c3e6a2bf82cbfeb598974fbc51e2719bd60b766296a398d0308c9103 ssh-agent [2023-03-15T01:26:42.892Z] SSH_AUTH_SOCK=/tmp/ssh-2UqVlOu3Kimy/agent.72 [2023-03-15T01:26:42.892Z] SSH_AGENT_PID=78 [2023-03-15T01:26:42.897Z] Running ssh-add (command line suppressed) [2023-03-15T01:26:43.023Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5986262777516948071.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5986262777516948071.key) [2023-03-15T01:26:43.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T01:26:43.325Z] + git semver init [2023-03-15T01:26:43.587Z] 2023-03-15 01:26:43,571 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T01:26:43.587Z] 2023-03-15 01:26:43,572 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-03-15T01:26:43.587Z] 2023-03-15 01:26:43,572 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-03-15T01:26:43.587Z] 2023-03-15 01:26:43,573 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-15T01:26:44.525Z] 2023-03-15 01:26:44,456 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-03-15T01:26:44.525Z] 2023-03-15 01:26:44,456 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-03-15T01:26:44.525Z] 2023-03-15 01:26:44,456 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-15T01:26:44.525Z] 2023-03-15 01:26:44,457 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-15T01:26:44.525Z] 3.0.0-dev.54 [Pipeline] } [2023-03-15T01:26:44.539Z] $ docker exec --env ******** --env ******** 1e4fb258c3e6a2bf82cbfeb598974fbc51e2719bd60b766296a398d0308c9103 ssh-agent -k [2023-03-15T01:26:44.652Z] unset SSH_AUTH_SOCK; [2023-03-15T01:26:44.652Z] unset SSH_AGENT_PID; [2023-03-15T01:26:44.652Z] echo Agent pid 78 killed; [2023-03-15T01:26:44.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T01:26:44.969Z] + git semver [Pipeline] } [2023-03-15T01:26:45.246Z] $ docker stop --time=1 1e4fb258c3e6a2bf82cbfeb598974fbc51e2719bd60b766296a398d0308c9103 [2023-03-15T01:26:46.535Z] $ docker rm -f --volumes 1e4fb258c3e6a2bf82cbfeb598974fbc51e2719bd60b766296a398d0308c9103 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T01:26:46.879Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T01:26:47.099Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T01:26:47.102Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.54 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T01:26:47.197Z] provisioning config files... [2023-03-15T01:26:47.228Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6345455477517431671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:26:47.534Z] ---> docker-login.sh [2023-03-15T01:26:47.534Z] nexus3.edgexfoundry.org:10001 [2023-03-15T01:26:47.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:47.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:47.534Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:47.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:47.534Z] [2023-03-15T01:26:47.534Z] Login Succeeded [2023-03-15T01:26:47.534Z] nexus3.edgexfoundry.org:10002 [2023-03-15T01:26:47.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:47.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:47.534Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:47.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:47.534Z] [2023-03-15T01:26:47.534Z] Login Succeeded [2023-03-15T01:26:47.534Z] nexus3.edgexfoundry.org:10003 [2023-03-15T01:26:47.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:47.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:47.793Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:47.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:47.793Z] [2023-03-15T01:26:47.793Z] Login Succeeded [2023-03-15T01:26:47.793Z] nexus3.edgexfoundry.org:10004 [2023-03-15T01:26:47.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:47.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:47.793Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:47.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:47.793Z] [2023-03-15T01:26:47.793Z] Login Succeeded [2023-03-15T01:26:47.793Z] docker.io [2023-03-15T01:26:48.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:26:48.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:26:48.314Z] Configure a credential helper to remove this warning. See [2023-03-15T01:26:48.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:26:48.314Z] [2023-03-15T01:26:48.314Z] Login Succeeded [2023-03-15T01:26:48.314Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T01:26:48.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T01:26:48.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T01:26:48.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T01:26:48.395Z] ========================================================= [2023-03-15T01:26:48.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T01:26:48.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:26:48.696Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T01:26:48.696Z] Sending build context to Docker daemon 10.78MB [2023-03-15T01:26:48.696Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T01:26:48.696Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T01:26:48.696Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T01:26:48.696Z] 63b65145d645: Pulling fs layer [2023-03-15T01:26:48.696Z] a2d21d5440eb: Pulling fs layer [2023-03-15T01:26:48.696Z] 935e6c44a52c: Pulling fs layer [2023-03-15T01:26:48.696Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T01:26:48.696Z] 30dea6a524f1: Pulling fs layer [2023-03-15T01:26:48.696Z] a2aff8979fd8: Pulling fs layer [2023-03-15T01:26:48.696Z] 6808be2612f2: Pulling fs layer [2023-03-15T01:26:48.696Z] f25807f1079a: Pulling fs layer [2023-03-15T01:26:48.696Z] 30dea6a524f1: Waiting [2023-03-15T01:26:48.696Z] 6808be2612f2: Waiting [2023-03-15T01:26:48.696Z] a2aff8979fd8: Waiting [2023-03-15T01:26:48.696Z] f25807f1079a: Waiting [2023-03-15T01:26:48.956Z] a2d21d5440eb: Verifying Checksum [2023-03-15T01:26:48.956Z] a2d21d5440eb: Download complete [2023-03-15T01:26:48.956Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T01:26:48.956Z] 94cc34f8dd06: Download complete [2023-03-15T01:26:48.956Z] 30dea6a524f1: Verifying Checksum [2023-03-15T01:26:48.956Z] 30dea6a524f1: Download complete [2023-03-15T01:26:48.956Z] 63b65145d645: Verifying Checksum [2023-03-15T01:26:48.956Z] 63b65145d645: Download complete [2023-03-15T01:26:48.956Z] a2aff8979fd8: Verifying Checksum [2023-03-15T01:26:48.956Z] a2aff8979fd8: Download complete [2023-03-15T01:26:49.218Z] 63b65145d645: Pull complete [2023-03-15T01:26:49.218Z] a2d21d5440eb: Pull complete [2023-03-15T01:26:49.490Z] f25807f1079a: Verifying Checksum [2023-03-15T01:26:49.490Z] f25807f1079a: Download complete [2023-03-15T01:26:49.755Z] 935e6c44a52c: Download complete [2023-03-15T01:26:49.755Z] 6808be2612f2: Verifying Checksum [2023-03-15T01:26:49.755Z] 6808be2612f2: Download complete [2023-03-15T01:26:53.947Z] 935e6c44a52c: Pull complete [2023-03-15T01:26:53.947Z] 94cc34f8dd06: Pull complete [2023-03-15T01:26:53.947Z] 30dea6a524f1: Pull complete [2023-03-15T01:26:53.947Z] a2aff8979fd8: Pull complete [2023-03-15T01:26:55.858Z] 6808be2612f2: Pull complete [2023-03-15T01:26:56.792Z] f25807f1079a: Pull complete [2023-03-15T01:26:56.792Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T01:26:56.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T01:26:56.792Z] ---> 3b553350e43f [2023-03-15T01:26:56.792Z] Step 3/10 : ARG MAKE=make build [2023-03-15T01:26:58.700Z] ---> Running in cf51473cb191 [2023-03-15T01:26:58.700Z] Removing intermediate container cf51473cb191 [2023-03-15T01:26:58.700Z] ---> 38653ed01957 [2023-03-15T01:26:58.700Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T01:26:58.700Z] ---> Running in 4241a837bfa5 [2023-03-15T01:26:58.960Z] Removing intermediate container 4241a837bfa5 [2023-03-15T01:26:58.960Z] ---> 7ab4d970ed8c [2023-03-15T01:26:58.960Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T01:26:58.960Z] ---> Running in 7fbdaa38b234 [2023-03-15T01:26:58.960Z] Removing intermediate container 7fbdaa38b234 [2023-03-15T01:26:58.960Z] ---> ddc037d06541 [2023-03-15T01:26:58.960Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-15T01:26:59.219Z] ---> Running in 202d153e165e [2023-03-15T01:26:59.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T01:26:59.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T01:27:00.046Z] OK: 265 MiB in 53 packages [2023-03-15T01:27:00.305Z] Removing intermediate container 202d153e165e [2023-03-15T01:27:00.305Z] ---> 2de41cb077b2 [2023-03-15T01:27:00.305Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T01:27:00.305Z] ---> 15c854e532b7 [2023-03-15T01:27:00.305Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T01:27:00.565Z] ---> Running in c1cf8aa9e1f0 [2023-03-15T01:27:02.173Z] Still waiting to schedule task [2023-03-15T01:27:02.174Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-302’ [2023-03-15T01:27:32.668Z] Removing intermediate container c1cf8aa9e1f0 [2023-03-15T01:27:32.668Z] ---> fd12a55d4358 [2023-03-15T01:27:32.668Z] Step 9/10 : COPY . . [2023-03-15T01:27:32.668Z] ---> c395ced6dc22 [2023-03-15T01:27:32.668Z] Step 10/10 : RUN ${MAKE} [2023-03-15T01:27:32.668Z] ---> Running in c9200aeb5afd [2023-03-15T01:27:32.668Z] noop [2023-03-15T01:27:32.668Z] Removing intermediate container c9200aeb5afd [2023-03-15T01:27:32.668Z] ---> 7f69001952c9 [2023-03-15T01:27:32.668Z] Successfully built 7f69001952c9 [2023-03-15T01:27:32.668Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:27:32.970Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T01:27:32.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:27:33.034Z] prd-ubuntu20.04-docker-8c-8g-308 does not seem to be running inside a container [2023-03-15T01:27:33.068Z] $ 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 [2023-03-15T01:27:33.456Z] $ docker top c57e39e5b67bc33d1170446392b780329a1284cfd07a6b10df0487ba06c9c3e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:27:33.791Z] + go version [2023-03-15T01:27:33.791Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T01:27:33.804Z] $ docker stop --time=1 c57e39e5b67bc33d1170446392b780329a1284cfd07a6b10df0487ba06c9c3e9 [2023-03-15T01:27:35.110Z] $ docker rm -f --volumes c57e39e5b67bc33d1170446392b780329a1284cfd07a6b10df0487ba06c9c3e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:27:35.500Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T01:27:35.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:27:35.564Z] prd-ubuntu20.04-docker-8c-8g-308 does not seem to be running inside a container [2023-03-15T01:27:35.599Z] $ 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 [2023-03-15T01:27:36.000Z] $ docker top b42fc8f5a8c1776e9c067fd85c9b0c4f086895f7e495f69602863c9f3b1f79b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:27:36.347Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T01:27:36.647Z] + make test [2023-03-15T01:27:36.647Z] go test -race -coverprofile=coverage.out ./... [2023-03-15T01:27:43.204Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-15T01:27:58.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-15T01:27:58.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-15T01:27:58.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-15T01:27:58.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-15T01:27:58.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-15T01:27:58.084Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.077s coverage: 27.6% of statements [2023-03-15T01:27:58.084Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements [2023-03-15T01:27:58.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-15T01:27:58.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-15T01:27:58.084Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.091s coverage: 86.0% of statements [2023-03-15T01:27:59.020Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-15T01:27:59.020Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-15T01:27:59.020Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.090s coverage: 75.9% of statements [2023-03-15T01:27:59.020Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-15T01:27:59.020Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-15T01:27:59.956Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-15T01:28:01.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 15.2% of statements [2023-03-15T01:28:01.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.075s coverage: 65.7% of statements [2023-03-15T01:28:01.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.122s coverage: 89.2% of statements [2023-03-15T01:28:01.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-03-15T01:28:23.789Z] GO111MODULE=on go vet ./... [2023-03-15T01:28:25.688Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T01:28:25.688Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T01:28:25.688Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T01:28:25.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T01:28:25.988Z] $ docker stop --time=1 b42fc8f5a8c1776e9c067fd85c9b0c4f086895f7e495f69602863c9f3b1f79b1 [2023-03-15T01:28:28.315Z] $ docker rm -f --volumes b42fc8f5a8c1776e9c067fd85c9b0c4f086895f7e495f69602863c9f3b1f79b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T01:28:28.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T01:28:28.928Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T01:28:29.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T01:28:29.710Z] + ls -al . [2023-03-15T01:28:29.710Z] total 276 [2023-03-15T01:28:29.710Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 01:27 . [2023-03-15T01:28:29.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 01:26 .. [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 01:26 .dockerignore [2023-03-15T01:28:29.710Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 01:26 .git [2023-03-15T01:28:29.710Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 01:26 .github [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 01:26 .gitignore [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 01:26 .golangci.yml [2023-03-15T01:28:29.710Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 01:26 .semver [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 15 01:26 CHANGELOG.md [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 01:26 GOVERNANCE.md [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 01:26 Jenkinsfile [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 01:26 LICENSE [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 15 01:26 Makefile [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 01:26 OWNERS.md [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 15 01:26 README.md [2023-03-15T01:28:29.710Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 01:26 VERSION [2023-03-15T01:28:29.710Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 01:26 bin [2023-03-15T01:28:29.711Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 15 01:28 coverage.out [2023-03-15T01:28:29.711Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 01:26 example [2023-03-15T01:28:29.711Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 15 01:26 go.mod [2023-03-15T01:28:29.711Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 15 01:26 go.sum [2023-03-15T01:28:29.711Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 01:26 internal [2023-03-15T01:28:29.711Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 01:26 openapi [2023-03-15T01:28:29.711Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 01:26 pkg [2023-03-15T01:28:29.711Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 01:26 snap [2023-03-15T01:28:29.711Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 01:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:28:30.013Z] + 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=8fb9feca0c10481a594d8c8fb14f04008fc9a26d --label arch=amd64 --label version=3.0.0-dev.54 . [2023-03-15T01:28:30.013Z] Sending build context to Docker daemon 10.89MB [2023-03-15T01:28:30.013Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T01:28:30.013Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T01:28:30.013Z] ---> 7f69001952c9 [2023-03-15T01:28:30.013Z] Step 3/23 : ARG MAKE=make build [2023-03-15T01:28:30.271Z] ---> Running in eb42740a6ced [2023-03-15T01:28:30.272Z] Removing intermediate container eb42740a6ced [2023-03-15T01:28:30.272Z] ---> f47f7c036def [2023-03-15T01:28:30.272Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T01:28:30.272Z] ---> Running in 3bc8648d80f0 [2023-03-15T01:28:30.272Z] Removing intermediate container 3bc8648d80f0 [2023-03-15T01:28:30.272Z] ---> 656ffd483e2b [2023-03-15T01:28:30.272Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T01:28:30.272Z] ---> Running in b437570cdc63 [2023-03-15T01:28:30.530Z] Removing intermediate container b437570cdc63 [2023-03-15T01:28:30.530Z] ---> 9bdd2a6d64a2 [2023-03-15T01:28:30.530Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-15T01:28:30.530Z] ---> Running in 3b23165d1990 [2023-03-15T01:28:30.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T01:28:31.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T01:28:31.306Z] OK: 265 MiB in 53 packages [2023-03-15T01:28:31.572Z] Removing intermediate container 3b23165d1990 [2023-03-15T01:28:31.572Z] ---> d1b4bddfd493 [2023-03-15T01:28:31.572Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T01:28:31.832Z] ---> fd21ae7a0c5e [2023-03-15T01:28:31.832Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T01:28:31.832Z] ---> Running in 495a3d01dd6c [2023-03-15T01:28:32.766Z] Removing intermediate container 495a3d01dd6c [2023-03-15T01:28:32.766Z] ---> 475a4de816cf [2023-03-15T01:28:32.766Z] Step 9/23 : COPY . . [2023-03-15T01:28:33.025Z] ---> 17bd3cc341d0 [2023-03-15T01:28:33.025Z] Step 10/23 : RUN ${MAKE} [2023-03-15T01:28:33.025Z] ---> Running in e0bf992a681f [2023-03-15T01:28:33.590Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.54" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-15T01:28:51.684Z] Removing intermediate container e0bf992a681f [2023-03-15T01:28:51.684Z] ---> 65b324b04f89 [2023-03-15T01:28:51.684Z] Step 11/23 : FROM alpine:3.17 [2023-03-15T01:28:51.684Z] 3.17: Pulling from library/alpine [2023-03-15T01:28:51.684Z] 63b65145d645: Already exists [2023-03-15T01:28:51.684Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T01:28:51.684Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T01:28:51.684Z] ---> b2aa39c304c2 [2023-03-15T01:28:51.684Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T01:28:51.684Z] ---> Running in e71a725ca28b [2023-03-15T01:28:51.684Z] Removing intermediate container e71a725ca28b [2023-03-15T01:28:51.684Z] ---> 6cb10076440b [2023-03-15T01:28:51.684Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-15T01:28:51.684Z] ---> Running in db5c88982d5c [2023-03-15T01:28:51.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T01:28:52.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T01:28:52.464Z] OK: 7 MiB in 15 packages [2023-03-15T01:28:53.029Z] Removing intermediate container db5c88982d5c [2023-03-15T01:28:53.029Z] ---> 9380000173af [2023-03-15T01:28:53.029Z] Step 14/23 : WORKDIR / [2023-03-15T01:28:53.029Z] ---> Running in fd2a8e762253 [2023-03-15T01:28:53.029Z] Removing intermediate container fd2a8e762253 [2023-03-15T01:28:53.029Z] ---> 700d6293f2ef [2023-03-15T01:28:53.029Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T01:28:53.029Z] ---> 78c241ce8c1b [2023-03-15T01:28:53.029Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T01:28:53.594Z] ---> 73ff15d2550a [2023-03-15T01:28:53.594Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T01:28:53.863Z] ---> e3f9b96cd0d2 [2023-03-15T01:28:53.863Z] Step 18/23 : EXPOSE 59999 [2023-03-15T01:28:53.863Z] ---> Running in 769b9a0d318d [2023-03-15T01:28:53.863Z] Removing intermediate container 769b9a0d318d [2023-03-15T01:28:53.863Z] ---> c8d2554e82d5 [2023-03-15T01:28:53.863Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T01:28:54.121Z] ---> Running in 681ee6202bf0 [2023-03-15T01:28:54.121Z] Removing intermediate container 681ee6202bf0 [2023-03-15T01:28:54.121Z] ---> fd767b52f17c [2023-03-15T01:28:54.121Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T01:28:54.121Z] ---> Running in c9fc8e549ec6 [2023-03-15T01:28:54.121Z] Removing intermediate container c9fc8e549ec6 [2023-03-15T01:28:54.121Z] ---> 77f9c6f0b486 [2023-03-15T01:28:54.121Z] Step 21/23 : LABEL arch=amd64 [2023-03-15T01:28:54.379Z] ---> Running in dd4b3d0d9fa2 [2023-03-15T01:28:54.379Z] Removing intermediate container dd4b3d0d9fa2 [2023-03-15T01:28:54.379Z] ---> 07aa17c5dd4a [2023-03-15T01:28:54.379Z] Step 22/23 : LABEL git_sha=8fb9feca0c10481a594d8c8fb14f04008fc9a26d [2023-03-15T01:28:54.379Z] ---> Running in b67408a6ea3e [2023-03-15T01:28:54.379Z] Removing intermediate container b67408a6ea3e [2023-03-15T01:28:54.379Z] ---> 9481723bae1d [2023-03-15T01:28:54.379Z] Step 23/23 : LABEL version=3.0.0-dev.54 [2023-03-15T01:28:54.639Z] ---> Running in ebf0a0adbc29 [2023-03-15T01:28:54.639Z] Removing intermediate container ebf0a0adbc29 [2023-03-15T01:28:54.639Z] ---> c3fd9ebf9114 [2023-03-15T01:28:54.639Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T01:28:54.639Z] Successfully built c3fd9ebf9114 [2023-03-15T01:28:54.639Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:28:55.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T01:28:55.080Z] [2023-03-15T01:28:55.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:28:55.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T01:28:55.381Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T01:28:55.381Z] 5eb5b503b376: Pulling fs layer [2023-03-15T01:28:55.381Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T01:28:55.381Z] ec43610c2a17: Pulling fs layer [2023-03-15T01:28:55.381Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T01:28:55.381Z] 33b1e0a273af: Pulling fs layer [2023-03-15T01:28:55.381Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T01:28:55.381Z] 2f39f015ded8: Pulling fs layer [2023-03-15T01:28:55.381Z] 3a2ae6a8a46f: Waiting [2023-03-15T01:28:55.381Z] 33b1e0a273af: Waiting [2023-03-15T01:28:55.381Z] 5d3b04190fa2: Waiting [2023-03-15T01:28:55.381Z] 2f39f015ded8: Waiting [2023-03-15T01:28:55.381Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T01:28:55.381Z] 5c69ac0246d0: Download complete [2023-03-15T01:28:55.381Z] 3a2ae6a8a46f: Download complete [2023-03-15T01:28:55.640Z] 33b1e0a273af: Verifying Checksum [2023-03-15T01:28:55.640Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T01:28:55.640Z] 5d3b04190fa2: Download complete [2023-03-15T01:28:55.640Z] ec43610c2a17: Verifying Checksum [2023-03-15T01:28:55.640Z] ec43610c2a17: Download complete [2023-03-15T01:28:55.640Z] 5eb5b503b376: Verifying Checksum [2023-03-15T01:28:55.640Z] 5eb5b503b376: Download complete [2023-03-15T01:28:56.208Z] 2f39f015ded8: Download complete [2023-03-15T01:28:56.776Z] 5eb5b503b376: Pull complete [2023-03-15T01:28:57.034Z] 5c69ac0246d0: Pull complete [2023-03-15T01:28:57.292Z] ec43610c2a17: Pull complete [2023-03-15T01:28:57.551Z] 3a2ae6a8a46f: Pull complete [2023-03-15T01:28:57.551Z] 33b1e0a273af: Pull complete [2023-03-15T01:28:57.809Z] 5d3b04190fa2: Pull complete [2023-03-15T01:29:02.009Z] 2f39f015ded8: Pull complete [2023-03-15T01:29:02.009Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T01:29:02.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T01:29:02.009Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:29:02.084Z] prd-ubuntu20.04-docker-8c-8g-308 does not seem to be running inside a container [2023-03-15T01:29:02.120Z] $ 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 [2023-03-15T01:29:04.498Z] $ docker top ddf920a5833a8ad01c1cda84379e1fab99afe666ef92c34d3065735bec189ee5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:29:04.882Z] ---> job-cost.sh [2023-03-15T01:29:04.882Z] lf-activate-venv: SKIPPING [2023-03-15T01:29:04.882Z] INFO: No Stack... [2023-03-15T01:29:05.146Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T01:29:05.716Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T01:29:06.005Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-03-15T01:29:06.005Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T01:29:06.017Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-184-stack-cost] [2023-03-15T01:29:06.026Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-184-stack-cost] did not exist. Created. [2023-03-15T01:29:06.026Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T01:29:06.331Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T01:29:06.354Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T01:29:06.360Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-184-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T01:29:06.383Z] $ docker stop --time=1 ddf920a5833a8ad01c1cda84379e1fab99afe666ef92c34d3065735bec189ee5 [2023-03-15T01:29:07.556Z] $ docker rm -f --volumes ddf920a5833a8ad01c1cda84379e1fab99afe666ef92c34d3065735bec189ee5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T01:29:35.165Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-313 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-03-15T01:29:35.177Z] Running in /w/workspace/device-sdk-go/184 [Pipeline] { [Pipeline] checkout [2023-03-15T01:29:35.220Z] The recommended git tool is: git [2023-03-15T01:29:42.328Z] using credential edgex-jenkins-ssh [2023-03-15T01:29:42.350Z] Cloning the remote Git repository [2023-03-15T01:29:42.400Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T01:29:42.511Z] > git init /w/workspace/device-sdk-go/184 # timeout=10 [2023-03-15T01:29:42.684Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T01:29:42.686Z] > git --version # timeout=10 [2023-03-15T01:29:42.713Z] > git --version # 'git version 2.25.1' [2023-03-15T01:29:42.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T01:29:42.915Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T01:29:44.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-15T01:29:44.642Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T01:29:45.671Z] Avoid second fetch [2023-03-15T01:29:45.671Z] Checking out Revision 8fb9feca0c10481a594d8c8fb14f04008fc9a26d (main) [2023-03-15T01:29:46.328Z] Commit message: "Merge pull request #1375 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.47" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T01:29:45.695Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T01:29:45.783Z] > git checkout -f 8fb9feca0c10481a594d8c8fb14f04008fc9a26d # timeout=10 [2023-03-15T01:29:47.201Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T01:29:47.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T01:29:47.201Z] Dload Upload Total Spent Left Speed [2023-03-15T01:29:47.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-03-15T01:29:47.800Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T01:29:48.144Z] + sudo tee /etc/docker/daemon.new [2023-03-15T01:29:48.144Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T01:29:48.144Z] { [2023-03-15T01:29:48.144Z] "registry-mirrors": [ [2023-03-15T01:29:48.144Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T01:29:48.144Z] ], [2023-03-15T01:29:48.144Z] "bip": "10.250.0.254/24", [2023-03-15T01:29:48.144Z] "hosts": [ [2023-03-15T01:29:48.144Z] "tcp://0.0.0.0:5555", [2023-03-15T01:29:48.144Z] "unix:///var/run/docker.sock" [2023-03-15T01:29:48.144Z] ], [2023-03-15T01:29:48.144Z] "mtu": 1458, [2023-03-15T01:29:48.144Z] "selinux-enabled": true, [2023-03-15T01:29:48.144Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T01:29:48.144Z] } [Pipeline] sh [2023-03-15T01:29:48.489Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T01:29:48.836Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T01:30:07.150Z] provisioning config files... [2023-03-15T01:30:07.185Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/184@tmp/config16197242666632871892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:30:07.560Z] ---> docker-login.sh [2023-03-15T01:30:07.560Z] nexus3.edgexfoundry.org:10001 [2023-03-15T01:30:08.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:30:08.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:30:08.156Z] Configure a credential helper to remove this warning. See [2023-03-15T01:30:08.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:30:08.156Z] [2023-03-15T01:30:08.156Z] Login Succeeded [2023-03-15T01:30:08.156Z] nexus3.edgexfoundry.org:10002 [2023-03-15T01:30:08.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:30:08.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:30:08.698Z] Configure a credential helper to remove this warning. See [2023-03-15T01:30:08.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:30:08.698Z] [2023-03-15T01:30:08.698Z] Login Succeeded [2023-03-15T01:30:08.698Z] nexus3.edgexfoundry.org:10003 [2023-03-15T01:30:08.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:30:08.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:30:08.968Z] Configure a credential helper to remove this warning. See [2023-03-15T01:30:08.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:30:08.968Z] [2023-03-15T01:30:08.968Z] Login Succeeded [2023-03-15T01:30:08.968Z] nexus3.edgexfoundry.org:10004 [2023-03-15T01:30:09.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:30:09.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:30:09.241Z] Configure a credential helper to remove this warning. See [2023-03-15T01:30:09.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:30:09.241Z] [2023-03-15T01:30:09.241Z] Login Succeeded [2023-03-15T01:30:09.515Z] docker.io [2023-03-15T01:30:09.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T01:30:10.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T01:30:10.110Z] Configure a credential helper to remove this warning. See [2023-03-15T01:30:10.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T01:30:10.110Z] [2023-03-15T01:30:10.110Z] Login Succeeded [2023-03-15T01:30:10.110Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T01:30:10.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T01:30:10.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T01:30:10.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T01:30:10.508Z] ========================================================= [2023-03-15T01:30:10.508Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T01:30:10.508Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:30:10.876Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T01:30:14.258Z] Sending build context to Docker daemon 5.79MB [2023-03-15T01:30:14.258Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T01:30:14.258Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T01:30:14.258Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T01:30:14.258Z] af6eaf76a39c: Pulling fs layer [2023-03-15T01:30:14.258Z] 55522c791124: Pulling fs layer [2023-03-15T01:30:14.258Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T01:30:14.258Z] 169dfbe0d373: Pulling fs layer [2023-03-15T01:30:14.258Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T01:30:14.258Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T01:30:14.258Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T01:30:14.258Z] 169dfbe0d373: Waiting [2023-03-15T01:30:14.258Z] e1ff8fa3b103: Waiting [2023-03-15T01:30:14.258Z] 52ebb69f0ebf: Waiting [2023-03-15T01:30:14.258Z] 5abe8eddf0d5: Waiting [2023-03-15T01:30:14.258Z] 55522c791124: Verifying Checksum [2023-03-15T01:30:14.258Z] 55522c791124: Download complete [2023-03-15T01:30:14.258Z] 169dfbe0d373: Verifying Checksum [2023-03-15T01:30:14.258Z] 169dfbe0d373: Download complete [2023-03-15T01:30:14.258Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T01:30:14.258Z] e1ff8fa3b103: Download complete [2023-03-15T01:30:14.258Z] af6eaf76a39c: Verifying Checksum [2023-03-15T01:30:14.258Z] af6eaf76a39c: Download complete [2023-03-15T01:30:15.703Z] af6eaf76a39c: Pull complete [2023-03-15T01:30:15.703Z] 5abe8eddf0d5: Download complete [2023-03-15T01:30:15.977Z] 55522c791124: Pull complete [2023-03-15T01:30:17.405Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T01:30:17.405Z] 52ebb69f0ebf: Download complete [2023-03-15T01:30:17.405Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T01:30:17.405Z] ce5c4a1c91eb: Download complete [2023-03-15T01:30:29.785Z] ce5c4a1c91eb: Pull complete [2023-03-15T01:30:29.785Z] 169dfbe0d373: Pull complete [2023-03-15T01:30:29.785Z] e1ff8fa3b103: Pull complete [2023-03-15T01:30:36.492Z] 52ebb69f0ebf: Pull complete [2023-03-15T01:30:37.917Z] 5abe8eddf0d5: Pull complete [2023-03-15T01:30:38.194Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T01:30:38.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T01:30:38.194Z] ---> 6cb57ee374ae [2023-03-15T01:30:38.194Z] Step 3/10 : ARG MAKE=make build [2023-03-15T01:30:40.157Z] ---> Running in 5dce49433997 [2023-03-15T01:30:40.528Z] Removing intermediate container 5dce49433997 [2023-03-15T01:30:40.528Z] ---> f687c666cd5a [2023-03-15T01:30:40.528Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T01:30:40.815Z] ---> Running in 70417fe23488 [2023-03-15T01:30:41.094Z] Removing intermediate container 70417fe23488 [2023-03-15T01:30:41.094Z] ---> d29d980d2517 [2023-03-15T01:30:41.094Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T01:30:41.379Z] ---> Running in 25e905888324 [2023-03-15T01:30:41.676Z] Removing intermediate container 25e905888324 [2023-03-15T01:30:41.676Z] ---> 4cc457756d58 [2023-03-15T01:30:41.676Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-15T01:30:41.676Z] ---> Running in 1778a391d0fc [2023-03-15T01:30:43.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T01:30:43.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T01:30:45.129Z] OK: 263 MiB in 53 packages [2023-03-15T01:30:46.101Z] Removing intermediate container 1778a391d0fc [2023-03-15T01:30:46.101Z] ---> 4142e9487f0d [2023-03-15T01:30:46.101Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T01:30:46.698Z] ---> 0b90d50085b1 [2023-03-15T01:30:46.698Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T01:30:46.980Z] ---> Running in c4b9039f9fd9 [2023-03-15T01:31:54.954Z] Removing intermediate container c4b9039f9fd9 [2023-03-15T01:31:54.954Z] ---> 23bd12ff2d3d [2023-03-15T01:31:54.954Z] Step 9/10 : COPY . . [2023-03-15T01:31:54.954Z] ---> 3ea8be71fc20 [2023-03-15T01:31:54.954Z] Step 10/10 : RUN ${MAKE} [2023-03-15T01:31:54.954Z] ---> Running in 55e09ed2c953 [2023-03-15T01:31:55.554Z] noop [2023-03-15T01:31:56.139Z] Removing intermediate container 55e09ed2c953 [2023-03-15T01:31:56.139Z] ---> ae028fb7f78c [2023-03-15T01:31:56.139Z] Successfully built ae028fb7f78c [2023-03-15T01:31:56.139Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:31:56.485Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T01:31:56.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:31:56.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-313 does not seem to be running inside a container [2023-03-15T01:31:56.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/184 -v /w/workspace/device-sdk-go/184:/w/workspace/device-sdk-go/184:rw,z -v /w/workspace/device-sdk-go/184@tmp:/w/workspace/device-sdk-go/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T01:31:57.993Z] $ docker top 819d0eb930f713364cb03fae331b7718dd5a7aa04635052cca8027776cd689c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:31:58.833Z] + go version [2023-03-15T01:31:58.833Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T01:31:58.853Z] $ docker stop --time=1 819d0eb930f713364cb03fae331b7718dd5a7aa04635052cca8027776cd689c8 [2023-03-15T01:32:00.487Z] $ docker rm -f --volumes 819d0eb930f713364cb03fae331b7718dd5a7aa04635052cca8027776cd689c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:32:01.033Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T01:32:01.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:32:01.228Z] prd-ubuntu20.04-docker-arm64-4c-16g-313 does not seem to be running inside a container [2023-03-15T01:32:01.306Z] $ 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/184 -v /w/workspace/device-sdk-go/184:/w/workspace/device-sdk-go/184:rw,z -v /w/workspace/device-sdk-go/184@tmp:/w/workspace/device-sdk-go/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T01:32:02.484Z] $ docker top a85c4fbb3eeb03d6b5727934c686bc6a8ac1923bde0ba7a17b1333e2e26f2997 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:32:03.009Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/184 [Pipeline] fileExists [Pipeline] sh [2023-03-15T01:32:03.937Z] + make test [2023-03-15T01:32:03.937Z] go test -race -coverprofile=coverage.out ./... [2023-03-15T01:33:00.398Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-15T01:35:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-15T01:35:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-15T01:35:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-15T01:35:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-15T01:35:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-15T01:35:32.244Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.221s coverage: 27.6% of statements [2023-03-15T01:35:33.657Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.258s coverage: 78.9% of statements [2023-03-15T01:35:43.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-15T01:35:43.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-15T01:35:44.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.408s coverage: 86.0% of statements [2023-03-15T01:35:49.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-15T01:35:49.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-15T01:35:50.291Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.456s coverage: 75.9% of statements [2023-03-15T01:35:52.877Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.256s coverage: 15.2% of statements [2023-03-15T01:35:56.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-15T01:35:56.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-15T01:35:56.497Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.488s coverage: 65.7% of statements [2023-03-15T01:35:57.912Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.491s coverage: 89.2% of statements [2023-03-15T01:36:02.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-15T01:36:02.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.293s coverage: 5.5% of statements [2023-03-15T01:36:02.786Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T01:36:02.786Z] GO111MODULE=on go vet ./... [2023-03-15T01:38:39.563Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T01:38:39.563Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T01:38:39.563Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T01:38:39.579Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T01:38:39.592Z] $ docker stop --time=1 a85c4fbb3eeb03d6b5727934c686bc6a8ac1923bde0ba7a17b1333e2e26f2997 [2023-03-15T01:38:41.543Z] $ docker rm -f --volumes a85c4fbb3eeb03d6b5727934c686bc6a8ac1923bde0ba7a17b1333e2e26f2997 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T01:38:43.292Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T01:38:43.315Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T01:38:43.902Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T01:38:44.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T01:38:44.603Z] + ls -al . [2023-03-15T01:38:44.603Z] total 272 [2023-03-15T01:38:44.603Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 01:32 . [2023-03-15T01:38:44.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 01:29 .. [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 01:29 .dockerignore [2023-03-15T01:38:44.603Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 01:29 .git [2023-03-15T01:38:44.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 01:29 .github [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 01:29 .gitignore [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 01:29 .golangci.yml [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 15 01:29 CHANGELOG.md [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 01:29 GOVERNANCE.md [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 01:29 Jenkinsfile [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 01:29 LICENSE [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 15 01:29 Makefile [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 01:29 OWNERS.md [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 15 01:29 README.md [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 01:26 VERSION [2023-03-15T01:38:44.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 01:29 bin [2023-03-15T01:38:44.603Z] -rw-r--r-- 1 jenkins jenkins 109538 Mar 15 01:36 coverage.out [2023-03-15T01:38:44.603Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 01:29 example [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 15 01:29 go.mod [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 15 01:29 go.sum [2023-03-15T01:38:44.603Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 01:29 internal [2023-03-15T01:38:44.603Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 01:29 openapi [2023-03-15T01:38:44.603Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 01:29 pkg [2023-03-15T01:38:44.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 01:29 snap [2023-03-15T01:38:44.603Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:38:44.935Z] + 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=8fb9feca0c10481a594d8c8fb14f04008fc9a26d --label arch=arm64 --label version=3.0.0-dev.54 . [2023-03-15T01:38:45.203Z] Sending build context to Docker daemon 5.9MB [2023-03-15T01:38:45.203Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T01:38:45.472Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T01:38:45.472Z] ---> ae028fb7f78c [2023-03-15T01:38:45.472Z] Step 3/23 : ARG MAKE=make build [2023-03-15T01:38:45.472Z] ---> Running in 37adf4579cce [2023-03-15T01:38:45.740Z] Removing intermediate container 37adf4579cce [2023-03-15T01:38:45.740Z] ---> 07f9683723b6 [2023-03-15T01:38:45.740Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T01:38:46.009Z] ---> Running in 8e997ef008b7 [2023-03-15T01:38:46.280Z] Removing intermediate container 8e997ef008b7 [2023-03-15T01:38:46.280Z] ---> 1ec33257816d [2023-03-15T01:38:46.280Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T01:38:46.280Z] ---> Running in 0758b74c82da [2023-03-15T01:38:46.548Z] Removing intermediate container 0758b74c82da [2023-03-15T01:38:46.548Z] ---> 307d19a894d8 [2023-03-15T01:38:46.548Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-15T01:38:46.815Z] ---> Running in 7bae4193a932 [2023-03-15T01:38:47.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T01:38:48.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T01:38:49.772Z] OK: 263 MiB in 53 packages [2023-03-15T01:38:50.439Z] Removing intermediate container 7bae4193a932 [2023-03-15T01:38:50.439Z] ---> 00846614558b [2023-03-15T01:38:50.439Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T01:38:51.045Z] ---> 73186c6e01ff [2023-03-15T01:38:51.045Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T01:38:51.331Z] ---> Running in b6daac8ec2c1 [2023-03-15T01:38:53.940Z] Removing intermediate container b6daac8ec2c1 [2023-03-15T01:38:53.940Z] ---> 686dad1fe491 [2023-03-15T01:38:53.940Z] Step 9/23 : COPY . . [2023-03-15T01:38:55.346Z] ---> 5bd1b74f97eb [2023-03-15T01:38:55.346Z] Step 10/23 : RUN ${MAKE} [2023-03-15T01:38:55.346Z] ---> Running in fdce4885e417 [2023-03-15T01:38:56.309Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.54" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-15T01:41:18.017Z] Removing intermediate container fdce4885e417 [2023-03-15T01:41:18.017Z] ---> 23ab46a92191 [2023-03-15T01:41:18.017Z] Step 11/23 : FROM alpine:3.17 [2023-03-15T01:41:18.017Z] 3.17: Pulling from library/alpine [2023-03-15T01:41:18.294Z] af6eaf76a39c: Already exists [2023-03-15T01:41:18.294Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T01:41:18.294Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T01:41:18.294Z] ---> d74e625d9115 [2023-03-15T01:41:18.294Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T01:41:18.562Z] ---> Running in e93b0d7a8d42 [2023-03-15T01:41:18.831Z] Removing intermediate container e93b0d7a8d42 [2023-03-15T01:41:18.831Z] ---> 0ca1ad72a58d [2023-03-15T01:41:18.831Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-15T01:41:18.831Z] ---> Running in 5f8bedbbba15 [2023-03-15T01:41:19.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T01:41:20.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T01:41:21.791Z] OK: 7 MiB in 15 packages [2023-03-15T01:41:22.376Z] Removing intermediate container 5f8bedbbba15 [2023-03-15T01:41:22.376Z] ---> 6e98ea3617d2 [2023-03-15T01:41:22.376Z] Step 14/23 : WORKDIR / [2023-03-15T01:41:22.376Z] ---> Running in 60a6e8994bd6 [2023-03-15T01:41:22.644Z] Removing intermediate container 60a6e8994bd6 [2023-03-15T01:41:22.644Z] ---> cf5c181db149 [2023-03-15T01:41:22.644Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T01:41:23.230Z] ---> bd07c9aa6682 [2023-03-15T01:41:23.230Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T01:41:26.571Z] ---> 424e58363957 [2023-03-15T01:41:26.571Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T01:41:27.157Z] ---> 9224cef49a2c [2023-03-15T01:41:27.157Z] Step 18/23 : EXPOSE 59999 [2023-03-15T01:41:27.157Z] ---> Running in 1145acba2276 [2023-03-15T01:41:27.424Z] Removing intermediate container 1145acba2276 [2023-03-15T01:41:27.424Z] ---> fe12b1555a10 [2023-03-15T01:41:27.424Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T01:41:27.424Z] ---> Running in f78de686c583 [2023-03-15T01:41:27.692Z] Removing intermediate container f78de686c583 [2023-03-15T01:41:27.692Z] ---> d3f0f6fceb5e [2023-03-15T01:41:27.692Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T01:41:27.962Z] ---> Running in 58478ec31116 [2023-03-15T01:41:28.240Z] Removing intermediate container 58478ec31116 [2023-03-15T01:41:28.240Z] ---> 61308a30459f [2023-03-15T01:41:28.240Z] Step 21/23 : LABEL arch=arm64 [2023-03-15T01:41:28.240Z] ---> Running in 62752ecbca95 [2023-03-15T01:41:28.512Z] Removing intermediate container 62752ecbca95 [2023-03-15T01:41:28.512Z] ---> e4e7ebc213bf [2023-03-15T01:41:28.512Z] Step 22/23 : LABEL git_sha=8fb9feca0c10481a594d8c8fb14f04008fc9a26d [2023-03-15T01:41:28.512Z] ---> Running in 5810a97ac61a [2023-03-15T01:41:28.780Z] Removing intermediate container 5810a97ac61a [2023-03-15T01:41:28.780Z] ---> 1a33c8569fb0 [2023-03-15T01:41:28.781Z] Step 23/23 : LABEL version=3.0.0-dev.54 [2023-03-15T01:41:29.047Z] ---> Running in 170096bdad99 [2023-03-15T01:41:29.313Z] Removing intermediate container 170096bdad99 [2023-03-15T01:41:29.313Z] ---> 3f94a383336a [2023-03-15T01:41:29.313Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T01:41:29.313Z] Successfully built 3f94a383336a [2023-03-15T01:41:29.313Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:41:29.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T01:41:29.728Z] [2023-03-15T01:41:29.728Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:41:30.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T01:41:30.053Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T01:41:30.053Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T01:41:30.053Z] 04944245beec: Pulling fs layer [2023-03-15T01:41:30.053Z] 699f458cf7ca: Pulling fs layer [2023-03-15T01:41:30.053Z] 765212b225bb: Pulling fs layer [2023-03-15T01:41:30.053Z] f23df028b6ca: Pulling fs layer [2023-03-15T01:41:30.053Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T01:41:30.053Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T01:41:30.053Z] 765212b225bb: Waiting [2023-03-15T01:41:30.053Z] f23df028b6ca: Waiting [2023-03-15T01:41:30.053Z] d65c8cfc05b1: Waiting [2023-03-15T01:41:30.053Z] 2437ff75d9bd: Waiting [2023-03-15T01:41:30.322Z] 04944245beec: Verifying Checksum [2023-03-15T01:41:30.322Z] 04944245beec: Download complete [2023-03-15T01:41:30.322Z] 765212b225bb: Download complete [2023-03-15T01:41:30.322Z] f23df028b6ca: Verifying Checksum [2023-03-15T01:41:30.322Z] f23df028b6ca: Download complete [2023-03-15T01:41:30.322Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T01:41:30.322Z] d65c8cfc05b1: Download complete [2023-03-15T01:41:30.591Z] 699f458cf7ca: Verifying Checksum [2023-03-15T01:41:30.591Z] 699f458cf7ca: Download complete [2023-03-15T01:41:30.858Z] 8998bd30e6a1: Download complete [2023-03-15T01:41:33.439Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T01:41:33.439Z] 2437ff75d9bd: Download complete [2023-03-15T01:41:34.850Z] 8998bd30e6a1: Pull complete [2023-03-15T01:41:35.434Z] 04944245beec: Pull complete [2023-03-15T01:41:36.858Z] 699f458cf7ca: Pull complete [2023-03-15T01:41:36.858Z] 765212b225bb: Pull complete [2023-03-15T01:41:39.436Z] f23df028b6ca: Pull complete [2023-03-15T01:41:39.436Z] d65c8cfc05b1: Pull complete [2023-03-15T01:41:51.752Z] 2437ff75d9bd: Pull complete [2023-03-15T01:41:51.752Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T01:41:51.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T01:41:51.752Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:41:51.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-313 does not seem to be running inside a container [2023-03-15T01:41:51.997Z] $ 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/184 -v /w/workspace/device-sdk-go/184:/w/workspace/device-sdk-go/184:rw,z -v /w/workspace/device-sdk-go/184@tmp:/w/workspace/device-sdk-go/184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T01:41:54.625Z] $ docker top 0303155b757272f68cb54a28b005803657ad282b443ddf9ba54f77cb56e5a402 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:41:55.131Z] ---> job-cost.sh [2023-03-15T01:41:55.401Z] lf-activate-venv: SKIPPING [2023-03-15T01:41:55.401Z] INFO: No Stack... [2023-03-15T01:41:55.666Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T01:41:56.624Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T01:41:56.955Z] + cat /w/workspace/device-sdk-go/184/archives/cost.csv [2023-03-15T01:41:56.956Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T01:41:57.029Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-184-stack-cost] [2023-03-15T01:41:57.035Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-184-stack-cost] did not exist. Created. [2023-03-15T01:41:57.035Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-184-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T01:41:57.695Z] /w/workspace/device-sdk-go/184@tmp/durable-af9d2d4e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T01:41:58.355Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T01:41:58.375Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T01:41:58.443Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T01:41:58.450Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-184-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T01:41:58.468Z] $ docker stop --time=1 0303155b757272f68cb54a28b005803657ad282b443ddf9ba54f77cb56e5a402 [2023-03-15T01:41:59.963Z] $ docker rm -f --volumes 0303155b757272f68cb54a28b005803657ad282b443ddf9ba54f77cb56e5a402 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-15T01:42:00.407Z] provisioning config files... [2023-03-15T01:42:00.415Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13700071820034743902tmp [Pipeline] { [Pipeline] sh [2023-03-15T01:42:00.710Z] + set +x [2023-03-15T01:42:00.710Z] + curl -s https://codecov.io/bash [2023-03-15T01:42:00.710Z] + bash -s -- [2023-03-15T01:42:00.710Z] [2023-03-15T01:42:00.710Z] _____ _ [2023-03-15T01:42:00.710Z] / ____| | | [2023-03-15T01:42:00.710Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T01:42:00.710Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T01:42:00.710Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T01:42:00.710Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T01:42:00.710Z] Bash-1.0.6 [2023-03-15T01:42:00.710Z] [2023-03-15T01:42:00.710Z] [2023-03-15T01:42:00.710Z] ==> git version 2.25.1 found [2023-03-15T01:42:00.710Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-15T01:42:00.710Z] Release-Date: 2020-01-08 [2023-03-15T01:42:00.710Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-15T01:42:00.710Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T01:42:00.710Z] ==> Jenkins CI detected. [2023-03-15T01:42:00.710Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-03-15T01:42:00.710Z] project root: . [2023-03-15T01:42:00.710Z] --> token set from env [2023-03-15T01:42:00.710Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T01:42:00.710Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T01:42:00.710Z] ==> Python coveragepy not found [2023-03-15T01:42:00.710Z] ==> Searching for coverage reports in: [2023-03-15T01:42:00.710Z] + . [2023-03-15T01:42:00.710Z] -> Found 1 reports [2023-03-15T01:42:00.710Z] ==> Detecting git/mercurial file structure [2023-03-15T01:42:00.710Z] ==> Reading reports [2023-03-15T01:42:00.710Z] + ./coverage.out bytes=109538 [2023-03-15T01:42:00.710Z] ==> Appending adjustments [2023-03-15T01:42:00.710Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T01:42:01.280Z] + Found adjustments [2023-03-15T01:42:01.280Z] ==> Gzipping contents [2023-03-15T01:42:01.280Z] 16K /tmp/codecov.SVpNl2.gz [2023-03-15T01:42:01.280Z] ==> Uploading reports [2023-03-15T01:42:01.280Z] url: https://codecov.io [2023-03-15T01:42:01.280Z] query: branch=main&commit=8fb9feca0c10481a594d8c8fb14f04008fc9a26d&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T01:42:01.280Z] -> Pinging Codecov [2023-03-15T01:42:01.280Z] 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=8fb9feca0c10481a594d8c8fb14f04008fc9a26d&build=184&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F184%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T01:42:01.280Z] -> Uploading to [2023-03-15T01:42:01.280Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7E55EF52A471D76F132DFD9A03CDDE97/8fb9feca0c10481a594d8c8fb14f04008fc9a26d/a601d67a-85f3-4e1d-b3fd-09f64885cf93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T014201Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bfa6aab9295efe3e2be4af1318cfcbb33731ed06ded53f052721f1097de00bee [2023-03-15T01:42:01.280Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T01:42:01.280Z] Dload Upload Total Spent Left Speed [2023-03-15T01:42:01.541Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15225 0 0 100 15225 0 56809 --:--:-- --:--:-- --:--:-- 56809 [2023-03-15T01:42:01.541Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8fb9feca0c10481a594d8c8fb14f04008fc9a26d [Pipeline] } [2023-03-15T01:42:01.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T01:42:01.736Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T01:42:01.746Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:42:02.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T01:42:02.035Z] [2023-03-15T01:42:02.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:42:02.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T01:42:02.335Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T01:42:02.335Z] df9b9388f04a: Pulling fs layer [2023-03-15T01:42:02.335Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T01:42:02.335Z] 25bc292e5bac: Pulling fs layer [2023-03-15T01:42:02.335Z] 114826534d7a: Pulling fs layer [2023-03-15T01:42:02.335Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T01:42:02.335Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T01:42:02.335Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T01:42:02.335Z] 114826534d7a: Waiting [2023-03-15T01:42:02.335Z] 4657fd5d0bcf: Waiting [2023-03-15T01:42:02.335Z] 6ad1cebc031e: Waiting [2023-03-15T01:42:02.335Z] 25bc292e5bac: Verifying Checksum [2023-03-15T01:42:02.335Z] 25bc292e5bac: Download complete [2023-03-15T01:42:02.335Z] 52dc419b0ee2: Verifying Checksum [2023-03-15T01:42:02.335Z] 52dc419b0ee2: Download complete [2023-03-15T01:42:02.335Z] 4657fd5d0bcf: Download complete [2023-03-15T01:42:02.335Z] df9b9388f04a: Verifying Checksum [2023-03-15T01:42:02.335Z] df9b9388f04a: Download complete [2023-03-15T01:42:02.597Z] df9b9388f04a: Pull complete [2023-03-15T01:42:02.597Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T01:42:02.597Z] 6ad1cebc031e: Download complete [2023-03-15T01:42:02.597Z] 52dc419b0ee2: Pull complete [2023-03-15T01:42:02.855Z] 25bc292e5bac: Pull complete [2023-03-15T01:42:03.421Z] 114826534d7a: Verifying Checksum [2023-03-15T01:42:03.421Z] 114826534d7a: Download complete [2023-03-15T01:42:03.421Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T01:42:03.421Z] 8a3aa393b2d8: Download complete [2023-03-15T01:42:06.703Z] 114826534d7a: Pull complete [2023-03-15T01:42:06.703Z] 4657fd5d0bcf: Pull complete [2023-03-15T01:42:06.961Z] 6ad1cebc031e: Pull complete [2023-03-15T01:42:09.491Z] 8a3aa393b2d8: Pull complete [2023-03-15T01:42:09.491Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T01:42:09.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T01:42:09.491Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:42:09.570Z] prd-ubuntu20.04-docker-8c-8g-308 does not seem to be running inside a container [2023-03-15T01:42:09.604Z] $ 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 [2023-03-15T01:42:11.570Z] $ docker top 8df652e906de5f775bd864f044fdf347a8e490077ac50da51c4eddd04a1b2eb1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T01:42:11.639Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-03-15T01:42:11.918Z] + set -o pipefail [2023-03-15T01:42:11.919Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-03-15T01:42:50.628Z] [2023-03-15T01:42:50.628Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main... [2023-03-15T01:42:50.628Z] [2023-03-15T01:42:50.628Z] Server returned unexpected error for the monitor request. Status code: 502 [2023-03-15T01:42:50.628Z] [Pipeline] } [2023-03-15T01:42:50.638Z] $ docker stop --time=1 8df652e906de5f775bd864f044fdf347a8e490077ac50da51c4eddd04a1b2eb1 [2023-03-15T01:42:52.220Z] $ docker rm -f --volumes 8df652e906de5f775bd864f044fdf347a8e490077ac50da51c4eddd04a1b2eb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T01:42:52.476Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-15T01:42:53.103Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-03-15T01:42:53.103Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-03-15T01:42:53.103Z] total 16 [2023-03-15T01:42:53.103Z] drwxr-xr-x 3 root root 4096 Mar 15 01:29 . [2023-03-15T01:42:53.103Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 01:29 .. [2023-03-15T01:42:53.103Z] drwxr-xr-x 2 root root 4096 Mar 15 01:29 cost [2023-03-15T01:42:53.103Z] -rw-r--r-- 1 root root 85 Mar 15 01:29 cost.csv [2023-03-15T01:42:53.103Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-03-15T01:42:53.103Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-03-15T01:42:53.103Z] total 16 [2023-03-15T01:42:53.103Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 01:29 . [2023-03-15T01:42:53.103Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 01:29 .. [2023-03-15T01:42:53.103Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 01:29 cost [2023-03-15T01:42:53.103Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 15 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:42:53.394Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:42:54.251Z] ---> package-listing.sh [2023-03-15T01:42:54.251Z] ++ facter osfamily [2023-03-15T01:42:54.251Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T01:42:54.510Z] + OS_FAMILY=debian [2023-03-15T01:42:54.510Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-03-15T01:42:54.510Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T01:42:54.510Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T01:42:54.510Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T01:42:54.510Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T01:42:54.510Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-03-15T01:42:54.510Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T01:42:54.510Z] + case "${OS_FAMILY}" in [2023-03-15T01:42:54.510Z] + dpkg -l [2023-03-15T01:42:54.510Z] + grep '^ii' [2023-03-15T01:42:54.510Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T01:42:54.510Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T01:42:54.510Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T01:42:54.510Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-03-15T01:42:54.510Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-03-15T01:42:54.510Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-03-15T01:42:54.520Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T01:42:54.797Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T01:42:55.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T01:42:55.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T01:42:55.418Z] prd-ubuntu20.04-docker-8c-8g-308 does not seem to be running inside a container [2023-03-15T01:42:55.452Z] $ 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 [2023-03-15T01:42:55.757Z] $ docker top 69ec165dc220a45140fbe9b3f3e5a60b8568389d01258f84a87b64ef6b4a5694 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T01:42:56.100Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T01:42:56.386Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T01:42:56.668Z] + ls /var/log/sa-host [2023-03-15T01:42:56.668Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T01:42:56.825Z] provisioning config files... [2023-03-15T01:42:56.834Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11393999612885240742tmp [Pipeline] { [Pipeline] echo [2023-03-15T01:42:56.847Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:42:57.132Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T01:42:57.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:42:57.465Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T01:42:57.473Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:42:57.756Z] ---> sudo-logs.sh [2023-03-15T01:42:57.756Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T01:42:57.790Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:42:58.076Z] ---> job-cost.sh [2023-03-15T01:42:58.076Z] lf-activate-venv: SKIPPING [2023-03-15T01:42:58.076Z] DEBUG: total: 0.2199999988079071 [2023-03-15T01:42:58.076Z] INFO: Retrieving Stack Cost... [2023-03-15T01:42:58.335Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T01:42:58.908Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T01:42:58.919Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T01:42:59.203Z] ---> logs-deploy.sh [2023-03-15T01:42:59.203Z] lf-activate-venv: SKIPPING [2023-03-15T01:42:59.203Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/184 [2023-03-15T01:42:59.203Z] INFO: archiving workspace using pattern(s): [2023-03-15T01:43:00.138Z] Archives upload complete. [2023-03-15T01:43:00.138Z] INFO: archiving logs to Nexus