Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9a51d90d45793b537885a974cdf3c636c247a85 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-ssh15720011363967844346.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4984152115962750412.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13514174466472370909.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh6917051092216580625.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-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6447351301388719212.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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2224’ Running on prd-ubuntu20.04-docker-8c-8g-2226 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f9a51d90d45793b537885a974cdf3c636c247a85 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.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 f9a51d90d45793b537885a974cdf3c636c247a85 # timeout=10 Commit message: "feat: add readme and rename collections to clarify collection usage" > git rev-list --no-walk 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-26T16:32:43.770Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-26T16:32:43.814Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-26T16:32:43.826Z] ========================================================= [2023-07-26T16:32:43.827Z] EdgeX Global Pipelines Version Info [2023-07-26T16:32:43.827Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:32:44.528Z] ------------------- [2023-07-26T16:32:44.528Z] stable info: [2023-07-26T16:32:44.528Z] ------------------- [2023-07-26T16:32:44.528Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-26T16:32:44.528Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T16:32:44.528Z] Message: update stable to v1.0.250 [2023-07-26T16:32:45.097Z] ------------------- [2023-07-26T16:32:45.097Z] experimental info: [2023-07-26T16:32:45.097Z] ------------------- [2023-07-26T16:32:45.097Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-26T16:32:45.097Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T16:32:45.097Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-26T16:32:45.245Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-07-26T16:32:45.254Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-07-26T16:32:45.263Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-26T16:32:45.272Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-26T16:32:45.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-26T16:32:45.290Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-26T16:32:45.301Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-26T16:32:45.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-26T16:32:45.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-26T16:32:45.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-26T16:32:45.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-26T16:32:45.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-07-26T16:32:45.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-26T16:32:45.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-26T16:32:45.422Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T16:32:45.437Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T16:32:45.448Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T16:32:45.464Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T16:32:45.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-26T16:32:45.496Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-26T16:32:45.508Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-26T16:32:45.522Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-07-26T16:32:45.537Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-26T16:32:45.548Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-26T16:32:45.562Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-26T16:32:45.582Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-26T16:32:45.602Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-26T16:32:45.618Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-26T16:32:45.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-26T16:32:45.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-26T16:32:45.667Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9a51d90d45793b537885a974cdf3c636c247a85 [Pipeline] echo [2023-07-26T16:32:45.680Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9a51d9 [Pipeline] echo [2023-07-26T16:32:45.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T16:32:45.746Z] provisioning config files... [2023-07-26T16:32:45.760Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9927592453923874508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:32:46.065Z] ---> docker-login.sh [2023-07-26T16:32:46.065Z] nexus3.edgexfoundry.org:10001 [2023-07-26T16:32:46.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:32:46.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:32:46.326Z] Configure a credential helper to remove this warning. See [2023-07-26T16:32:46.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:32:46.326Z] [2023-07-26T16:32:46.326Z] Login Succeeded [2023-07-26T16:32:46.326Z] nexus3.edgexfoundry.org:10002 [2023-07-26T16:32:46.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:32:46.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:32:46.586Z] Configure a credential helper to remove this warning. See [2023-07-26T16:32:46.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:32:46.586Z] [2023-07-26T16:32:46.586Z] Login Succeeded [2023-07-26T16:32:46.586Z] nexus3.edgexfoundry.org:10003 [2023-07-26T16:32:46.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:32:46.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:32:46.586Z] Configure a credential helper to remove this warning. See [2023-07-26T16:32:46.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:32:46.586Z] [2023-07-26T16:32:46.586Z] Login Succeeded [2023-07-26T16:32:46.586Z] nexus3.edgexfoundry.org:10004 [2023-07-26T16:32:46.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:32:46.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:32:46.586Z] Configure a credential helper to remove this warning. See [2023-07-26T16:32:46.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:32:46.586Z] [2023-07-26T16:32:46.586Z] Login Succeeded [2023-07-26T16:32:46.586Z] docker.io [2023-07-26T16:32:46.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:32:47.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:32:47.105Z] Configure a credential helper to remove this warning. See [2023-07-26T16:32:47.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:32:47.105Z] [2023-07-26T16:32:47.105Z] Login Succeeded [2023-07-26T16:32:47.105Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T16:32:47.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-26T16:32:47.501Z] + git rev-list -1 --merges f9a51d90d45793b537885a974cdf3c636c247a85~1..f9a51d90d45793b537885a974cdf3c636c247a85 [Pipeline] echo [2023-07-26T16:32:47.545Z] -----------> git rev-list -1 --merges f9a51d90d45793b537885a974cdf3c636c247a85~1..f9a51d90d45793b537885a974cdf3c636c247a85 f9a51d90d45793b537885a974cdf3c636c247a85 [false] [Pipeline] sh [2023-07-26T16:32:47.838Z] + git log --format=format:%s -1 f9a51d90d45793b537885a974cdf3c636c247a85 [Pipeline] echo [2023-07-26T16:32:47.866Z] ========================================================= [2023-07-26T16:32:47.866Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-26T16:32:47.866Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T16:32:48.187Z] + git log --format=format:%s -1 f9a51d90d45793b537885a974cdf3c636c247a85 [Pipeline] echo [2023-07-26T16:32:48.197Z] [semverPrep] GIT_COMMIT: f9a51d90d45793b537885a974cdf3c636c247a85, Commit Message: feat: add readme and rename collections to clarify collection usage [Pipeline] echo [2023-07-26T16:32:48.204Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-26T16:32:48.555Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-26T16:32:48.555Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-26T16:32:48.555Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-26T16:32:48.555Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-26T16:32:48.555Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-26T16:32:48.555Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-26T16:32:48.555Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:32:48.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T16:32:48.905Z] [2023-07-26T16:32:48.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:32:49.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T16:32:49.210Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-26T16:32:49.210Z] b85a868b505f: Pulling fs layer [2023-07-26T16:32:49.210Z] e2be974225ed: Pulling fs layer [2023-07-26T16:32:49.210Z] 339a4e72a1f5: Pulling fs layer [2023-07-26T16:32:49.210Z] 988bab9f4d93: Pulling fs layer [2023-07-26T16:32:49.210Z] 1469e6f7b9e6: Pulling fs layer [2023-07-26T16:32:49.210Z] eaf3925da568: Pulling fs layer [2023-07-26T16:32:49.210Z] bab4dde63d76: Pulling fs layer [2023-07-26T16:32:49.210Z] bde34c3a00c8: Pulling fs layer [2023-07-26T16:32:49.210Z] b352a97aabf1: Pulling fs layer [2023-07-26T16:32:49.210Z] 4872d77fe225: Pulling fs layer [2023-07-26T16:32:49.210Z] 5851b861e8e6: Pulling fs layer [2023-07-26T16:32:49.210Z] eaf3925da568: Waiting [2023-07-26T16:32:49.210Z] bab4dde63d76: Waiting [2023-07-26T16:32:49.210Z] bde34c3a00c8: Waiting [2023-07-26T16:32:49.210Z] 988bab9f4d93: Waiting [2023-07-26T16:32:49.210Z] 1469e6f7b9e6: Waiting [2023-07-26T16:32:49.210Z] b352a97aabf1: Waiting [2023-07-26T16:32:49.210Z] 4872d77fe225: Waiting [2023-07-26T16:32:49.210Z] e2be974225ed: Verifying Checksum [2023-07-26T16:32:49.210Z] e2be974225ed: Download complete [2023-07-26T16:32:49.210Z] 988bab9f4d93: Verifying Checksum [2023-07-26T16:32:49.210Z] 988bab9f4d93: Download complete [2023-07-26T16:32:49.210Z] 339a4e72a1f5: Verifying Checksum [2023-07-26T16:32:49.210Z] 339a4e72a1f5: Download complete [2023-07-26T16:32:49.210Z] 1469e6f7b9e6: Verifying Checksum [2023-07-26T16:32:49.210Z] 1469e6f7b9e6: Download complete [2023-07-26T16:32:49.469Z] eaf3925da568: Verifying Checksum [2023-07-26T16:32:49.469Z] eaf3925da568: Download complete [2023-07-26T16:32:49.469Z] bde34c3a00c8: Download complete [2023-07-26T16:32:49.469Z] b352a97aabf1: Download complete [2023-07-26T16:32:49.469Z] 4872d77fe225: Verifying Checksum [2023-07-26T16:32:49.469Z] 4872d77fe225: Download complete [2023-07-26T16:32:49.469Z] 5851b861e8e6: Verifying Checksum [2023-07-26T16:32:49.469Z] 5851b861e8e6: Download complete [2023-07-26T16:32:49.469Z] b85a868b505f: Verifying Checksum [2023-07-26T16:32:49.469Z] b85a868b505f: Download complete [2023-07-26T16:32:49.726Z] bab4dde63d76: Verifying Checksum [2023-07-26T16:32:49.726Z] bab4dde63d76: Download complete [2023-07-26T16:32:50.661Z] b85a868b505f: Pull complete [2023-07-26T16:32:50.661Z] e2be974225ed: Pull complete [2023-07-26T16:32:51.229Z] 339a4e72a1f5: Pull complete [2023-07-26T16:32:51.229Z] 988bab9f4d93: Pull complete [2023-07-26T16:32:51.487Z] 1469e6f7b9e6: Pull complete [2023-07-26T16:32:51.487Z] eaf3925da568: Pull complete [2023-07-26T16:32:53.419Z] bab4dde63d76: Pull complete [2023-07-26T16:32:53.419Z] bde34c3a00c8: Pull complete [2023-07-26T16:32:53.419Z] b352a97aabf1: Pull complete [2023-07-26T16:32:53.419Z] 4872d77fe225: Pull complete [2023-07-26T16:32:53.419Z] 5851b861e8e6: Pull complete [2023-07-26T16:32:53.419Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-26T16:32:53.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T16:32:53.419Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:32:53.511Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:32:53.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-26T16:32:56.097Z] $ docker top 1e11e1260d59f60d7f4ca0c3933318e06f4a0a054ef0c6badfd3ea164599a07e -eo pid,comm [2023-07-26T16:32:56.158Z] 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-07-26T16:32:56.158Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-26T16:32:56.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T16:32:56.196Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T16:32:56.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T16:32:56.302Z] $ docker exec 1e11e1260d59f60d7f4ca0c3933318e06f4a0a054ef0c6badfd3ea164599a07e ssh-agent [2023-07-26T16:32:56.417Z] SSH_AUTH_SOCK=/tmp/ssh-HBfehWaTierM/agent.32 [2023-07-26T16:32:56.417Z] SSH_AGENT_PID=38 [2023-07-26T16:32:56.423Z] Running ssh-add (command line suppressed) [2023-07-26T16:32:56.520Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17561654416404259933.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17561654416404259933.key) [2023-07-26T16:32:56.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T16:32:56.832Z] + git tag --points-at HEAD [Pipeline] } [2023-07-26T16:32:56.837Z] $ docker exec --env ******** --env ******** 1e11e1260d59f60d7f4ca0c3933318e06f4a0a054ef0c6badfd3ea164599a07e ssh-agent -k [2023-07-26T16:32:56.942Z] unset SSH_AUTH_SOCK; [2023-07-26T16:32:56.943Z] unset SSH_AGENT_PID; [2023-07-26T16:32:56.943Z] echo Agent pid 38 killed; [2023-07-26T16:32:56.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-26T16:32:56.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T16:32:56.983Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T16:32:57.098Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T16:32:57.092Z] $ docker exec 1e11e1260d59f60d7f4ca0c3933318e06f4a0a054ef0c6badfd3ea164599a07e ssh-agent [2023-07-26T16:32:57.203Z] SSH_AUTH_SOCK=/tmp/ssh-xYeMt8tvGxPb/agent.70 [2023-07-26T16:32:57.204Z] SSH_AGENT_PID=76 [2023-07-26T16:32:57.209Z] Running ssh-add (command line suppressed) [2023-07-26T16:32:57.301Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13941646292103182947.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13941646292103182947.key) [2023-07-26T16:32:57.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T16:32:57.612Z] + git semver init [2023-07-26T16:32:57.873Z] 2023-07-26 16:32:57,778 [run_init] DEBUG init version:0.0.0 force:False [2023-07-26T16:32:57.873Z] 2023-07-26 16:32:57,778 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-07-26T16:32:57.873Z] 2023-07-26 16:32:57,779 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-07-26T16:32:57.873Z] 2023-07-26 16:32:57,779 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-07-26T16:32:59.257Z] 2023-07-26 16:32:58,942 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-07-26T16:32:59.257Z] 2023-07-26 16:32:58,942 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-07-26T16:32:59.257Z] 2023-07-26 16:32:58,943 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-07-26T16:32:59.257Z] 2023-07-26 16:32:58,943 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-07-26T16:32:59.257Z] 3.1.0-dev.3 [Pipeline] } [2023-07-26T16:32:59.260Z] $ docker exec --env ******** --env ******** 1e11e1260d59f60d7f4ca0c3933318e06f4a0a054ef0c6badfd3ea164599a07e ssh-agent -k [2023-07-26T16:32:59.345Z] unset SSH_AUTH_SOCK; [2023-07-26T16:32:59.347Z] unset SSH_AGENT_PID; [2023-07-26T16:32:59.347Z] echo Agent pid 76 killed; [2023-07-26T16:32:59.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-26T16:32:59.666Z] + git semver [Pipeline] } [2023-07-26T16:32:59.933Z] $ docker stop --time=1 1e11e1260d59f60d7f4ca0c3933318e06f4a0a054ef0c6badfd3ea164599a07e [2023-07-26T16:33:01.234Z] $ docker rm -f --volumes 1e11e1260d59f60d7f4ca0c3933318e06f4a0a054ef0c6badfd3ea164599a07e [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T16:33:01.573Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-26T16:33:01.796Z] Stashed 1 file(s) [Pipeline] echo [2023-07-26T16:33:01.798Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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-07-26T16:33:01.915Z] provisioning config files... [2023-07-26T16:33:01.925Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5999620699639599591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:33:02.222Z] ---> docker-login.sh [2023-07-26T16:33:02.222Z] nexus3.edgexfoundry.org:10001 [2023-07-26T16:33:02.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:33:02.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:33:02.222Z] Configure a credential helper to remove this warning. See [2023-07-26T16:33:02.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:33:02.222Z] [2023-07-26T16:33:02.222Z] Login Succeeded [2023-07-26T16:33:02.222Z] nexus3.edgexfoundry.org:10002 [2023-07-26T16:33:02.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:33:02.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:33:02.222Z] Configure a credential helper to remove this warning. See [2023-07-26T16:33:02.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:33:02.222Z] [2023-07-26T16:33:02.222Z] Login Succeeded [2023-07-26T16:33:02.222Z] nexus3.edgexfoundry.org:10003 [2023-07-26T16:33:02.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:33:02.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:33:02.481Z] Configure a credential helper to remove this warning. See [2023-07-26T16:33:02.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:33:02.481Z] [2023-07-26T16:33:02.481Z] Login Succeeded [2023-07-26T16:33:02.481Z] nexus3.edgexfoundry.org:10004 [2023-07-26T16:33:02.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:33:02.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:33:02.481Z] Configure a credential helper to remove this warning. See [2023-07-26T16:33:02.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:33:02.481Z] [2023-07-26T16:33:02.481Z] Login Succeeded [2023-07-26T16:33:02.481Z] docker.io [2023-07-26T16:33:02.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:33:02.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:33:02.740Z] Configure a credential helper to remove this warning. See [2023-07-26T16:33:02.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:33:02.740Z] [2023-07-26T16:33:02.740Z] Login Succeeded [2023-07-26T16:33:02.740Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T16:33:02.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T16:33:02.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T16:33:02.822Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T16:33:02.831Z] ========================================================= [2023-07-26T16:33:02.831Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-26T16:33:02.832Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:33:03.150Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-26T16:33:03.151Z] Sending build context to Docker daemon 21.62MB [2023-07-26T16:33:03.151Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T16:33:03.151Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-26T16:33:03.151Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-26T16:33:03.151Z] 4db1b89c0bd1: Pulling fs layer [2023-07-26T16:33:03.151Z] 6911f1a30b25: Pulling fs layer [2023-07-26T16:33:03.151Z] e194b8c5c2a9: Pulling fs layer [2023-07-26T16:33:03.151Z] 6863d3e3a2b1: Pulling fs layer [2023-07-26T16:33:03.151Z] ec0bb842ea78: Pulling fs layer [2023-07-26T16:33:03.151Z] 40a00589a448: Pulling fs layer [2023-07-26T16:33:03.151Z] 6c08303d61cc: Pulling fs layer [2023-07-26T16:33:03.151Z] 798269fcf238: Pulling fs layer [2023-07-26T16:33:03.151Z] ec0bb842ea78: Waiting [2023-07-26T16:33:03.151Z] 40a00589a448: Waiting [2023-07-26T16:33:03.151Z] 6863d3e3a2b1: Waiting [2023-07-26T16:33:03.151Z] 798269fcf238: Waiting [2023-07-26T16:33:03.413Z] 6911f1a30b25: Verifying Checksum [2023-07-26T16:33:03.413Z] 6911f1a30b25: Download complete [2023-07-26T16:33:03.413Z] 6863d3e3a2b1: Verifying Checksum [2023-07-26T16:33:03.413Z] 6863d3e3a2b1: Download complete [2023-07-26T16:33:03.413Z] ec0bb842ea78: Download complete [2023-07-26T16:33:03.413Z] 4db1b89c0bd1: Download complete [2023-07-26T16:33:03.413Z] 40a00589a448: Verifying Checksum [2023-07-26T16:33:03.413Z] 40a00589a448: Download complete [2023-07-26T16:33:03.673Z] 4db1b89c0bd1: Pull complete [2023-07-26T16:33:03.673Z] 6911f1a30b25: Pull complete [2023-07-26T16:33:03.934Z] 798269fcf238: Verifying Checksum [2023-07-26T16:33:03.934Z] 798269fcf238: Download complete [2023-07-26T16:33:04.193Z] e194b8c5c2a9: Verifying Checksum [2023-07-26T16:33:04.193Z] e194b8c5c2a9: Download complete [2023-07-26T16:33:04.193Z] 6c08303d61cc: Verifying Checksum [2023-07-26T16:33:04.193Z] 6c08303d61cc: Download complete [2023-07-26T16:33:07.484Z] e194b8c5c2a9: Pull complete [2023-07-26T16:33:07.484Z] 6863d3e3a2b1: Pull complete [2023-07-26T16:33:07.484Z] ec0bb842ea78: Pull complete [2023-07-26T16:33:07.484Z] 40a00589a448: Pull complete [2023-07-26T16:33:10.013Z] 6c08303d61cc: Pull complete [2023-07-26T16:33:10.580Z] 798269fcf238: Pull complete [2023-07-26T16:33:10.580Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-26T16:33:10.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-26T16:33:10.580Z] ---> ec979cd7f677 [2023-07-26T16:33:10.580Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-26T16:33:14.782Z] ---> Running in ab9eb9141b0b [2023-07-26T16:33:14.782Z] Removing intermediate container ab9eb9141b0b [2023-07-26T16:33:14.782Z] ---> f3193100abb5 [2023-07-26T16:33:14.782Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T16:33:14.782Z] ---> Running in c2d45251cf5a [2023-07-26T16:33:15.046Z] Removing intermediate container c2d45251cf5a [2023-07-26T16:33:15.046Z] ---> d4fe4f8b7f86 [2023-07-26T16:33:15.046Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-07-26T16:33:15.046Z] ---> Running in 69ca4ec433c8 [2023-07-26T16:33:15.046Z] Removing intermediate container 69ca4ec433c8 [2023-07-26T16:33:15.046Z] ---> 84a28a56b87b [2023-07-26T16:33:15.046Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-07-26T16:33:15.046Z] ---> Running in bc12e67d3f83 [2023-07-26T16:33:15.315Z] Removing intermediate container bc12e67d3f83 [2023-07-26T16:33:15.315Z] ---> 9d32a578d78f [2023-07-26T16:33:15.315Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-07-26T16:33:15.315Z] ---> Running in 560d4d8ffd81 [2023-07-26T16:33:15.315Z] Removing intermediate container 560d4d8ffd81 [2023-07-26T16:33:15.315Z] ---> 10e7b75bd87b [2023-07-26T16:33:15.315Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T16:33:15.315Z] ---> Running in 81aec035c2a0 [2023-07-26T16:33:15.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T16:33:15.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T16:33:16.096Z] OK: 265 MiB in 53 packages [2023-07-26T16:33:16.356Z] Removing intermediate container 81aec035c2a0 [2023-07-26T16:33:16.356Z] ---> dd18e75fc90d [2023-07-26T16:33:16.356Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-07-26T16:33:16.356Z] ---> Running in e2efb8335eaf [2023-07-26T16:33:16.615Z] Removing intermediate container e2efb8335eaf [2023-07-26T16:33:16.615Z] ---> 3a2d9caa6da5 [2023-07-26T16:33:16.615Z] Step 10/13 : COPY go.mod vendor* ./ [2023-07-26T16:33:16.615Z] ---> 726a8949d105 [2023-07-26T16:33:16.615Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T16:33:16.615Z] ---> Running in 650a45361679 [2023-07-26T16:33:16.878Z] Still waiting to schedule task [2023-07-26T16:33:16.879Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2225’ [2023-07-26T16:33:48.785Z] Removing intermediate container 650a45361679 [2023-07-26T16:33:48.785Z] ---> 38d8a09bdf1d [2023-07-26T16:33:48.785Z] Step 12/13 : COPY . . [2023-07-26T16:33:48.785Z] ---> 7de7df8496d1 [2023-07-26T16:33:48.785Z] Step 13/13 : RUN ${MAKE} [2023-07-26T16:33:48.785Z] ---> Running in 1c995ad630c4 [2023-07-26T16:33:48.785Z] noop [2023-07-26T16:33:49.046Z] Removing intermediate container 1c995ad630c4 [2023-07-26T16:33:49.046Z] ---> 333bc6fc54da [2023-07-26T16:33:49.046Z] Successfully built 333bc6fc54da [2023-07-26T16:33:49.046Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:33:49.353Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T16:33:49.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:33:49.424Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:33:49.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-26T16:33:49.815Z] $ docker top dd13ac05eaf2262d5112e1e875905ae987652902651795334c38250236ea8a47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T16:33:50.152Z] + go version [2023-07-26T16:33:50.152Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-26T16:33:50.168Z] $ docker stop --time=1 dd13ac05eaf2262d5112e1e875905ae987652902651795334c38250236ea8a47 [2023-07-26T16:33:51.470Z] $ docker rm -f --volumes dd13ac05eaf2262d5112e1e875905ae987652902651795334c38250236ea8a47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:33:51.923Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T16:33:51.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:33:51.994Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:33:52.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-26T16:33:52.377Z] $ docker top 9dab6e59b5dde7aad5909f032686229113eaa293e4c7df7bc9f52ee9d99aa9c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T16:33:52.720Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-07-26T16:33:53.016Z] + make test [2023-07-26T16:33:53.016Z] go test ./... -coverprofile=coverage.out ./... [2023-07-26T16:33:58.293Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-07-26T16:34:08.268Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-07-26T16:34:08.850Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-07-26T16:34:11.409Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 31.4% of statements [2023-07-26T16:34:11.409Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.156s coverage: 86.5% of statements [2023-07-26T16:34:19.520Z] go vet ./... [2023-07-26T16:34:22.058Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-26T16:34:22.058Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-26T16:34:22.058Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-26T16:34:22.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-26T16:34:22.093Z] $ docker stop --time=1 9dab6e59b5dde7aad5909f032686229113eaa293e4c7df7bc9f52ee9d99aa9c4 [2023-07-26T16:34:25.741Z] $ docker rm -f --volumes 9dab6e59b5dde7aad5909f032686229113eaa293e4c7df7bc9f52ee9d99aa9c4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T16:34:26.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-26T16:34:26.261Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-26T16:34:26.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-26T16:34:27.108Z] + ls -al . [2023-07-26T16:34:27.108Z] total 240 [2023-07-26T16:34:27.108Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 16:33 . [2023-07-26T16:34:27.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 16:32 .. [2023-07-26T16:34:27.108Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 16:32 .git [2023-07-26T16:34:27.108Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 16:32 .github [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 496 Jul 26 16:32 .gitignore [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 26 16:32 .golangci.yml [2023-07-26T16:34:27.108Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 16:32 .semver [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 10087 Jul 26 16:32 Attribution.txt [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 15932 Jul 26 16:32 CHANGELOG.md [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jul 26 16:32 Dockerfile [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 16:32 GOVERNANCE.md [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 26 16:32 Jenkinsfile [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 16:32 LICENSE [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 2751 Jul 26 16:32 Makefile [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 26 16:32 OWNERS.md [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 26 16:32 README.md [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 26 16:33 VERSION [2023-07-26T16:34:27.108Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 16:32 bin [2023-07-26T16:34:27.108Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 16:32 cmd [2023-07-26T16:34:27.108Z] -rw-r--r-- 1 jenkins jenkins 78459 Jul 26 16:34 coverage.out [2023-07-26T16:34:27.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 16:32 doc [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 3594 Jul 26 16:32 go.mod [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 33485 Jul 26 16:32 go.sum [2023-07-26T16:34:27.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 16:32 internal [2023-07-26T16:34:27.108Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 16:32 snap [2023-07-26T16:34:27.108Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 26 16:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:34:27.436Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f9a51d90d45793b537885a974cdf3c636c247a85 --label arch=amd64 --label version=3.1.0-dev.3 . [2023-07-26T16:34:27.436Z] Sending build context to Docker daemon 21.7MB [2023-07-26T16:34:27.436Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T16:34:27.436Z] Step 2/26 : FROM ${BASE} AS builder [2023-07-26T16:34:27.436Z] ---> 333bc6fc54da [2023-07-26T16:34:27.436Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-07-26T16:34:27.694Z] ---> Running in f844488fe9fb [2023-07-26T16:34:27.954Z] Removing intermediate container f844488fe9fb [2023-07-26T16:34:27.954Z] ---> 4f69e62aaf35 [2023-07-26T16:34:27.954Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T16:34:27.954Z] ---> Running in 2f96a4820e30 [2023-07-26T16:34:27.954Z] Removing intermediate container 2f96a4820e30 [2023-07-26T16:34:27.954Z] ---> 69017865e04c [2023-07-26T16:34:27.954Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-07-26T16:34:27.954Z] ---> Running in 1a6d382ef83f [2023-07-26T16:34:28.213Z] Removing intermediate container 1a6d382ef83f [2023-07-26T16:34:28.213Z] ---> e117c41d2b3d [2023-07-26T16:34:28.213Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-07-26T16:34:28.213Z] ---> Running in b0754d40f64f [2023-07-26T16:34:28.213Z] Removing intermediate container b0754d40f64f [2023-07-26T16:34:28.213Z] ---> fca05e47aaf7 [2023-07-26T16:34:28.213Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-07-26T16:34:28.213Z] ---> Running in 701496f75125 [2023-07-26T16:34:28.213Z] Removing intermediate container 701496f75125 [2023-07-26T16:34:28.213Z] ---> 1c9b78c12c9f [2023-07-26T16:34:28.213Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T16:34:28.213Z] ---> Running in a0c7b8862833 [2023-07-26T16:34:28.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T16:34:28.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T16:34:28.990Z] OK: 265 MiB in 53 packages [2023-07-26T16:34:29.248Z] Removing intermediate container a0c7b8862833 [2023-07-26T16:34:29.248Z] ---> efbda0d41363 [2023-07-26T16:34:29.248Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-07-26T16:34:29.249Z] ---> Running in 00d76a8117d3 [2023-07-26T16:34:29.249Z] Removing intermediate container 00d76a8117d3 [2023-07-26T16:34:29.249Z] ---> b5521f7d4c33 [2023-07-26T16:34:29.249Z] Step 10/26 : COPY go.mod vendor* ./ [2023-07-26T16:34:29.509Z] ---> 5e0f047fe36e [2023-07-26T16:34:29.509Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T16:34:29.509Z] ---> Running in f0ff68d5417e [2023-07-26T16:34:30.446Z] Removing intermediate container f0ff68d5417e [2023-07-26T16:34:30.446Z] ---> f36e1ae96fab [2023-07-26T16:34:30.446Z] Step 12/26 : COPY . . [2023-07-26T16:34:31.013Z] ---> 97b495af4e4c [2023-07-26T16:34:31.013Z] Step 13/26 : RUN ${MAKE} [2023-07-26T16:34:31.013Z] ---> Running in 8ec638dcca55 [2023-07-26T16:34:31.271Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-07-26T16:34:53.455Z] Removing intermediate container 8ec638dcca55 [2023-07-26T16:34:53.455Z] ---> fbaa25b0c736 [2023-07-26T16:34:53.455Z] Step 14/26 : FROM alpine:3.17 [2023-07-26T16:34:53.455Z] 3.17: Pulling from library/alpine [2023-07-26T16:34:53.455Z] 4db1b89c0bd1: Already exists [2023-07-26T16:34:53.455Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-26T16:34:53.455Z] Status: Downloaded newer image for alpine:3.17 [2023-07-26T16:34:53.455Z] ---> 1f73a9d63274 [2023-07-26T16:34:53.455Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-26T16:34:53.455Z] ---> Running in f17045f0dcfc [2023-07-26T16:34:53.455Z] Removing intermediate container f17045f0dcfc [2023-07-26T16:34:53.455Z] ---> c0c5a2f0fb9c [2023-07-26T16:34:53.455Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-07-26T16:34:53.455Z] ---> Running in 792e551166c0 [2023-07-26T16:34:53.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T16:34:53.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T16:34:53.716Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-26T16:34:53.716Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T16:34:53.716Z] OK: 7 MiB in 16 packages [2023-07-26T16:34:53.977Z] Removing intermediate container 792e551166c0 [2023-07-26T16:34:53.977Z] ---> f320dc4917b9 [2023-07-26T16:34:53.977Z] Step 17/26 : WORKDIR / [2023-07-26T16:34:53.977Z] ---> Running in 573a5579bf85 [2023-07-26T16:34:54.236Z] Removing intermediate container 573a5579bf85 [2023-07-26T16:34:54.236Z] ---> 51fd665df210 [2023-07-26T16:34:54.236Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-07-26T16:34:55.171Z] ---> 3ba446652e05 [2023-07-26T16:34:55.171Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-07-26T16:34:55.431Z] ---> 7aec9db7f795 [2023-07-26T16:34:55.431Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-07-26T16:34:55.431Z] ---> 9abb06be3dbe [2023-07-26T16:34:55.431Z] Step 21/26 : EXPOSE 59984 [2023-07-26T16:34:55.431Z] ---> Running in 98ec5501ef46 [2023-07-26T16:34:55.431Z] Removing intermediate container 98ec5501ef46 [2023-07-26T16:34:55.431Z] ---> 3dddd9a0c1cc [2023-07-26T16:34:55.431Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-07-26T16:34:55.431Z] ---> Running in 0f36e6714b95 [2023-07-26T16:34:55.690Z] Removing intermediate container 0f36e6714b95 [2023-07-26T16:34:55.690Z] ---> a40c0f4302e3 [2023-07-26T16:34:55.690Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-26T16:34:55.690Z] ---> Running in 2b720c6c9a45 [2023-07-26T16:34:55.690Z] Removing intermediate container 2b720c6c9a45 [2023-07-26T16:34:55.690Z] ---> 5db01d9725ab [2023-07-26T16:34:55.690Z] Step 24/26 : LABEL arch=amd64 [2023-07-26T16:34:55.690Z] ---> Running in 7f9421bb7492 [2023-07-26T16:34:55.690Z] Removing intermediate container 7f9421bb7492 [2023-07-26T16:34:55.690Z] ---> 66e57a0ca492 [2023-07-26T16:34:55.690Z] Step 25/26 : LABEL git_sha=f9a51d90d45793b537885a974cdf3c636c247a85 [2023-07-26T16:34:55.690Z] ---> Running in 3e4471ccea22 [2023-07-26T16:34:55.949Z] Removing intermediate container 3e4471ccea22 [2023-07-26T16:34:55.949Z] ---> b9177fd79d27 [2023-07-26T16:34:55.949Z] Step 26/26 : LABEL version=3.1.0-dev.3 [2023-07-26T16:34:55.949Z] ---> Running in 633e747a904f [2023-07-26T16:34:55.949Z] Removing intermediate container 633e747a904f [2023-07-26T16:34:55.949Z] ---> 6add305d1936 [2023-07-26T16:34:55.949Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-26T16:34:55.949Z] Successfully built 6add305d1936 [2023-07-26T16:34:55.949Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T16:34:56.058Z] provisioning config files... [2023-07-26T16:34:56.065Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8090428846025740540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:34:56.360Z] ---> docker-login.sh [2023-07-26T16:34:56.360Z] nexus3.edgexfoundry.org:10001 [2023-07-26T16:34:56.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:34:56.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:34:56.360Z] Configure a credential helper to remove this warning. See [2023-07-26T16:34:56.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:34:56.360Z] [2023-07-26T16:34:56.360Z] Login Succeeded [2023-07-26T16:34:56.360Z] nexus3.edgexfoundry.org:10002 [2023-07-26T16:34:56.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:34:56.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:34:56.360Z] Configure a credential helper to remove this warning. See [2023-07-26T16:34:56.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:34:56.360Z] [2023-07-26T16:34:56.360Z] Login Succeeded [2023-07-26T16:34:56.360Z] nexus3.edgexfoundry.org:10003 [2023-07-26T16:34:56.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:34:56.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:34:56.618Z] Configure a credential helper to remove this warning. See [2023-07-26T16:34:56.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:34:56.618Z] [2023-07-26T16:34:56.618Z] Login Succeeded [2023-07-26T16:34:56.618Z] nexus3.edgexfoundry.org:10004 [2023-07-26T16:34:56.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:34:56.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:34:56.618Z] Configure a credential helper to remove this warning. See [2023-07-26T16:34:56.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:34:56.618Z] [2023-07-26T16:34:56.618Z] Login Succeeded [2023-07-26T16:34:56.618Z] docker.io [2023-07-26T16:34:56.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:34:56.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:34:56.878Z] Configure a credential helper to remove this warning. See [2023-07-26T16:34:56.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:34:56.878Z] [2023-07-26T16:34:56.879Z] Login Succeeded [2023-07-26T16:34:56.879Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T16:34:56.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-26T16:34:56.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T16:34:56.928Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-07-26T16:34:56.928Z] f9a51d90d45793b537885a974cdf3c636c247a85 [2023-07-26T16:34:56.928Z] latest [2023-07-26T16:34:56.928Z] 3.1.0-dev.3 [2023-07-26T16:34:56.928Z] f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3 [2023-07-26T16:34:56.928Z] main [2023-07-26T16:34:56.928Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:34:57.236Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f9a51d90d45793b537885a974cdf3c636c247a85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:34:57.548Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f9a51d90d45793b537885a974cdf3c636c247a85 [2023-07-26T16:34:57.548Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-07-26T16:34:57.548Z] 6e72f361d9cb: Preparing [2023-07-26T16:34:57.548Z] d877e9947203: Preparing [2023-07-26T16:34:57.548Z] 8fac5f14a054: Preparing [2023-07-26T16:34:57.548Z] e3bfdc593c13: Preparing [2023-07-26T16:34:57.548Z] 3dab9f8bf2d2: Preparing [2023-07-26T16:34:57.548Z] 3dab9f8bf2d2: Layer already exists [2023-07-26T16:34:57.548Z] e3bfdc593c13: Pushed [2023-07-26T16:34:57.548Z] 6e72f361d9cb: Pushed [2023-07-26T16:34:57.548Z] d877e9947203: Pushed [2023-07-26T16:35:00.085Z] 8fac5f14a054: Pushed [2023-07-26T16:35:00.085Z] f9a51d90d45793b537885a974cdf3c636c247a85: digest: sha256:d93b1c8e0532236d09ce7b832f7fc85c3c40ebb89cf1044c097a081fc5ba7c61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:35:00.390Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:35:00.696Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-07-26T16:35:00.696Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-07-26T16:35:00.696Z] 6e72f361d9cb: Preparing [2023-07-26T16:35:00.696Z] d877e9947203: Preparing [2023-07-26T16:35:00.696Z] 8fac5f14a054: Preparing [2023-07-26T16:35:00.696Z] e3bfdc593c13: Preparing [2023-07-26T16:35:00.696Z] 3dab9f8bf2d2: Preparing [2023-07-26T16:35:00.696Z] 8fac5f14a054: Layer already exists [2023-07-26T16:35:00.696Z] 3dab9f8bf2d2: Layer already exists [2023-07-26T16:35:00.696Z] 6e72f361d9cb: Layer already exists [2023-07-26T16:35:00.696Z] d877e9947203: Layer already exists [2023-07-26T16:35:00.696Z] e3bfdc593c13: Layer already exists [2023-07-26T16:35:00.696Z] latest: digest: sha256:d93b1c8e0532236d09ce7b832f7fc85c3c40ebb89cf1044c097a081fc5ba7c61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:35:00.998Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:35:01.314Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.3 [2023-07-26T16:35:01.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-07-26T16:35:01.314Z] 6e72f361d9cb: Preparing [2023-07-26T16:35:01.314Z] d877e9947203: Preparing [2023-07-26T16:35:01.314Z] 8fac5f14a054: Preparing [2023-07-26T16:35:01.314Z] e3bfdc593c13: Preparing [2023-07-26T16:35:01.314Z] 3dab9f8bf2d2: Preparing [2023-07-26T16:35:01.314Z] e3bfdc593c13: Layer already exists [2023-07-26T16:35:01.314Z] 6e72f361d9cb: Layer already exists [2023-07-26T16:35:01.314Z] 8fac5f14a054: Layer already exists [2023-07-26T16:35:01.314Z] d877e9947203: Layer already exists [2023-07-26T16:35:01.314Z] 3dab9f8bf2d2: Layer already exists [2023-07-26T16:35:01.314Z] 3.1.0-dev.3: digest: sha256:d93b1c8e0532236d09ce7b832f7fc85c3c40ebb89cf1044c097a081fc5ba7c61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:35:01.629Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:35:01.944Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3 [2023-07-26T16:35:01.944Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-07-26T16:35:01.944Z] 6e72f361d9cb: Preparing [2023-07-26T16:35:01.944Z] d877e9947203: Preparing [2023-07-26T16:35:01.944Z] 8fac5f14a054: Preparing [2023-07-26T16:35:01.944Z] e3bfdc593c13: Preparing [2023-07-26T16:35:01.944Z] 3dab9f8bf2d2: Preparing [2023-07-26T16:35:01.944Z] 8fac5f14a054: Layer already exists [2023-07-26T16:35:01.944Z] e3bfdc593c13: Layer already exists [2023-07-26T16:35:01.944Z] 3dab9f8bf2d2: Layer already exists [2023-07-26T16:35:01.944Z] 6e72f361d9cb: Layer already exists [2023-07-26T16:35:01.944Z] d877e9947203: Layer already exists [2023-07-26T16:35:01.944Z] f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3: digest: sha256:d93b1c8e0532236d09ce7b832f7fc85c3c40ebb89cf1044c097a081fc5ba7c61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:35:02.274Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:35:02.582Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-07-26T16:35:02.582Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-07-26T16:35:02.582Z] 6e72f361d9cb: Preparing [2023-07-26T16:35:02.582Z] d877e9947203: Preparing [2023-07-26T16:35:02.582Z] 8fac5f14a054: Preparing [2023-07-26T16:35:02.582Z] e3bfdc593c13: Preparing [2023-07-26T16:35:02.582Z] 3dab9f8bf2d2: Preparing [2023-07-26T16:35:02.582Z] 6e72f361d9cb: Layer already exists [2023-07-26T16:35:02.582Z] d877e9947203: Layer already exists [2023-07-26T16:35:02.582Z] 3dab9f8bf2d2: Layer already exists [2023-07-26T16:35:02.582Z] 8fac5f14a054: Layer already exists [2023-07-26T16:35:02.582Z] e3bfdc593c13: Layer already exists [2023-07-26T16:35:02.582Z] main: digest: sha256:d93b1c8e0532236d09ce7b832f7fc85c3c40ebb89cf1044c097a081fc5ba7c61 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-26T16:35:02.630Z] ===================================================== [Pipeline] echo [2023-07-26T16:35:02.638Z] taggedImages: [2023-07-26T16:35:02.638Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:f9a51d90d45793b537885a974cdf3c636c247a85 [2023-07-26T16:35:02.638Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-07-26T16:35:02.638Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.3 [2023-07-26T16:35:02.638Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3 [2023-07-26T16:35:02.638Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [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-07-26T16:35:03.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T16:35:03.004Z] [2023-07-26T16:35:03.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:35:03.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T16:35:03.306Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-26T16:35:03.306Z] 5eb5b503b376: Pulling fs layer [2023-07-26T16:35:03.306Z] 5c69ac0246d0: Pulling fs layer [2023-07-26T16:35:03.306Z] ec43610c2a17: Pulling fs layer [2023-07-26T16:35:03.306Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-26T16:35:03.306Z] 33b1e0a273af: Pulling fs layer [2023-07-26T16:35:03.306Z] 5d3b04190fa2: Pulling fs layer [2023-07-26T16:35:03.306Z] 2f39f015ded8: Pulling fs layer [2023-07-26T16:35:03.306Z] 33b1e0a273af: Waiting [2023-07-26T16:35:03.306Z] 5d3b04190fa2: Waiting [2023-07-26T16:35:03.306Z] 2f39f015ded8: Waiting [2023-07-26T16:35:03.306Z] 3a2ae6a8a46f: Waiting [2023-07-26T16:35:03.306Z] 5c69ac0246d0: Verifying Checksum [2023-07-26T16:35:03.306Z] 5c69ac0246d0: Download complete [2023-07-26T16:35:03.306Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-26T16:35:03.306Z] 3a2ae6a8a46f: Download complete [2023-07-26T16:35:03.306Z] 33b1e0a273af: Verifying Checksum [2023-07-26T16:35:03.306Z] 33b1e0a273af: Download complete [2023-07-26T16:35:03.306Z] ec43610c2a17: Verifying Checksum [2023-07-26T16:35:03.306Z] ec43610c2a17: Download complete [2023-07-26T16:35:03.306Z] 5d3b04190fa2: Download complete [2023-07-26T16:35:03.571Z] 5eb5b503b376: Download complete [2023-07-26T16:35:04.137Z] 2f39f015ded8: Download complete [2023-07-26T16:35:04.705Z] 5eb5b503b376: Pull complete [2023-07-26T16:35:04.963Z] 5c69ac0246d0: Pull complete [2023-07-26T16:35:05.222Z] ec43610c2a17: Pull complete [2023-07-26T16:35:05.222Z] 3a2ae6a8a46f: Pull complete [2023-07-26T16:35:05.480Z] 33b1e0a273af: Pull complete [2023-07-26T16:35:05.480Z] 5d3b04190fa2: Pull complete [2023-07-26T16:35:09.661Z] 2f39f015ded8: Pull complete [2023-07-26T16:35:09.661Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-26T16:35:09.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T16:35:09.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:35:09.741Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:35:09.776Z] $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-26T16:35:14.911Z] $ docker top 114caefc5b5ea3ea519c2d54e231b44e37af306a164b3fa7432153b32236dfb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:35:15.273Z] ---> job-cost.sh [2023-07-26T16:35:15.273Z] lf-activate-venv: SKIPPING [2023-07-26T16:35:15.273Z] INFO: No Stack... [2023-07-26T16:35:15.531Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T16:35:15.790Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T16:35:16.074Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-07-26T16:35:16.074Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T16:35:16.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-159-stack-cost] [2023-07-26T16:35:16.093Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-159-stack-cost] did not exist. Created. [2023-07-26T16:35:16.093Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-159-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T16:35:16.391Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-26T16:35:16.428Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T16:35:16.434Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-159-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T16:35:16.454Z] $ docker stop --time=1 114caefc5b5ea3ea519c2d54e231b44e37af306a164b3fa7432153b32236dfb0 [2023-07-26T16:35:17.639Z] $ docker rm -f --volumes 114caefc5b5ea3ea519c2d54e231b44e37af306a164b3fa7432153b32236dfb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-26T16:37:01.344Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2227 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-07-26T16:37:01.355Z] Running in /w/workspace/device-onvif-camera/159 [Pipeline] { [Pipeline] checkout [2023-07-26T16:37:01.387Z] The recommended git tool is: git [2023-07-26T16:37:11.305Z] using credential edgex-jenkins-ssh [2023-07-26T16:37:11.331Z] Cloning the remote Git repository [2023-07-26T16:37:11.430Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-07-26T16:37:11.593Z] > git init /w/workspace/device-onvif-camera/159 # timeout=10 [2023-07-26T16:37:11.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-07-26T16:37:11.909Z] > git --version # timeout=10 [2023-07-26T16:37:11.980Z] > git --version # 'git version 2.25.1' [2023-07-26T16:37:11.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T16:37:12.313Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T16:37:14.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-07-26T16:37:14.133Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T16:37:15.318Z] Avoid second fetch [2023-07-26T16:37:15.318Z] Checking out Revision f9a51d90d45793b537885a974cdf3c636c247a85 (main) [2023-07-26T16:37:15.374Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T16:37:15.488Z] > git checkout -f f9a51d90d45793b537885a974cdf3c636c247a85 # timeout=10 [2023-07-26T16:37:16.234Z] Commit message: "feat: add readme and rename collections to clarify collection usage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T16:37:17.158Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-26T16:37:17.158Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T16:37:17.158Z] Dload Upload Total Spent Left Speed [2023-07-26T16:37:17.158Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-07-26T16:37:17.808Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-26T16:37:18.157Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-26T16:37:18.157Z] + sudo tee /etc/docker/daemon.new [2023-07-26T16:37:20.749Z] { [2023-07-26T16:37:20.749Z] "registry-mirrors": [ [2023-07-26T16:37:20.749Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-26T16:37:20.749Z] ], [2023-07-26T16:37:20.749Z] "bip": "10.250.0.254/24", [2023-07-26T16:37:20.749Z] "hosts": [ [2023-07-26T16:37:20.749Z] "tcp://0.0.0.0:5555", [2023-07-26T16:37:20.749Z] "unix:///var/run/docker.sock" [2023-07-26T16:37:20.749Z] ], [2023-07-26T16:37:20.749Z] "mtu": 1458, [2023-07-26T16:37:20.749Z] "selinux-enabled": true, [2023-07-26T16:37:20.749Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-26T16:37:20.749Z] } [Pipeline] sh [2023-07-26T16:37:21.092Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-26T16:37:21.455Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T16:37:39.710Z] provisioning config files... [2023-07-26T16:37:39.734Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/159@tmp/config11397998374977195991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:37:40.080Z] ---> docker-login.sh [2023-07-26T16:37:40.080Z] nexus3.edgexfoundry.org:10001 [2023-07-26T16:37:40.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:37:40.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:37:40.629Z] Configure a credential helper to remove this warning. See [2023-07-26T16:37:40.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:37:40.629Z] [2023-07-26T16:37:40.629Z] Login Succeeded [2023-07-26T16:37:40.629Z] nexus3.edgexfoundry.org:10002 [2023-07-26T16:37:40.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:37:41.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:37:41.167Z] Configure a credential helper to remove this warning. See [2023-07-26T16:37:41.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:37:41.167Z] [2023-07-26T16:37:41.167Z] Login Succeeded [2023-07-26T16:37:41.167Z] nexus3.edgexfoundry.org:10003 [2023-07-26T16:37:41.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:37:41.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:37:41.437Z] Configure a credential helper to remove this warning. See [2023-07-26T16:37:41.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:37:41.437Z] [2023-07-26T16:37:41.437Z] Login Succeeded [2023-07-26T16:37:41.437Z] nexus3.edgexfoundry.org:10004 [2023-07-26T16:37:41.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:37:41.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:37:41.707Z] Configure a credential helper to remove this warning. See [2023-07-26T16:37:41.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:37:41.707Z] [2023-07-26T16:37:41.707Z] Login Succeeded [2023-07-26T16:37:41.707Z] docker.io [2023-07-26T16:37:41.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:37:42.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:37:42.242Z] Configure a credential helper to remove this warning. See [2023-07-26T16:37:42.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:37:42.242Z] [2023-07-26T16:37:42.242Z] Login Succeeded [2023-07-26T16:37:42.242Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T16:37:42.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T16:37:42.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T16:37:42.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T16:37:42.526Z] ========================================================= [2023-07-26T16:37:42.526Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-26T16:37:42.526Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:37:42.864Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-26T16:37:43.139Z] Sending build context to Docker daemon 14.16MB [2023-07-26T16:37:43.139Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T16:37:43.139Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-26T16:37:43.410Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-26T16:37:43.410Z] edb6bdbacee9: Pulling fs layer [2023-07-26T16:37:43.410Z] 5f9638ab2659: Pulling fs layer [2023-07-26T16:37:43.410Z] 8d51d6327a98: Pulling fs layer [2023-07-26T16:37:43.410Z] 8b374f2dd631: Pulling fs layer [2023-07-26T16:37:43.410Z] ec14aa9079de: Pulling fs layer [2023-07-26T16:37:43.410Z] 2f466654f4bb: Pulling fs layer [2023-07-26T16:37:43.410Z] 554e91adad29: Pulling fs layer [2023-07-26T16:37:43.410Z] 8b374f2dd631: Waiting [2023-07-26T16:37:43.410Z] ec14aa9079de: Waiting [2023-07-26T16:37:43.410Z] 554e91adad29: Waiting [2023-07-26T16:37:43.410Z] 2f466654f4bb: Waiting [2023-07-26T16:37:43.410Z] 5f9638ab2659: Download complete [2023-07-26T16:37:43.410Z] 8b374f2dd631: Verifying Checksum [2023-07-26T16:37:43.410Z] 8b374f2dd631: Download complete [2023-07-26T16:37:43.410Z] ec14aa9079de: Verifying Checksum [2023-07-26T16:37:43.410Z] ec14aa9079de: Download complete [2023-07-26T16:37:43.410Z] edb6bdbacee9: Verifying Checksum [2023-07-26T16:37:43.410Z] edb6bdbacee9: Download complete [2023-07-26T16:37:44.382Z] edb6bdbacee9: Pull complete [2023-07-26T16:37:44.654Z] 554e91adad29: Verifying Checksum [2023-07-26T16:37:44.654Z] 554e91adad29: Download complete [2023-07-26T16:37:44.924Z] 5f9638ab2659: Pull complete [2023-07-26T16:37:45.900Z] 2f466654f4bb: Verifying Checksum [2023-07-26T16:37:45.900Z] 2f466654f4bb: Download complete [2023-07-26T16:37:45.900Z] 8d51d6327a98: Download complete [2023-07-26T16:37:58.245Z] 8d51d6327a98: Pull complete [2023-07-26T16:37:58.245Z] 8b374f2dd631: Pull complete [2023-07-26T16:37:58.245Z] ec14aa9079de: Pull complete [2023-07-26T16:38:03.611Z] 2f466654f4bb: Pull complete [2023-07-26T16:38:06.198Z] 554e91adad29: Pull complete [2023-07-26T16:38:06.198Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-26T16:38:06.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-26T16:38:06.198Z] ---> 1e15ea492957 [2023-07-26T16:38:06.198Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-26T16:38:08.153Z] ---> Running in bdcec02d85f0 [2023-07-26T16:38:08.153Z] Removing intermediate container bdcec02d85f0 [2023-07-26T16:38:08.153Z] ---> 3ba61a2418ee [2023-07-26T16:38:08.153Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T16:38:08.153Z] ---> Running in d26eec4b1f66 [2023-07-26T16:38:08.420Z] Removing intermediate container d26eec4b1f66 [2023-07-26T16:38:08.420Z] ---> 973237de8462 [2023-07-26T16:38:08.420Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-07-26T16:38:08.420Z] ---> Running in c9f9877d38d7 [2023-07-26T16:38:08.689Z] Removing intermediate container c9f9877d38d7 [2023-07-26T16:38:08.689Z] ---> 13f7dad6232e [2023-07-26T16:38:08.689Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-07-26T16:38:08.689Z] ---> Running in fc49ac4cdc64 [2023-07-26T16:38:08.957Z] Removing intermediate container fc49ac4cdc64 [2023-07-26T16:38:08.957Z] ---> 6a7dc66d5d1f [2023-07-26T16:38:08.957Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-07-26T16:38:09.227Z] ---> Running in 2af24322ca0d [2023-07-26T16:38:09.495Z] Removing intermediate container 2af24322ca0d [2023-07-26T16:38:09.495Z] ---> 97f07bf1fd6d [2023-07-26T16:38:09.495Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T16:38:09.495Z] ---> Running in f6aa60e073a7 [2023-07-26T16:38:10.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T16:38:11.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T16:38:12.004Z] OK: 263 MiB in 53 packages [2023-07-26T16:38:12.989Z] Removing intermediate container f6aa60e073a7 [2023-07-26T16:38:12.989Z] ---> 4efd52ce6231 [2023-07-26T16:38:12.989Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-07-26T16:38:12.989Z] ---> Running in 32aa8f2aac5d [2023-07-26T16:38:12.989Z] Removing intermediate container 32aa8f2aac5d [2023-07-26T16:38:12.989Z] ---> 7f1eb2c95a46 [2023-07-26T16:38:12.989Z] Step 10/13 : COPY go.mod vendor* ./ [2023-07-26T16:38:14.070Z] ---> 3a758e2e6c64 [2023-07-26T16:38:14.070Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T16:38:14.070Z] ---> Running in 009996831ac4 [2023-07-26T16:39:22.013Z] Removing intermediate container 009996831ac4 [2023-07-26T16:39:22.013Z] ---> e92c5b850c19 [2023-07-26T16:39:22.013Z] Step 12/13 : COPY . . [2023-07-26T16:39:22.013Z] ---> 158883779b95 [2023-07-26T16:39:22.013Z] Step 13/13 : RUN ${MAKE} [2023-07-26T16:39:22.013Z] ---> Running in 7c31a487d2f3 [2023-07-26T16:39:22.013Z] noop [2023-07-26T16:39:22.013Z] Removing intermediate container 7c31a487d2f3 [2023-07-26T16:39:22.013Z] ---> 7c296a959c0e [2023-07-26T16:39:22.013Z] Successfully built 7c296a959c0e [2023-07-26T16:39:22.013Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:39:23.921Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T16:39:23.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:39:24.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-2227 does not seem to be running inside a container [2023-07-26T16:39:24.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/159 -v /w/workspace/device-onvif-camera/159:/w/workspace/device-onvif-camera/159:rw,z -v /w/workspace/device-onvif-camera/159@tmp:/w/workspace/device-onvif-camera/159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-26T16:39:25.370Z] $ docker top e978364db2355f1b8c5bb98c92550a7eb2a7c55b00717d526926c6933c58a85d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T16:39:26.170Z] + go version [2023-07-26T16:39:26.170Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-26T16:39:26.202Z] $ docker stop --time=1 e978364db2355f1b8c5bb98c92550a7eb2a7c55b00717d526926c6933c58a85d [2023-07-26T16:39:27.847Z] $ docker rm -f --volumes e978364db2355f1b8c5bb98c92550a7eb2a7c55b00717d526926c6933c58a85d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:39:28.401Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T16:39:28.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:39:28.580Z] prd-ubuntu20.04-docker-arm64-4c-16g-2227 does not seem to be running inside a container [2023-07-26T16:39:28.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/159 -v /w/workspace/device-onvif-camera/159:/w/workspace/device-onvif-camera/159:rw,z -v /w/workspace/device-onvif-camera/159@tmp:/w/workspace/device-onvif-camera/159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-26T16:39:29.762Z] $ docker top 8363d4c456562c3619f28a9b104e035a6a7d13ae283b825207cffa4a2f19d598 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T16:39:30.262Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/159 [Pipeline] fileExists [Pipeline] sh [2023-07-26T16:39:30.861Z] + make test [2023-07-26T16:39:31.129Z] go test ./... -coverprofile=coverage.out ./... [2023-07-26T16:40:03.366Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-07-26T16:41:55.045Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-07-26T16:41:55.045Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-07-26T16:41:55.045Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 31.4% of statements [2023-07-26T16:42:13.260Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.752s coverage: 86.5% of statements [2023-07-26T16:42:13.260Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-26T16:42:13.260Z] go vet ./... [2023-07-26T16:42:39.938Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-26T16:42:39.938Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-26T16:42:39.938Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-26T16:42:39.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-26T16:42:39.982Z] $ docker stop --time=1 8363d4c456562c3619f28a9b104e035a6a7d13ae283b825207cffa4a2f19d598 [2023-07-26T16:42:41.779Z] $ docker rm -f --volumes 8363d4c456562c3619f28a9b104e035a6a7d13ae283b825207cffa4a2f19d598 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T16:42:42.910Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-26T16:42:42.935Z] Warning: overwriting stash ‘coverage-report’ [2023-07-26T16:42:43.411Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T16:42:43.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-26T16:42:44.112Z] + ls -al . [2023-07-26T16:42:44.112Z] total 236 [2023-07-26T16:42:44.112Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 16:39 . [2023-07-26T16:42:44.112Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 16:37 .. [2023-07-26T16:42:44.112Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 16:37 .git [2023-07-26T16:42:44.112Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 16:37 .github [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 496 Jul 26 16:37 .gitignore [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 26 16:37 .golangci.yml [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 10087 Jul 26 16:37 Attribution.txt [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 15932 Jul 26 16:37 CHANGELOG.md [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jul 26 16:37 Dockerfile [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 16:37 GOVERNANCE.md [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 26 16:37 Jenkinsfile [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 16:37 LICENSE [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 2751 Jul 26 16:37 Makefile [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 26 16:37 OWNERS.md [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 26 16:37 README.md [2023-07-26T16:42:44.112Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 26 16:33 VERSION [2023-07-26T16:42:44.113Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 16:37 bin [2023-07-26T16:42:44.113Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 16:37 cmd [2023-07-26T16:42:44.113Z] -rw-r--r-- 1 jenkins jenkins 78459 Jul 26 16:42 coverage.out [2023-07-26T16:42:44.113Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 16:37 doc [2023-07-26T16:42:44.113Z] -rw-rw-r-- 1 jenkins jenkins 3594 Jul 26 16:37 go.mod [2023-07-26T16:42:44.113Z] -rw-rw-r-- 1 jenkins jenkins 33485 Jul 26 16:37 go.sum [2023-07-26T16:42:44.113Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 16:37 internal [2023-07-26T16:42:44.113Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 16:37 snap [2023-07-26T16:42:44.113Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 26 16:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:42:44.449Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f9a51d90d45793b537885a974cdf3c636c247a85 --label arch=arm64 --label version=3.1.0-dev.3 . [2023-07-26T16:42:44.718Z] Sending build context to Docker daemon 14.24MB [2023-07-26T16:42:44.718Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T16:42:44.718Z] Step 2/26 : FROM ${BASE} AS builder [2023-07-26T16:42:44.718Z] ---> 7c296a959c0e [2023-07-26T16:42:44.718Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-07-26T16:42:44.984Z] ---> Running in 7d560df4f679 [2023-07-26T16:42:45.251Z] Removing intermediate container 7d560df4f679 [2023-07-26T16:42:45.251Z] ---> c64db642fec3 [2023-07-26T16:42:45.251Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T16:42:45.251Z] ---> Running in 39512ac32f6a [2023-07-26T16:42:45.517Z] Removing intermediate container 39512ac32f6a [2023-07-26T16:42:45.517Z] ---> 6e2d8577f887 [2023-07-26T16:42:45.517Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-07-26T16:42:45.517Z] ---> Running in 966900dc5c77 [2023-07-26T16:42:45.783Z] Removing intermediate container 966900dc5c77 [2023-07-26T16:42:45.783Z] ---> 710c3982e5fb [2023-07-26T16:42:45.783Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-07-26T16:42:46.055Z] ---> Running in bb3a1d0a572c [2023-07-26T16:42:46.321Z] Removing intermediate container bb3a1d0a572c [2023-07-26T16:42:46.321Z] ---> 3fcec64dac7c [2023-07-26T16:42:46.321Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-07-26T16:42:46.321Z] ---> Running in 93d64ea5600d [2023-07-26T16:42:46.586Z] Removing intermediate container 93d64ea5600d [2023-07-26T16:42:46.586Z] ---> 3f1f3cbfdcb3 [2023-07-26T16:42:46.586Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T16:42:46.586Z] ---> Running in 8e74b5276e36 [2023-07-26T16:42:47.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T16:42:48.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T16:42:49.091Z] OK: 263 MiB in 53 packages [2023-07-26T16:42:49.671Z] Removing intermediate container 8e74b5276e36 [2023-07-26T16:42:49.671Z] ---> 50841d306fc1 [2023-07-26T16:42:49.671Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-07-26T16:42:49.937Z] ---> Running in b1af8fc99f17 [2023-07-26T16:42:50.204Z] Removing intermediate container b1af8fc99f17 [2023-07-26T16:42:50.204Z] ---> c5a34d608919 [2023-07-26T16:42:50.204Z] Step 10/26 : COPY go.mod vendor* ./ [2023-07-26T16:42:50.472Z] ---> 9064f1b0ddfb [2023-07-26T16:42:50.472Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T16:42:50.739Z] ---> Running in feeac193fc04 [2023-07-26T16:42:53.329Z] Removing intermediate container feeac193fc04 [2023-07-26T16:42:53.329Z] ---> 1d31f02cd111 [2023-07-26T16:42:53.329Z] Step 12/26 : COPY . . [2023-07-26T16:42:54.289Z] ---> 17c1189b0687 [2023-07-26T16:42:54.289Z] Step 13/26 : RUN ${MAKE} [2023-07-26T16:42:54.289Z] ---> Running in 0d8477ae4784 [2023-07-26T16:42:55.246Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-07-26T16:45:02.120Z] Removing intermediate container 0d8477ae4784 [2023-07-26T16:45:02.120Z] ---> 3788fe13bc21 [2023-07-26T16:45:02.120Z] Step 14/26 : FROM alpine:3.17 [2023-07-26T16:45:02.120Z] 3.17: Pulling from library/alpine [2023-07-26T16:45:02.120Z] edb6bdbacee9: Already exists [2023-07-26T16:45:02.120Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-26T16:45:02.120Z] Status: Downloaded newer image for alpine:3.17 [2023-07-26T16:45:02.120Z] ---> 779605e5fbc0 [2023-07-26T16:45:02.120Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-07-26T16:45:02.120Z] ---> Running in b102b918638f [2023-07-26T16:45:02.120Z] Removing intermediate container b102b918638f [2023-07-26T16:45:02.120Z] ---> 63a4955d25d1 [2023-07-26T16:45:02.120Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-07-26T16:45:02.120Z] ---> Running in 24b32ed7f470 [2023-07-26T16:45:02.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T16:45:02.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T16:45:03.928Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-26T16:45:03.928Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T16:45:03.928Z] OK: 8 MiB in 16 packages [2023-07-26T16:45:04.885Z] Removing intermediate container 24b32ed7f470 [2023-07-26T16:45:04.885Z] ---> b64fe8c3a331 [2023-07-26T16:45:04.885Z] Step 17/26 : WORKDIR / [2023-07-26T16:45:04.885Z] ---> Running in e1c041f7b5c3 [2023-07-26T16:45:05.157Z] Removing intermediate container e1c041f7b5c3 [2023-07-26T16:45:05.157Z] ---> 85de0d1cf78f [2023-07-26T16:45:05.157Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-07-26T16:45:06.571Z] ---> f072e9112b74 [2023-07-26T16:45:06.571Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-07-26T16:45:06.839Z] ---> a33396c6f964 [2023-07-26T16:45:06.839Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-07-26T16:45:07.420Z] ---> 4bc5fd4cdc68 [2023-07-26T16:45:07.420Z] Step 21/26 : EXPOSE 59984 [2023-07-26T16:45:07.420Z] ---> Running in 7176931ce73e [2023-07-26T16:45:07.688Z] Removing intermediate container 7176931ce73e [2023-07-26T16:45:07.688Z] ---> 44fdc9838804 [2023-07-26T16:45:07.688Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-07-26T16:45:07.957Z] ---> Running in 9c9fbf1c34ef [2023-07-26T16:45:08.222Z] Removing intermediate container 9c9fbf1c34ef [2023-07-26T16:45:08.222Z] ---> 8f228cf999cb [2023-07-26T16:45:08.222Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-26T16:45:08.222Z] ---> Running in 2dce6e0f3879 [2023-07-26T16:45:08.489Z] Removing intermediate container 2dce6e0f3879 [2023-07-26T16:45:08.489Z] ---> b71d1633c838 [2023-07-26T16:45:08.489Z] Step 24/26 : LABEL arch=arm64 [2023-07-26T16:45:08.489Z] ---> Running in f07132463caf [2023-07-26T16:45:08.756Z] Removing intermediate container f07132463caf [2023-07-26T16:45:08.756Z] ---> 42f6ed3598b6 [2023-07-26T16:45:08.756Z] Step 25/26 : LABEL git_sha=f9a51d90d45793b537885a974cdf3c636c247a85 [2023-07-26T16:45:08.756Z] ---> Running in c0fef2bbf252 [2023-07-26T16:45:09.025Z] Removing intermediate container c0fef2bbf252 [2023-07-26T16:45:09.025Z] ---> 4f42bb3a797f [2023-07-26T16:45:09.025Z] Step 26/26 : LABEL version=3.1.0-dev.3 [2023-07-26T16:45:09.292Z] ---> Running in 41d6d2853bcb [2023-07-26T16:45:09.557Z] Removing intermediate container 41d6d2853bcb [2023-07-26T16:45:09.557Z] ---> d45550dfed78 [2023-07-26T16:45:09.557Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-26T16:45:09.557Z] Successfully built d45550dfed78 [2023-07-26T16:45:09.557Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T16:45:09.650Z] provisioning config files... [2023-07-26T16:45:09.662Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/159@tmp/config5572621880162364649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:45:09.992Z] ---> docker-login.sh [2023-07-26T16:45:09.993Z] nexus3.edgexfoundry.org:10001 [2023-07-26T16:45:09.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:45:10.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:45:10.261Z] Configure a credential helper to remove this warning. See [2023-07-26T16:45:10.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:45:10.261Z] [2023-07-26T16:45:10.261Z] Login Succeeded [2023-07-26T16:45:10.261Z] nexus3.edgexfoundry.org:10002 [2023-07-26T16:45:10.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:45:10.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:45:10.529Z] Configure a credential helper to remove this warning. See [2023-07-26T16:45:10.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:45:10.529Z] [2023-07-26T16:45:10.529Z] Login Succeeded [2023-07-26T16:45:10.529Z] nexus3.edgexfoundry.org:10003 [2023-07-26T16:45:10.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:45:11.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:45:11.062Z] Configure a credential helper to remove this warning. See [2023-07-26T16:45:11.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:45:11.062Z] [2023-07-26T16:45:11.062Z] Login Succeeded [2023-07-26T16:45:11.062Z] nexus3.edgexfoundry.org:10004 [2023-07-26T16:45:11.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:45:11.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:45:11.329Z] Configure a credential helper to remove this warning. See [2023-07-26T16:45:11.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:45:11.329Z] [2023-07-26T16:45:11.329Z] Login Succeeded [2023-07-26T16:45:11.329Z] docker.io [2023-07-26T16:45:11.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T16:45:11.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T16:45:11.861Z] Configure a credential helper to remove this warning. See [2023-07-26T16:45:11.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T16:45:11.861Z] [2023-07-26T16:45:11.861Z] Login Succeeded [2023-07-26T16:45:11.861Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T16:45:11.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-26T16:45:11.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T16:45:11.936Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-07-26T16:45:11.936Z] f9a51d90d45793b537885a974cdf3c636c247a85 [2023-07-26T16:45:11.936Z] latest [2023-07-26T16:45:11.936Z] 3.1.0-dev.3 [2023-07-26T16:45:11.936Z] f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3 [2023-07-26T16:45:11.936Z] main [2023-07-26T16:45:11.936Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:12.289Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9a51d90d45793b537885a974cdf3c636c247a85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:12.633Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9a51d90d45793b537885a974cdf3c636c247a85 [2023-07-26T16:45:12.633Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-07-26T16:45:12.633Z] 92b6bcdd1dfb: Preparing [2023-07-26T16:45:12.633Z] 561a1ae38b2c: Preparing [2023-07-26T16:45:12.633Z] 0a8a3554b3bf: Preparing [2023-07-26T16:45:12.633Z] 76f29dad5dd7: Preparing [2023-07-26T16:45:12.633Z] 9386262d7a74: Preparing [2023-07-26T16:45:12.633Z] 9386262d7a74: Layer already exists [2023-07-26T16:45:12.898Z] 92b6bcdd1dfb: Pushed [2023-07-26T16:45:12.898Z] 561a1ae38b2c: Pushed [2023-07-26T16:45:12.898Z] 76f29dad5dd7: Pushed [2023-07-26T16:45:19.521Z] 0a8a3554b3bf: Pushed [2023-07-26T16:45:19.521Z] f9a51d90d45793b537885a974cdf3c636c247a85: digest: sha256:5970214d2c55731a1a4d249c07a76f26dfbd2cecd5df9739cb757093b0aa2a36 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:19.868Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:20.213Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-07-26T16:45:20.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-07-26T16:45:20.214Z] 92b6bcdd1dfb: Preparing [2023-07-26T16:45:20.214Z] 561a1ae38b2c: Preparing [2023-07-26T16:45:20.214Z] 0a8a3554b3bf: Preparing [2023-07-26T16:45:20.214Z] 76f29dad5dd7: Preparing [2023-07-26T16:45:20.214Z] 9386262d7a74: Preparing [2023-07-26T16:45:20.214Z] 92b6bcdd1dfb: Layer already exists [2023-07-26T16:45:20.214Z] 9386262d7a74: Layer already exists [2023-07-26T16:45:20.214Z] 76f29dad5dd7: Layer already exists [2023-07-26T16:45:20.214Z] 0a8a3554b3bf: Layer already exists [2023-07-26T16:45:20.214Z] 561a1ae38b2c: Layer already exists [2023-07-26T16:45:20.214Z] latest: digest: sha256:5970214d2c55731a1a4d249c07a76f26dfbd2cecd5df9739cb757093b0aa2a36 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:20.548Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:20.884Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.3 [2023-07-26T16:45:20.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-07-26T16:45:20.885Z] 92b6bcdd1dfb: Preparing [2023-07-26T16:45:20.885Z] 561a1ae38b2c: Preparing [2023-07-26T16:45:20.885Z] 0a8a3554b3bf: Preparing [2023-07-26T16:45:20.885Z] 76f29dad5dd7: Preparing [2023-07-26T16:45:20.885Z] 9386262d7a74: Preparing [2023-07-26T16:45:20.885Z] 561a1ae38b2c: Layer already exists [2023-07-26T16:45:20.885Z] 76f29dad5dd7: Layer already exists [2023-07-26T16:45:20.885Z] 9386262d7a74: Layer already exists [2023-07-26T16:45:20.885Z] 0a8a3554b3bf: Layer already exists [2023-07-26T16:45:20.885Z] 92b6bcdd1dfb: Layer already exists [2023-07-26T16:45:20.885Z] 3.1.0-dev.3: digest: sha256:5970214d2c55731a1a4d249c07a76f26dfbd2cecd5df9739cb757093b0aa2a36 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:21.229Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:21.569Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3 [2023-07-26T16:45:21.569Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-07-26T16:45:21.569Z] 92b6bcdd1dfb: Preparing [2023-07-26T16:45:21.569Z] 561a1ae38b2c: Preparing [2023-07-26T16:45:21.569Z] 0a8a3554b3bf: Preparing [2023-07-26T16:45:21.569Z] 76f29dad5dd7: Preparing [2023-07-26T16:45:21.569Z] 9386262d7a74: Preparing [2023-07-26T16:45:21.569Z] 0a8a3554b3bf: Layer already exists [2023-07-26T16:45:21.569Z] 9386262d7a74: Layer already exists [2023-07-26T16:45:21.569Z] 92b6bcdd1dfb: Layer already exists [2023-07-26T16:45:21.569Z] 76f29dad5dd7: Layer already exists [2023-07-26T16:45:21.569Z] 561a1ae38b2c: Layer already exists [2023-07-26T16:45:21.569Z] f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3: digest: sha256:5970214d2c55731a1a4d249c07a76f26dfbd2cecd5df9739cb757093b0aa2a36 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:21.911Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:22.250Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-07-26T16:45:22.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-07-26T16:45:22.250Z] 92b6bcdd1dfb: Preparing [2023-07-26T16:45:22.250Z] 561a1ae38b2c: Preparing [2023-07-26T16:45:22.250Z] 0a8a3554b3bf: Preparing [2023-07-26T16:45:22.250Z] 76f29dad5dd7: Preparing [2023-07-26T16:45:22.250Z] 9386262d7a74: Preparing [2023-07-26T16:45:22.250Z] 0a8a3554b3bf: Layer already exists [2023-07-26T16:45:22.250Z] 92b6bcdd1dfb: Layer already exists [2023-07-26T16:45:22.250Z] 561a1ae38b2c: Layer already exists [2023-07-26T16:45:22.250Z] 9386262d7a74: Layer already exists [2023-07-26T16:45:22.250Z] 76f29dad5dd7: Layer already exists [2023-07-26T16:45:22.250Z] main: digest: sha256:5970214d2c55731a1a4d249c07a76f26dfbd2cecd5df9739cb757093b0aa2a36 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-26T16:45:22.314Z] ===================================================== [Pipeline] echo [2023-07-26T16:45:22.321Z] taggedImages: [2023-07-26T16:45:22.321Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9a51d90d45793b537885a974cdf3c636c247a85 [2023-07-26T16:45:22.321Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-07-26T16:45:22.321Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.3 [2023-07-26T16:45:22.321Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f9a51d90d45793b537885a974cdf3c636c247a85-3.1.0-dev.3 [2023-07-26T16:45:22.321Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:22.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T16:45:22.679Z] [2023-07-26T16:45:22.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:23.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T16:45:23.010Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-26T16:45:23.010Z] 8998bd30e6a1: Pulling fs layer [2023-07-26T16:45:23.010Z] 04944245beec: Pulling fs layer [2023-07-26T16:45:23.010Z] 699f458cf7ca: Pulling fs layer [2023-07-26T16:45:23.010Z] 765212b225bb: Pulling fs layer [2023-07-26T16:45:23.010Z] f23df028b6ca: Pulling fs layer [2023-07-26T16:45:23.010Z] d65c8cfc05b1: Pulling fs layer [2023-07-26T16:45:23.010Z] 2437ff75d9bd: Pulling fs layer [2023-07-26T16:45:23.010Z] 765212b225bb: Waiting [2023-07-26T16:45:23.010Z] f23df028b6ca: Waiting [2023-07-26T16:45:23.010Z] d65c8cfc05b1: Waiting [2023-07-26T16:45:23.010Z] 2437ff75d9bd: Waiting [2023-07-26T16:45:23.276Z] 04944245beec: Verifying Checksum [2023-07-26T16:45:23.276Z] 04944245beec: Download complete [2023-07-26T16:45:23.276Z] 765212b225bb: Verifying Checksum [2023-07-26T16:45:23.276Z] 765212b225bb: Download complete [2023-07-26T16:45:23.276Z] f23df028b6ca: Verifying Checksum [2023-07-26T16:45:23.276Z] f23df028b6ca: Download complete [2023-07-26T16:45:23.276Z] d65c8cfc05b1: Verifying Checksum [2023-07-26T16:45:23.276Z] d65c8cfc05b1: Download complete [2023-07-26T16:45:23.276Z] 699f458cf7ca: Verifying Checksum [2023-07-26T16:45:23.860Z] 8998bd30e6a1: Verifying Checksum [2023-07-26T16:45:23.860Z] 8998bd30e6a1: Download complete [2023-07-26T16:45:25.797Z] 2437ff75d9bd: Verifying Checksum [2023-07-26T16:45:25.797Z] 2437ff75d9bd: Download complete [2023-07-26T16:45:27.736Z] 8998bd30e6a1: Pull complete [2023-07-26T16:45:28.003Z] 04944245beec: Pull complete [2023-07-26T16:45:29.409Z] 699f458cf7ca: Pull complete [2023-07-26T16:45:29.675Z] 765212b225bb: Pull complete [2023-07-26T16:45:30.257Z] f23df028b6ca: Pull complete [2023-07-26T16:45:30.524Z] d65c8cfc05b1: Pull complete [2023-07-26T16:45:45.513Z] 2437ff75d9bd: Pull complete [2023-07-26T16:45:45.513Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-26T16:45:45.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T16:45:45.513Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:45:45.707Z] prd-ubuntu20.04-docker-arm64-4c-16g-2227 does not seem to be running inside a container [2023-07-26T16:45:45.776Z] $ 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-onvif-camera/159 -v /w/workspace/device-onvif-camera/159:/w/workspace/device-onvif-camera/159:rw,z -v /w/workspace/device-onvif-camera/159@tmp:/w/workspace/device-onvif-camera/159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-26T16:45:48.210Z] $ docker top 52d37a307e48b19402168d3a05fc9c82fc9927f18fefbc5b8476390ada22a5b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:45:48.710Z] ---> job-cost.sh [2023-07-26T16:45:48.974Z] lf-activate-venv: SKIPPING [2023-07-26T16:45:48.974Z] INFO: No Stack... [2023-07-26T16:45:49.238Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-26T16:45:50.191Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T16:45:50.504Z] + cat /w/workspace/device-onvif-camera/159/archives/cost.csv [2023-07-26T16:45:50.504Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T16:45:50.538Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-159-stack-cost] [2023-07-26T16:45:50.544Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-159-stack-cost] did not exist. Created. [2023-07-26T16:45:50.544Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-159-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T16:45:50.883Z] /w/workspace/device-onvif-camera/159@tmp/durable-f07ea021/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-26T16:45:51.474Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-26T16:45:51.761Z] Warning: overwriting stash ‘stack-cost’ [2023-07-26T16:45:51.821Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T16:45:51.829Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-159-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T16:45:51.857Z] $ docker stop --time=1 52d37a307e48b19402168d3a05fc9c82fc9927f18fefbc5b8476390ada22a5b7 [2023-07-26T16:45:53.504Z] $ docker rm -f --volumes 52d37a307e48b19402168d3a05fc9c82fc9927f18fefbc5b8476390ada22a5b7 [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-07-26T16:45:53.877Z] provisioning config files... [2023-07-26T16:45:53.885Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3726155488701483021tmp [Pipeline] { [Pipeline] sh [2023-07-26T16:45:54.178Z] + set +x [2023-07-26T16:45:54.178Z] + curl -s https://codecov.io/bash [2023-07-26T16:45:54.178Z] + bash -s -- [2023-07-26T16:45:54.178Z] [2023-07-26T16:45:54.178Z] _____ _ [2023-07-26T16:45:54.178Z] / ____| | | [2023-07-26T16:45:54.178Z] | | ___ __| | ___ ___ _____ __ [2023-07-26T16:45:54.178Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-26T16:45:54.178Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-26T16:45:54.178Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-26T16:45:54.178Z] Bash-1.0.6 [2023-07-26T16:45:54.178Z] [2023-07-26T16:45:54.178Z] [2023-07-26T16:45:54.178Z] ==> git version 2.25.1 found [2023-07-26T16:45:54.178Z] ==> 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-07-26T16:45:54.178Z] Release-Date: 2020-01-08 [2023-07-26T16:45:54.178Z] 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-07-26T16:45:54.178Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-26T16:45:54.178Z] ==> Jenkins CI detected. [2023-07-26T16:45:54.178Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-07-26T16:45:54.178Z] project root: . [2023-07-26T16:45:54.178Z] --> token set from env [2023-07-26T16:45:54.178Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-26T16:45:54.178Z] ==> Running gcov in . (disable via -X gcov) [2023-07-26T16:45:54.178Z] ==> Python coveragepy not found [2023-07-26T16:45:54.178Z] ==> Searching for coverage reports in: [2023-07-26T16:45:54.178Z] + . [2023-07-26T16:45:54.179Z] -> Found 1 reports [2023-07-26T16:45:54.179Z] ==> Detecting git/mercurial file structure [2023-07-26T16:45:54.179Z] ==> Reading reports [2023-07-26T16:45:54.437Z] + ./coverage.out bytes=78459 [2023-07-26T16:45:54.437Z] ==> Appending adjustments [2023-07-26T16:45:54.437Z] https://docs.codecov.io/docs/fixing-reports [2023-07-26T16:45:54.437Z] + Found adjustments [2023-07-26T16:45:54.437Z] ==> Gzipping contents [2023-07-26T16:45:54.437Z] 12K /tmp/codecov.j0IkSj.gz [2023-07-26T16:45:54.437Z] ==> Uploading reports [2023-07-26T16:45:54.437Z] url: https://codecov.io [2023-07-26T16:45:54.437Z] query: branch=main&commit=f9a51d90d45793b537885a974cdf3c636c247a85&build=159&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F159%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-26T16:45:54.437Z] -> Pinging Codecov [2023-07-26T16:45:54.437Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=f9a51d90d45793b537885a974cdf3c636c247a85&build=159&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F159%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-26T16:45:54.697Z] -> Uploading to [2023-07-26T16:45:54.697Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-26/F29A59C45E3A92E06B3E522C9905F8EF/f9a51d90d45793b537885a974cdf3c636c247a85/3d3fb4bf-00aa-420e-a45c-2ac12b06701b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230726%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230726T164554Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=873f6ee7bd4eb6afd3d9a793072d944a49442e0b00a628b7bf1e22376762b958 [2023-07-26T16:45:54.697Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T16:45:54.697Z] Dload Upload Total Spent Left Speed [2023-07-26T16:45:54.958Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10573 0 0 100 10573 0 53943 --:--:-- --:--:-- --:--:-- 53670 [2023-07-26T16:45:54.958Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f9a51d90d45793b537885a974cdf3c636c247a85 [Pipeline] } [2023-07-26T16:45:54.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-26T16:45:55.164Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-26T16:45:55.175Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:55.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-26T16:45:55.471Z] [2023-07-26T16:45:55.471Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:45:55.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-26T16:45:55.767Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-26T16:45:55.767Z] df9b9388f04a: Pulling fs layer [2023-07-26T16:45:55.767Z] 52dc419b0ee2: Pulling fs layer [2023-07-26T16:45:55.767Z] 25bc292e5bac: Pulling fs layer [2023-07-26T16:45:55.767Z] 114826534d7a: Pulling fs layer [2023-07-26T16:45:55.767Z] 4657fd5d0bcf: Pulling fs layer [2023-07-26T16:45:55.767Z] 6ad1cebc031e: Pulling fs layer [2023-07-26T16:45:55.767Z] 8a3aa393b2d8: Pulling fs layer [2023-07-26T16:45:55.767Z] 4657fd5d0bcf: Waiting [2023-07-26T16:45:55.767Z] 6ad1cebc031e: Waiting [2023-07-26T16:45:55.767Z] 8a3aa393b2d8: Waiting [2023-07-26T16:45:55.767Z] 114826534d7a: Waiting [2023-07-26T16:45:55.767Z] 25bc292e5bac: Verifying Checksum [2023-07-26T16:45:55.767Z] 25bc292e5bac: Download complete [2023-07-26T16:45:55.767Z] 52dc419b0ee2: Download complete [2023-07-26T16:45:55.767Z] 4657fd5d0bcf: Download complete [2023-07-26T16:45:55.767Z] df9b9388f04a: Verifying Checksum [2023-07-26T16:45:55.767Z] df9b9388f04a: Download complete [2023-07-26T16:45:56.027Z] df9b9388f04a: Pull complete [2023-07-26T16:45:56.027Z] 6ad1cebc031e: Verifying Checksum [2023-07-26T16:45:56.027Z] 6ad1cebc031e: Download complete [2023-07-26T16:45:56.027Z] 52dc419b0ee2: Pull complete [2023-07-26T16:45:56.286Z] 25bc292e5bac: Pull complete [2023-07-26T16:45:56.545Z] 114826534d7a: Verifying Checksum [2023-07-26T16:45:56.546Z] 114826534d7a: Download complete [2023-07-26T16:45:56.804Z] 8a3aa393b2d8: Verifying Checksum [2023-07-26T16:45:56.804Z] 8a3aa393b2d8: Download complete [2023-07-26T16:46:00.085Z] 114826534d7a: Pull complete [2023-07-26T16:46:00.085Z] 4657fd5d0bcf: Pull complete [2023-07-26T16:46:00.344Z] 6ad1cebc031e: Pull complete [2023-07-26T16:46:02.877Z] 8a3aa393b2d8: Pull complete [2023-07-26T16:46:02.877Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-26T16:46:02.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-26T16:46:02.877Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:46:02.969Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:46:03.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-07-26T16:46:07.270Z] $ docker top f7288cb6082742764e5ee2612f8b965d33fec56e101c6e163197393b9183eb79 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-26T16:46:07.318Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-07-26T16:46:07.592Z] + set -o pipefail [2023-07-26T16:46:07.592Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-07-26T16:46:19.800Z] [2023-07-26T16:46:19.800Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-07-26T16:46:19.800Z] [2023-07-26T16:46:19.800Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/3f139ddd-2a33-45ed-be9e-45b0474a6e62 [2023-07-26T16:46:19.800Z] [2023-07-26T16:46:19.800Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-07-26T16:46:19.800Z] [2023-07-26T16:46:19.800Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-26T16:46:19.800Z] [2023-07-26T16:46:19.800Z] [2023-07-26T16:46:19.800Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-26T16:46:19.800Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-26T16:46:19.800Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-07-26T16:46:19.823Z] $ docker stop --time=1 f7288cb6082742764e5ee2612f8b965d33fec56e101c6e163197393b9183eb79 [2023-07-26T16:46:23.215Z] $ docker rm -f --volumes f7288cb6082742764e5ee2612f8b965d33fec56e101c6e163197393b9183eb79 [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-07-26T16:46:23.547Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T16:46:23.556Z] provisioning config files... [2023-07-26T16:46:23.564Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7691773288647230085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:46:23.856Z] --> edgex-publish-swagger.sh [2023-07-26T16:46:23.856Z] === Publish doc/openapi/v3 API === [2023-07-26T16:46:23.856Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger [2023-07-26T16:46:23.856Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] [2023-07-26T16:46:23.856Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T16:46:23.856Z] Dload Upload Total Spent Left Speed [2023-07-26T16:46:26.179Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 485k 0 0 100 485k 0 202k 0:00:02 0:00:02 --:--:-- 202k 100 485k 0 0 100 485k 0 202k 0:00:02 0:00:02 --:--:-- 202k [2023-07-26T16:46:26.179Z] [2023-07-26T16:46:26.179Z] [Pipeline] } [2023-07-26T16:46:26.185Z] 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-07-26T16:46:26.562Z] + git log --format=format:%s -1 f9a51d90d45793b537885a974cdf3c636c247a85 [Pipeline] sh [2023-07-26T16:46:26.851Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-26T16:46:26.851Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:46:27.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T16:46:27.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:46:27.222Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:46:27.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-26T16:46:27.744Z] $ docker top 7bd287b5ffbe0e42af2dadfbec25a9f07aeca3fe076068b198e8e676cbcd8f62 -eo pid,comm [2023-07-26T16:46:27.780Z] 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-07-26T16:46:27.780Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-26T16:46:27.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T16:46:27.820Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T16:46:27.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T16:46:27.942Z] $ docker exec 7bd287b5ffbe0e42af2dadfbec25a9f07aeca3fe076068b198e8e676cbcd8f62 ssh-agent [2023-07-26T16:46:28.038Z] SSH_AUTH_SOCK=/tmp/ssh-LhgDM8iKWKfw/agent.31 [2023-07-26T16:46:28.038Z] SSH_AGENT_PID=37 [2023-07-26T16:46:28.043Z] Running ssh-add (command line suppressed) [2023-07-26T16:46:28.157Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17899237244343826325.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17899237244343826325.key) [2023-07-26T16:46:28.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T16:46:28.445Z] + git semver tag [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,645 [run_tag] DEBUG tag force:False [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,645 [check_head_tag] DEBUG check head tag [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,646 [execute] INFO git cat-file --batch-check [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,650 [execute] INFO git cat-file --batch [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,650 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,657 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,657 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,658 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-07-26T16:46:28.703Z] 2023-07-26 16:46:28,663 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-07-26T16:46:28.703Z] 3.1.0-dev.3 [Pipeline] } [2023-07-26T16:46:28.723Z] $ docker exec --env ******** --env ******** 7bd287b5ffbe0e42af2dadfbec25a9f07aeca3fe076068b198e8e676cbcd8f62 ssh-agent -k [2023-07-26T16:46:28.817Z] unset SSH_AUTH_SOCK; [2023-07-26T16:46:28.818Z] unset SSH_AGENT_PID; [2023-07-26T16:46:28.818Z] echo Agent pid 37 killed; [2023-07-26T16:46:28.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-26T16:46:29.122Z] + git semver [Pipeline] } [2023-07-26T16:46:29.404Z] $ docker stop --time=1 7bd287b5ffbe0e42af2dadfbec25a9f07aeca3fe076068b198e8e676cbcd8f62 [2023-07-26T16:46:30.664Z] $ docker rm -f --volumes 7bd287b5ffbe0e42af2dadfbec25a9f07aeca3fe076068b198e8e676cbcd8f62 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:46:31.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-26T16:46:31.036Z] [2023-07-26T16:46:31.036Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:46:31.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-26T16:46:31.338Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-26T16:46:31.338Z] ab5ef0e58194: Pulling fs layer [2023-07-26T16:46:31.338Z] 9712f1f96733: Pulling fs layer [2023-07-26T16:46:31.338Z] 63f879dbbcfc: Pulling fs layer [2023-07-26T16:46:31.338Z] 0d9ebad4ef96: Pulling fs layer [2023-07-26T16:46:31.338Z] e9a5061849ea: Pulling fs layer [2023-07-26T16:46:31.338Z] d747dcd14b5f: Pulling fs layer [2023-07-26T16:46:31.338Z] 2de7ff778b66: Pulling fs layer [2023-07-26T16:46:31.338Z] d747dcd14b5f: Waiting [2023-07-26T16:46:31.338Z] 0d9ebad4ef96: Waiting [2023-07-26T16:46:31.338Z] e9a5061849ea: Waiting [2023-07-26T16:46:31.338Z] 9712f1f96733: Verifying Checksum [2023-07-26T16:46:31.338Z] 9712f1f96733: Download complete [2023-07-26T16:46:31.600Z] 63f879dbbcfc: Verifying Checksum [2023-07-26T16:46:31.600Z] 63f879dbbcfc: Download complete [2023-07-26T16:46:31.858Z] e9a5061849ea: Verifying Checksum [2023-07-26T16:46:31.858Z] e9a5061849ea: Download complete [2023-07-26T16:46:31.858Z] d747dcd14b5f: Download complete [2023-07-26T16:46:31.858Z] 0d9ebad4ef96: Verifying Checksum [2023-07-26T16:46:31.858Z] 0d9ebad4ef96: Download complete [2023-07-26T16:46:31.858Z] 2de7ff778b66: Verifying Checksum [2023-07-26T16:46:31.858Z] 2de7ff778b66: Download complete [2023-07-26T16:46:31.858Z] ab5ef0e58194: Verifying Checksum [2023-07-26T16:46:31.858Z] ab5ef0e58194: Download complete [2023-07-26T16:46:35.162Z] ab5ef0e58194: Pull complete [2023-07-26T16:46:35.162Z] 9712f1f96733: Pull complete [2023-07-26T16:46:35.419Z] 63f879dbbcfc: Pull complete [2023-07-26T16:46:38.696Z] 0d9ebad4ef96: Pull complete [2023-07-26T16:46:38.954Z] e9a5061849ea: Pull complete [2023-07-26T16:46:39.211Z] d747dcd14b5f: Pull complete [2023-07-26T16:46:40.144Z] 2de7ff778b66: Pull complete [2023-07-26T16:46:40.144Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-26T16:46:40.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-26T16:46:40.144Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:46:40.228Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:46:40.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-07-26T16:46:46.701Z] $ docker top f88befb56d41bb55ccfef90311751e5aea1c852b03dce28c9298b729c32055d0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-26T16:46:46.757Z] provisioning config files... [2023-07-26T16:46:46.763Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9211598246124062310tmp [2023-07-26T16:46:46.775Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12248205116612320144tmp [2023-07-26T16:46:46.783Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11154995056590047409tmp [Pipeline] { [Pipeline] echo [2023-07-26T16:46:46.798Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:46:47.079Z] ---> sigul-configuration.sh [2023-07-26T16:46:47.079Z] gpg: directory `/root/.gnupg' created [2023-07-26T16:46:47.079Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-26T16:46:47.079Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-26T16:46:47.079Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-26T16:46:47.079Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-26T16:46:47.079Z] gpg: CAST5 encrypted data [2023-07-26T16:46:47.079Z] gpg: encrypted with 1 passphrase [2023-07-26T16:46:47.079Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-26T16:46:47.366Z] + mkdir /home/jenkins [2023-07-26T16:46:47.366Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-26T16:46:47.654Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-07-26T16:46:47.663Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:46:47.948Z] ---> sigul-install.sh [2023-07-26T16:46:47.948Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-26T16:46:48.233Z] + git tag --list [2023-07-26T16:46:48.233Z] v0.0.0 [2023-07-26T16:46:48.233Z] v2.2.0 [2023-07-26T16:46:48.233Z] v2.3.0 [2023-07-26T16:46:48.233Z] v2.3.1 [2023-07-26T16:46:48.233Z] v3.0 [2023-07-26T16:46:48.233Z] v3.0.0 [2023-07-26T16:46:48.233Z] v3.1.0-dev.1 [2023-07-26T16:46:48.233Z] v3.1.0-dev.2 [2023-07-26T16:46:48.233Z] v3.1.0-dev.3 [Pipeline] sh [2023-07-26T16:46:48.519Z] + lftools sign git-tag v3.1.0-dev.3 [2023-07-26T16:46:49.086Z] Signing Git tag with Sigul... [2023-07-26T16:46:49.086Z] Signing v3.1.0-dev.3 [Pipeline] echo [2023-07-26T16:46:49.354Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:46:49.639Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-26T16:46:49.646Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-26T16:46:49.676Z] $ docker stop --time=1 f88befb56d41bb55ccfef90311751e5aea1c852b03dce28c9298b729c32055d0 [2023-07-26T16:46:50.980Z] $ docker rm -f --volumes f88befb56d41bb55ccfef90311751e5aea1c852b03dce28c9298b729c32055d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-26T16:46:51.380Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-26T16:46:51.380Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:46:51.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T16:46:51.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:46:51.748Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:46:51.790Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-26T16:46:52.102Z] $ docker top fb604ce9025804098c5aa1a812e83581ec12bf313cc53d4ea8611419dc5e1236 -eo pid,comm [2023-07-26T16:46:52.136Z] 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-07-26T16:46:52.136Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-26T16:46:52.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T16:46:52.170Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T16:46:52.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T16:46:52.297Z] $ docker exec fb604ce9025804098c5aa1a812e83581ec12bf313cc53d4ea8611419dc5e1236 ssh-agent [2023-07-26T16:46:52.404Z] SSH_AUTH_SOCK=/tmp/ssh-k0XODOrqKIMj/agent.32 [2023-07-26T16:46:52.404Z] SSH_AGENT_PID=38 [2023-07-26T16:46:52.408Z] Running ssh-add (command line suppressed) [2023-07-26T16:46:52.526Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3086108663434900773.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3086108663434900773.key) [2023-07-26T16:46:52.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T16:46:52.813Z] + git semver bump pre [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,004 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,004 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,004 [bump_version] DEBUG bumped version:3.1.0-dev.4 [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,004 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,004 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,004 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,006 [execute] INFO git cat-file --batch-check [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,010 [execute] INFO git cat-file --batch [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T16:46:53.072Z] 2023-07-26 16:46:53,015 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-07-26T16:46:53.072Z] 3.1.0-dev.4 [Pipeline] } [2023-07-26T16:46:53.093Z] $ docker exec --env ******** --env ******** fb604ce9025804098c5aa1a812e83581ec12bf313cc53d4ea8611419dc5e1236 ssh-agent -k [2023-07-26T16:46:53.191Z] unset SSH_AUTH_SOCK; [2023-07-26T16:46:53.191Z] unset SSH_AGENT_PID; [2023-07-26T16:46:53.191Z] echo Agent pid 38 killed; [2023-07-26T16:46:53.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-26T16:46:53.496Z] + git semver [Pipeline] } [2023-07-26T16:46:53.778Z] $ docker stop --time=1 fb604ce9025804098c5aa1a812e83581ec12bf313cc53d4ea8611419dc5e1236 [2023-07-26T16:46:55.050Z] $ docker rm -f --volumes fb604ce9025804098c5aa1a812e83581ec12bf313cc53d4ea8611419dc5e1236 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T16:46:55.376Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-26T16:46:55.376Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:46:55.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T16:46:55.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:46:55.735Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:46:55.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-26T16:46:56.149Z] $ docker top 2702fe1d9015738a0dfc8bb26798a792428ed0c06c2ce4821bf69eb9c77cfe8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-26T16:46:56.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T16:46:56.285Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T16:46:56.394Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T16:46:56.409Z] $ docker exec 2702fe1d9015738a0dfc8bb26798a792428ed0c06c2ce4821bf69eb9c77cfe8a ssh-agent [2023-07-26T16:46:56.513Z] SSH_AUTH_SOCK=/tmp/ssh-31hq2L9juQAz/agent.32 [2023-07-26T16:46:56.513Z] SSH_AGENT_PID=38 [2023-07-26T16:46:56.533Z] Running ssh-add (command line suppressed) [2023-07-26T16:46:56.638Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13652168755520286190.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13652168755520286190.key) [2023-07-26T16:46:56.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T16:46:56.926Z] + git semver push [2023-07-26T16:46:57.186Z] 2023-07-26 16:46:57,107 [run_push] DEBUG push [2023-07-26T16:46:57.186Z] 2023-07-26 16:46:57,107 [execute] INFO git cat-file --batch-check [2023-07-26T16:46:57.186Z] 2023-07-26 16:46:57,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T16:46:57.186Z] 2023-07-26 16:46:57,111 [execute] INFO git rev-list 42950fd335173bf49d8c96420e9faa56f74bb6ca -- [2023-07-26T16:46:57.186Z] 2023-07-26 16:46:57,111 [execute] DEBUG Popen(['git', 'rev-list', '42950fd335173bf49d8c96420e9faa56f74bb6ca', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-26T16:46:57.186Z] 2023-07-26 16:46:57,119 [execute] INFO git fetch -v origin [2023-07-26T16:46:57.186Z] 2023-07-26 16:46:57,119 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-26T16:46:57.754Z] 2023-07-26 16:46:57,685 [run_push] DEBUG no remote changes detected [2023-07-26T16:46:57.754Z] 2023-07-26 16:46:57,685 [execute] INFO git push origin semver [2023-07-26T16:46:57.754Z] 2023-07-26 16:46:57,685 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-26T16:46:58.692Z] 2023-07-26 16:46:58,487 [run_push] DEBUG push all version tags [2023-07-26T16:46:58.692Z] 2023-07-26 16:46:58,488 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-26T16:46:58.692Z] 2023-07-26 16:46:58,488 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-07-26T16:46:59.259Z] 2023-07-26 16:46:59,241 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-07-26T16:46:59.259Z] 3.1.0-dev.4 [Pipeline] } [2023-07-26T16:46:59.280Z] $ docker exec --env ******** --env ******** 2702fe1d9015738a0dfc8bb26798a792428ed0c06c2ce4821bf69eb9c77cfe8a ssh-agent -k [2023-07-26T16:46:59.362Z] unset SSH_AUTH_SOCK; [2023-07-26T16:46:59.362Z] unset SSH_AGENT_PID; [2023-07-26T16:46:59.362Z] echo Agent pid 38 killed; [2023-07-26T16:46:59.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-26T16:46:59.659Z] + git semver [Pipeline] } [2023-07-26T16:46:59.943Z] $ docker stop --time=1 2702fe1d9015738a0dfc8bb26798a792428ed0c06c2ce4821bf69eb9c77cfe8a [2023-07-26T16:47:01.197Z] $ docker rm -f --volumes 2702fe1d9015738a0dfc8bb26798a792428ed0c06c2ce4821bf69eb9c77cfe8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-26T16:47:01.748Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-07-26T16:47:01.748Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-07-26T16:47:01.748Z] total 16 [2023-07-26T16:47:01.748Z] drwxr-xr-x 3 root root 4096 Jul 26 16:35 . [2023-07-26T16:47:01.748Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 26 16:46 .. [2023-07-26T16:47:01.748Z] drwxr-xr-x 2 root root 4096 Jul 26 16:35 cost [2023-07-26T16:47:01.748Z] -rw-r--r-- 1 root root 91 Jul 26 16:35 cost.csv [2023-07-26T16:47:01.748Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-07-26T16:47:01.748Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-07-26T16:47:01.748Z] total 16 [2023-07-26T16:47:01.748Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 16:35 . [2023-07-26T16:47:01.748Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 26 16:46 .. [2023-07-26T16:47:01.748Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 16:35 cost [2023-07-26T16:47:01.748Z] -rw-r--r-- 1 jenkins jenkins 91 Jul 26 16:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:47:02.036Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:47:02.892Z] ---> package-listing.sh [2023-07-26T16:47:02.892Z] ++ facter osfamily [2023-07-26T16:47:02.892Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-26T16:47:03.151Z] + OS_FAMILY=debian [2023-07-26T16:47:03.151Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-07-26T16:47:03.151Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-26T16:47:03.151Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-26T16:47:03.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-26T16:47:03.151Z] + PACKAGES=/tmp/packages_start.txt [2023-07-26T16:47:03.151Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-07-26T16:47:03.151Z] + PACKAGES=/tmp/packages_end.txt [2023-07-26T16:47:03.151Z] + case "${OS_FAMILY}" in [2023-07-26T16:47:03.151Z] + dpkg -l [2023-07-26T16:47:03.151Z] + grep '^ii' [2023-07-26T16:47:03.151Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-26T16:47:03.151Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-26T16:47:03.151Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-26T16:47:03.151Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-07-26T16:47:03.151Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-07-26T16:47:03.151Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2023-07-26T16:47:03.162Z] 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-26T16:47:03.437Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T16:47:03.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T16:47:03.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T16:47:04.067Z] prd-ubuntu20.04-docker-8c-8g-2226 does not seem to be running inside a container [2023-07-26T16:47:04.110Z] $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-26T16:47:04.296Z] $ docker top 7f216128d2df592ef70f169c0224c5fbf4fead6e8e7e67840ebc128da2268d47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T16:47:04.625Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-26T16:47:04.910Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-26T16:47:05.192Z] + ls /var/log/sa-host [2023-07-26T16:47:05.192Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T16:47:05.260Z] provisioning config files... [2023-07-26T16:47:05.268Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5673015681533486076tmp [Pipeline] { [Pipeline] echo [2023-07-26T16:47:05.284Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:47:05.564Z] ---> create-netrc.sh [Pipeline] } [2023-07-26T16:47:05.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:47:05.893Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-26T16:47:05.901Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:47:06.188Z] ---> sudo-logs.sh [2023-07-26T16:47:06.188Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-26T16:47:06.216Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:47:06.496Z] ---> job-cost.sh [2023-07-26T16:47:06.496Z] lf-activate-venv: SKIPPING [2023-07-26T16:47:06.496Z] DEBUG: total: 0.2199999988079071 [2023-07-26T16:47:06.496Z] INFO: Retrieving Stack Cost... [2023-07-26T16:47:07.063Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T16:47:07.322Z] INFO: Archiving Costs [Pipeline] echo [2023-07-26T16:47:07.332Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T16:47:07.612Z] ---> logs-deploy.sh [2023-07-26T16:47:07.612Z] lf-activate-venv: SKIPPING [2023-07-26T16:47:07.612Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/159 [2023-07-26T16:47:07.612Z] INFO: archiving workspace using pattern(s): [2023-07-26T16:47:08.547Z] Archives upload complete. [2023-07-26T16:47:08.547Z] INFO: archiving logs to Nexus