Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 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-ssh3856122816870907373.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14930295884414832012.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/levski/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/levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18158546164660380774.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11897265202991638297.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/levski/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/levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15725176998755561128.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8833’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8835 in /w/workspace/dgexfoundry_device-sdk-go_levski [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/dgexfoundry_device-sdk-go_levski # 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 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 (levski) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 # timeout=10 Commit message: "fix: assign device service in dic before driver.Initialize (#1359)" > git rev-list --no-walk 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T17:43:12.320Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T17:43:12.397Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T17:43:12.417Z] ========================================================= [2023-03-08T17:43:12.417Z] EdgeX Global Pipelines Version Info [2023-03-08T17:43:12.417Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:43:13.148Z] ------------------- [2023-03-08T17:43:13.148Z] stable info: [2023-03-08T17:43:13.148Z] ------------------- [2023-03-08T17:43:13.148Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T17:43:13.148Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T17:43:13.148Z] Message: update stable to v1.0.244 [2023-03-08T17:43:13.717Z] ------------------- [2023-03-08T17:43:13.717Z] experimental info: [2023-03-08T17:43:13.717Z] ------------------- [2023-03-08T17:43:13.717Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T17:43:13.717Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T17:43:13.717Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T17:43:13.889Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-08T17:43:13.900Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-08T17:43:13.912Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T17:43:13.924Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T17:43:13.935Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T17:43:13.948Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T17:43:13.962Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T17:43:13.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-08T17:43:13.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T17:43:14.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T17:43:14.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T17:43:14.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-08T17:43:14.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T17:43:14.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T17:43:14.072Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T17:43:14.083Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T17:43:14.096Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T17:43:14.108Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T17:43:14.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T17:43:14.129Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T17:43:14.143Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-08T17:43:14.154Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-03-08T17:43:14.166Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T17:43:14.179Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T17:43:14.191Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T17:43:14.203Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T17:43:14.216Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T17:43:14.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo [2023-03-08T17:43:14.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo [2023-03-08T17:43:14.250Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo [2023-03-08T17:43:14.264Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-08T17:43:14.275Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d4ffc7 [Pipeline] echo [2023-03-08T17:43:14.287Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T17:43:14.331Z] provisioning config files... [2023-03-08T17:43:14.344Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config5433824755059984826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:43:14.644Z] ---> docker-login.sh [2023-03-08T17:43:14.644Z] nexus3.edgexfoundry.org:10001 [2023-03-08T17:43:14.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:14.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:14.904Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:14.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:14.904Z] [2023-03-08T17:43:14.904Z] Login Succeeded [2023-03-08T17:43:14.904Z] nexus3.edgexfoundry.org:10002 [2023-03-08T17:43:14.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:15.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:15.164Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:15.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:15.164Z] [2023-03-08T17:43:15.164Z] Login Succeeded [2023-03-08T17:43:15.164Z] nexus3.edgexfoundry.org:10003 [2023-03-08T17:43:15.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:15.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:15.164Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:15.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:15.164Z] [2023-03-08T17:43:15.164Z] Login Succeeded [2023-03-08T17:43:15.164Z] nexus3.edgexfoundry.org:10004 [2023-03-08T17:43:15.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:15.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:15.164Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:15.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:15.164Z] [2023-03-08T17:43:15.164Z] Login Succeeded [2023-03-08T17:43:15.164Z] docker.io [2023-03-08T17:43:15.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:15.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:15.423Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:15.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:15.423Z] [2023-03-08T17:43:15.423Z] Login Succeeded [2023-03-08T17:43:15.423Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T17:43:15.432Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T17:43:15.802Z] + git rev-list -1 --merges 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7~1..4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-08T17:43:15.855Z] -----------> git rev-list -1 --merges 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7~1..4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [false] [Pipeline] sh [2023-03-08T17:43:16.144Z] + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-08T17:43:16.158Z] ========================================================= [2023-03-08T17:43:16.158Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T17:43:16.158Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T17:43:16.477Z] + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-08T17:43:16.490Z] [semverPrep] GIT_COMMIT: 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7, Commit Message: fix: assign device service in dic before driver.Initialize (#1359) [Pipeline] echo [2023-03-08T17:43:16.500Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T17:43:16.864Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T17:43:16.864Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T17:43:16.864Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T17:43:16.864Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T17:43:16.864Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T17:43:16.864Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T17:43:16.864Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:43:17.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T17:43:17.281Z] [2023-03-08T17:43:17.281Z] 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-08T17:43:17.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T17:43:17.590Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T17:43:17.590Z] b85a868b505f: Pulling fs layer [2023-03-08T17:43:17.590Z] e2be974225ed: Pulling fs layer [2023-03-08T17:43:17.590Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T17:43:17.590Z] 988bab9f4d93: Pulling fs layer [2023-03-08T17:43:17.590Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T17:43:17.590Z] eaf3925da568: Pulling fs layer [2023-03-08T17:43:17.590Z] bab4dde63d76: Pulling fs layer [2023-03-08T17:43:17.590Z] bde34c3a00c8: Pulling fs layer [2023-03-08T17:43:17.590Z] b352a97aabf1: Pulling fs layer [2023-03-08T17:43:17.590Z] 4872d77fe225: Pulling fs layer [2023-03-08T17:43:17.590Z] 5851b861e8e6: Pulling fs layer [2023-03-08T17:43:17.590Z] 988bab9f4d93: Waiting [2023-03-08T17:43:17.590Z] 1469e6f7b9e6: Waiting [2023-03-08T17:43:17.590Z] eaf3925da568: Waiting [2023-03-08T17:43:17.590Z] bab4dde63d76: Waiting [2023-03-08T17:43:17.590Z] 4872d77fe225: Waiting [2023-03-08T17:43:17.590Z] 5851b861e8e6: Waiting [2023-03-08T17:43:17.590Z] b352a97aabf1: Waiting [2023-03-08T17:43:17.590Z] bde34c3a00c8: Waiting [2023-03-08T17:43:17.590Z] e2be974225ed: Verifying Checksum [2023-03-08T17:43:17.590Z] e2be974225ed: Download complete [2023-03-08T17:43:17.590Z] 988bab9f4d93: Verifying Checksum [2023-03-08T17:43:17.590Z] 988bab9f4d93: Download complete [2023-03-08T17:43:17.851Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T17:43:17.851Z] 1469e6f7b9e6: Download complete [2023-03-08T17:43:17.851Z] eaf3925da568: Verifying Checksum [2023-03-08T17:43:17.851Z] eaf3925da568: Download complete [2023-03-08T17:43:17.851Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T17:43:17.851Z] 339a4e72a1f5: Download complete [2023-03-08T17:43:17.851Z] bde34c3a00c8: Verifying Checksum [2023-03-08T17:43:17.851Z] bde34c3a00c8: Download complete [2023-03-08T17:43:17.851Z] b352a97aabf1: Verifying Checksum [2023-03-08T17:43:17.851Z] b352a97aabf1: Download complete [2023-03-08T17:43:17.851Z] 4872d77fe225: Download complete [2023-03-08T17:43:17.851Z] 5851b861e8e6: Verifying Checksum [2023-03-08T17:43:17.851Z] 5851b861e8e6: Download complete [2023-03-08T17:43:17.851Z] b85a868b505f: Download complete [2023-03-08T17:43:18.421Z] bab4dde63d76: Verifying Checksum [2023-03-08T17:43:18.421Z] bab4dde63d76: Download complete [2023-03-08T17:43:19.358Z] b85a868b505f: Pull complete [2023-03-08T17:43:19.358Z] e2be974225ed: Pull complete [2023-03-08T17:43:19.929Z] 339a4e72a1f5: Pull complete [2023-03-08T17:43:19.929Z] 988bab9f4d93: Pull complete [2023-03-08T17:43:20.190Z] 1469e6f7b9e6: Pull complete [2023-03-08T17:43:20.449Z] eaf3925da568: Pull complete [2023-03-08T17:43:22.356Z] bab4dde63d76: Pull complete [2023-03-08T17:43:22.356Z] bde34c3a00c8: Pull complete [2023-03-08T17:43:22.616Z] b352a97aabf1: Pull complete [2023-03-08T17:43:22.616Z] 4872d77fe225: Pull complete [2023-03-08T17:43:22.616Z] 5851b861e8e6: Pull complete [2023-03-08T17:43:22.616Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T17:43:22.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T17:43:22.616Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:43:22.701Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-03-08T17:43:22.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T17:43:24.109Z] $ docker top d0d2d24c4717ef327a1bdb84e631e69bae7473bd1c6d2416ccf49dbec8674966 -eo pid,comm [2023-03-08T17:43:24.159Z] 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-08T17:43:24.159Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T17:43:24.188Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T17:43:24.188Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T17:43:24.312Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T17:43:24.318Z] $ docker exec d0d2d24c4717ef327a1bdb84e631e69bae7473bd1c6d2416ccf49dbec8674966 ssh-agent [2023-03-08T17:43:24.445Z] SSH_AUTH_SOCK=/tmp/ssh-HmHiBqEwhv5q/agent.31 [2023-03-08T17:43:24.445Z] SSH_AGENT_PID=37 [2023-03-08T17:43:24.451Z] Running ssh-add (command line suppressed) [2023-03-08T17:43:24.567Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_7971139743288746090.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_7971139743288746090.key) [2023-03-08T17:43:24.579Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T17:43:24.864Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T17:43:24.879Z] $ docker exec --env ******** --env ******** d0d2d24c4717ef327a1bdb84e631e69bae7473bd1c6d2416ccf49dbec8674966 ssh-agent -k [2023-03-08T17:43:24.980Z] unset SSH_AUTH_SOCK; [2023-03-08T17:43:24.980Z] unset SSH_AGENT_PID; [2023-03-08T17:43:24.981Z] echo Agent pid 37 killed; [2023-03-08T17:43:24.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T17:43:25.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T17:43:25.007Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T17:43:25.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T17:43:25.132Z] $ docker exec d0d2d24c4717ef327a1bdb84e631e69bae7473bd1c6d2416ccf49dbec8674966 ssh-agent [2023-03-08T17:43:25.238Z] SSH_AUTH_SOCK=/tmp/ssh-SIqV5v9eZQNF/agent.69 [2023-03-08T17:43:25.238Z] SSH_AGENT_PID=75 [2023-03-08T17:43:25.244Z] Running ssh-add (command line suppressed) [2023-03-08T17:43:25.370Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_4085496455862035294.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_4085496455862035294.key) [2023-03-08T17:43:25.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T17:43:25.666Z] + git semver init [2023-03-08T17:43:25.926Z] 2023-03-08 17:43:25,887 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T17:43:25.926Z] 2023-03-08 17:43:25,888 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver [2023-03-08T17:43:25.926Z] 2023-03-08 17:43:25,889 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/dgexfoundry_device-sdk-go_levski/.semver [2023-03-08T17:43:25.926Z] 2023-03-08 17:43:25,889 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/dgexfoundry_device-sdk-go_levski/.semver'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) [2023-03-08T17:43:26.863Z] 2023-03-08 17:43:26,778 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.git/info/exclude [2023-03-08T17:43:26.863Z] 2023-03-08 17:43:26,780 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:False [2023-03-08T17:43:26.863Z] 2023-03-08 17:43:26,780 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T17:43:26.863Z] 2023-03-08 17:43:26,780 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T17:43:26.863Z] 2.3.1-dev.1 [Pipeline] } [2023-03-08T17:43:26.874Z] $ docker exec --env ******** --env ******** d0d2d24c4717ef327a1bdb84e631e69bae7473bd1c6d2416ccf49dbec8674966 ssh-agent -k [2023-03-08T17:43:26.980Z] unset SSH_AUTH_SOCK; [2023-03-08T17:43:26.980Z] unset SSH_AGENT_PID; [2023-03-08T17:43:26.981Z] echo Agent pid 75 killed; [2023-03-08T17:43:26.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T17:43:27.294Z] + git semver [Pipeline] } [2023-03-08T17:43:27.575Z] $ docker stop --time=1 d0d2d24c4717ef327a1bdb84e631e69bae7473bd1c6d2416ccf49dbec8674966 [2023-03-08T17:43:28.885Z] $ docker rm -f --volumes d0d2d24c4717ef327a1bdb84e631e69bae7473bd1c6d2416ccf49dbec8674966 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T17:43:29.218Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T17:43:29.430Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T17:43:29.433Z] [edgeXSemver]: initialized semver on version 2.3.1-dev.1 [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-08T17:43:29.536Z] provisioning config files... [2023-03-08T17:43:29.544Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config11487568343248782327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:43:29.848Z] ---> docker-login.sh [2023-03-08T17:43:29.848Z] nexus3.edgexfoundry.org:10001 [2023-03-08T17:43:29.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:29.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:29.848Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:29.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:29.848Z] [2023-03-08T17:43:29.848Z] Login Succeeded [2023-03-08T17:43:29.848Z] nexus3.edgexfoundry.org:10002 [2023-03-08T17:43:29.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:29.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:29.848Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:29.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:29.848Z] [2023-03-08T17:43:29.848Z] Login Succeeded [2023-03-08T17:43:29.848Z] nexus3.edgexfoundry.org:10003 [2023-03-08T17:43:30.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:30.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:30.106Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:30.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:30.106Z] [2023-03-08T17:43:30.106Z] Login Succeeded [2023-03-08T17:43:30.106Z] nexus3.edgexfoundry.org:10004 [2023-03-08T17:43:30.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:30.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:30.107Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:30.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:30.107Z] [2023-03-08T17:43:30.107Z] Login Succeeded [2023-03-08T17:43:30.107Z] docker.io [2023-03-08T17:43:30.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:43:30.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:43:30.365Z] Configure a credential helper to remove this warning. See [2023-03-08T17:43:30.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:43:30.365Z] [2023-03-08T17:43:30.365Z] Login Succeeded [2023-03-08T17:43:30.365Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T17:43:30.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T17:43:30.431Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T17:43:30.441Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T17:43:30.447Z] ========================================================= [2023-03-08T17:43:30.447Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T17:43:30.447Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:43:30.753Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T17:43:30.753Z] Sending build context to Docker daemon 10.67MB [2023-03-08T17:43:30.753Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T17:43:30.753Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T17:43:30.753Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T17:43:30.753Z] 213ec9aee27d: Pulling fs layer [2023-03-08T17:43:30.753Z] 4583459ba037: Pulling fs layer [2023-03-08T17:43:30.753Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T17:43:30.753Z] 53926ce57604: Pulling fs layer [2023-03-08T17:43:30.753Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T17:43:30.753Z] 22ff95d597cd: Pulling fs layer [2023-03-08T17:43:30.753Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T17:43:30.753Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T17:43:30.753Z] a7acece74701: Pulling fs layer [2023-03-08T17:43:30.753Z] 21b2b0c7a3f4: Waiting [2023-03-08T17:43:30.753Z] 22ff95d597cd: Waiting [2023-03-08T17:43:30.753Z] 12d6caf4c0d1: Waiting [2023-03-08T17:43:30.753Z] 96b7cbca73a9: Waiting [2023-03-08T17:43:30.753Z] a7acece74701: Waiting [2023-03-08T17:43:30.753Z] 93c1e223e6f2: Download complete [2023-03-08T17:43:31.013Z] 4583459ba037: Verifying Checksum [2023-03-08T17:43:31.013Z] 4583459ba037: Download complete [2023-03-08T17:43:31.013Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-08T17:43:31.013Z] 21b2b0c7a3f4: Download complete [2023-03-08T17:43:31.013Z] 22ff95d597cd: Verifying Checksum [2023-03-08T17:43:31.013Z] 22ff95d597cd: Download complete [2023-03-08T17:43:31.013Z] 213ec9aee27d: Verifying Checksum [2023-03-08T17:43:31.013Z] 213ec9aee27d: Download complete [2023-03-08T17:43:31.013Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T17:43:31.013Z] 12d6caf4c0d1: Download complete [2023-03-08T17:43:31.013Z] 213ec9aee27d: Pull complete [2023-03-08T17:43:31.275Z] 4583459ba037: Pull complete [2023-03-08T17:43:31.275Z] 93c1e223e6f2: Pull complete [2023-03-08T17:43:31.534Z] a7acece74701: Verifying Checksum [2023-03-08T17:43:31.534Z] a7acece74701: Download complete [2023-03-08T17:43:31.795Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T17:43:31.795Z] 96b7cbca73a9: Download complete [2023-03-08T17:43:31.795Z] 53926ce57604: Verifying Checksum [2023-03-08T17:43:31.795Z] 53926ce57604: Download complete [2023-03-08T17:43:37.068Z] 53926ce57604: Pull complete [2023-03-08T17:43:37.068Z] 21b2b0c7a3f4: Pull complete [2023-03-08T17:43:37.068Z] 22ff95d597cd: Pull complete [2023-03-08T17:43:37.068Z] 12d6caf4c0d1: Pull complete [2023-03-08T17:43:38.981Z] 96b7cbca73a9: Pull complete [2023-03-08T17:43:39.920Z] a7acece74701: Pull complete [2023-03-08T17:43:39.920Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T17:43:39.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T17:43:39.920Z] ---> db6d94c90886 [2023-03-08T17:43:39.920Z] Step 3/10 : ARG MAKE=make build [2023-03-08T17:43:41.824Z] ---> Running in 635922bd5ae0 [2023-03-08T17:43:41.824Z] Removing intermediate container 635922bd5ae0 [2023-03-08T17:43:41.824Z] ---> 9b7c95f8a54c [2023-03-08T17:43:41.824Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T17:43:41.824Z] ---> Running in ce60c78675b5 [2023-03-08T17:43:41.824Z] Removing intermediate container ce60c78675b5 [2023-03-08T17:43:41.824Z] ---> 5be84756f166 [2023-03-08T17:43:41.824Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T17:43:41.824Z] ---> Running in 4502c94e32ad [2023-03-08T17:43:41.824Z] Removing intermediate container 4502c94e32ad [2023-03-08T17:43:41.824Z] ---> 8119ff052b10 [2023-03-08T17:43:41.824Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-08T17:43:41.824Z] ---> Running in 31ae7492c7f5 [2023-03-08T17:43:42.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T17:43:42.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T17:43:42.654Z] OK: 211 MiB in 51 packages [2023-03-08T17:43:42.918Z] Removing intermediate container 31ae7492c7f5 [2023-03-08T17:43:42.918Z] ---> 87875f60bf88 [2023-03-08T17:43:42.918Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T17:43:43.178Z] ---> 4fa759f9dd2c [2023-03-08T17:43:43.178Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T17:43:43.178Z] ---> Running in 32ab873d481a [2023-03-08T17:43:44.505Z] Still waiting to schedule task [2023-03-08T17:43:44.505Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-08T17:44:05.127Z] Removing intermediate container 32ab873d481a [2023-03-08T17:44:05.127Z] ---> aeb954cd0249 [2023-03-08T17:44:05.127Z] Step 9/10 : COPY . . [2023-03-08T17:44:05.127Z] ---> 63e58e4b5c85 [2023-03-08T17:44:05.127Z] Step 10/10 : RUN ${MAKE} [2023-03-08T17:44:05.127Z] ---> Running in 60aebd6d2e71 [2023-03-08T17:44:05.127Z] noop [2023-03-08T17:44:05.386Z] Removing intermediate container 60aebd6d2e71 [2023-03-08T17:44:05.386Z] ---> 847eb06993f9 [2023-03-08T17:44:05.386Z] Successfully built 847eb06993f9 [2023-03-08T17:44:05.386Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:44:05.696Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T17:44:05.696Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:44:05.767Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-03-08T17:44:05.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T17:44:06.195Z] $ docker top 941349e7e73aaf32eec803326465ebc40d61fa32788fd03e405c524a68e80296 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:44:06.535Z] + go version [2023-03-08T17:44:06.535Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T17:44:06.552Z] $ docker stop --time=1 941349e7e73aaf32eec803326465ebc40d61fa32788fd03e405c524a68e80296 [2023-03-08T17:44:07.889Z] $ docker rm -f --volumes 941349e7e73aaf32eec803326465ebc40d61fa32788fd03e405c524a68e80296 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:44:08.320Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T17:44:08.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:44:08.395Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-03-08T17:44:08.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T17:44:08.801Z] $ docker top 672b99c12ecf11fd4857d9e6f9320d9f4b6ec1a94aff240676e860302cf7d2bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:44:09.152Z] + git config --global --add safe.directory /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] fileExists [Pipeline] sh [2023-03-08T17:44:09.452Z] + make test [2023-03-08T17:44:09.452Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-08T17:44:16.030Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-08T17:44:34.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements [2023-03-08T17:44:34.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.113s coverage: 78.9% of statements [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-08T17:44:34.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.144s coverage: 73.1% of statements [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-08T17:44:34.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-08T17:44:34.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.122s coverage: 65.1% of statements [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-08T17:44:34.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.783s coverage: 89.2% of statements [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-08T17:44:34.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 4.7% of statements [2023-03-08T17:44:34.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-08T17:44:52.186Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-08T17:44:52.186Z] GO111MODULE=on go vet ./... [2023-03-08T17:44:54.087Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T17:44:54.087Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T17:44:54.087Z] ./bin/test-attribution-txt.sh [2023-03-08T17:44:54.087Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-08T17:44:54.087Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-08T17:44:54.087Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-08T17:44:54.087Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T17:44:54.099Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T17:44:54.111Z] $ docker stop --time=1 672b99c12ecf11fd4857d9e6f9320d9f4b6ec1a94aff240676e860302cf7d2bd [2023-03-08T17:44:56.106Z] $ docker rm -f --volumes 672b99c12ecf11fd4857d9e6f9320d9f4b6ec1a94aff240676e860302cf7d2bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T17:44:56.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T17:44:56.724Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T17:44:57.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T17:44:57.504Z] + ls -al . [2023-03-08T17:44:57.504Z] total 280 [2023-03-08T17:44:57.504Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 17:44 . [2023-03-08T17:44:57.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:43 .. [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 17:43 .dockerignore [2023-03-08T17:44:57.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 17:44 .git [2023-03-08T17:44:57.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:43 .github [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 17:43 .gitignore [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 17:43 .golangci.yml [2023-03-08T17:44:57.504Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 17:43 .semver [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 17:43 CHANGELOG.md [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 17:43 GOVERNANCE.md [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 8 17:43 Jenkinsfile [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 17:43 LICENSE [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 8 17:43 Makefile [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 17:43 OWNERS.md [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 8 17:43 README.md [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 8 17:43 VERSION [2023-03-08T17:44:57.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:43 bin [2023-03-08T17:44:57.504Z] -rw-r--r-- 1 jenkins jenkins 101840 Mar 8 17:44 coverage.out [2023-03-08T17:44:57.504Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 17:43 example [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 8 17:43 go.mod [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 8 17:43 go.sum [2023-03-08T17:44:57.504Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 8 17:43 internal [2023-03-08T17:44:57.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:43 openapi [2023-03-08T17:44:57.504Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 17:43 pkg [2023-03-08T17:44:57.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:43 snap [2023-03-08T17:44:57.504Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 17:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:44:57.810Z] + 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=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 --label arch=amd64 --label version=2.3.1-dev.1 . [2023-03-08T17:44:57.810Z] Sending build context to Docker daemon 10.78MB [2023-03-08T17:44:57.810Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T17:44:57.810Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T17:44:57.810Z] ---> 847eb06993f9 [2023-03-08T17:44:57.810Z] Step 3/23 : ARG MAKE=make build [2023-03-08T17:44:57.810Z] ---> Running in 72ed0b314798 [2023-03-08T17:44:58.069Z] Removing intermediate container 72ed0b314798 [2023-03-08T17:44:58.069Z] ---> 21d540fe8aa4 [2023-03-08T17:44:58.069Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T17:44:58.069Z] ---> Running in 7326340719c1 [2023-03-08T17:44:58.069Z] Removing intermediate container 7326340719c1 [2023-03-08T17:44:58.069Z] ---> 3542e8cb8835 [2023-03-08T17:44:58.069Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T17:44:58.069Z] ---> Running in 5bca254b0e22 [2023-03-08T17:44:58.328Z] Removing intermediate container 5bca254b0e22 [2023-03-08T17:44:58.328Z] ---> 0a4a4d53b611 [2023-03-08T17:44:58.328Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-08T17:44:58.328Z] ---> Running in b7efe9d05b4a [2023-03-08T17:44:58.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T17:44:58.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T17:44:59.104Z] OK: 211 MiB in 51 packages [2023-03-08T17:44:59.364Z] Removing intermediate container b7efe9d05b4a [2023-03-08T17:44:59.364Z] ---> 5e9231044d44 [2023-03-08T17:44:59.364Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T17:44:59.364Z] ---> c10a957557b9 [2023-03-08T17:44:59.364Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T17:44:59.625Z] ---> Running in 887e5d411e56 [2023-03-08T17:45:00.192Z] Removing intermediate container 887e5d411e56 [2023-03-08T17:45:00.192Z] ---> 95e4ab61564e [2023-03-08T17:45:00.192Z] Step 9/23 : COPY . . [2023-03-08T17:45:00.761Z] ---> b8fde53879b2 [2023-03-08T17:45:00.761Z] Step 10/23 : RUN ${MAKE} [2023-03-08T17:45:00.761Z] ---> Running in a0fde4fa2108 [2023-03-08T17:45:00.761Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-08T17:45:13.664Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8837 in /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] { [Pipeline] ws [2023-03-08T17:45:13.679Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-03-08T17:45:13.713Z] The recommended git tool is: git [2023-03-08T17:45:19.146Z] using credential edgex-jenkins-ssh [2023-03-08T17:45:19.169Z] Cloning the remote Git repository [2023-03-08T17:45:19.206Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T17:45:19.282Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-03-08T17:45:19.433Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T17:45:19.434Z] > git --version # timeout=10 [2023-03-08T17:45:19.454Z] > git --version # 'git version 2.25.1' [2023-03-08T17:45:19.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T17:45:19.528Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T17:45:21.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T17:45:21.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T17:45:21.882Z] Avoid second fetch [2023-03-08T17:45:21.882Z] Checking out Revision 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 (levski) [2023-03-08T17:45:22.395Z] Commit message: "fix: assign device service in dic before driver.Initialize (#1359)" [2023-03-08T17:45:21.888Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T17:45:21.907Z] > git checkout -f 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 # timeout=10 [2023-03-08T17:45:22.685Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T17:45:22.943Z] Removing intermediate container a0fde4fa2108 [2023-03-08T17:45:22.944Z] ---> 98e7605ca101 [2023-03-08T17:45:22.944Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T17:45:23.329Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T17:45:23.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T17:45:23.329Z] Dload Upload Total Spent Left Speed [2023-03-08T17:45:23.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [2023-03-08T17:45:23.510Z] 3.16: Pulling from library/alpine [2023-03-08T17:45:23.510Z] ef5531b6e74e: Pulling fs layer [Pipeline] sh [2023-03-08T17:45:23.770Z] ef5531b6e74e: Download complete [2023-03-08T17:45:23.770Z] ef5531b6e74e: Pull complete [2023-03-08T17:45:23.919Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T17:45:24.033Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T17:45:24.033Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T17:45:24.033Z] ---> dfd21b5a31f5 [2023-03-08T17:45:24.033Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T17:45:24.033Z] ---> Running in 54c1f38bdf98 [2023-03-08T17:45:24.033Z] Removing intermediate container 54c1f38bdf98 [2023-03-08T17:45:24.033Z] ---> 796e413e274d [2023-03-08T17:45:24.033Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-08T17:45:24.033Z] ---> Running in 423e0883eb60 [2023-03-08T17:45:24.249Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T17:45:24.249Z] + sudo tee /etc/docker/daemon.new [2023-03-08T17:45:24.249Z] { [2023-03-08T17:45:24.249Z] "registry-mirrors": [ [2023-03-08T17:45:24.249Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T17:45:24.249Z] ], [2023-03-08T17:45:24.249Z] "bip": "10.250.0.254/24", [2023-03-08T17:45:24.249Z] "hosts": [ [2023-03-08T17:45:24.249Z] "tcp://0.0.0.0:5555", [2023-03-08T17:45:24.249Z] "unix:///var/run/docker.sock" [2023-03-08T17:45:24.249Z] ], [2023-03-08T17:45:24.249Z] "mtu": 1458, [2023-03-08T17:45:24.249Z] "selinux-enabled": true, [2023-03-08T17:45:24.249Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T17:45:24.249Z] } [Pipeline] sh [2023-03-08T17:45:24.589Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-03-08T17:45:24.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T17:45:24.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2023-03-08T17:45:24.860Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-08T17:45:24.860Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-08T17:45:24.860Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-08T17:45:24.860Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-08T17:45:24.860Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-08T17:45:24.860Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T17:45:24.860Z] OK: 8 MiB in 19 packages [2023-03-08T17:45:24.928Z] + sudo service docker restart [2023-03-08T17:45:25.432Z] Removing intermediate container 423e0883eb60 [2023-03-08T17:45:25.432Z] ---> d6d8a7df1ae8 [2023-03-08T17:45:25.432Z] Step 14/23 : WORKDIR / [2023-03-08T17:45:25.432Z] ---> Running in 17eeb231885a [2023-03-08T17:45:25.432Z] Removing intermediate container 17eeb231885a [2023-03-08T17:45:25.432Z] ---> b3a97e277c87 [2023-03-08T17:45:25.432Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T17:45:25.690Z] ---> 687c9f1c873e [2023-03-08T17:45:25.690Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T17:45:26.255Z] ---> eef9f16fcaa9 [2023-03-08T17:45:26.255Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T17:45:26.255Z] ---> 4b0cda53ca25 [2023-03-08T17:45:26.255Z] Step 18/23 : EXPOSE 59999 [2023-03-08T17:45:26.255Z] ---> Running in 24b5b5f72c7a [2023-03-08T17:45:26.513Z] Removing intermediate container 24b5b5f72c7a [2023-03-08T17:45:26.513Z] ---> bd9df7391b87 [2023-03-08T17:45:26.513Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T17:45:26.513Z] ---> Running in 27081d4aad80 [2023-03-08T17:45:26.513Z] Removing intermediate container 27081d4aad80 [2023-03-08T17:45:26.513Z] ---> be07a32c87e9 [2023-03-08T17:45:26.513Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-08T17:45:26.513Z] ---> Running in 48498f029f17 [2023-03-08T17:45:26.771Z] Removing intermediate container 48498f029f17 [2023-03-08T17:45:26.771Z] ---> 8d220cdbbb47 [2023-03-08T17:45:26.771Z] Step 21/23 : LABEL arch=amd64 [2023-03-08T17:45:26.771Z] ---> Running in 8990759c6bf5 [2023-03-08T17:45:26.771Z] Removing intermediate container 8990759c6bf5 [2023-03-08T17:45:26.771Z] ---> 304c88724df8 [2023-03-08T17:45:26.771Z] Step 22/23 : LABEL git_sha=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [2023-03-08T17:45:26.771Z] ---> Running in 964f841195d4 [2023-03-08T17:45:27.080Z] Removing intermediate container 964f841195d4 [2023-03-08T17:45:27.080Z] ---> 13861576b827 [2023-03-08T17:45:27.080Z] Step 23/23 : LABEL version=2.3.1-dev.1 [2023-03-08T17:45:27.080Z] ---> Running in 7ac9a8346ffe [2023-03-08T17:45:27.080Z] Removing intermediate container 7ac9a8346ffe [2023-03-08T17:45:27.080Z] ---> f2a9ad310b1f [2023-03-08T17:45:27.080Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T17:45:27.080Z] Successfully built f2a9ad310b1f [2023-03-08T17:45:27.080Z] 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-08T17:45:27.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T17:45:27.565Z] [2023-03-08T17:45:27.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:45:27.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T17:45:27.920Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T17:45:27.920Z] 5eb5b503b376: Pulling fs layer [2023-03-08T17:45:27.920Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T17:45:27.920Z] ec43610c2a17: Pulling fs layer [2023-03-08T17:45:27.920Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T17:45:27.920Z] 33b1e0a273af: Pulling fs layer [2023-03-08T17:45:27.920Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T17:45:27.920Z] 2f39f015ded8: Pulling fs layer [2023-03-08T17:45:27.920Z] 3a2ae6a8a46f: Waiting [2023-03-08T17:45:27.920Z] 5d3b04190fa2: Waiting [2023-03-08T17:45:27.920Z] 2f39f015ded8: Waiting [2023-03-08T17:45:27.920Z] 33b1e0a273af: Waiting [2023-03-08T17:45:27.920Z] 5c69ac0246d0: Verifying Checksum [2023-03-08T17:45:27.920Z] 5c69ac0246d0: Download complete [2023-03-08T17:45:27.920Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-08T17:45:27.920Z] 3a2ae6a8a46f: Download complete [2023-03-08T17:45:28.180Z] 33b1e0a273af: Verifying Checksum [2023-03-08T17:45:28.180Z] 33b1e0a273af: Download complete [2023-03-08T17:45:28.180Z] 5d3b04190fa2: Verifying Checksum [2023-03-08T17:45:28.180Z] 5d3b04190fa2: Download complete [2023-03-08T17:45:28.180Z] ec43610c2a17: Verifying Checksum [2023-03-08T17:45:28.180Z] ec43610c2a17: Download complete [2023-03-08T17:45:28.180Z] 5eb5b503b376: Verifying Checksum [2023-03-08T17:45:28.180Z] 5eb5b503b376: Download complete [2023-03-08T17:45:29.114Z] 2f39f015ded8: Download complete [2023-03-08T17:45:29.372Z] 5eb5b503b376: Pull complete [2023-03-08T17:45:29.630Z] 5c69ac0246d0: Pull complete [2023-03-08T17:45:29.888Z] ec43610c2a17: Pull complete [2023-03-08T17:45:30.146Z] 3a2ae6a8a46f: Pull complete [2023-03-08T17:45:30.146Z] 33b1e0a273af: Pull complete [2023-03-08T17:45:30.404Z] 5d3b04190fa2: Pull complete [2023-03-08T17:45:34.595Z] 2f39f015ded8: Pull complete [2023-03-08T17:45:34.595Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T17:45:34.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T17:45:34.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:45:34.678Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-03-08T17:45:34.712Z] $ 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/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@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-08T17:45:36.233Z] $ docker top e0bd03d3d6846c7a4513a01a40c18e2c1e5feae1726ce241b9870a3b02d54af1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:45:36.623Z] ---> job-cost.sh [2023-03-08T17:45:36.623Z] lf-activate-venv: SKIPPING [2023-03-08T17:45:36.623Z] INFO: No Stack... [2023-03-08T17:45:36.883Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T17:45:37.142Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T17:45:37.433Z] + cat /w/workspace/dgexfoundry_device-sdk-go_levski/archives/cost.csv [2023-03-08T17:45:37.433Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T17:45:37.450Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-3-stack-cost] [2023-03-08T17:45:37.455Z] Resource [jenkins-edgexfoundry-device-sdk-go-levski-3-stack-cost] did not exist. Created. [2023-03-08T17:45:37.455Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T17:45:37.749Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T17:45:37.781Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T17:45:37.788Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T17:45:37.808Z] $ docker stop --time=1 e0bd03d3d6846c7a4513a01a40c18e2c1e5feae1726ce241b9870a3b02d54af1 [2023-03-08T17:45:38.958Z] $ docker rm -f --volumes e0bd03d3d6846c7a4513a01a40c18e2c1e5feae1726ce241b9870a3b02d54af1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T17:45:43.206Z] provisioning config files... [2023-03-08T17:45:43.230Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config593380262253907624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:45:43.587Z] ---> docker-login.sh [2023-03-08T17:45:43.587Z] nexus3.edgexfoundry.org:10001 [2023-03-08T17:45:44.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:45:44.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:45:44.176Z] Configure a credential helper to remove this warning. See [2023-03-08T17:45:44.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:45:44.176Z] [2023-03-08T17:45:44.176Z] Login Succeeded [2023-03-08T17:45:44.176Z] nexus3.edgexfoundry.org:10002 [2023-03-08T17:45:44.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:45:44.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:45:44.446Z] Configure a credential helper to remove this warning. See [2023-03-08T17:45:44.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:45:44.446Z] [2023-03-08T17:45:44.446Z] Login Succeeded [2023-03-08T17:45:44.446Z] nexus3.edgexfoundry.org:10003 [2023-03-08T17:45:44.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:45:44.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:45:44.988Z] Configure a credential helper to remove this warning. See [2023-03-08T17:45:44.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:45:44.988Z] [2023-03-08T17:45:44.988Z] Login Succeeded [2023-03-08T17:45:44.988Z] nexus3.edgexfoundry.org:10004 [2023-03-08T17:45:45.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:45:45.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:45:45.258Z] Configure a credential helper to remove this warning. See [2023-03-08T17:45:45.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:45:45.258Z] [2023-03-08T17:45:45.258Z] Login Succeeded [2023-03-08T17:45:45.258Z] docker.io [2023-03-08T17:45:45.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:45:45.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:45:45.802Z] Configure a credential helper to remove this warning. See [2023-03-08T17:45:45.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:45:45.802Z] [2023-03-08T17:45:45.802Z] Login Succeeded [2023-03-08T17:45:45.802Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T17:45:45.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T17:45:46.076Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T17:45:46.088Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T17:45:46.103Z] ========================================================= [2023-03-08T17:45:46.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T17:45:46.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:45:46.455Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T17:45:46.722Z] Sending build context to Docker daemon 5.747MB [2023-03-08T17:45:46.722Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T17:45:46.722Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T17:45:46.993Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T17:45:46.993Z] 9b18e9b68314: Pulling fs layer [2023-03-08T17:45:46.993Z] 35d82f9e3411: Pulling fs layer [2023-03-08T17:45:46.993Z] e16973657156: Pulling fs layer [2023-03-08T17:45:46.993Z] fc693d55d65f: Pulling fs layer [2023-03-08T17:45:46.993Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T17:45:46.993Z] dda99020689f: Pulling fs layer [2023-03-08T17:45:46.993Z] db1c61fa0a46: Pulling fs layer [2023-03-08T17:45:46.993Z] 891c053d2c06: Pulling fs layer [2023-03-08T17:45:46.993Z] fc693d55d65f: Waiting [2023-03-08T17:45:46.993Z] dda99020689f: Waiting [2023-03-08T17:45:46.993Z] db1c61fa0a46: Waiting [2023-03-08T17:45:46.993Z] 7e9fc2657dce: Waiting [2023-03-08T17:45:46.993Z] 891c053d2c06: Waiting [2023-03-08T17:45:46.993Z] e16973657156: Verifying Checksum [2023-03-08T17:45:46.993Z] e16973657156: Download complete [2023-03-08T17:45:46.993Z] 35d82f9e3411: Download complete [2023-03-08T17:45:46.993Z] 7e9fc2657dce: Download complete [2023-03-08T17:45:46.993Z] dda99020689f: Download complete [2023-03-08T17:45:46.993Z] 9b18e9b68314: Verifying Checksum [2023-03-08T17:45:47.955Z] 9b18e9b68314: Pull complete [2023-03-08T17:45:48.223Z] 891c053d2c06: Verifying Checksum [2023-03-08T17:45:48.223Z] 891c053d2c06: Download complete [2023-03-08T17:45:48.500Z] 35d82f9e3411: Pull complete [2023-03-08T17:45:48.784Z] e16973657156: Pull complete [2023-03-08T17:45:49.374Z] db1c61fa0a46: Verifying Checksum [2023-03-08T17:45:49.374Z] db1c61fa0a46: Download complete [2023-03-08T17:45:49.957Z] fc693d55d65f: Download complete [2023-03-08T17:46:02.295Z] fc693d55d65f: Pull complete [2023-03-08T17:46:02.295Z] 7e9fc2657dce: Pull complete [2023-03-08T17:46:02.295Z] dda99020689f: Pull complete [2023-03-08T17:46:09.010Z] db1c61fa0a46: Pull complete [2023-03-08T17:46:10.425Z] 891c053d2c06: Pull complete [2023-03-08T17:46:10.425Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T17:46:10.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T17:46:10.425Z] ---> f96f9c87975a [2023-03-08T17:46:10.425Z] Step 3/10 : ARG MAKE=make build [2023-03-08T17:46:12.432Z] ---> Running in 6addecd7de9d [2023-03-08T17:46:12.432Z] Removing intermediate container 6addecd7de9d [2023-03-08T17:46:12.432Z] ---> 551b278ebf60 [2023-03-08T17:46:12.432Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T17:46:12.432Z] ---> Running in 1a690130eb6f [2023-03-08T17:46:12.741Z] Removing intermediate container 1a690130eb6f [2023-03-08T17:46:12.741Z] ---> 9e17fe553f83 [2023-03-08T17:46:12.741Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T17:46:12.741Z] ---> Running in 16b6a30fc157 [2023-03-08T17:46:13.336Z] Removing intermediate container 16b6a30fc157 [2023-03-08T17:46:13.336Z] ---> 84679303d449 [2023-03-08T17:46:13.336Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-08T17:46:13.336Z] ---> Running in fe2e9ee4e79b [2023-03-08T17:46:14.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T17:46:14.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T17:46:15.522Z] OK: 221 MiB in 51 packages [2023-03-08T17:46:16.484Z] Removing intermediate container fe2e9ee4e79b [2023-03-08T17:46:16.484Z] ---> 723d30824052 [2023-03-08T17:46:16.484Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T17:46:17.443Z] ---> 44f5d719db0a [2023-03-08T17:46:17.443Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T17:46:17.443Z] ---> Running in ee96be8cf760 [2023-03-08T17:47:25.304Z] Removing intermediate container ee96be8cf760 [2023-03-08T17:47:25.304Z] ---> 67bf8fc49779 [2023-03-08T17:47:25.304Z] Step 9/10 : COPY . . [2023-03-08T17:47:25.304Z] ---> 070e083dcb4c [2023-03-08T17:47:25.304Z] Step 10/10 : RUN ${MAKE} [2023-03-08T17:47:25.304Z] ---> Running in 1447ee6026db [2023-03-08T17:47:25.304Z] noop [2023-03-08T17:47:25.304Z] Removing intermediate container 1447ee6026db [2023-03-08T17:47:25.304Z] ---> 08f1d977c1cc [2023-03-08T17:47:25.304Z] Successfully built 08f1d977c1cc [2023-03-08T17:47:25.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:47:25.658Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T17:47:25.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:47:25.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-8837 does not seem to be running inside a container [2023-03-08T17:47:25.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-08T17:47:27.000Z] $ docker top 848a08249640508d9ba227b35c9ba9bc8b113c022442756bbc86bcae089960f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:47:27.804Z] + go version [2023-03-08T17:47:27.804Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T17:47:27.824Z] $ docker stop --time=1 848a08249640508d9ba227b35c9ba9bc8b113c022442756bbc86bcae089960f5 [2023-03-08T17:47:29.384Z] $ docker rm -f --volumes 848a08249640508d9ba227b35c9ba9bc8b113c022442756bbc86bcae089960f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:47:29.905Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T17:47:29.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:47:30.060Z] prd-ubuntu20.04-docker-arm64-4c-16g-8837 does not seem to be running inside a container [2023-03-08T17:47:30.120Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-08T17:47:31.144Z] $ docker top d55a39bdf43fbc13e88cd80513a9f33428820853016566e6c5109aec340be86a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:47:31.626Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-08T17:47:31.961Z] + make test [2023-03-08T17:47:31.961Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-08T17:48:04.174Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-08T17:49:55.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-08T17:49:55.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-08T17:49:55.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-08T17:49:55.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-08T17:49:55.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-08T17:50:00.116Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.511s coverage: 27.6% of statements [2023-03-08T17:50:01.520Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.515s coverage: 78.9% of statements [2023-03-08T17:50:01.520Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-08T17:50:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.739s coverage: 73.1% of statements [2023-03-08T17:50:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-08T17:50:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-08T17:50:12.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.675s coverage: 54.4% of statements [2023-03-08T17:50:12.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-08T17:50:12.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-08T17:50:12.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-08T17:50:12.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-08T17:50:13.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.457s coverage: 65.1% of statements [2023-03-08T17:50:13.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-08T17:50:13.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-08T17:50:13.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.641s coverage: 89.2% of statements [2023-03-08T17:50:13.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-08T17:50:17.617Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.244s coverage: 4.7% of statements [2023-03-08T17:50:17.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-08T17:50:18.198Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T17:50:18.198Z] GO111MODULE=on go vet ./... [2023-03-08T17:52:09.903Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T17:52:09.903Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T17:52:09.903Z] ./bin/test-attribution-txt.sh [2023-03-08T17:52:09.903Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-08T17:52:09.903Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-08T17:52:09.903Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-08T17:52:09.903Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T17:52:09.924Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T17:52:09.948Z] $ docker stop --time=1 d55a39bdf43fbc13e88cd80513a9f33428820853016566e6c5109aec340be86a [2023-03-08T17:52:11.753Z] $ docker rm -f --volumes d55a39bdf43fbc13e88cd80513a9f33428820853016566e6c5109aec340be86a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T17:52:13.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T17:52:13.110Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T17:52:13.607Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T17:52:13.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T17:52:14.298Z] + ls -al . [2023-03-08T17:52:14.298Z] total 276 [2023-03-08T17:52:14.298Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 17:47 . [2023-03-08T17:52:14.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:45 .. [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 17:45 .dockerignore [2023-03-08T17:52:14.298Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 17:45 .git [2023-03-08T17:52:14.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:45 .github [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 17:45 .gitignore [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 17:45 .golangci.yml [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 17:45 CHANGELOG.md [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 17:45 GOVERNANCE.md [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 8 17:45 Jenkinsfile [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 17:45 LICENSE [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 8 17:45 Makefile [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 17:45 OWNERS.md [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 8 17:45 README.md [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 8 17:43 VERSION [2023-03-08T17:52:14.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:45 bin [2023-03-08T17:52:14.298Z] -rw-r--r-- 1 jenkins jenkins 101840 Mar 8 17:50 coverage.out [2023-03-08T17:52:14.298Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 17:45 example [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 8 17:45 go.mod [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 8 17:45 go.sum [2023-03-08T17:52:14.298Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 8 17:45 internal [2023-03-08T17:52:14.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:45 openapi [2023-03-08T17:52:14.298Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 17:45 pkg [2023-03-08T17:52:14.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:45 snap [2023-03-08T17:52:14.298Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 17:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:52:14.641Z] + 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=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 --label arch=arm64 --label version=2.3.1-dev.1 . [2023-03-08T17:52:14.911Z] Sending build context to Docker daemon 5.85MB [2023-03-08T17:52:15.179Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T17:52:15.179Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T17:52:15.179Z] ---> 08f1d977c1cc [2023-03-08T17:52:15.179Z] Step 3/23 : ARG MAKE=make build [2023-03-08T17:52:15.179Z] ---> Running in e9770035419e [2023-03-08T17:52:15.465Z] Removing intermediate container e9770035419e [2023-03-08T17:52:15.465Z] ---> 4eeee0207316 [2023-03-08T17:52:15.465Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T17:52:15.465Z] ---> Running in 99c1d9f6d656 [2023-03-08T17:52:16.053Z] Removing intermediate container 99c1d9f6d656 [2023-03-08T17:52:16.053Z] ---> 1a7e6333e23b [2023-03-08T17:52:16.053Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T17:52:16.053Z] ---> Running in 4917eb27e078 [2023-03-08T17:52:16.321Z] Removing intermediate container 4917eb27e078 [2023-03-08T17:52:16.321Z] ---> 2ec19de0ea7a [2023-03-08T17:52:16.321Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-08T17:52:16.321Z] ---> Running in 7f3407e72c09 [2023-03-08T17:52:17.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T17:52:17.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T17:52:18.838Z] OK: 221 MiB in 51 packages [2023-03-08T17:52:20.255Z] Removing intermediate container 7f3407e72c09 [2023-03-08T17:52:20.255Z] ---> 43a64d8e59bc [2023-03-08T17:52:20.255Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T17:52:20.853Z] ---> 44ff981d2ae9 [2023-03-08T17:52:20.853Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T17:52:20.853Z] ---> Running in cc7570b0ff4c [2023-03-08T17:52:22.823Z] Removing intermediate container cc7570b0ff4c [2023-03-08T17:52:22.823Z] ---> 66a5d621d078 [2023-03-08T17:52:22.823Z] Step 9/23 : COPY . . [2023-03-08T17:52:24.238Z] ---> 0ed090238578 [2023-03-08T17:52:24.238Z] Step 10/23 : RUN ${MAKE} [2023-03-08T17:52:24.238Z] ---> Running in e4ec095cea12 [2023-03-08T17:52:25.205Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-08T17:54:46.895Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-03-08T17:54:46.895Z] Removing intermediate container e4ec095cea12 [2023-03-08T17:54:46.895Z] ---> 10ca0b996375 [2023-03-08T17:54:46.895Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T17:54:46.895Z] 3.16: Pulling from library/alpine [2023-03-08T17:54:46.895Z] 3760b48202b3: Pulling fs layer [2023-03-08T17:54:46.895Z] 3760b48202b3: Verifying Checksum [2023-03-08T17:54:46.895Z] 3760b48202b3: Download complete [2023-03-08T17:54:46.895Z] 3760b48202b3: Pull complete [2023-03-08T17:54:46.895Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T17:54:46.895Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T17:54:46.895Z] ---> 4c81e5bf8899 [2023-03-08T17:54:46.895Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T17:54:46.895Z] ---> Running in 02965e99f9f1 [2023-03-08T17:54:46.895Z] Removing intermediate container 02965e99f9f1 [2023-03-08T17:54:46.895Z] ---> 387b93f2abfb [2023-03-08T17:54:46.895Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-08T17:54:46.895Z] ---> Running in 4f5833473061 [2023-03-08T17:54:46.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T17:54:46.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T17:54:46.895Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-08T17:54:46.895Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-08T17:54:46.895Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-08T17:54:46.895Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-08T17:54:46.895Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-08T17:54:46.895Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T17:54:46.895Z] OK: 8 MiB in 19 packages [2023-03-08T17:54:47.480Z] Removing intermediate container 4f5833473061 [2023-03-08T17:54:47.480Z] ---> 3592135897f9 [2023-03-08T17:54:47.480Z] Step 14/23 : WORKDIR / [2023-03-08T17:54:47.480Z] ---> Running in 6deed379d3a0 [2023-03-08T17:54:47.750Z] Removing intermediate container 6deed379d3a0 [2023-03-08T17:54:47.750Z] ---> 16e6c258c3a7 [2023-03-08T17:54:47.750Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T17:54:48.337Z] ---> 93728cc76233 [2023-03-08T17:54:48.337Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T17:54:49.747Z] ---> 8f3431336b31 [2023-03-08T17:54:49.747Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T17:54:50.336Z] ---> 6f00ac2a01d3 [2023-03-08T17:54:50.336Z] Step 18/23 : EXPOSE 59999 [2023-03-08T17:54:50.336Z] ---> Running in 6bc47fbeb129 [2023-03-08T17:54:50.612Z] Removing intermediate container 6bc47fbeb129 [2023-03-08T17:54:50.613Z] ---> 07b412e561b7 [2023-03-08T17:54:50.613Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T17:54:50.879Z] ---> Running in d57f6cdd8bc9 [2023-03-08T17:54:51.150Z] Removing intermediate container d57f6cdd8bc9 [2023-03-08T17:54:51.150Z] ---> b5631e17b4b7 [2023-03-08T17:54:51.150Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-08T17:54:51.150Z] ---> Running in 472fc697e97b [2023-03-08T17:54:51.420Z] Removing intermediate container 472fc697e97b [2023-03-08T17:54:51.420Z] ---> 4d96fb5a958f [2023-03-08T17:54:51.420Z] Step 21/23 : LABEL arch=arm64 [2023-03-08T17:54:51.693Z] ---> Running in c79755135c87 [2023-03-08T17:54:51.960Z] Removing intermediate container c79755135c87 [2023-03-08T17:54:51.960Z] ---> d399bc7a9654 [2023-03-08T17:54:51.960Z] Step 22/23 : LABEL git_sha=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [2023-03-08T17:54:51.960Z] ---> Running in 635068645ebf [2023-03-08T17:54:52.229Z] Removing intermediate container 635068645ebf [2023-03-08T17:54:52.229Z] ---> f54960002523 [2023-03-08T17:54:52.229Z] Step 23/23 : LABEL version=2.3.1-dev.1 [2023-03-08T17:54:52.229Z] ---> Running in df261d89fbd6 [2023-03-08T17:54:52.498Z] Removing intermediate container df261d89fbd6 [2023-03-08T17:54:52.498Z] ---> 114628760731 [2023-03-08T17:54:52.498Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T17:54:52.766Z] Successfully built 114628760731 [2023-03-08T17:54:52.766Z] 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-08T17:54:53.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T17:54:53.183Z] [2023-03-08T17:54:53.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:54:53.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T17:54:53.899Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T17:54:53.899Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T17:54:53.899Z] 04944245beec: Pulling fs layer [2023-03-08T17:54:53.899Z] 699f458cf7ca: Pulling fs layer [2023-03-08T17:54:53.899Z] 765212b225bb: Pulling fs layer [2023-03-08T17:54:53.899Z] f23df028b6ca: Pulling fs layer [2023-03-08T17:54:53.899Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T17:54:53.899Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T17:54:53.899Z] f23df028b6ca: Waiting [2023-03-08T17:54:53.899Z] d65c8cfc05b1: Waiting [2023-03-08T17:54:53.899Z] 2437ff75d9bd: Waiting [2023-03-08T17:54:53.899Z] 765212b225bb: Waiting [2023-03-08T17:54:53.899Z] 04944245beec: Verifying Checksum [2023-03-08T17:54:53.899Z] 04944245beec: Download complete [2023-03-08T17:54:53.899Z] 765212b225bb: Verifying Checksum [2023-03-08T17:54:53.899Z] 765212b225bb: Download complete [2023-03-08T17:54:53.899Z] f23df028b6ca: Verifying Checksum [2023-03-08T17:54:53.899Z] f23df028b6ca: Download complete [2023-03-08T17:54:53.899Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T17:54:53.899Z] d65c8cfc05b1: Download complete [2023-03-08T17:54:54.180Z] 699f458cf7ca: Verifying Checksum [2023-03-08T17:54:54.180Z] 699f458cf7ca: Download complete [2023-03-08T17:54:54.461Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T17:54:54.461Z] 8998bd30e6a1: Download complete [2023-03-08T17:54:57.149Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T17:54:57.149Z] 2437ff75d9bd: Download complete [2023-03-08T17:54:58.564Z] 8998bd30e6a1: Pull complete [2023-03-08T17:54:59.150Z] 04944245beec: Pull complete [2023-03-08T17:55:00.558Z] 699f458cf7ca: Pull complete [2023-03-08T17:55:00.826Z] 765212b225bb: Pull complete [2023-03-08T17:55:01.411Z] f23df028b6ca: Pull complete [2023-03-08T17:55:01.677Z] d65c8cfc05b1: Pull complete [2023-03-08T17:55:16.669Z] 2437ff75d9bd: Pull complete [2023-03-08T17:55:16.669Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T17:55:16.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T17:55:16.669Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:55:16.861Z] prd-ubuntu20.04-docker-arm64-4c-16g-8837 does not seem to be running inside a container [2023-03-08T17:55:16.938Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-08T17:55:19.617Z] $ docker top 21be47e0921bebac071b84c868f22ecba66ced86c3fed55e9fe2204cb030ff8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:55:20.121Z] ---> job-cost.sh [2023-03-08T17:55:20.387Z] lf-activate-venv: SKIPPING [2023-03-08T17:55:20.387Z] INFO: No Stack... [2023-03-08T17:55:20.653Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T17:55:21.613Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T17:55:21.940Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-03-08T17:55:21.940Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T17:55:22.279Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-3-stack-cost] [2023-03-08T17:55:22.285Z] Resource [jenkins-edgexfoundry-device-sdk-go-levski-3-stack-cost] did not exist. Created. [2023-03-08T17:55:22.285Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T17:55:22.622Z] /w/workspace/device-sdk-go/3@tmp/durable-51b756db/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T17:55:22.969Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T17:55:22.998Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T17:55:23.065Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T17:55:23.072Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T17:55:23.095Z] $ docker stop --time=1 21be47e0921bebac071b84c868f22ecba66ced86c3fed55e9fe2204cb030ff8b [2023-03-08T17:55:24.581Z] $ docker rm -f --volumes 21be47e0921bebac071b84c868f22ecba66ced86c3fed55e9fe2204cb030ff8b [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-08T17:55:24.987Z] provisioning config files... [2023-03-08T17:55:24.993Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config5771305640833797813tmp [Pipeline] { [Pipeline] sh [2023-03-08T17:55:25.281Z] + set +x [2023-03-08T17:55:25.281Z] + curl -s https://codecov.io/bash [2023-03-08T17:55:25.281Z] + bash -s -- [2023-03-08T17:55:25.281Z] [2023-03-08T17:55:25.281Z] _____ _ [2023-03-08T17:55:25.281Z] / ____| | | [2023-03-08T17:55:25.281Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T17:55:25.281Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T17:55:25.281Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T17:55:25.281Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T17:55:25.281Z] Bash-1.0.6 [2023-03-08T17:55:25.281Z] [2023-03-08T17:55:25.281Z] [2023-03-08T17:55:25.281Z] ==> git version 2.25.1 found [2023-03-08T17:55:25.281Z] ==> 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-08T17:55:25.281Z] Release-Date: 2020-01-08 [2023-03-08T17:55:25.281Z] 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-08T17:55:25.281Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T17:55:25.281Z] ==> Jenkins CI detected. [2023-03-08T17:55:25.281Z] current dir:  /w/workspace/dgexfoundry_device-sdk-go_levski [2023-03-08T17:55:25.281Z] project root: . [2023-03-08T17:55:25.281Z] --> token set from env [2023-03-08T17:55:25.281Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T17:55:25.281Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T17:55:25.281Z] ==> Python coveragepy not found [2023-03-08T17:55:25.281Z] ==> Searching for coverage reports in: [2023-03-08T17:55:25.281Z] + . [2023-03-08T17:55:25.281Z] -> Found 1 reports [2023-03-08T17:55:25.281Z] ==> Detecting git/mercurial file structure [2023-03-08T17:55:25.282Z] ==> Reading reports [2023-03-08T17:55:25.539Z] + ./coverage.out bytes=101840 [2023-03-08T17:55:25.539Z] ==> Appending adjustments [2023-03-08T17:55:25.539Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T17:55:25.797Z] + Found adjustments [2023-03-08T17:55:25.797Z] ==> Gzipping contents [2023-03-08T17:55:25.797Z] 16K /tmp/codecov.u2FCAI.gz [2023-03-08T17:55:25.797Z] ==> Uploading reports [2023-03-08T17:55:25.797Z] url: https://codecov.io [2023-03-08T17:55:25.798Z] query: branch=levski&commit=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-08T17:55:25.798Z] -> Pinging Codecov [2023-03-08T17:55:25.798Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=levski&commit=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-08T17:55:32.360Z] -> Uploading to [2023-03-08T17:55:32.360Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7E55EF52A471D76F132DFD9A03CDDE97/4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7/be707ff8-4d1f-497e-9a77-6b1df82d3524.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T175531Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ff6f5ba0b64658fc637f545c4e3e49010de1c4cca0de9b6f12a89a2480d4712 [2023-03-08T17:55:32.360Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T17:55:32.360Z] Dload Upload Total Spent Left Speed [2023-03-08T17:55:32.360Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14702 0 0 100 14702 0 47425 --:--:-- --:--:-- --:--:-- 47425 [2023-03-08T17:55:32.360Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] } [2023-03-08T17:55:32.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-08T17:55:32.499Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-08T17:55:32.509Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:55:32.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-08T17:55:32.803Z] [2023-03-08T17:55:32.803Z] 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-08T17:55:33.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-08T17:55:33.106Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-08T17:55:33.106Z] df9b9388f04a: Pulling fs layer [2023-03-08T17:55:33.106Z] 52dc419b0ee2: Pulling fs layer [2023-03-08T17:55:33.106Z] 25bc292e5bac: Pulling fs layer [2023-03-08T17:55:33.106Z] 114826534d7a: Pulling fs layer [2023-03-08T17:55:33.106Z] 4657fd5d0bcf: Pulling fs layer [2023-03-08T17:55:33.106Z] 6ad1cebc031e: Pulling fs layer [2023-03-08T17:55:33.106Z] 8a3aa393b2d8: Pulling fs layer [2023-03-08T17:55:33.106Z] 114826534d7a: Waiting [2023-03-08T17:55:33.106Z] 4657fd5d0bcf: Waiting [2023-03-08T17:55:33.106Z] 8a3aa393b2d8: Waiting [2023-03-08T17:55:33.106Z] 25bc292e5bac: Verifying Checksum [2023-03-08T17:55:33.106Z] 25bc292e5bac: Download complete [2023-03-08T17:55:33.106Z] 52dc419b0ee2: Verifying Checksum [2023-03-08T17:55:33.106Z] 52dc419b0ee2: Download complete [2023-03-08T17:55:33.106Z] 4657fd5d0bcf: Verifying Checksum [2023-03-08T17:55:33.106Z] 4657fd5d0bcf: Download complete [2023-03-08T17:55:33.368Z] df9b9388f04a: Download complete [2023-03-08T17:55:33.368Z] df9b9388f04a: Pull complete [2023-03-08T17:55:33.368Z] 6ad1cebc031e: Verifying Checksum [2023-03-08T17:55:33.368Z] 6ad1cebc031e: Download complete [2023-03-08T17:55:33.627Z] 52dc419b0ee2: Pull complete [2023-03-08T17:55:33.627Z] 25bc292e5bac: Pull complete [2023-03-08T17:55:34.193Z] 114826534d7a: Download complete [2023-03-08T17:55:34.194Z] 8a3aa393b2d8: Verifying Checksum [2023-03-08T17:55:34.194Z] 8a3aa393b2d8: Download complete [2023-03-08T17:55:37.475Z] 114826534d7a: Pull complete [2023-03-08T17:55:37.475Z] 4657fd5d0bcf: Pull complete [2023-03-08T17:55:37.732Z] 6ad1cebc031e: Pull complete [2023-03-08T17:55:41.011Z] 8a3aa393b2d8: Pull complete [2023-03-08T17:55:41.011Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-08T17:55:41.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-08T17:55:41.011Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:55:41.087Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-03-08T17:55:41.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-08T17:55:43.034Z] $ docker top f2e99d0f5a5c3175f89dcf28b16cce4b8c556da7eb7b23b180046536af5d806e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-08T17:55:43.099Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:levski' [Pipeline] sh [2023-03-08T17:55:43.375Z] + set -o pipefail [2023-03-08T17:55:43.375Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:levski' [2023-03-08T17:55:48.641Z] [2023-03-08T17:55:48.641Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_levski (github.com/edgexfoundry/device-sdk-go/v2)... [2023-03-08T17:55:48.641Z] [2023-03-08T17:55:48.641Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/7f96d442-1b96-43d8-af02-66b3b682a0df/history/2ad562fd-cd99-4bcc-bcf5-5783a328c9e3 [2023-03-08T17:55:48.641Z] [2023-03-08T17:55:48.641Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-08T17:55:48.642Z] [2023-03-08T17:55:50.012Z] [2023-03-08T17:55:50.012Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-08T17:55:50.012Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-08T17:55:50.012Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-08T17:55:50.019Z] $ docker stop --time=1 f2e99d0f5a5c3175f89dcf28b16cce4b8c556da7eb7b23b180046536af5d806e [2023-03-08T17:55:52.152Z] $ docker rm -f --volumes f2e99d0f5a5c3175f89dcf28b16cce4b8c556da7eb7b23b180046536af5d806e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-03-08T17:55:52.527Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T17:55:52.536Z] provisioning config files... [2023-03-08T17:55:52.543Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config5932009123376943475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:55:52.835Z] --> edgex-publish-swagger.sh [2023-03-08T17:55:52.835Z] === Publish openapi/v2 API === [2023-03-08T17:55:52.835Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2023-03-08T17:55:52.835Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_levski/openapi/v2/device-sdk.yaml] [2023-03-08T17:55:52.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T17:55:52.835Z] Dload Upload Total Spent Left Speed [2023-03-08T17:55:53.093Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 112k --:--:-- --:--:-- --:--:-- 112k [2023-03-08T17:55:53.093Z] [2023-03-08T17:55:53.093Z] [Pipeline] } [2023-03-08T17:55:53.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T17:55:53.503Z] + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] sh [2023-03-08T17:55:53.791Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T17:55:53.791Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:55:54.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T17:55:54.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:55:54.151Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-03-08T17:55:54.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T17:55:54.552Z] $ docker top 8bde7f7e3e388307ae4f5e487af05604c3264243f97228f5ec4455e83a237511 -eo pid,comm [2023-03-08T17:55:54.597Z] 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-08T17:55:54.597Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T17:55:54.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T17:55:54.637Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T17:55:54.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T17:55:54.738Z] $ docker exec 8bde7f7e3e388307ae4f5e487af05604c3264243f97228f5ec4455e83a237511 ssh-agent [2023-03-08T17:55:54.834Z] SSH_AUTH_SOCK=/tmp/ssh-HffkbCobOy2b/agent.32 [2023-03-08T17:55:54.834Z] SSH_AGENT_PID=38 [2023-03-08T17:55:54.839Z] Running ssh-add (command line suppressed) [2023-03-08T17:55:54.937Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_9573348815336469327.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_9573348815336469327.key) [2023-03-08T17:55:54.953Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T17:55:55.238Z] + git semver tag [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,431 [run_tag] DEBUG tag force:False [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,431 [check_head_tag] DEBUG check head tag [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,434 [execute] INFO git cat-file --batch-check [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,438 [execute] INFO git cat-file --batch [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,468 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,468 [execute] INFO git tag -a v2.3.1-dev.1 -m v2.3.1-dev.1 [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,469 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.1', '-m', 'v2.3.1-dev.1'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) [2023-03-08T17:55:55.497Z] 2023-03-08 17:55:55,472 [main] ERROR Cmd('git') failed due to: exit code(128) [2023-03-08T17:55:55.497Z] cmdline: git tag -a v2.3.1-dev.1 -m v2.3.1-dev.1 [2023-03-08T17:55:55.497Z] stderr: 'fatal: tag 'v2.3.1-dev.1' already exists' [2023-03-08T17:55:55.497Z] ERROR: Cmd('git') failed due to: exit code(128) [2023-03-08T17:55:55.497Z] cmdline: git tag -a v2.3.1-dev.1 -m v2.3.1-dev.1 [2023-03-08T17:55:55.497Z] stderr: 'fatal: tag 'v2.3.1-dev.1' already exists' [Pipeline] } [2023-03-08T17:55:55.505Z] $ docker exec --env ******** --env ******** 8bde7f7e3e388307ae4f5e487af05604c3264243f97228f5ec4455e83a237511 ssh-agent -k [2023-03-08T17:55:55.601Z] unset SSH_AUTH_SOCK; [2023-03-08T17:55:55.601Z] unset SSH_AGENT_PID; [2023-03-08T17:55:55.601Z] echo Agent pid 38 killed; [2023-03-08T17:55:55.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-03-08T17:55:55.642Z] $ docker stop --time=1 8bde7f7e3e388307ae4f5e487af05604c3264243f97228f5ec4455e83a237511 [2023-03-08T17:55:56.895Z] $ docker rm -f --volumes 8bde7f7e3e388307ae4f5e487af05604c3264243f97228f5ec4455e83a237511 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Bump Pre-Release Version" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-08T17:55:57.456Z] + [ -d /w/workspace/dgexfoundry_device-sdk-go_levski/archives ] [2023-03-08T17:55:57.456Z] + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives [2023-03-08T17:55:57.456Z] total 16 [2023-03-08T17:55:57.456Z] drwxr-xr-x 3 root root 4096 Mar 8 17:45 . [2023-03-08T17:55:57.456Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 17:45 .. [2023-03-08T17:55:57.456Z] drwxr-xr-x 2 root root 4096 Mar 8 17:45 cost [2023-03-08T17:55:57.456Z] -rw-r--r-- 1 root root 85 Mar 8 17:45 cost.csv [2023-03-08T17:55:57.456Z] + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_device-sdk-go_levski/archives [2023-03-08T17:55:57.456Z] + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives [2023-03-08T17:55:57.456Z] total 16 [2023-03-08T17:55:57.456Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 17:45 . [2023-03-08T17:55:57.456Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 17:45 .. [2023-03-08T17:55:57.456Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 17:45 cost [2023-03-08T17:55:57.456Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 8 17:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:55:57.745Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:55:58.607Z] ---> package-listing.sh [2023-03-08T17:55:58.607Z] ++ facter osfamily [2023-03-08T17:55:58.607Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T17:55:58.866Z] + OS_FAMILY=debian [2023-03-08T17:55:58.866Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_levski [2023-03-08T17:55:58.866Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T17:55:58.866Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T17:55:58.866Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T17:55:58.866Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T17:55:58.866Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' [2023-03-08T17:55:58.866Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T17:55:58.866Z] + case "${OS_FAMILY}" in [2023-03-08T17:55:58.866Z] + grep '^ii' [2023-03-08T17:55:58.866Z] + dpkg -l [2023-03-08T17:55:58.866Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T17:55:58.866Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T17:55:58.866Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T17:55:58.866Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' [2023-03-08T17:55:58.866Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ [2023-03-08T17:55:58.866Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ [Pipeline] echo [2023-03-08T17:55:58.877Z] 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/dgexfoundry_device-sdk-go_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T17:55:59.154Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:55:59.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T17:55:59.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:55:59.774Z] prd-ubuntu20.04-docker-8c-8g-8835 does not seem to be running inside a container [2023-03-08T17:55:59.798Z] $ 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/dgexfoundry_device-sdk-go_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T17:56:00.004Z] $ docker top e27f00c9d580042da50f22745ce45720733a6fc8e77339cdde53f4b842238ac1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:56:00.344Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T17:56:00.629Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T17:56:00.916Z] + ls /var/log/sa-host [2023-03-08T17:56:00.916Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T17:56:00.980Z] provisioning config files... [2023-03-08T17:56:00.990Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config7866354443707507772tmp [Pipeline] { [Pipeline] echo [2023-03-08T17:56:01.005Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:56:01.282Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T17:56:01.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:56:01.602Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T17:56:01.611Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:56:01.893Z] ---> sudo-logs.sh [2023-03-08T17:56:01.894Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T17:56:01.920Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:56:02.200Z] ---> job-cost.sh [2023-03-08T17:56:02.200Z] lf-activate-venv: SKIPPING [2023-03-08T17:56:02.200Z] DEBUG: total: 0.2199999988079071 [2023-03-08T17:56:02.200Z] INFO: Retrieving Stack Cost... [2023-03-08T17:56:02.766Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T17:56:03.025Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T17:56:03.035Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:56:03.313Z] ---> logs-deploy.sh [2023-03-08T17:56:03.313Z] lf-activate-venv: SKIPPING [2023-03-08T17:56:03.313Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/levski/3 [2023-03-08T17:56:03.313Z] INFO: archiving workspace using pattern(s): [2023-03-08T17:56:04.248Z] Archives upload complete. [2023-03-08T17:56:04.507Z] INFO: archiving logs to Nexus