Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 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-ssh2672581867330056278.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-ssh5790396272684188100.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-ssh14718751183239554831.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-ssh988674497404291787.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-ssh13565289412335281029.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-18459’ Running on prd-ubuntu20.04-docker-8c-8g-18461 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 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 (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 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#371)" > git rev-list --no-walk f8d6efeffbcc72b13ace8b41daac95c88037c92b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-12T17:44:51.662Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-12T17:44:51.797Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-12T17:44:51.819Z] ========================================================= [2023-06-12T17:44:51.819Z] EdgeX Global Pipelines Version Info [2023-06-12T17:44:51.819Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:44:52.552Z] ------------------- [2023-06-12T17:44:52.552Z] stable info: [2023-06-12T17:44:52.552Z] ------------------- [2023-06-12T17:44:52.552Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-12T17:44:52.552Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T17:44:52.552Z] Message: update stable to v1.0.250 [2023-06-12T17:44:53.123Z] ------------------- [2023-06-12T17:44:53.123Z] experimental info: [2023-06-12T17:44:53.123Z] ------------------- [2023-06-12T17:44:53.123Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-12T17:44:53.123Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T17:44:53.123Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-12T17:44:53.306Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-06-12T17:44:53.323Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-06-12T17:44:53.344Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-12T17:44:53.365Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-12T17:44:53.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-12T17:44:53.401Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-12T17:44:53.414Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-12T17:44:53.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-12T17:44:53.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-12T17:44:53.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-12T17:44:53.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-12T17:44:53.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-06-12T17:44:53.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-12T17:44:53.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-12T17:44:53.565Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T17:44:53.583Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T17:44:53.597Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T17:44:53.615Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T17:44:53.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-12T17:44:53.649Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-12T17:44:53.668Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-06-12T17:44:53.688Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-06-12T17:44:53.708Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-12T17:44:53.727Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-12T17:44:53.746Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-12T17:44:53.763Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-12T17:44:53.775Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-12T17:44:53.794Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-06-12T17:44:53.814Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-06-12T17:44:53.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-06-12T17:44:53.854Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] echo [2023-06-12T17:44:53.876Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63c25e9 [Pipeline] echo [2023-06-12T17:44:53.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:44:53.950Z] provisioning config files... [2023-06-12T17:44:53.963Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config115595491038583117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:44:54.271Z] ---> docker-login.sh [2023-06-12T17:44:54.271Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:44:54.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:44:54.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:44:54.537Z] Configure a credential helper to remove this warning. See [2023-06-12T17:44:54.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:44:54.537Z] [2023-06-12T17:44:54.537Z] Login Succeeded [2023-06-12T17:44:54.537Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:44:54.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:44:54.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:44:54.537Z] Configure a credential helper to remove this warning. See [2023-06-12T17:44:54.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:44:54.537Z] [2023-06-12T17:44:54.537Z] Login Succeeded [2023-06-12T17:44:54.537Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:44:54.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:44:54.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:44:54.798Z] Configure a credential helper to remove this warning. See [2023-06-12T17:44:54.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:44:54.798Z] [2023-06-12T17:44:54.798Z] Login Succeeded [2023-06-12T17:44:54.798Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:44:54.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:44:54.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:44:54.798Z] Configure a credential helper to remove this warning. See [2023-06-12T17:44:54.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:44:54.798Z] [2023-06-12T17:44:54.798Z] Login Succeeded [2023-06-12T17:44:54.798Z] docker.io [2023-06-12T17:44:54.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:44:55.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:44:55.060Z] Configure a credential helper to remove this warning. See [2023-06-12T17:44:55.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:44:55.060Z] [2023-06-12T17:44:55.060Z] Login Succeeded [2023-06-12T17:44:55.060Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:44:55.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-12T17:44:55.454Z] + git rev-list -1 --merges 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2~1..63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] echo [2023-06-12T17:44:55.506Z] -----------> git rev-list -1 --merges 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2~1..63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [false] [Pipeline] sh [2023-06-12T17:44:55.793Z] + git log --format=format:%s -1 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] echo [2023-06-12T17:44:55.807Z] ========================================================= [2023-06-12T17:44:55.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-12T17:44:55.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T17:44:56.138Z] + git log --format=format:%s -1 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] echo [2023-06-12T17:44:56.148Z] [semverPrep] GIT_COMMIT: 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#371) [Pipeline] echo [2023-06-12T17:44:56.160Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-12T17:44:56.524Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T17:44:56.524Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-12T17:44:56.524Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-12T17:44:56.524Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-12T17:44:56.524Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-12T17:44:56.524Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-12T17:44:56.524Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:44:56.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:44:56.870Z] [2023-06-12T17:44:56.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:44:57.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:44:57.180Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-12T17:44:57.180Z] b85a868b505f: Pulling fs layer [2023-06-12T17:44:57.180Z] e2be974225ed: Pulling fs layer [2023-06-12T17:44:57.180Z] 339a4e72a1f5: Pulling fs layer [2023-06-12T17:44:57.180Z] 988bab9f4d93: Pulling fs layer [2023-06-12T17:44:57.180Z] 1469e6f7b9e6: Pulling fs layer [2023-06-12T17:44:57.180Z] eaf3925da568: Pulling fs layer [2023-06-12T17:44:57.180Z] 988bab9f4d93: Waiting [2023-06-12T17:44:57.180Z] 1469e6f7b9e6: Waiting [2023-06-12T17:44:57.180Z] bab4dde63d76: Pulling fs layer [2023-06-12T17:44:57.180Z] bde34c3a00c8: Pulling fs layer [2023-06-12T17:44:57.180Z] eaf3925da568: Waiting [2023-06-12T17:44:57.180Z] bab4dde63d76: Waiting [2023-06-12T17:44:57.180Z] b352a97aabf1: Pulling fs layer [2023-06-12T17:44:57.180Z] 4872d77fe225: Pulling fs layer [2023-06-12T17:44:57.180Z] bde34c3a00c8: Waiting [2023-06-12T17:44:57.180Z] 5851b861e8e6: Pulling fs layer [2023-06-12T17:44:57.180Z] 4872d77fe225: Waiting [2023-06-12T17:44:57.180Z] b352a97aabf1: Waiting [2023-06-12T17:44:57.180Z] 5851b861e8e6: Waiting [2023-06-12T17:44:57.180Z] e2be974225ed: Verifying Checksum [2023-06-12T17:44:57.180Z] e2be974225ed: Download complete [2023-06-12T17:44:57.180Z] 988bab9f4d93: Verifying Checksum [2023-06-12T17:44:57.180Z] 988bab9f4d93: Download complete [2023-06-12T17:44:57.180Z] 1469e6f7b9e6: Verifying Checksum [2023-06-12T17:44:57.180Z] 1469e6f7b9e6: Download complete [2023-06-12T17:44:57.180Z] eaf3925da568: Verifying Checksum [2023-06-12T17:44:57.180Z] eaf3925da568: Download complete [2023-06-12T17:44:57.442Z] 339a4e72a1f5: Verifying Checksum [2023-06-12T17:44:57.442Z] 339a4e72a1f5: Download complete [2023-06-12T17:44:57.442Z] bde34c3a00c8: Download complete [2023-06-12T17:44:57.442Z] b352a97aabf1: Download complete [2023-06-12T17:44:57.442Z] 4872d77fe225: Verifying Checksum [2023-06-12T17:44:57.442Z] 4872d77fe225: Download complete [2023-06-12T17:44:57.442Z] 5851b861e8e6: Verifying Checksum [2023-06-12T17:44:57.442Z] b85a868b505f: Verifying Checksum [2023-06-12T17:44:57.442Z] b85a868b505f: Download complete [2023-06-12T17:44:57.702Z] bab4dde63d76: Verifying Checksum [2023-06-12T17:44:57.702Z] bab4dde63d76: Download complete [2023-06-12T17:44:58.642Z] b85a868b505f: Pull complete [2023-06-12T17:44:58.902Z] e2be974225ed: Pull complete [2023-06-12T17:44:59.470Z] 339a4e72a1f5: Pull complete [2023-06-12T17:44:59.470Z] 988bab9f4d93: Pull complete [2023-06-12T17:44:59.729Z] 1469e6f7b9e6: Pull complete [2023-06-12T17:44:59.729Z] eaf3925da568: Pull complete [2023-06-12T17:45:01.638Z] bab4dde63d76: Pull complete [2023-06-12T17:45:01.638Z] bde34c3a00c8: Pull complete [2023-06-12T17:45:01.638Z] b352a97aabf1: Pull complete [2023-06-12T17:45:01.898Z] 4872d77fe225: Pull complete [2023-06-12T17:45:01.898Z] 5851b861e8e6: Pull complete [2023-06-12T17:45:01.898Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-12T17:45:01.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:45:01.898Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:45:01.990Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:45:02.024Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T17:45:05.417Z] $ docker top 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 -eo pid,comm [2023-06-12T17:45:05.468Z] 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-06-12T17:45:05.468Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T17:45:05.505Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:45:05.505Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:45:05.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:45:05.617Z] $ docker exec 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 ssh-agent [2023-06-12T17:45:05.722Z] SSH_AUTH_SOCK=/tmp/ssh-3Apvu98GWE6d/agent.31 [2023-06-12T17:45:05.722Z] SSH_AGENT_PID=38 [2023-06-12T17:45:05.732Z] Running ssh-add (command line suppressed) [2023-06-12T17:45:05.838Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13303641785436665331.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13303641785436665331.key) [2023-06-12T17:45:05.847Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:45:06.132Z] + git tag --points-at HEAD [Pipeline] } [2023-06-12T17:45:06.148Z] $ docker exec --env ******** --env ******** 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 ssh-agent -k [2023-06-12T17:45:06.253Z] unset SSH_AUTH_SOCK; [2023-06-12T17:45:06.254Z] unset SSH_AGENT_PID; [2023-06-12T17:45:06.254Z] echo Agent pid 38 killed; [2023-06-12T17:45:06.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-12T17:45:06.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:45:06.289Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:45:06.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:45:06.421Z] $ docker exec 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 ssh-agent [2023-06-12T17:45:06.523Z] SSH_AUTH_SOCK=/tmp/ssh-RINLxh6PG8qk/agent.71 [2023-06-12T17:45:06.523Z] SSH_AGENT_PID=77 [2023-06-12T17:45:06.529Z] Running ssh-add (command line suppressed) [2023-06-12T17:45:06.639Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13829256969316954252.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13829256969316954252.key) [2023-06-12T17:45:06.650Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:45:06.941Z] + git semver init [2023-06-12T17:45:07.200Z] 2023-06-12 17:45:07,146 [run_init] DEBUG init version:0.0.0 force:False [2023-06-12T17:45:07.200Z] 2023-06-12 17:45:07,147 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-06-12T17:45:07.200Z] 2023-06-12 17:45:07,147 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-06-12T17:45:07.200Z] 2023-06-12 17:45:07,147 [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-06-12T17:45:08.582Z] 2023-06-12 17:45:08,171 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-06-12T17:45:08.582Z] 2023-06-12 17:45:08,172 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-06-12T17:45:08.582Z] 2023-06-12 17:45:08,172 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-06-12T17:45:08.582Z] 2023-06-12 17:45:08,173 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-06-12T17:45:08.582Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T17:45:08.596Z] $ docker exec --env ******** --env ******** 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 ssh-agent -k [2023-06-12T17:45:08.699Z] unset SSH_AUTH_SOCK; [2023-06-12T17:45:08.700Z] unset SSH_AGENT_PID; [2023-06-12T17:45:08.701Z] echo Agent pid 77 killed; [2023-06-12T17:45:08.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T17:45:09.028Z] + git semver [Pipeline] } [2023-06-12T17:45:09.306Z] $ docker stop --time=1 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 [2023-06-12T17:45:10.615Z] $ docker rm -f --volumes 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:45:10.954Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-12T17:45:11.181Z] Stashed 1 file(s) [Pipeline] echo [2023-06-12T17:45:11.183Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.2 [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-06-12T17:45:11.348Z] provisioning config files... [2023-06-12T17:45:11.358Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5657069441359795213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:45:11.658Z] ---> docker-login.sh [2023-06-12T17:45:11.659Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:45:11.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:45:11.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:45:11.659Z] Configure a credential helper to remove this warning. See [2023-06-12T17:45:11.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:45:11.659Z] [2023-06-12T17:45:11.659Z] Login Succeeded [2023-06-12T17:45:11.659Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:45:11.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:45:11.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:45:11.659Z] Configure a credential helper to remove this warning. See [2023-06-12T17:45:11.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:45:11.659Z] [2023-06-12T17:45:11.659Z] Login Succeeded [2023-06-12T17:45:11.659Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:45:11.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:45:11.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:45:11.919Z] Configure a credential helper to remove this warning. See [2023-06-12T17:45:11.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:45:11.919Z] [2023-06-12T17:45:11.919Z] Login Succeeded [2023-06-12T17:45:11.919Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:45:11.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:45:11.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:45:11.919Z] Configure a credential helper to remove this warning. See [2023-06-12T17:45:11.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:45:11.919Z] [2023-06-12T17:45:11.919Z] Login Succeeded [2023-06-12T17:45:11.919Z] docker.io [2023-06-12T17:45:11.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:45:12.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:45:12.178Z] Configure a credential helper to remove this warning. See [2023-06-12T17:45:12.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:45:12.178Z] [2023-06-12T17:45:12.178Z] Login Succeeded [2023-06-12T17:45:12.178Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:45:12.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T17:45:12.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:45:12.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:45:12.278Z] ========================================================= [2023-06-12T17:45:12.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-12T17:45:12.278Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:45:12.594Z] + 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-06-12T17:45:12.595Z] Sending build context to Docker daemon 21.6MB [2023-06-12T17:45:12.595Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:45:12.595Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-12T17:45:12.876Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-12T17:45:12.876Z] f56be85fc22e: Pulling fs layer [2023-06-12T17:45:12.876Z] 85791d961cd3: Pulling fs layer [2023-06-12T17:45:12.876Z] d694b5ae8c79: Pulling fs layer [2023-06-12T17:45:12.876Z] 9f32a84ed3da: Pulling fs layer [2023-06-12T17:45:12.876Z] 4d19c01a9841: Pulling fs layer [2023-06-12T17:45:12.876Z] 9325e15d5711: Pulling fs layer [2023-06-12T17:45:12.876Z] 556b6ee489ea: Pulling fs layer [2023-06-12T17:45:12.876Z] c5a4b2cf53e6: Pulling fs layer [2023-06-12T17:45:12.876Z] c5a4b2cf53e6: Waiting [2023-06-12T17:45:12.876Z] 4d19c01a9841: Waiting [2023-06-12T17:45:12.876Z] 9325e15d5711: Waiting [2023-06-12T17:45:12.876Z] 9f32a84ed3da: Waiting [2023-06-12T17:45:12.876Z] 85791d961cd3: Download complete [2023-06-12T17:45:12.876Z] 9f32a84ed3da: Download complete [2023-06-12T17:45:12.876Z] 4d19c01a9841: Download complete [2023-06-12T17:45:12.876Z] f56be85fc22e: Verifying Checksum [2023-06-12T17:45:12.876Z] f56be85fc22e: Download complete [2023-06-12T17:45:12.876Z] 9325e15d5711: Verifying Checksum [2023-06-12T17:45:12.876Z] 9325e15d5711: Download complete [2023-06-12T17:45:13.137Z] f56be85fc22e: Pull complete [2023-06-12T17:45:13.137Z] 85791d961cd3: Pull complete [2023-06-12T17:45:13.396Z] c5a4b2cf53e6: Verifying Checksum [2023-06-12T17:45:13.396Z] c5a4b2cf53e6: Download complete [2023-06-12T17:45:13.396Z] d694b5ae8c79: Verifying Checksum [2023-06-12T17:45:13.396Z] d694b5ae8c79: Download complete [2023-06-12T17:45:13.655Z] 556b6ee489ea: Verifying Checksum [2023-06-12T17:45:13.655Z] 556b6ee489ea: Download complete [2023-06-12T17:45:16.942Z] d694b5ae8c79: Pull complete [2023-06-12T17:45:17.201Z] 9f32a84ed3da: Pull complete [2023-06-12T17:45:17.201Z] 4d19c01a9841: Pull complete [2023-06-12T17:45:17.201Z] 9325e15d5711: Pull complete [2023-06-12T17:45:19.739Z] 556b6ee489ea: Pull complete [2023-06-12T17:45:20.684Z] c5a4b2cf53e6: Pull complete [2023-06-12T17:45:20.684Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-12T17:45:20.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-12T17:45:20.684Z] ---> c4be618373d6 [2023-06-12T17:45:20.684Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:45:26.109Z] ---> Running in 48ee402d95ae [2023-06-12T17:45:26.109Z] Removing intermediate container 48ee402d95ae [2023-06-12T17:45:26.109Z] ---> b566c797f4e9 [2023-06-12T17:45:26.109Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:45:26.109Z] ---> Running in aa01d678d4bb [2023-06-12T17:45:26.109Z] Removing intermediate container aa01d678d4bb [2023-06-12T17:45:26.109Z] ---> db6bea40da5e [2023-06-12T17:45:26.109Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-06-12T17:45:26.109Z] ---> Running in 31885d98841f [2023-06-12T17:45:26.109Z] Removing intermediate container 31885d98841f [2023-06-12T17:45:26.109Z] ---> 0cb18e6bc078 [2023-06-12T17:45:26.109Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T17:45:26.109Z] ---> Running in 0558581a17aa [2023-06-12T17:45:26.109Z] Removing intermediate container 0558581a17aa [2023-06-12T17:45:26.109Z] ---> d1b943d76c93 [2023-06-12T17:45:26.109Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-06-12T17:45:26.109Z] ---> Running in 3fba9b639b8d [2023-06-12T17:45:26.299Z] Still waiting to schedule task [2023-06-12T17:45:26.300Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-18460’ [2023-06-12T17:45:26.369Z] Removing intermediate container 3fba9b639b8d [2023-06-12T17:45:26.369Z] ---> dd62894388ef [2023-06-12T17:45:26.369Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T17:45:26.369Z] ---> Running in 7dd7c07880f0 [2023-06-12T17:45:26.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:45:26.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:45:26.888Z] OK: 265 MiB in 53 packages [2023-06-12T17:45:27.147Z] Removing intermediate container 7dd7c07880f0 [2023-06-12T17:45:27.147Z] ---> 08277972445d [2023-06-12T17:45:27.147Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-06-12T17:45:27.147Z] ---> Running in 6b0ab8d70f6e [2023-06-12T17:45:27.406Z] Removing intermediate container 6b0ab8d70f6e [2023-06-12T17:45:27.406Z] ---> 829549b22a2c [2023-06-12T17:45:27.406Z] Step 10/13 : COPY go.mod vendor* ./ [2023-06-12T17:45:27.406Z] ---> 983a04317b8d [2023-06-12T17:45:27.406Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:45:27.406Z] ---> Running in f05cbdf8383d [2023-06-12T17:45:59.555Z] Removing intermediate container f05cbdf8383d [2023-06-12T17:45:59.555Z] ---> 8ee35b92fa0b [2023-06-12T17:45:59.555Z] Step 12/13 : COPY . . [2023-06-12T17:45:59.555Z] ---> 7938d2eb177d [2023-06-12T17:45:59.555Z] Step 13/13 : RUN ${MAKE} [2023-06-12T17:45:59.555Z] ---> Running in 357e708916c3 [2023-06-12T17:45:59.555Z] noop [2023-06-12T17:45:59.555Z] Removing intermediate container 357e708916c3 [2023-06-12T17:45:59.555Z] ---> 0dfb7e897b91 [2023-06-12T17:45:59.555Z] Successfully built 0dfb7e897b91 [2023-06-12T17:45:59.555Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:45:59.868Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T17:45:59.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:45:59.938Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:45:59.979Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-06-12T17:46:00.313Z] $ docker top 79e9cf7e7e299e97f5dbe58517b439912c3d567907e7ba30714d41c282bc814e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:46:00.652Z] + go version [2023-06-12T17:46:00.652Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-12T17:46:00.669Z] $ docker stop --time=1 79e9cf7e7e299e97f5dbe58517b439912c3d567907e7ba30714d41c282bc814e [2023-06-12T17:46:01.922Z] $ docker rm -f --volumes 79e9cf7e7e299e97f5dbe58517b439912c3d567907e7ba30714d41c282bc814e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:46:02.293Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T17:46:02.293Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:46:02.359Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:46:02.398Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-06-12T17:46:02.704Z] $ docker top 3647423820dcd0eaa3c9c06f333d78a6b4c3b10362549455275428b984fdedf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:46:03.039Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-06-12T17:46:03.335Z] + make test [2023-06-12T17:46:03.335Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T17:46:08.835Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-06-12T17:46:19.651Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-06-12T17:46:19.651Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-06-12T17:46:21.038Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.4% of statements [2023-06-12T17:46:21.038Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.101s coverage: 86.5% of statements [2023-06-12T17:46:27.609Z] go vet ./... [2023-06-12T17:46:30.905Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T17:46:30.905Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T17:46:30.905Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T17:46:30.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T17:46:30.939Z] $ docker stop --time=1 3647423820dcd0eaa3c9c06f333d78a6b4c3b10362549455275428b984fdedf6 [2023-06-12T17:46:34.768Z] $ docker rm -f --volumes 3647423820dcd0eaa3c9c06f333d78a6b4c3b10362549455275428b984fdedf6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:46:35.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T17:46:35.281Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-12T17:46:35.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T17:46:36.083Z] + ls -al . [2023-06-12T17:46:36.084Z] total 240 [2023-06-12T17:46:36.084Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 17:46 . [2023-06-12T17:46:36.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:44 .. [2023-06-12T17:46:36.084Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:45 .git [2023-06-12T17:46:36.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:44 .github [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 496 Jun 12 17:44 .gitignore [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 12 17:44 .golangci.yml [2023-06-12T17:46:36.084Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:45 .semver [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 10087 Jun 12 17:44 Attribution.txt [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 15932 Jun 12 17:44 CHANGELOG.md [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jun 12 17:44 Dockerfile [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:44 GOVERNANCE.md [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 739 Jun 12 17:44 Jenkinsfile [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 12 17:44 LICENSE [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 2751 Jun 12 17:44 Makefile [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 12 17:44 OWNERS.md [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jun 12 17:44 README.md [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:45 VERSION [2023-06-12T17:46:36.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:44 bin [2023-06-12T17:46:36.084Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:44 cmd [2023-06-12T17:46:36.084Z] -rw-r--r-- 1 jenkins jenkins 78459 Jun 12 17:46 coverage.out [2023-06-12T17:46:36.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:44 doc [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 3594 Jun 12 17:44 go.mod [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 33485 Jun 12 17:44 go.sum [2023-06-12T17:46:36.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:44 internal [2023-06-12T17:46:36.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:44 snap [2023-06-12T17:46:36.084Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 12 17:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:46:36.550Z] + 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=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 --label arch=amd64 --label version=3.1.0-dev.2 . [2023-06-12T17:46:36.550Z] Sending build context to Docker daemon 21.68MB [2023-06-12T17:46:36.550Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:46:36.550Z] Step 2/26 : FROM ${BASE} AS builder [2023-06-12T17:46:36.550Z] ---> 0dfb7e897b91 [2023-06-12T17:46:36.550Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:46:36.809Z] ---> Running in 395a43b4979e [2023-06-12T17:46:36.809Z] Removing intermediate container 395a43b4979e [2023-06-12T17:46:36.809Z] ---> 4561d5afc0fe [2023-06-12T17:46:36.809Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:46:36.809Z] ---> Running in 781431ca79db [2023-06-12T17:46:37.067Z] Removing intermediate container 781431ca79db [2023-06-12T17:46:37.067Z] ---> e1a620fa043e [2023-06-12T17:46:37.067Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-06-12T17:46:37.067Z] ---> Running in 5755c57439f6 [2023-06-12T17:46:37.067Z] Removing intermediate container 5755c57439f6 [2023-06-12T17:46:37.067Z] ---> 9d9b7fb26ae6 [2023-06-12T17:46:37.067Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T17:46:37.067Z] ---> Running in 958b736480a4 [2023-06-12T17:46:37.067Z] Removing intermediate container 958b736480a4 [2023-06-12T17:46:37.067Z] ---> dcd8d8da29bd [2023-06-12T17:46:37.067Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-06-12T17:46:37.067Z] ---> Running in 89b42c78bf36 [2023-06-12T17:46:37.326Z] Removing intermediate container 89b42c78bf36 [2023-06-12T17:46:37.326Z] ---> 4009455fb074 [2023-06-12T17:46:37.326Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T17:46:37.326Z] ---> Running in e77eeac724a2 [2023-06-12T17:46:37.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:46:37.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:46:37.842Z] OK: 265 MiB in 53 packages [2023-06-12T17:46:38.101Z] Removing intermediate container e77eeac724a2 [2023-06-12T17:46:38.101Z] ---> c86a2e3c82fe [2023-06-12T17:46:38.101Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-06-12T17:46:38.101Z] ---> Running in 15c570de49bb [2023-06-12T17:46:38.101Z] Removing intermediate container 15c570de49bb [2023-06-12T17:46:38.101Z] ---> 254cc4c97371 [2023-06-12T17:46:38.101Z] Step 10/26 : COPY go.mod vendor* ./ [2023-06-12T17:46:38.359Z] ---> 268ce62c2013 [2023-06-12T17:46:38.359Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:46:38.359Z] ---> Running in 22d52d0e91d0 [2023-06-12T17:46:39.294Z] Removing intermediate container 22d52d0e91d0 [2023-06-12T17:46:39.294Z] ---> 4edba94e12a5 [2023-06-12T17:46:39.294Z] Step 12/26 : COPY . . [2023-06-12T17:46:39.960Z] ---> cb815b8f0828 [2023-06-12T17:46:39.960Z] Step 13/26 : RUN ${MAKE} [2023-06-12T17:46:39.960Z] ---> Running in d1c219e8f3b7 [2023-06-12T17:46:40.218Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.2" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-06-12T17:47:02.136Z] Removing intermediate container d1c219e8f3b7 [2023-06-12T17:47:02.136Z] ---> cc83bd764541 [2023-06-12T17:47:02.136Z] Step 14/26 : FROM alpine:3.17 [2023-06-12T17:47:02.136Z] 3.17: Pulling from library/alpine [2023-06-12T17:47:02.136Z] f56be85fc22e: Already exists [2023-06-12T17:47:02.136Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T17:47:02.136Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T17:47:02.136Z] ---> 9ed4aefc74f6 [2023-06-12T17:47:02.136Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-12T17:47:02.136Z] ---> Running in 7d389fed3a5b [2023-06-12T17:47:02.136Z] Removing intermediate container 7d389fed3a5b [2023-06-12T17:47:02.136Z] ---> b7feb7acb7d9 [2023-06-12T17:47:02.136Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-06-12T17:47:02.136Z] ---> Running in d00dfa98c696 [2023-06-12T17:47:02.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:47:02.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:47:02.136Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T17:47:02.136Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T17:47:02.136Z] OK: 7 MiB in 16 packages [2023-06-12T17:47:02.136Z] Removing intermediate container d00dfa98c696 [2023-06-12T17:47:02.136Z] ---> bcca1ac1be00 [2023-06-12T17:47:02.136Z] Step 17/26 : WORKDIR / [2023-06-12T17:47:02.136Z] ---> Running in fbf2d1daea41 [2023-06-12T17:47:02.136Z] Removing intermediate container fbf2d1daea41 [2023-06-12T17:47:02.136Z] ---> 6e3f2ce13c0e [2023-06-12T17:47:02.136Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-06-12T17:47:02.136Z] ---> e406ef463983 [2023-06-12T17:47:02.136Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-06-12T17:47:02.136Z] ---> f8340c1e2566 [2023-06-12T17:47:02.136Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-06-12T17:47:02.136Z] ---> 9310fe12ed41 [2023-06-12T17:47:02.136Z] Step 21/26 : EXPOSE 59984 [2023-06-12T17:47:02.136Z] ---> Running in 36997364a72d [2023-06-12T17:47:02.136Z] Removing intermediate container 36997364a72d [2023-06-12T17:47:02.136Z] ---> c884fc92793a [2023-06-12T17:47:02.136Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-06-12T17:47:02.136Z] ---> Running in 93667f969d5f [2023-06-12T17:47:02.136Z] Removing intermediate container 93667f969d5f [2023-06-12T17:47:02.136Z] ---> 6a0c8b3afc12 [2023-06-12T17:47:02.136Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-06-12T17:47:02.136Z] ---> Running in 9584eb6948f4 [2023-06-12T17:47:02.136Z] Removing intermediate container 9584eb6948f4 [2023-06-12T17:47:02.136Z] ---> a5f337a397c5 [2023-06-12T17:47:02.136Z] Step 24/26 : LABEL arch=amd64 [2023-06-12T17:47:02.136Z] ---> Running in e8ff8e9022c1 [2023-06-12T17:47:02.136Z] Removing intermediate container e8ff8e9022c1 [2023-06-12T17:47:02.136Z] ---> 5e0579158528 [2023-06-12T17:47:02.136Z] Step 25/26 : LABEL git_sha=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [2023-06-12T17:47:02.136Z] ---> Running in d94ff0831da1 [2023-06-12T17:47:02.136Z] Removing intermediate container d94ff0831da1 [2023-06-12T17:47:02.136Z] ---> 2330b4daae28 [2023-06-12T17:47:02.136Z] Step 26/26 : LABEL version=3.1.0-dev.2 [2023-06-12T17:47:02.136Z] ---> Running in 87dcf97f9ade [2023-06-12T17:47:02.136Z] Removing intermediate container 87dcf97f9ade [2023-06-12T17:47:02.136Z] ---> 6b9e960ef871 [2023-06-12T17:47:02.136Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T17:47:02.136Z] Successfully built 6b9e960ef871 [2023-06-12T17:47:02.136Z] 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-06-12T17:47:02.240Z] provisioning config files... [2023-06-12T17:47:02.248Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6937523235253457850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:47:02.548Z] ---> docker-login.sh [2023-06-12T17:47:02.548Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:47:02.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:47:02.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:47:02.548Z] Configure a credential helper to remove this warning. See [2023-06-12T17:47:02.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:47:02.548Z] [2023-06-12T17:47:02.548Z] Login Succeeded [2023-06-12T17:47:02.548Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:47:02.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:47:02.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:47:02.548Z] Configure a credential helper to remove this warning. See [2023-06-12T17:47:02.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:47:02.548Z] [2023-06-12T17:47:02.548Z] Login Succeeded [2023-06-12T17:47:02.548Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:47:02.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:47:02.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:47:02.807Z] Configure a credential helper to remove this warning. See [2023-06-12T17:47:02.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:47:02.807Z] [2023-06-12T17:47:02.807Z] Login Succeeded [2023-06-12T17:47:02.807Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:47:02.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:47:02.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:47:02.807Z] Configure a credential helper to remove this warning. See [2023-06-12T17:47:02.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:47:02.807Z] [2023-06-12T17:47:02.807Z] Login Succeeded [2023-06-12T17:47:02.807Z] docker.io [2023-06-12T17:47:02.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:47:03.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:47:03.066Z] Configure a credential helper to remove this warning. See [2023-06-12T17:47:03.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:47:03.067Z] [2023-06-12T17:47:03.067Z] Login Succeeded [2023-06-12T17:47:03.067Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:47:03.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T17:47:03.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:47:03.113Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-06-12T17:47:03.113Z] 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [2023-06-12T17:47:03.113Z] latest [2023-06-12T17:47:03.113Z] 3.1.0-dev.2 [2023-06-12T17:47:03.113Z] 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [2023-06-12T17:47:03.113Z] main [2023-06-12T17:47:03.113Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:03.424Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:03.731Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [2023-06-12T17:47:03.731Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-06-12T17:47:03.731Z] 6b6afdf8c928: Preparing [2023-06-12T17:47:03.731Z] 1f0b9db7cbac: Preparing [2023-06-12T17:47:03.731Z] f0238d057295: Preparing [2023-06-12T17:47:03.731Z] 890271fb1bc8: Preparing [2023-06-12T17:47:03.731Z] f1417ff83b31: Preparing [2023-06-12T17:47:03.731Z] f1417ff83b31: Layer already exists [2023-06-12T17:47:03.731Z] 1f0b9db7cbac: Pushed [2023-06-12T17:47:03.731Z] 890271fb1bc8: Pushed [2023-06-12T17:47:03.731Z] 6b6afdf8c928: Pushed [2023-06-12T17:47:06.270Z] f0238d057295: Pushed [2023-06-12T17:47:06.528Z] 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:06.834Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:07.137Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-06-12T17:47:07.138Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-06-12T17:47:07.138Z] 6b6afdf8c928: Preparing [2023-06-12T17:47:07.138Z] 1f0b9db7cbac: Preparing [2023-06-12T17:47:07.138Z] f0238d057295: Preparing [2023-06-12T17:47:07.138Z] 890271fb1bc8: Preparing [2023-06-12T17:47:07.138Z] f1417ff83b31: Preparing [2023-06-12T17:47:07.138Z] 1f0b9db7cbac: Layer already exists [2023-06-12T17:47:07.138Z] 6b6afdf8c928: Layer already exists [2023-06-12T17:47:07.138Z] f0238d057295: Layer already exists [2023-06-12T17:47:07.138Z] f1417ff83b31: Layer already exists [2023-06-12T17:47:07.138Z] 890271fb1bc8: Layer already exists [2023-06-12T17:47:07.138Z] latest: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:07.448Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:07.748Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.2 [2023-06-12T17:47:07.749Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-06-12T17:47:07.749Z] 6b6afdf8c928: Preparing [2023-06-12T17:47:07.749Z] 1f0b9db7cbac: Preparing [2023-06-12T17:47:07.749Z] f0238d057295: Preparing [2023-06-12T17:47:07.749Z] 890271fb1bc8: Preparing [2023-06-12T17:47:07.749Z] f1417ff83b31: Preparing [2023-06-12T17:47:07.749Z] 890271fb1bc8: Layer already exists [2023-06-12T17:47:07.749Z] f1417ff83b31: Layer already exists [2023-06-12T17:47:07.749Z] f0238d057295: Layer already exists [2023-06-12T17:47:07.749Z] 1f0b9db7cbac: Layer already exists [2023-06-12T17:47:07.749Z] 6b6afdf8c928: Layer already exists [2023-06-12T17:47:07.749Z] 3.1.0-dev.2: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:08.055Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:08.363Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [2023-06-12T17:47:08.364Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-06-12T17:47:08.364Z] 6b6afdf8c928: Preparing [2023-06-12T17:47:08.364Z] 1f0b9db7cbac: Preparing [2023-06-12T17:47:08.364Z] f0238d057295: Preparing [2023-06-12T17:47:08.364Z] 890271fb1bc8: Preparing [2023-06-12T17:47:08.364Z] f1417ff83b31: Preparing [2023-06-12T17:47:08.364Z] 890271fb1bc8: Layer already exists [2023-06-12T17:47:08.364Z] f0238d057295: Layer already exists [2023-06-12T17:47:08.364Z] 1f0b9db7cbac: Layer already exists [2023-06-12T17:47:08.364Z] f1417ff83b31: Layer already exists [2023-06-12T17:47:08.364Z] 6b6afdf8c928: Layer already exists [2023-06-12T17:47:08.364Z] 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:08.681Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:08.995Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-06-12T17:47:08.995Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-06-12T17:47:08.995Z] 6b6afdf8c928: Preparing [2023-06-12T17:47:08.995Z] 1f0b9db7cbac: Preparing [2023-06-12T17:47:08.995Z] f0238d057295: Preparing [2023-06-12T17:47:08.995Z] 890271fb1bc8: Preparing [2023-06-12T17:47:08.995Z] f1417ff83b31: Preparing [2023-06-12T17:47:08.995Z] f0238d057295: Layer already exists [2023-06-12T17:47:08.995Z] 6b6afdf8c928: Layer already exists [2023-06-12T17:47:08.995Z] 1f0b9db7cbac: Layer already exists [2023-06-12T17:47:08.995Z] f1417ff83b31: Layer already exists [2023-06-12T17:47:08.995Z] 890271fb1bc8: Layer already exists [2023-06-12T17:47:08.995Z] main: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T17:47:09.041Z] ===================================================== [Pipeline] echo [2023-06-12T17:47:09.053Z] taggedImages: [2023-06-12T17:47:09.053Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [2023-06-12T17:47:09.053Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-06-12T17:47:09.053Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.2 [2023-06-12T17:47:09.053Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [2023-06-12T17:47:09.053Z] - 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-06-12T17:47:09.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:47:09.444Z] [2023-06-12T17:47:09.444Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:47:09.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:47:09.753Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-12T17:47:09.753Z] 5eb5b503b376: Pulling fs layer [2023-06-12T17:47:09.753Z] 5c69ac0246d0: Pulling fs layer [2023-06-12T17:47:09.753Z] ec43610c2a17: Pulling fs layer [2023-06-12T17:47:09.753Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-12T17:47:09.753Z] 33b1e0a273af: Pulling fs layer [2023-06-12T17:47:09.753Z] 5d3b04190fa2: Pulling fs layer [2023-06-12T17:47:09.753Z] 2f39f015ded8: Pulling fs layer [2023-06-12T17:47:09.753Z] 3a2ae6a8a46f: Waiting [2023-06-12T17:47:09.753Z] 33b1e0a273af: Waiting [2023-06-12T17:47:09.753Z] 5d3b04190fa2: Waiting [2023-06-12T17:47:09.753Z] 2f39f015ded8: Waiting [2023-06-12T17:47:09.753Z] 5c69ac0246d0: Download complete [2023-06-12T17:47:09.753Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-12T17:47:09.753Z] 3a2ae6a8a46f: Download complete [2023-06-12T17:47:09.753Z] 33b1e0a273af: Verifying Checksum [2023-06-12T17:47:09.753Z] 33b1e0a273af: Download complete [2023-06-12T17:47:09.753Z] 5d3b04190fa2: Download complete [2023-06-12T17:47:10.011Z] ec43610c2a17: Verifying Checksum [2023-06-12T17:47:10.011Z] ec43610c2a17: Download complete [2023-06-12T17:47:10.011Z] 5eb5b503b376: Verifying Checksum [2023-06-12T17:47:10.011Z] 5eb5b503b376: Download complete [2023-06-12T17:47:10.579Z] 2f39f015ded8: Download complete [2023-06-12T17:47:11.215Z] 5eb5b503b376: Pull complete [2023-06-12T17:47:11.215Z] 5c69ac0246d0: Pull complete [2023-06-12T17:47:11.784Z] ec43610c2a17: Pull complete [2023-06-12T17:47:11.784Z] 3a2ae6a8a46f: Pull complete [2023-06-12T17:47:11.784Z] 33b1e0a273af: Pull complete [2023-06-12T17:47:12.043Z] 5d3b04190fa2: Pull complete [2023-06-12T17:47:16.229Z] 2f39f015ded8: Pull complete [2023-06-12T17:47:16.229Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-12T17:47:16.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:47:16.229Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:47:16.309Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:47:16.346Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-12T17:47:19.777Z] $ docker top b0673cb6eac7d88d11732aa9511649958f12e4746b6ad4a43ccb34380fe26fbb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:47:20.146Z] ---> job-cost.sh [2023-06-12T17:47:20.146Z] lf-activate-venv: SKIPPING [2023-06-12T17:47:20.146Z] INFO: No Stack... [2023-06-12T17:47:20.404Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T17:47:20.663Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T17:47:20.960Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-06-12T17:47:20.961Z] + cut -d, -f6 [Pipeline] lock [2023-06-12T17:47:20.973Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [2023-06-12T17:47:20.982Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] did not exist. Created. [2023-06-12T17:47:20.982Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T17:47:21.290Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-12T17:47:21.321Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T17:47:21.328Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T17:47:21.347Z] $ docker stop --time=1 b0673cb6eac7d88d11732aa9511649958f12e4746b6ad4a43ccb34380fe26fbb [2023-06-12T17:47:22.490Z] $ docker rm -f --volumes b0673cb6eac7d88d11732aa9511649958f12e4746b6ad4a43ccb34380fe26fbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-12T17:48:04.696Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18464 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-06-12T17:48:04.709Z] Running in /w/workspace/device-onvif-camera/158 [Pipeline] { [Pipeline] checkout [2023-06-12T17:48:04.760Z] The recommended git tool is: git [2023-06-12T17:48:10.473Z] using credential edgex-jenkins-ssh [2023-06-12T17:48:10.495Z] Cloning the remote Git repository [2023-06-12T17:48:10.552Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-06-12T17:48:10.675Z] > git init /w/workspace/device-onvif-camera/158 # timeout=10 [2023-06-12T17:48:10.872Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-06-12T17:48:10.873Z] > git --version # timeout=10 [2023-06-12T17:48:10.900Z] > git --version # 'git version 2.25.1' [2023-06-12T17:48:10.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-12T17:48:11.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T17:48:12.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-06-12T17:48:12.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T17:48:13.696Z] Avoid second fetch [2023-06-12T17:48:13.696Z] Checking out Revision 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 (main) [2023-06-12T17:48:14.403Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#371)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T17:48:13.714Z] > git config core.sparsecheckout # timeout=10 [2023-06-12T17:48:13.800Z] > git checkout -f 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 # timeout=10 [2023-06-12T17:48:15.424Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-12T17:48:15.424Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T17:48:15.424Z] Dload Upload Total Spent Left Speed [2023-06-12T17:48:15.424Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh [2023-06-12T17:48:16.089Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-12T17:48:16.424Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-12T17:48:16.424Z] + sudo tee /etc/docker/daemon.new [2023-06-12T17:48:16.424Z] { [2023-06-12T17:48:16.424Z] "registry-mirrors": [ [2023-06-12T17:48:16.424Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-12T17:48:16.424Z] ], [2023-06-12T17:48:16.424Z] "bip": "10.250.0.254/24", [2023-06-12T17:48:16.424Z] "hosts": [ [2023-06-12T17:48:16.424Z] "tcp://0.0.0.0:5555", [2023-06-12T17:48:16.424Z] "unix:///var/run/docker.sock" [2023-06-12T17:48:16.424Z] ], [2023-06-12T17:48:16.424Z] "mtu": 1458, [2023-06-12T17:48:16.424Z] "selinux-enabled": true, [2023-06-12T17:48:16.424Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-12T17:48:16.424Z] } [Pipeline] sh [2023-06-12T17:48:16.759Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-12T17:48:17.097Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:48:35.379Z] provisioning config files... [2023-06-12T17:48:35.407Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/158@tmp/config9183092050673456337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:48:35.771Z] ---> docker-login.sh [2023-06-12T17:48:35.771Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:48:36.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:48:36.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:48:36.317Z] Configure a credential helper to remove this warning. See [2023-06-12T17:48:36.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:48:36.317Z] [2023-06-12T17:48:36.317Z] Login Succeeded [2023-06-12T17:48:36.317Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:48:36.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:48:36.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:48:36.866Z] Configure a credential helper to remove this warning. See [2023-06-12T17:48:36.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:48:36.866Z] [2023-06-12T17:48:36.866Z] Login Succeeded [2023-06-12T17:48:36.866Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:48:37.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:48:37.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:48:37.137Z] Configure a credential helper to remove this warning. See [2023-06-12T17:48:37.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:48:37.137Z] [2023-06-12T17:48:37.137Z] Login Succeeded [2023-06-12T17:48:37.137Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:48:37.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:48:37.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:48:37.416Z] Configure a credential helper to remove this warning. See [2023-06-12T17:48:37.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:48:37.416Z] [2023-06-12T17:48:37.416Z] Login Succeeded [2023-06-12T17:48:37.416Z] docker.io [2023-06-12T17:48:37.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:48:37.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:48:37.961Z] Configure a credential helper to remove this warning. See [2023-06-12T17:48:37.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:48:37.961Z] [2023-06-12T17:48:37.961Z] Login Succeeded [2023-06-12T17:48:37.961Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:48:37.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T17:48:38.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:48:38.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:48:38.287Z] ========================================================= [2023-06-12T17:48:38.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-12T17:48:38.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:48:38.632Z] + 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-06-12T17:48:39.237Z] Sending build context to Docker daemon 14.16MB [2023-06-12T17:48:39.237Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:48:39.237Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-12T17:48:39.509Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-12T17:48:39.509Z] c41833b44d91: Pulling fs layer [2023-06-12T17:48:39.509Z] ed15518f5707: Pulling fs layer [2023-06-12T17:48:39.509Z] feae8fd75edb: Pulling fs layer [2023-06-12T17:48:39.509Z] 242c74f7c9fa: Pulling fs layer [2023-06-12T17:48:39.509Z] 3cdef696dda3: Pulling fs layer [2023-06-12T17:48:39.509Z] 2ced38df9373: Pulling fs layer [2023-06-12T17:48:39.509Z] 58f1dce35555: Pulling fs layer [2023-06-12T17:48:39.509Z] 3cdef696dda3: Waiting [2023-06-12T17:48:39.509Z] 58f1dce35555: Waiting [2023-06-12T17:48:39.509Z] 2ced38df9373: Waiting [2023-06-12T17:48:39.509Z] ed15518f5707: Download complete [2023-06-12T17:48:39.509Z] 242c74f7c9fa: Verifying Checksum [2023-06-12T17:48:39.509Z] 242c74f7c9fa: Download complete [2023-06-12T17:48:39.509Z] 3cdef696dda3: Verifying Checksum [2023-06-12T17:48:39.509Z] 3cdef696dda3: Download complete [2023-06-12T17:48:39.509Z] c41833b44d91: Verifying Checksum [2023-06-12T17:48:39.509Z] c41833b44d91: Download complete [2023-06-12T17:48:40.481Z] c41833b44d91: Pull complete [2023-06-12T17:48:41.077Z] 58f1dce35555: Verifying Checksum [2023-06-12T17:48:41.077Z] 58f1dce35555: Download complete [2023-06-12T17:48:41.077Z] ed15518f5707: Pull complete [2023-06-12T17:48:42.054Z] 2ced38df9373: Verifying Checksum [2023-06-12T17:48:42.054Z] 2ced38df9373: Download complete [2023-06-12T17:48:42.054Z] feae8fd75edb: Verifying Checksum [2023-06-12T17:48:42.054Z] feae8fd75edb: Download complete [2023-06-12T17:48:54.426Z] feae8fd75edb: Pull complete [2023-06-12T17:48:54.426Z] 242c74f7c9fa: Pull complete [2023-06-12T17:48:54.426Z] 3cdef696dda3: Pull complete [2023-06-12T17:48:59.784Z] 2ced38df9373: Pull complete [2023-06-12T17:49:03.174Z] 58f1dce35555: Pull complete [2023-06-12T17:49:03.174Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-12T17:49:03.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-12T17:49:03.174Z] ---> fadd8f120f05 [2023-06-12T17:49:03.174Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:49:04.608Z] ---> Running in be10f6191591 [2023-06-12T17:49:04.877Z] Removing intermediate container be10f6191591 [2023-06-12T17:49:04.877Z] ---> 0b188a8a124c [2023-06-12T17:49:04.877Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:49:05.146Z] ---> Running in ac7b82d03d13 [2023-06-12T17:49:05.419Z] Removing intermediate container ac7b82d03d13 [2023-06-12T17:49:05.419Z] ---> c1e6ad77321d [2023-06-12T17:49:05.419Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-06-12T17:49:05.419Z] ---> Running in 1005c915ffbf [2023-06-12T17:49:05.688Z] Removing intermediate container 1005c915ffbf [2023-06-12T17:49:05.688Z] ---> 1c7ef9fb5a56 [2023-06-12T17:49:05.688Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T17:49:05.959Z] ---> Running in 2a3ae8dc23c1 [2023-06-12T17:49:06.228Z] Removing intermediate container 2a3ae8dc23c1 [2023-06-12T17:49:06.228Z] ---> 5ff0d065827b [2023-06-12T17:49:06.228Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-06-12T17:49:06.228Z] ---> Running in 8832d8b5dfab [2023-06-12T17:49:06.499Z] Removing intermediate container 8832d8b5dfab [2023-06-12T17:49:06.499Z] ---> 248e89ab1f2b [2023-06-12T17:49:06.499Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T17:49:06.772Z] ---> Running in 229e1ff63266 [2023-06-12T17:49:07.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T17:49:08.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T17:49:09.745Z] OK: 263 MiB in 53 packages [2023-06-12T17:49:10.338Z] Removing intermediate container 229e1ff63266 [2023-06-12T17:49:10.338Z] ---> 8f521d7d789d [2023-06-12T17:49:10.338Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-06-12T17:49:10.613Z] ---> Running in 65cc05866843 [2023-06-12T17:49:10.911Z] Removing intermediate container 65cc05866843 [2023-06-12T17:49:10.911Z] ---> 01887822060c [2023-06-12T17:49:10.911Z] Step 10/13 : COPY go.mod vendor* ./ [2023-06-12T17:49:14.271Z] ---> 912c6611d3c5 [2023-06-12T17:49:14.271Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:49:14.271Z] ---> Running in 54e85a55f0cf [2023-06-12T17:50:22.157Z] Removing intermediate container 54e85a55f0cf [2023-06-12T17:50:22.157Z] ---> a142514d1969 [2023-06-12T17:50:22.157Z] Step 12/13 : COPY . . [2023-06-12T17:50:22.157Z] ---> f16394a1ed6a [2023-06-12T17:50:22.157Z] Step 13/13 : RUN ${MAKE} [2023-06-12T17:50:22.157Z] ---> Running in 5a4666ee2f97 [2023-06-12T17:50:22.157Z] noop [2023-06-12T17:50:22.157Z] Removing intermediate container 5a4666ee2f97 [2023-06-12T17:50:22.157Z] ---> 78d8f99c13b8 [2023-06-12T17:50:22.157Z] Successfully built 78d8f99c13b8 [2023-06-12T17:50:22.157Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:50:22.504Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T17:50:22.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:50:22.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-18464 does not seem to be running inside a container [2023-06-12T17:50:22.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/158 -v /w/workspace/device-onvif-camera/158:/w/workspace/device-onvif-camera/158:rw,z -v /w/workspace/device-onvif-camera/158@tmp:/w/workspace/device-onvif-camera/158@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-06-12T17:50:23.918Z] $ docker top 56a66c2c649e45073eb107653806612b1ceb60aa892d4764e6a46ddb61d804b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:50:24.723Z] + go version [2023-06-12T17:50:24.723Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-12T17:50:24.752Z] $ docker stop --time=1 56a66c2c649e45073eb107653806612b1ceb60aa892d4764e6a46ddb61d804b4 [2023-06-12T17:50:26.345Z] $ docker rm -f --volumes 56a66c2c649e45073eb107653806612b1ceb60aa892d4764e6a46ddb61d804b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:50:26.855Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T17:50:26.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:50:27.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-18464 does not seem to be running inside a container [2023-06-12T17:50:27.095Z] $ 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/158 -v /w/workspace/device-onvif-camera/158:/w/workspace/device-onvif-camera/158:rw,z -v /w/workspace/device-onvif-camera/158@tmp:/w/workspace/device-onvif-camera/158@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-06-12T17:50:28.152Z] $ docker top 9a760adac6d9c3613f63695386c62407f9bd754bfac7be8dec0a583c0b253c6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:50:28.635Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/158 [Pipeline] fileExists [Pipeline] sh [2023-06-12T17:50:28.968Z] + make test [2023-06-12T17:50:29.234Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T17:51:01.656Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-06-12T17:53:23.363Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-06-12T17:53:23.363Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-06-12T17:53:23.363Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 31.4% of statements [2023-06-12T17:53:41.575Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.294s coverage: 86.5% of statements [2023-06-12T17:53:41.575Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-12T17:53:41.575Z] go vet ./... [2023-06-12T17:54:08.291Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T17:54:08.291Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T17:54:08.291Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T17:54:08.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T17:54:08.605Z] $ docker stop --time=1 9a760adac6d9c3613f63695386c62407f9bd754bfac7be8dec0a583c0b253c6e [2023-06-12T17:54:10.559Z] $ docker rm -f --volumes 9a760adac6d9c3613f63695386c62407f9bd754bfac7be8dec0a583c0b253c6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:54:11.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T17:54:11.901Z] Warning: overwriting stash ‘coverage-report’ [2023-06-12T17:54:12.526Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T17:54:12.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T17:54:13.263Z] + ls -al . [2023-06-12T17:54:13.263Z] total 236 [2023-06-12T17:54:13.263Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 17:50 . [2023-06-12T17:54:13.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:48 .. [2023-06-12T17:54:13.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:48 .git [2023-06-12T17:54:13.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:48 .github [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 496 Jun 12 17:48 .gitignore [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 12 17:48 .golangci.yml [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 10087 Jun 12 17:48 Attribution.txt [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 15932 Jun 12 17:48 CHANGELOG.md [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jun 12 17:48 Dockerfile [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:48 GOVERNANCE.md [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 739 Jun 12 17:48 Jenkinsfile [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 12 17:48 LICENSE [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 2751 Jun 12 17:48 Makefile [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 12 17:48 OWNERS.md [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jun 12 17:48 README.md [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:45 VERSION [2023-06-12T17:54:13.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:48 bin [2023-06-12T17:54:13.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:48 cmd [2023-06-12T17:54:13.263Z] -rw-r--r-- 1 jenkins jenkins 78459 Jun 12 17:53 coverage.out [2023-06-12T17:54:13.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:48 doc [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 3594 Jun 12 17:48 go.mod [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 33485 Jun 12 17:48 go.sum [2023-06-12T17:54:13.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:48 internal [2023-06-12T17:54:13.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:48 snap [2023-06-12T17:54:13.263Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 12 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:13.627Z] + 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=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 --label arch=arm64 --label version=3.1.0-dev.2 . [2023-06-12T17:54:13.897Z] Sending build context to Docker daemon 14.24MB [2023-06-12T17:54:14.166Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:54:14.166Z] Step 2/26 : FROM ${BASE} AS builder [2023-06-12T17:54:14.166Z] ---> 78d8f99c13b8 [2023-06-12T17:54:14.166Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-06-12T17:54:14.166Z] ---> Running in 50b04c268085 [2023-06-12T17:54:14.433Z] Removing intermediate container 50b04c268085 [2023-06-12T17:54:14.433Z] ---> 8f10c80cacb5 [2023-06-12T17:54:14.433Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T17:54:14.702Z] ---> Running in 916ed90f2886 [2023-06-12T17:54:14.969Z] Removing intermediate container 916ed90f2886 [2023-06-12T17:54:14.969Z] ---> 78897974d6c9 [2023-06-12T17:54:14.969Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-06-12T17:54:14.969Z] ---> Running in b1dfeb5132ca [2023-06-12T17:54:15.237Z] Removing intermediate container b1dfeb5132ca [2023-06-12T17:54:15.237Z] ---> 708917bc14eb [2023-06-12T17:54:15.237Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T17:54:15.504Z] ---> Running in 59a3ebda74ac [2023-06-12T17:54:15.775Z] Removing intermediate container 59a3ebda74ac [2023-06-12T17:54:15.775Z] ---> 68f936975f3f [2023-06-12T17:54:15.775Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-06-12T17:54:15.775Z] ---> Running in e95413b707b5 [2023-06-12T17:54:16.044Z] Removing intermediate container e95413b707b5 [2023-06-12T17:54:16.044Z] ---> 0085e581ef23 [2023-06-12T17:54:16.044Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T17:54:16.044Z] ---> Running in f79b10996ebf [2023-06-12T17:54:17.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T17:54:17.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T17:54:19.145Z] OK: 263 MiB in 53 packages [2023-06-12T17:54:19.738Z] Removing intermediate container f79b10996ebf [2023-06-12T17:54:19.738Z] ---> 86f66f5101f2 [2023-06-12T17:54:19.738Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-06-12T17:54:19.738Z] ---> Running in c4bd878333ca [2023-06-12T17:54:20.006Z] Removing intermediate container c4bd878333ca [2023-06-12T17:54:20.006Z] ---> a0133c343cf7 [2023-06-12T17:54:20.006Z] Step 10/26 : COPY go.mod vendor* ./ [2023-06-12T17:54:20.593Z] ---> 753c48b0086d [2023-06-12T17:54:20.593Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:54:20.861Z] ---> Running in 3954595ccf30 [2023-06-12T17:54:24.234Z] Removing intermediate container 3954595ccf30 [2023-06-12T17:54:24.234Z] ---> 2234a326e0d6 [2023-06-12T17:54:24.234Z] Step 12/26 : COPY . . [2023-06-12T17:54:25.197Z] ---> ee310d1a91d1 [2023-06-12T17:54:25.197Z] Step 13/26 : RUN ${MAKE} [2023-06-12T17:54:25.197Z] ---> Running in dad5040a22b8 [2023-06-12T17:54:26.156Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.2" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-06-12T17:57:17.928Z] Removing intermediate container dad5040a22b8 [2023-06-12T17:57:17.928Z] ---> 7786fd6e27d4 [2023-06-12T17:57:17.928Z] Step 14/26 : FROM alpine:3.17 [2023-06-12T17:57:17.928Z] 3.17: Pulling from library/alpine [2023-06-12T17:57:17.928Z] c41833b44d91: Already exists [2023-06-12T17:57:17.928Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T17:57:17.928Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T17:57:17.928Z] ---> 51e60588ff2c [2023-06-12T17:57:17.928Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-12T17:57:17.928Z] ---> Running in 5b6d3107dc5b [2023-06-12T17:57:17.928Z] Removing intermediate container 5b6d3107dc5b [2023-06-12T17:57:17.928Z] ---> 9ada50a947fe [2023-06-12T17:57:17.928Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-06-12T17:57:17.928Z] ---> Running in 4eba64be0efb [2023-06-12T17:57:17.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T17:57:17.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T17:57:17.928Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T17:57:17.928Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T17:57:17.928Z] OK: 8 MiB in 16 packages [2023-06-12T17:57:17.928Z] Removing intermediate container 4eba64be0efb [2023-06-12T17:57:17.928Z] ---> 09d43e770a83 [2023-06-12T17:57:17.928Z] Step 17/26 : WORKDIR / [2023-06-12T17:57:17.928Z] ---> Running in 64398eb43198 [2023-06-12T17:57:17.928Z] Removing intermediate container 64398eb43198 [2023-06-12T17:57:17.928Z] ---> d9b1fc741db5 [2023-06-12T17:57:17.928Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-06-12T17:57:17.928Z] ---> f220fd8b62f2 [2023-06-12T17:57:17.928Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-06-12T17:57:17.928Z] ---> 4ba479b702d3 [2023-06-12T17:57:17.928Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-06-12T17:57:17.928Z] ---> c0f7f882df54 [2023-06-12T17:57:17.928Z] Step 21/26 : EXPOSE 59984 [2023-06-12T17:57:17.928Z] ---> Running in 7bfb0f91dffd [2023-06-12T17:57:17.928Z] Removing intermediate container 7bfb0f91dffd [2023-06-12T17:57:17.928Z] ---> 066699d61a40 [2023-06-12T17:57:17.928Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-06-12T17:57:17.928Z] ---> Running in 56a15e2d6c48 [2023-06-12T17:57:17.928Z] Removing intermediate container 56a15e2d6c48 [2023-06-12T17:57:17.928Z] ---> 643e9a817b73 [2023-06-12T17:57:17.928Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-06-12T17:57:17.928Z] ---> Running in 213bdc9b86cb [2023-06-12T17:57:17.928Z] Removing intermediate container 213bdc9b86cb [2023-06-12T17:57:17.928Z] ---> 691f57fe5828 [2023-06-12T17:57:17.928Z] Step 24/26 : LABEL arch=arm64 [2023-06-12T17:57:17.928Z] ---> Running in 975e874419ac [2023-06-12T17:57:18.514Z] Removing intermediate container 975e874419ac [2023-06-12T17:57:18.514Z] ---> 51e171846264 [2023-06-12T17:57:18.514Z] Step 25/26 : LABEL git_sha=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [2023-06-12T17:57:18.514Z] ---> Running in 9b1cf6d30161 [2023-06-12T17:57:18.784Z] Removing intermediate container 9b1cf6d30161 [2023-06-12T17:57:18.784Z] ---> 571f8f731211 [2023-06-12T17:57:18.784Z] Step 26/26 : LABEL version=3.1.0-dev.2 [2023-06-12T17:57:18.784Z] ---> Running in 2e87a563866e [2023-06-12T17:57:19.372Z] Removing intermediate container 2e87a563866e [2023-06-12T17:57:19.372Z] ---> 2e22aa37e177 [2023-06-12T17:57:19.372Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T17:57:19.372Z] Successfully built 2e22aa37e177 [2023-06-12T17:57:19.372Z] 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-06-12T17:57:19.504Z] provisioning config files... [2023-06-12T17:57:19.523Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/158@tmp/config981739030744181840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:57:19.887Z] ---> docker-login.sh [2023-06-12T17:57:19.887Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:57:20.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:20.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:20.156Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:20.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:20.156Z] [2023-06-12T17:57:20.156Z] Login Succeeded [2023-06-12T17:57:20.425Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:57:20.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:20.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:20.695Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:20.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:20.695Z] [2023-06-12T17:57:20.695Z] Login Succeeded [2023-06-12T17:57:20.695Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:57:20.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:21.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:21.236Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:21.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:21.236Z] [2023-06-12T17:57:21.236Z] Login Succeeded [2023-06-12T17:57:21.236Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:57:21.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:21.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:21.506Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:21.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:21.506Z] [2023-06-12T17:57:21.506Z] Login Succeeded [2023-06-12T17:57:21.506Z] docker.io [2023-06-12T17:57:21.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:57:22.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:57:22.051Z] Configure a credential helper to remove this warning. See [2023-06-12T17:57:22.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:57:22.051Z] [2023-06-12T17:57:22.051Z] Login Succeeded [2023-06-12T17:57:22.322Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:57:22.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T17:57:22.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:57:22.401Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2023-06-12T17:57:22.401Z] 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [2023-06-12T17:57:22.401Z] latest [2023-06-12T17:57:22.401Z] 3.1.0-dev.2 [2023-06-12T17:57:22.401Z] 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [2023-06-12T17:57:22.401Z] main [2023-06-12T17:57:22.401Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:23.027Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:23.686Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [2023-06-12T17:57:23.686Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-06-12T17:57:23.686Z] dd8063bbead5: Preparing [2023-06-12T17:57:23.686Z] a33cc0e0f61b: Preparing [2023-06-12T17:57:23.686Z] 442b27b27cbe: Preparing [2023-06-12T17:57:23.686Z] e9996c1d9da0: Preparing [2023-06-12T17:57:23.686Z] 26cbea5cba74: Preparing [2023-06-12T17:57:23.983Z] 26cbea5cba74: Layer already exists [2023-06-12T17:57:23.983Z] dd8063bbead5: Pushed [2023-06-12T17:57:23.983Z] a33cc0e0f61b: Pushed [2023-06-12T17:57:23.983Z] e9996c1d9da0: Pushed [2023-06-12T17:57:30.703Z] 442b27b27cbe: Pushed [2023-06-12T17:57:32.658Z] 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:33.023Z] + 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-06-12T17:57:33.389Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-06-12T17:57:33.389Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-06-12T17:57:33.389Z] dd8063bbead5: Preparing [2023-06-12T17:57:33.389Z] a33cc0e0f61b: Preparing [2023-06-12T17:57:33.389Z] 442b27b27cbe: Preparing [2023-06-12T17:57:33.389Z] e9996c1d9da0: Preparing [2023-06-12T17:57:33.389Z] 26cbea5cba74: Preparing [2023-06-12T17:57:33.389Z] a33cc0e0f61b: Layer already exists [2023-06-12T17:57:33.389Z] 26cbea5cba74: Layer already exists [2023-06-12T17:57:33.389Z] 442b27b27cbe: Layer already exists [2023-06-12T17:57:33.389Z] dd8063bbead5: Layer already exists [2023-06-12T17:57:33.389Z] e9996c1d9da0: Layer already exists [2023-06-12T17:57:33.660Z] latest: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:34.036Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:34.405Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.2 [2023-06-12T17:57:34.406Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-06-12T17:57:34.406Z] dd8063bbead5: Preparing [2023-06-12T17:57:34.406Z] a33cc0e0f61b: Preparing [2023-06-12T17:57:34.406Z] 442b27b27cbe: Preparing [2023-06-12T17:57:34.406Z] e9996c1d9da0: Preparing [2023-06-12T17:57:34.406Z] 26cbea5cba74: Preparing [2023-06-12T17:57:34.406Z] 442b27b27cbe: Layer already exists [2023-06-12T17:57:34.406Z] dd8063bbead5: Layer already exists [2023-06-12T17:57:34.406Z] e9996c1d9da0: Layer already exists [2023-06-12T17:57:34.406Z] 26cbea5cba74: Layer already exists [2023-06-12T17:57:34.406Z] a33cc0e0f61b: Layer already exists [2023-06-12T17:57:34.675Z] 3.1.0-dev.2: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:35.047Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:35.414Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [2023-06-12T17:57:35.414Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-06-12T17:57:35.414Z] dd8063bbead5: Preparing [2023-06-12T17:57:35.414Z] a33cc0e0f61b: Preparing [2023-06-12T17:57:35.414Z] 442b27b27cbe: Preparing [2023-06-12T17:57:35.414Z] e9996c1d9da0: Preparing [2023-06-12T17:57:35.414Z] 26cbea5cba74: Preparing [2023-06-12T17:57:35.414Z] dd8063bbead5: Layer already exists [2023-06-12T17:57:35.414Z] a33cc0e0f61b: Layer already exists [2023-06-12T17:57:35.414Z] e9996c1d9da0: Layer already exists [2023-06-12T17:57:35.414Z] 26cbea5cba74: Layer already exists [2023-06-12T17:57:35.414Z] 442b27b27cbe: Layer already exists [2023-06-12T17:57:35.680Z] 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:36.047Z] + 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-06-12T17:57:36.414Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2023-06-12T17:57:36.414Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2023-06-12T17:57:36.414Z] dd8063bbead5: Preparing [2023-06-12T17:57:36.414Z] a33cc0e0f61b: Preparing [2023-06-12T17:57:36.414Z] 442b27b27cbe: Preparing [2023-06-12T17:57:36.414Z] e9996c1d9da0: Preparing [2023-06-12T17:57:36.414Z] 26cbea5cba74: Preparing [2023-06-12T17:57:36.414Z] 442b27b27cbe: Layer already exists [2023-06-12T17:57:36.414Z] dd8063bbead5: Layer already exists [2023-06-12T17:57:36.414Z] e9996c1d9da0: Layer already exists [2023-06-12T17:57:36.414Z] a33cc0e0f61b: Layer already exists [2023-06-12T17:57:36.414Z] 26cbea5cba74: Layer already exists [2023-06-12T17:57:36.684Z] main: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-06-12T17:57:36.745Z] ===================================================== [Pipeline] echo [2023-06-12T17:57:36.754Z] taggedImages: [2023-06-12T17:57:36.754Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [2023-06-12T17:57:36.754Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2023-06-12T17:57:36.754Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.2 [2023-06-12T17:57:36.754Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [2023-06-12T17:57:36.754Z] - 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-06-12T17:57:37.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T17:57:37.143Z] [2023-06-12T17:57:37.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:37.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T17:57:37.759Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-12T17:57:37.759Z] 8998bd30e6a1: Pulling fs layer [2023-06-12T17:57:37.759Z] 04944245beec: Pulling fs layer [2023-06-12T17:57:37.759Z] 699f458cf7ca: Pulling fs layer [2023-06-12T17:57:37.759Z] 765212b225bb: Pulling fs layer [2023-06-12T17:57:37.759Z] f23df028b6ca: Pulling fs layer [2023-06-12T17:57:37.759Z] d65c8cfc05b1: Pulling fs layer [2023-06-12T17:57:37.759Z] 2437ff75d9bd: Pulling fs layer [2023-06-12T17:57:37.759Z] f23df028b6ca: Waiting [2023-06-12T17:57:37.759Z] d65c8cfc05b1: Waiting [2023-06-12T17:57:37.759Z] 2437ff75d9bd: Waiting [2023-06-12T17:57:37.759Z] 765212b225bb: Waiting [2023-06-12T17:57:37.759Z] 04944245beec: Verifying Checksum [2023-06-12T17:57:37.759Z] 04944245beec: Download complete [2023-06-12T17:57:37.759Z] 765212b225bb: Download complete [2023-06-12T17:57:37.759Z] f23df028b6ca: Download complete [2023-06-12T17:57:37.759Z] d65c8cfc05b1: Download complete [2023-06-12T17:57:38.031Z] 699f458cf7ca: Verifying Checksum [2023-06-12T17:57:38.031Z] 699f458cf7ca: Download complete [2023-06-12T17:57:38.300Z] 8998bd30e6a1: Verifying Checksum [2023-06-12T17:57:38.300Z] 8998bd30e6a1: Download complete [2023-06-12T17:57:40.905Z] 2437ff75d9bd: Download complete [2023-06-12T17:57:42.857Z] 8998bd30e6a1: Pull complete [2023-06-12T17:57:43.125Z] 04944245beec: Pull complete [2023-06-12T17:57:44.543Z] 699f458cf7ca: Pull complete [2023-06-12T17:57:44.811Z] 765212b225bb: Pull complete [2023-06-12T17:57:45.772Z] f23df028b6ca: Pull complete [2023-06-12T17:57:45.772Z] d65c8cfc05b1: Pull complete [2023-06-12T17:58:00.805Z] 2437ff75d9bd: Pull complete [2023-06-12T17:58:00.805Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-12T17:58:00.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T17:58:00.805Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:58:01.056Z] prd-ubuntu20.04-docker-arm64-4c-16g-18464 does not seem to be running inside a container [2023-06-12T17:58:01.157Z] $ 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/158 -v /w/workspace/device-onvif-camera/158:/w/workspace/device-onvif-camera/158:rw,z -v /w/workspace/device-onvif-camera/158@tmp:/w/workspace/device-onvif-camera/158@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-06-12T17:58:04.209Z] $ docker top adcad67b1bcd6850c92ce243807da1c362f6bebcf34d1fa59e5cefad4a8061dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:58:05.089Z] ---> job-cost.sh [2023-06-12T17:58:05.089Z] lf-activate-venv: SKIPPING [2023-06-12T17:58:05.089Z] INFO: No Stack... [2023-06-12T17:58:05.674Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-12T17:58:06.640Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T17:58:07.289Z] + cat+ /w/workspace/device-onvif-camera/158/archives/cost.csvcut -d, -f6 [2023-06-12T17:58:07.289Z] [Pipeline] lock [2023-06-12T17:58:07.375Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [2023-06-12T17:58:07.387Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] did not exist. Created. [2023-06-12T17:58:07.387Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T17:58:08.057Z] /w/workspace/device-onvif-camera/158@tmp/durable-b8d7ffc1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-12T17:58:08.746Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-12T17:58:08.771Z] Warning: overwriting stash ‘stack-cost’ [2023-06-12T17:58:08.845Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T17:58:08.857Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T17:58:08.892Z] $ docker stop --time=1 adcad67b1bcd6850c92ce243807da1c362f6bebcf34d1fa59e5cefad4a8061dd [2023-06-12T17:58:10.482Z] $ docker rm -f --volumes adcad67b1bcd6850c92ce243807da1c362f6bebcf34d1fa59e5cefad4a8061dd [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-06-12T17:58:10.889Z] provisioning config files... [2023-06-12T17:58:10.895Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1386997382504302091tmp [Pipeline] { [Pipeline] sh [2023-06-12T17:58:11.189Z] + set +x [2023-06-12T17:58:11.189Z] + curl -s https://codecov.io/bash [2023-06-12T17:58:11.189Z] + bash -s -- [2023-06-12T17:58:11.189Z] [2023-06-12T17:58:11.189Z] _____ _ [2023-06-12T17:58:11.189Z] / ____| | | [2023-06-12T17:58:11.189Z] | | ___ __| | ___ ___ _____ __ [2023-06-12T17:58:11.189Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-12T17:58:11.189Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-12T17:58:11.189Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-12T17:58:11.189Z] Bash-1.0.6 [2023-06-12T17:58:11.189Z] [2023-06-12T17:58:11.189Z] [2023-06-12T17:58:11.189Z] ==> git version 2.25.1 found [2023-06-12T17:58:11.189Z] ==> 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-06-12T17:58:11.189Z] Release-Date: 2020-01-08 [2023-06-12T17:58:11.189Z] 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-06-12T17:58:11.189Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-12T17:58:11.189Z] ==> Jenkins CI detected. [2023-06-12T17:58:11.189Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2023-06-12T17:58:11.189Z] project root: . [2023-06-12T17:58:11.189Z] --> token set from env [2023-06-12T17:58:11.189Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-12T17:58:11.189Z] ==> Running gcov in . (disable via -X gcov) [2023-06-12T17:58:11.189Z] ==> Python coveragepy not found [2023-06-12T17:58:11.189Z] ==> Searching for coverage reports in: [2023-06-12T17:58:11.189Z] + . [2023-06-12T17:58:11.189Z] -> Found 1 reports [2023-06-12T17:58:11.189Z] ==> Detecting git/mercurial file structure [2023-06-12T17:58:11.449Z] ==> Reading reports [2023-06-12T17:58:11.449Z] + ./coverage.out bytes=78459 [2023-06-12T17:58:11.449Z] ==> Appending adjustments [2023-06-12T17:58:11.449Z] https://docs.codecov.io/docs/fixing-reports [2023-06-12T17:58:11.449Z] + Found adjustments [2023-06-12T17:58:11.449Z] ==> Gzipping contents [2023-06-12T17:58:11.449Z] 12K /tmp/codecov.1q0G6g.gz [2023-06-12T17:58:11.449Z] ==> Uploading reports [2023-06-12T17:58:11.449Z] url: https://codecov.io [2023-06-12T17:58:11.449Z] query: branch=main&commit=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T17:58:11.449Z] -> Pinging Codecov [2023-06-12T17:58:11.449Z] 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=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T17:58:11.708Z] -> Uploading to [2023-06-12T17:58:11.708Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-12/F29A59C45E3A92E06B3E522C9905F8EF/63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2/93f6796e-f53a-4dbe-b4af-cc5aba6d837f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T175811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=586b6124848279507d0b0f3e84d9371ba0816cbc44d91b9ecf738725a1b7cd00 [2023-06-12T17:58:11.708Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T17:58:11.708Z] Dload Upload Total Spent Left Speed [2023-06-12T17:58:11.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 54984 --:--:-- --:--:-- --:--:-- 54984 [2023-06-12T17:58:11.968Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] } [2023-06-12T17:58:11.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-06-12T17:58:12.112Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-06-12T17:58:12.129Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:58:12.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T17:58:12.429Z] [2023-06-12T17:58:12.429Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:58:12.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T17:58:12.731Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-06-12T17:58:12.731Z] df9b9388f04a: Pulling fs layer [2023-06-12T17:58:12.731Z] 52dc419b0ee2: Pulling fs layer [2023-06-12T17:58:12.731Z] 25bc292e5bac: Pulling fs layer [2023-06-12T17:58:12.731Z] 114826534d7a: Pulling fs layer [2023-06-12T17:58:12.731Z] 4657fd5d0bcf: Pulling fs layer [2023-06-12T17:58:12.731Z] 6ad1cebc031e: Pulling fs layer [2023-06-12T17:58:12.731Z] 8a3aa393b2d8: Pulling fs layer [2023-06-12T17:58:12.731Z] 114826534d7a: Waiting [2023-06-12T17:58:12.731Z] 4657fd5d0bcf: Waiting [2023-06-12T17:58:12.731Z] 6ad1cebc031e: Waiting [2023-06-12T17:58:12.731Z] 8a3aa393b2d8: Waiting [2023-06-12T17:58:12.731Z] 25bc292e5bac: Verifying Checksum [2023-06-12T17:58:12.731Z] 25bc292e5bac: Download complete [2023-06-12T17:58:12.731Z] 52dc419b0ee2: Verifying Checksum [2023-06-12T17:58:12.731Z] 52dc419b0ee2: Download complete [2023-06-12T17:58:12.731Z] 4657fd5d0bcf: Verifying Checksum [2023-06-12T17:58:12.731Z] 4657fd5d0bcf: Download complete [2023-06-12T17:58:12.731Z] df9b9388f04a: Download complete [2023-06-12T17:58:12.990Z] 6ad1cebc031e: Verifying Checksum [2023-06-12T17:58:12.990Z] 6ad1cebc031e: Download complete [2023-06-12T17:58:12.990Z] df9b9388f04a: Pull complete [2023-06-12T17:58:12.990Z] 52dc419b0ee2: Pull complete [2023-06-12T17:58:12.990Z] 25bc292e5bac: Pull complete [2023-06-12T17:58:13.557Z] 114826534d7a: Verifying Checksum [2023-06-12T17:58:13.557Z] 114826534d7a: Download complete [2023-06-12T17:58:13.557Z] 8a3aa393b2d8: Verifying Checksum [2023-06-12T17:58:13.557Z] 8a3aa393b2d8: Download complete [2023-06-12T17:58:16.837Z] 114826534d7a: Pull complete [2023-06-12T17:58:16.837Z] 4657fd5d0bcf: Pull complete [2023-06-12T17:58:16.837Z] 6ad1cebc031e: Pull complete [2023-06-12T17:58:19.364Z] 8a3aa393b2d8: Pull complete [2023-06-12T17:58:19.364Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-06-12T17:58:19.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T17:58:19.364Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:58:19.443Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:58:19.470Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-06-12T17:58:23.644Z] $ docker top 5f88260ec1d1389099a03d0e547ec6ed687a2088b60348407ee2f469f378903e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-06-12T17:58:23.711Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2023-06-12T17:58:23.990Z] + set -o pipefail [2023-06-12T17:58:23.990Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2023-06-12T17:58:30.560Z] [2023-06-12T17:58:30.560Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2023-06-12T17:58:30.560Z] [2023-06-12T17:58:30.560Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/c69631d8-17f2-47b9-a8c1-629b9b19d4fe [2023-06-12T17:58:30.560Z] [2023-06-12T17:58:30.560Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-06-12T17:58:30.560Z] [2023-06-12T17:58:30.560Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-06-12T17:58:30.560Z] [2023-06-12T17:58:30.818Z] [2023-06-12T17:58:30.818Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-06-12T17:58:30.818Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-06-12T17:58:30.818Z] More details here: https://snyk.co/ue1NS [2023-06-12T17:58:30.818Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-06-12T17:58:30.818Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-06-12T17:58:30.829Z] $ docker stop --time=1 5f88260ec1d1389099a03d0e547ec6ed687a2088b60348407ee2f469f378903e [2023-06-12T17:58:34.081Z] $ docker rm -f --volumes 5f88260ec1d1389099a03d0e547ec6ed687a2088b60348407ee2f469f378903e [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-06-12T17:58:34.449Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:58:34.461Z] provisioning config files... [2023-06-12T17:58:34.468Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9878876773957256000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:58:34.765Z] --> edgex-publish-swagger.sh [2023-06-12T17:58:34.765Z] === Publish doc/openapi/v3 API === [2023-06-12T17:58:34.765Z] [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger [2023-06-12T17:58:34.765Z] [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] [2023-06-12T17:58:34.765Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T17:58:34.765Z] Dload Upload Total Spent Left Speed [2023-06-12T17:58:35.333Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 649k --:--:-- --:--:-- --:--:-- 649k [2023-06-12T17:58:35.333Z] [2023-06-12T17:58:35.333Z] [Pipeline] } [2023-06-12T17:58:35.341Z] 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-06-12T17:58:35.706Z] + git log --format=format:%s -1 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] sh [2023-06-12T17:58:36.004Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T17:58:36.005Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:58:36.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:58:36.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:58:36.373Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:58:36.405Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T17:58:36.844Z] $ docker top 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 -eo pid,comm [2023-06-12T17:58:36.889Z] 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-06-12T17:58:36.889Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T17:58:36.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:58:36.928Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:58:37.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:58:37.038Z] $ docker exec 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 ssh-agent [2023-06-12T17:58:37.135Z] SSH_AUTH_SOCK=/tmp/ssh-Zf1PBJyrRXX8/agent.31 [2023-06-12T17:58:37.135Z] SSH_AGENT_PID=37 [2023-06-12T17:58:37.140Z] Running ssh-add (command line suppressed) [2023-06-12T17:58:37.234Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_53205684494443474.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_53205684494443474.key) [2023-06-12T17:58:37.248Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:58:37.541Z] + git semver tag [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,696 [run_tag] DEBUG tag force:False [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,697 [check_head_tag] DEBUG check head tag [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,697 [execute] INFO git cat-file --batch-check [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,700 [execute] INFO git cat-file --batch [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,706 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,706 [execute] INFO git tag -a v3.1.0-dev.2 -m v3.1.0-dev.2 [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,706 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.2', '-m', 'v3.1.0-dev.2'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-06-12T17:58:37.800Z] 2023-06-12 17:58:37,711 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-06-12T17:58:37.800Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T17:58:37.811Z] $ docker exec --env ******** --env ******** 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 ssh-agent -k [2023-06-12T17:58:37.898Z] unset SSH_AUTH_SOCK; [2023-06-12T17:58:37.899Z] unset SSH_AGENT_PID; [2023-06-12T17:58:37.899Z] echo Agent pid 37 killed; [2023-06-12T17:58:37.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T17:58:38.214Z] + git semver [Pipeline] } [2023-06-12T17:58:38.486Z] $ docker stop --time=1 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 [2023-06-12T17:58:39.793Z] $ docker rm -f --volumes 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:58:40.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T17:58:40.162Z] [2023-06-12T17:58:40.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:58:40.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T17:58:40.464Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-06-12T17:58:40.464Z] ab5ef0e58194: Pulling fs layer [2023-06-12T17:58:40.464Z] 9712f1f96733: Pulling fs layer [2023-06-12T17:58:40.464Z] 63f879dbbcfc: Pulling fs layer [2023-06-12T17:58:40.464Z] 0d9ebad4ef96: Pulling fs layer [2023-06-12T17:58:40.464Z] e9a5061849ea: Pulling fs layer [2023-06-12T17:58:40.464Z] d747dcd14b5f: Pulling fs layer [2023-06-12T17:58:40.464Z] 2de7ff778b66: Pulling fs layer [2023-06-12T17:58:40.464Z] 0d9ebad4ef96: Waiting [2023-06-12T17:58:40.464Z] d747dcd14b5f: Waiting [2023-06-12T17:58:40.464Z] 2de7ff778b66: Waiting [2023-06-12T17:58:40.464Z] 9712f1f96733: Verifying Checksum [2023-06-12T17:58:40.464Z] 9712f1f96733: Download complete [2023-06-12T17:58:40.726Z] 63f879dbbcfc: Verifying Checksum [2023-06-12T17:58:40.726Z] 63f879dbbcfc: Download complete [2023-06-12T17:58:40.985Z] 0d9ebad4ef96: Download complete [2023-06-12T17:58:40.985Z] d747dcd14b5f: Verifying Checksum [2023-06-12T17:58:40.985Z] d747dcd14b5f: Download complete [2023-06-12T17:58:40.985Z] e9a5061849ea: Verifying Checksum [2023-06-12T17:58:40.985Z] e9a5061849ea: Download complete [2023-06-12T17:58:40.985Z] ab5ef0e58194: Download complete [2023-06-12T17:58:40.985Z] 2de7ff778b66: Download complete [2023-06-12T17:58:43.514Z] ab5ef0e58194: Pull complete [2023-06-12T17:58:43.514Z] 9712f1f96733: Pull complete [2023-06-12T17:58:44.448Z] 63f879dbbcfc: Pull complete [2023-06-12T17:58:48.650Z] 0d9ebad4ef96: Pull complete [2023-06-12T17:58:48.650Z] e9a5061849ea: Pull complete [2023-06-12T17:58:48.650Z] d747dcd14b5f: Pull complete [2023-06-12T17:58:50.030Z] 2de7ff778b66: Pull complete [2023-06-12T17:58:50.030Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-06-12T17:58:50.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T17:58:50.030Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:58:50.128Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:58:50.157Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-06-12T17:58:59.154Z] $ docker top 519658987e1012b885fa1e8407dc0fb4d6b59fffab13544d78ec3d2c4e93ed36 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:58:59.215Z] provisioning config files... [2023-06-12T17:58:59.220Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17323350818110448073tmp [2023-06-12T17:58:59.230Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18131722095800226979tmp [2023-06-12T17:58:59.237Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15422866567880940742tmp [Pipeline] { [Pipeline] echo [2023-06-12T17:58:59.253Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:58:59.533Z] ---> sigul-configuration.sh [2023-06-12T17:58:59.533Z] gpg: directory `/root/.gnupg' created [2023-06-12T17:58:59.533Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-06-12T17:58:59.533Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-06-12T17:58:59.533Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-06-12T17:58:59.533Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-06-12T17:58:59.533Z] gpg: CAST5 encrypted data [2023-06-12T17:58:59.533Z] gpg: encrypted with 1 passphrase [2023-06-12T17:58:59.533Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-06-12T17:58:59.816Z] + mkdir /home/jenkins [2023-06-12T17:58:59.816Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-06-12T17:59:00.099Z] + 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-06-12T17:59:00.108Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:59:00.394Z] ---> sigul-install.sh [2023-06-12T17:59:00.394Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-06-12T17:59:00.689Z] + git tag --list [2023-06-12T17:59:00.689Z] v0.0.0 [2023-06-12T17:59:00.689Z] v2.2.0 [2023-06-12T17:59:00.689Z] v2.3.0 [2023-06-12T17:59:00.689Z] v2.3.1 [2023-06-12T17:59:00.689Z] v3.0 [2023-06-12T17:59:00.689Z] v3.0.0 [2023-06-12T17:59:00.689Z] v3.1.0-dev.1 [2023-06-12T17:59:00.689Z] v3.1.0-dev.2 [Pipeline] sh [2023-06-12T17:59:00.976Z] + lftools sign git-tag v3.1.0-dev.2 [2023-06-12T17:59:01.547Z] Signing Git tag with Sigul... [2023-06-12T17:59:01.547Z] Signing v3.1.0-dev.2 [Pipeline] echo [2023-06-12T17:59:01.816Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:59:02.104Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-06-12T17:59:02.112Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-06-12T17:59:02.132Z] $ docker stop --time=1 519658987e1012b885fa1e8407dc0fb4d6b59fffab13544d78ec3d2c4e93ed36 [2023-06-12T17:59:03.410Z] $ docker rm -f --volumes 519658987e1012b885fa1e8407dc0fb4d6b59fffab13544d78ec3d2c4e93ed36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-06-12T17:59:03.836Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T17:59:03.836Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:59:04.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:59:04.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:59:04.209Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:59:04.234Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T17:59:04.606Z] $ docker top f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af -eo pid,comm [2023-06-12T17:59:04.658Z] 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-06-12T17:59:04.658Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T17:59:04.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:59:04.690Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:59:04.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:59:04.807Z] $ docker exec f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af ssh-agent [2023-06-12T17:59:04.909Z] SSH_AUTH_SOCK=/tmp/ssh-z2pTnCjkpxN4/agent.31 [2023-06-12T17:59:04.909Z] SSH_AGENT_PID=37 [2023-06-12T17:59:04.913Z] Running ssh-add (command line suppressed) [2023-06-12T17:59:05.015Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5831490613292408484.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5831490613292408484.key) [2023-06-12T17:59:05.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:59:05.313Z] + git semver bump pre [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,498 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,498 [bump_version] DEBUG bumping version:3.1.0-dev.2 on axis:pre with prefix:dev [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,498 [bump_version] DEBUG bumped version:3.1.0-dev.3 [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,498 [write_version] DEBUG write version:3.1.0-dev.3 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,498 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,499 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,501 [execute] INFO git cat-file --batch-check [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,507 [execute] INFO git cat-file --batch [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T17:59:05.572Z] 2023-06-12 17:59:05,512 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-06-12T17:59:05.572Z] 3.1.0-dev.3 [Pipeline] } [2023-06-12T17:59:05.580Z] $ docker exec --env ******** --env ******** f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af ssh-agent -k [2023-06-12T17:59:05.675Z] unset SSH_AUTH_SOCK; [2023-06-12T17:59:05.675Z] unset SSH_AGENT_PID; [2023-06-12T17:59:05.675Z] echo Agent pid 37 killed; [2023-06-12T17:59:05.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T17:59:05.998Z] + git semver [Pipeline] } [2023-06-12T17:59:06.268Z] $ docker stop --time=1 f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af [2023-06-12T17:59:07.541Z] $ docker rm -f --volumes f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:59:07.882Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T17:59:07.882Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:59:08.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:59:08.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:59:08.263Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:59:08.295Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T17:59:08.657Z] $ docker top 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T17:59:08.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:59:08.745Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:59:08.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:59:08.854Z] $ docker exec 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 ssh-agent [2023-06-12T17:59:08.965Z] SSH_AUTH_SOCK=/tmp/ssh-D5rPv1z1ntHY/agent.32 [2023-06-12T17:59:08.965Z] SSH_AGENT_PID=38 [2023-06-12T17:59:08.970Z] Running ssh-add (command line suppressed) [2023-06-12T17:59:09.078Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12365616282950511843.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12365616282950511843.key) [2023-06-12T17:59:09.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:59:09.378Z] + git semver push [2023-06-12T17:59:09.636Z] 2023-06-12 17:59:09,548 [run_push] DEBUG push [2023-06-12T17:59:09.636Z] 2023-06-12 17:59:09,549 [execute] INFO git cat-file --batch-check [2023-06-12T17:59:09.636Z] 2023-06-12 17:59:09,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T17:59:09.636Z] 2023-06-12 17:59:09,553 [execute] INFO git rev-list 49c00181c0e5a7aa7b02237c0add803a25cdc6dd -- [2023-06-12T17:59:09.636Z] 2023-06-12 17:59:09,553 [execute] DEBUG Popen(['git', 'rev-list', '49c00181c0e5a7aa7b02237c0add803a25cdc6dd', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T17:59:09.636Z] 2023-06-12 17:59:09,561 [execute] INFO git fetch -v origin [2023-06-12T17:59:09.636Z] 2023-06-12 17:59:09,561 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-06-12T17:59:10.206Z] 2023-06-12 17:59:10,019 [run_push] DEBUG no remote changes detected [2023-06-12T17:59:10.206Z] 2023-06-12 17:59:10,019 [execute] INFO git push origin semver [2023-06-12T17:59:10.206Z] 2023-06-12 17:59:10,020 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T17:59:11.143Z] 2023-06-12 17:59:10,803 [run_push] DEBUG push all version tags [2023-06-12T17:59:11.143Z] 2023-06-12 17:59:10,804 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-06-12T17:59:11.143Z] 2023-06-12 17:59:10,804 [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-06-12T17:59:11.711Z] 2023-06-12 17:59:11,566 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-06-12T17:59:11.711Z] 3.1.0-dev.3 [Pipeline] } [2023-06-12T17:59:11.718Z] $ docker exec --env ******** --env ******** 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 ssh-agent -k [2023-06-12T17:59:11.812Z] unset SSH_AUTH_SOCK; [2023-06-12T17:59:11.812Z] unset SSH_AGENT_PID; [2023-06-12T17:59:11.813Z] echo Agent pid 38 killed; [2023-06-12T17:59:11.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T17:59:12.123Z] + git semver [Pipeline] } [2023-06-12T17:59:12.395Z] $ docker stop --time=1 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 [2023-06-12T17:59:13.687Z] $ docker rm -f --volumes 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 [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-06-12T17:59:14.244Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-06-12T17:59:14.244Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-06-12T17:59:14.244Z] total 16 [2023-06-12T17:59:14.244Z] drwxr-xr-x 3 root root 4096 Jun 12 17:47 . [2023-06-12T17:59:14.244Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 17:59 .. [2023-06-12T17:59:14.244Z] drwxr-xr-x 2 root root 4096 Jun 12 17:47 cost [2023-06-12T17:59:14.244Z] -rw-r--r-- 1 root root 91 Jun 12 17:47 cost.csv [2023-06-12T17:59:14.244Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-06-12T17:59:14.244Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-06-12T17:59:14.244Z] total 16 [2023-06-12T17:59:14.244Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:47 . [2023-06-12T17:59:14.244Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 17:59 .. [2023-06-12T17:59:14.244Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 17:47 cost [2023-06-12T17:59:14.244Z] -rw-r--r-- 1 jenkins jenkins 91 Jun 12 17:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:59:14.533Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:59:15.560Z] ---> package-listing.sh [2023-06-12T17:59:15.560Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-12T17:59:15.560Z] ++ facter osfamily [2023-06-12T17:59:15.560Z] + OS_FAMILY=debian [2023-06-12T17:59:15.560Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-06-12T17:59:15.560Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-12T17:59:15.560Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-12T17:59:15.560Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-12T17:59:15.560Z] + PACKAGES=/tmp/packages_start.txt [2023-06-12T17:59:15.560Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-06-12T17:59:15.560Z] + PACKAGES=/tmp/packages_end.txt [2023-06-12T17:59:15.560Z] + case "${OS_FAMILY}" in [2023-06-12T17:59:15.560Z] + dpkg -l [2023-06-12T17:59:15.560Z] + grep '^ii' [2023-06-12T17:59:15.856Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-12T17:59:15.856Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-12T17:59:15.856Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-12T17:59:15.856Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-06-12T17:59:15.856Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-06-12T17:59:15.856Z] + 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-06-12T17:59:15.876Z] 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-06-12T17:59:16.196Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:59:16.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:59:16.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:59:16.560Z] prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container [2023-06-12T17:59:16.590Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-12T17:59:16.784Z] $ docker top c5493b816ec805682cd822ea7150c7f66a8e7a88081e04eb1b19013ee2e568a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:59:17.116Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-12T17:59:17.404Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-12T17:59:17.687Z] + ls /var/log/sa-host [2023-06-12T17:59:17.687Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:59:17.756Z] provisioning config files... [2023-06-12T17:59:17.763Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1359208566933464931tmp [Pipeline] { [Pipeline] echo [2023-06-12T17:59:17.775Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:59:18.055Z] ---> create-netrc.sh [Pipeline] } [2023-06-12T17:59:18.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:59:18.397Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-12T17:59:18.407Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:59:18.694Z] ---> sudo-logs.sh [2023-06-12T17:59:18.694Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-12T17:59:18.721Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:59:19.001Z] ---> job-cost.sh [2023-06-12T17:59:19.001Z] lf-activate-venv: SKIPPING [2023-06-12T17:59:19.001Z] DEBUG: total: 0.2199999988079071 [2023-06-12T17:59:19.001Z] INFO: Retrieving Stack Cost... [2023-06-12T17:59:19.567Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T17:59:19.827Z] INFO: Archiving Costs [Pipeline] echo [2023-06-12T17:59:19.842Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:59:20.124Z] ---> logs-deploy.sh [2023-06-12T17:59:20.124Z] lf-activate-venv: SKIPPING [2023-06-12T17:59:20.124Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/158 [2023-06-12T17:59:20.124Z] INFO: archiving workspace using pattern(s): [2023-06-12T17:59:21.062Z] Archives upload complete. [2023-06-12T17:59:21.062Z] INFO: archiving logs to Nexus