Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58a46bebf81eee9640e76b602e43d09af82d89e1 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-ssh343421291198108788.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh14841872414012127503.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh16802352847472037879.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh18285064365829570299.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh2376960773339968708.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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.18 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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20150 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 58a46bebf81eee9640e76b602e43d09af82d89e1 (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 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 Commit message: "Merge pull request #109 from edgexfoundry/dependabot/go_modules/github.com/IOTechSystems/onvif-0.1.3" > git rev-list --no-walk 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-14T16:03:27.618Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-14T16:03:27.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-14T16:03:27.673Z] ========================================================= [2022-07-14T16:03:27.673Z] EdgeX Global Pipelines Version Info [2022-07-14T16:03:27.673Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:03:28.468Z] ------------------- [2022-07-14T16:03:28.468Z] stable info: [2022-07-14T16:03:28.468Z] ------------------- [2022-07-14T16:03:28.468Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-14T16:03:28.468Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-14T16:03:28.468Z] Message: update stable to v1.0.238 [2022-07-14T16:03:29.040Z] ------------------- [2022-07-14T16:03:29.040Z] experimental info: [2022-07-14T16:03:29.040Z] ------------------- [2022-07-14T16:03:29.040Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-14T16:03:29.040Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-14T16:03:29.040Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-14T16:03:29.299Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-14T16:03:29.307Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-14T16:03:29.320Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-14T16:03:29.330Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-14T16:03:29.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-14T16:03:29.356Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-14T16:03:29.367Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-14T16:03:29.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-14T16:03:29.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-14T16:03:29.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-14T16:03:29.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-14T16:03:29.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-14T16:03:29.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-14T16:03:29.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-14T16:03:29.479Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-14T16:03:29.495Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-14T16:03:29.509Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-14T16:03:29.521Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-14T16:03:29.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-14T16:03:29.557Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-14T16:03:29.573Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-14T16:03:29.592Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-14T16:03:29.604Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-14T16:03:29.619Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-14T16:03:29.632Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-14T16:03:29.648Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-14T16:03:29.666Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-14T16:03:29.683Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-14T16:03:29.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-14T16:03:29.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-14T16:03:29.722Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58a46bebf81eee9640e76b602e43d09af82d89e1 [Pipeline] echo [2022-07-14T16:03:29.740Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58a46be [Pipeline] echo [2022-07-14T16:03:29.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T16:03:29.797Z] provisioning config files... [2022-07-14T16:03:29.811Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2675871060638981979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:03:30.120Z] ---> docker-login.sh [2022-07-14T16:03:30.120Z] nexus3.edgexfoundry.org:10001 [2022-07-14T16:03:30.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:30.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:30.667Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:30.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:30.667Z] [2022-07-14T16:03:30.667Z] Login Succeeded [2022-07-14T16:03:30.667Z] nexus3.edgexfoundry.org:10002 [2022-07-14T16:03:30.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:30.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:30.667Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:30.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:30.667Z] [2022-07-14T16:03:30.667Z] Login Succeeded [2022-07-14T16:03:30.667Z] nexus3.edgexfoundry.org:10003 [2022-07-14T16:03:30.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:30.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:30.926Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:30.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:30.926Z] [2022-07-14T16:03:30.926Z] Login Succeeded [2022-07-14T16:03:30.926Z] nexus3.edgexfoundry.org:10004 [2022-07-14T16:03:30.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:30.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:30.926Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:30.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:30.926Z] [2022-07-14T16:03:30.926Z] Login Succeeded [2022-07-14T16:03:30.926Z] docker.io [2022-07-14T16:03:31.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:31.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:31.447Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:31.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:31.447Z] [2022-07-14T16:03:31.447Z] Login Succeeded [2022-07-14T16:03:31.447Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T16:03:31.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-14T16:03:31.854Z] + git rev-list -1 --merges 58a46bebf81eee9640e76b602e43d09af82d89e1~1..58a46bebf81eee9640e76b602e43d09af82d89e1 [Pipeline] echo [2022-07-14T16:03:31.878Z] -----------> git rev-list -1 --merges 58a46bebf81eee9640e76b602e43d09af82d89e1~1..58a46bebf81eee9640e76b602e43d09af82d89e1 58a46bebf81eee9640e76b602e43d09af82d89e1 [2022-07-14T16:03:31.878Z] 58a46bebf81eee9640e76b602e43d09af82d89e1 [false] [Pipeline] sh [2022-07-14T16:03:32.178Z] + git log --format=format:%s -1 58a46bebf81eee9640e76b602e43d09af82d89e1 [Pipeline] echo [2022-07-14T16:03:32.194Z] ========================================================= [2022-07-14T16:03:32.194Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-14T16:03:32.194Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-14T16:03:32.541Z] + git log --format=format:%s -1 58a46bebf81eee9640e76b602e43d09af82d89e1 [Pipeline] echo [2022-07-14T16:03:32.553Z] [semverPrep] GIT_COMMIT: 58a46bebf81eee9640e76b602e43d09af82d89e1, Commit Message: Merge pull request #109 from edgexfoundry/dependabot/go_modules/github.com/IOTechSystems/onvif-0.1.3 [Pipeline] echo [2022-07-14T16:03:32.564Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-14T16:03:32.908Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-14T16:03:32.908Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-14T16:03:32.908Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-14T16:03:32.908Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-14T16:03:32.908Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-14T16:03:32.908Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-14T16:03:32.908Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:03:33.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T16:03:33.261Z] [2022-07-14T16:03:33.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:03:33.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T16:03:33.572Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-14T16:03:33.572Z] b85a868b505f: Pulling fs layer [2022-07-14T16:03:33.572Z] e2be974225ed: Pulling fs layer [2022-07-14T16:03:33.572Z] 339a4e72a1f5: Pulling fs layer [2022-07-14T16:03:33.572Z] 988bab9f4d93: Pulling fs layer [2022-07-14T16:03:33.572Z] 1469e6f7b9e6: Pulling fs layer [2022-07-14T16:03:33.572Z] eaf3925da568: Pulling fs layer [2022-07-14T16:03:33.572Z] bab4dde63d76: Pulling fs layer [2022-07-14T16:03:33.572Z] bde34c3a00c8: Pulling fs layer [2022-07-14T16:03:33.572Z] b352a97aabf1: Pulling fs layer [2022-07-14T16:03:33.572Z] 4872d77fe225: Pulling fs layer [2022-07-14T16:03:33.572Z] 5851b861e8e6: Pulling fs layer [2022-07-14T16:03:33.572Z] 988bab9f4d93: Waiting [2022-07-14T16:03:33.572Z] bde34c3a00c8: Waiting [2022-07-14T16:03:33.572Z] b352a97aabf1: Waiting [2022-07-14T16:03:33.572Z] 4872d77fe225: Waiting [2022-07-14T16:03:33.572Z] 5851b861e8e6: Waiting [2022-07-14T16:03:33.572Z] 1469e6f7b9e6: Waiting [2022-07-14T16:03:33.572Z] bab4dde63d76: Waiting [2022-07-14T16:03:33.572Z] eaf3925da568: Waiting [2022-07-14T16:03:33.572Z] e2be974225ed: Verifying Checksum [2022-07-14T16:03:33.572Z] e2be974225ed: Download complete [2022-07-14T16:03:33.572Z] 988bab9f4d93: Verifying Checksum [2022-07-14T16:03:33.572Z] 988bab9f4d93: Download complete [2022-07-14T16:03:33.833Z] 1469e6f7b9e6: Verifying Checksum [2022-07-14T16:03:33.833Z] 1469e6f7b9e6: Download complete [2022-07-14T16:03:33.833Z] eaf3925da568: Download complete [2022-07-14T16:03:33.833Z] 339a4e72a1f5: Verifying Checksum [2022-07-14T16:03:33.833Z] bde34c3a00c8: Verifying Checksum [2022-07-14T16:03:33.833Z] bde34c3a00c8: Download complete [2022-07-14T16:03:33.833Z] b352a97aabf1: Download complete [2022-07-14T16:03:33.833Z] 4872d77fe225: Download complete [2022-07-14T16:03:33.833Z] 5851b861e8e6: Verifying Checksum [2022-07-14T16:03:33.833Z] 5851b861e8e6: Download complete [2022-07-14T16:03:33.833Z] b85a868b505f: Verifying Checksum [2022-07-14T16:03:33.833Z] b85a868b505f: Download complete [2022-07-14T16:03:34.095Z] bab4dde63d76: Verifying Checksum [2022-07-14T16:03:34.095Z] bab4dde63d76: Download complete [2022-07-14T16:03:35.485Z] b85a868b505f: Pull complete [2022-07-14T16:03:35.485Z] e2be974225ed: Pull complete [2022-07-14T16:03:36.057Z] 339a4e72a1f5: Pull complete [2022-07-14T16:03:36.057Z] 988bab9f4d93: Pull complete [2022-07-14T16:03:36.319Z] 1469e6f7b9e6: Pull complete [2022-07-14T16:03:36.320Z] eaf3925da568: Pull complete [2022-07-14T16:03:38.233Z] bab4dde63d76: Pull complete [2022-07-14T16:03:38.233Z] bde34c3a00c8: Pull complete [2022-07-14T16:03:38.494Z] b352a97aabf1: Pull complete [2022-07-14T16:03:38.494Z] 4872d77fe225: Pull complete [2022-07-14T16:03:38.494Z] 5851b861e8e6: Pull complete [2022-07-14T16:03:38.756Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-14T16:03:38.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T16:03:38.756Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:03:38.853Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:03:38.892Z] $ 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 [2022-07-14T16:03:40.435Z] $ docker top 4057b3db3ee6dc0085de773b704f7870e1180e8500b13fdbcc1c83d192e24e17 -eo pid,comm [2022-07-14T16:03:40.508Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-14T16:03:40.508Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-14T16:03:40.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-14T16:03:40.543Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-14T16:03:40.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-14T16:03:40.691Z] $ docker exec 4057b3db3ee6dc0085de773b704f7870e1180e8500b13fdbcc1c83d192e24e17 ssh-agent [2022-07-14T16:03:40.826Z] SSH_AUTH_SOCK=/tmp/ssh-HJdO2OzzUv5x/agent.32 [2022-07-14T16:03:40.826Z] SSH_AGENT_PID=39 [2022-07-14T16:03:40.835Z] Running ssh-add (command line suppressed) [2022-07-14T16:03:40.970Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6771048569539126560.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6771048569539126560.key) [2022-07-14T16:03:40.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-14T16:03:41.276Z] + git tag --points-at HEAD [Pipeline] } [2022-07-14T16:03:41.300Z] $ docker exec --env ******** --env ******** 4057b3db3ee6dc0085de773b704f7870e1180e8500b13fdbcc1c83d192e24e17 ssh-agent -k [2022-07-14T16:03:41.407Z] unset SSH_AUTH_SOCK; [2022-07-14T16:03:41.408Z] unset SSH_AGENT_PID; [2022-07-14T16:03:41.408Z] echo Agent pid 39 killed; [2022-07-14T16:03:41.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-14T16:03:41.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-14T16:03:41.445Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-14T16:03:41.575Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-14T16:03:41.582Z] $ docker exec 4057b3db3ee6dc0085de773b704f7870e1180e8500b13fdbcc1c83d192e24e17 ssh-agent [2022-07-14T16:03:41.705Z] SSH_AUTH_SOCK=/tmp/ssh-UykwD7cLm8PE/agent.73 [2022-07-14T16:03:41.705Z] SSH_AGENT_PID=79 [2022-07-14T16:03:41.711Z] Running ssh-add (command line suppressed) [2022-07-14T16:03:41.835Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4906620000833439850.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4906620000833439850.key) [2022-07-14T16:03:41.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-14T16:03:42.143Z] + git semver init [2022-07-14T16:03:42.404Z] 2022-07-14 16:03:42,349 [run_init] DEBUG init version:0.0.0 force:False [2022-07-14T16:03:42.404Z] 2022-07-14 16:03:42,350 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-07-14T16:03:42.404Z] 2022-07-14 16:03:42,350 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-07-14T16:03:42.404Z] 2022-07-14 16:03:42,351 [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) [2022-07-14T16:03:43.352Z] 2022-07-14 16:03:43,037 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-07-14T16:03:43.352Z] 2022-07-14 16:03:43,037 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-07-14T16:03:43.352Z] 2022-07-14 16:03:43,038 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-14T16:03:43.352Z] 2022-07-14 16:03:43,038 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-14T16:03:43.352Z] 0.0.1-dev.25 [Pipeline] } [2022-07-14T16:03:43.368Z] $ docker exec --env ******** --env ******** 4057b3db3ee6dc0085de773b704f7870e1180e8500b13fdbcc1c83d192e24e17 ssh-agent -k [2022-07-14T16:03:43.467Z] unset SSH_AUTH_SOCK; [2022-07-14T16:03:43.468Z] unset SSH_AGENT_PID; [2022-07-14T16:03:43.468Z] echo Agent pid 79 killed; [2022-07-14T16:03:43.477Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-14T16:03:43.798Z] + git semver [Pipeline] } [2022-07-14T16:03:44.076Z] $ docker stop --time=1 4057b3db3ee6dc0085de773b704f7870e1180e8500b13fdbcc1c83d192e24e17 [2022-07-14T16:03:45.419Z] $ docker rm -f 4057b3db3ee6dc0085de773b704f7870e1180e8500b13fdbcc1c83d192e24e17 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-14T16:03:45.765Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-14T16:03:46.030Z] Stashed 1 file(s) [Pipeline] echo [2022-07-14T16:03:46.032Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T16:03:46.171Z] provisioning config files... [2022-07-14T16:03:46.181Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6675485224490885592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:03:46.483Z] ---> docker-login.sh [2022-07-14T16:03:46.483Z] nexus3.edgexfoundry.org:10001 [2022-07-14T16:03:46.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:46.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:46.483Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:46.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:46.483Z] [2022-07-14T16:03:46.483Z] Login Succeeded [2022-07-14T16:03:46.483Z] nexus3.edgexfoundry.org:10002 [2022-07-14T16:03:46.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:46.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:46.745Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:46.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:46.745Z] [2022-07-14T16:03:46.745Z] Login Succeeded [2022-07-14T16:03:46.745Z] nexus3.edgexfoundry.org:10003 [2022-07-14T16:03:46.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:46.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:46.745Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:46.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:46.745Z] [2022-07-14T16:03:46.745Z] Login Succeeded [2022-07-14T16:03:46.745Z] nexus3.edgexfoundry.org:10004 [2022-07-14T16:03:47.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:47.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:47.014Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:47.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:47.014Z] [2022-07-14T16:03:47.014Z] Login Succeeded [2022-07-14T16:03:47.014Z] docker.io [2022-07-14T16:03:47.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:03:47.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:03:47.282Z] Configure a credential helper to remove this warning. See [2022-07-14T16:03:47.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:03:47.282Z] [2022-07-14T16:03:47.282Z] Login Succeeded [2022-07-14T16:03:47.282Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T16:03:47.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-14T16:03:47.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T16:03:47.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T16:03:47.386Z] ========================================================= [2022-07-14T16:03:47.386Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-14T16:03:47.386Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:03:47.708Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-14T16:03:47.709Z] Sending build context to Docker daemon 9.389MB [2022-07-14T16:03:47.709Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T16:03:47.709Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-14T16:03:47.709Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-14T16:03:47.709Z] 2408cc74d12b: Pulling fs layer [2022-07-14T16:03:47.709Z] ea60b727a1ce: Pulling fs layer [2022-07-14T16:03:47.709Z] 30c4a7721957: Pulling fs layer [2022-07-14T16:03:47.709Z] 370296b7ddb6: Pulling fs layer [2022-07-14T16:03:47.709Z] 7c6cee850709: Pulling fs layer [2022-07-14T16:03:47.709Z] 39a5fcdaea64: Pulling fs layer [2022-07-14T16:03:47.709Z] d94ebbe4e438: Pulling fs layer [2022-07-14T16:03:47.709Z] bcfd1f05c69d: Pulling fs layer [2022-07-14T16:03:47.709Z] 59ccb84bbe0f: Pulling fs layer [2022-07-14T16:03:47.709Z] 370296b7ddb6: Waiting [2022-07-14T16:03:47.709Z] 7c6cee850709: Waiting [2022-07-14T16:03:47.709Z] 39a5fcdaea64: Waiting [2022-07-14T16:03:47.709Z] 59ccb84bbe0f: Waiting [2022-07-14T16:03:47.709Z] bcfd1f05c69d: Waiting [2022-07-14T16:03:47.709Z] 30c4a7721957: Download complete [2022-07-14T16:03:47.969Z] ea60b727a1ce: Verifying Checksum [2022-07-14T16:03:47.969Z] ea60b727a1ce: Download complete [2022-07-14T16:03:47.969Z] 7c6cee850709: Verifying Checksum [2022-07-14T16:03:47.969Z] 7c6cee850709: Download complete [2022-07-14T16:03:47.969Z] 39a5fcdaea64: Verifying Checksum [2022-07-14T16:03:47.969Z] 39a5fcdaea64: Download complete [2022-07-14T16:03:47.969Z] 2408cc74d12b: Verifying Checksum [2022-07-14T16:03:47.969Z] 2408cc74d12b: Download complete [2022-07-14T16:03:47.969Z] d94ebbe4e438: Download complete [2022-07-14T16:03:47.969Z] 2408cc74d12b: Pull complete [2022-07-14T16:03:48.234Z] ea60b727a1ce: Pull complete [2022-07-14T16:03:48.234Z] 30c4a7721957: Pull complete [2022-07-14T16:03:48.497Z] 59ccb84bbe0f: Verifying Checksum [2022-07-14T16:03:48.497Z] 59ccb84bbe0f: Download complete [2022-07-14T16:03:48.497Z] bcfd1f05c69d: Verifying Checksum [2022-07-14T16:03:48.497Z] bcfd1f05c69d: Download complete [2022-07-14T16:03:48.758Z] 370296b7ddb6: Verifying Checksum [2022-07-14T16:03:48.758Z] 370296b7ddb6: Download complete [2022-07-14T16:03:52.954Z] 370296b7ddb6: Pull complete [2022-07-14T16:03:52.954Z] 7c6cee850709: Pull complete [2022-07-14T16:03:52.954Z] 39a5fcdaea64: Pull complete [2022-07-14T16:03:52.954Z] d94ebbe4e438: Pull complete [2022-07-14T16:03:55.495Z] bcfd1f05c69d: Pull complete [2022-07-14T16:03:56.065Z] 59ccb84bbe0f: Pull complete [2022-07-14T16:03:56.065Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-14T16:03:56.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-14T16:03:56.065Z] ---> a4fb48ad2a94 [2022-07-14T16:03:56.065Z] Step 3/13 : ARG MAKE="make build" [2022-07-14T16:03:57.977Z] ---> Running in b498764e48a6 [2022-07-14T16:03:57.977Z] Removing intermediate container b498764e48a6 [2022-07-14T16:03:57.977Z] ---> 058169fd542f [2022-07-14T16:03:57.977Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T16:03:57.977Z] ---> Running in 9966ada98fa6 [2022-07-14T16:03:57.977Z] Removing intermediate container 9966ada98fa6 [2022-07-14T16:03:57.977Z] ---> 08d54c6aefdf [2022-07-14T16:03:57.977Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-14T16:03:57.977Z] ---> Running in 820db4a90b76 [2022-07-14T16:03:57.977Z] Removing intermediate container 820db4a90b76 [2022-07-14T16:03:57.977Z] ---> 7e724fe4bf12 [2022-07-14T16:03:57.977Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-14T16:03:57.977Z] ---> Running in 731355147d2c [2022-07-14T16:03:58.237Z] Removing intermediate container 731355147d2c [2022-07-14T16:03:58.237Z] ---> 6c3cf45f5e27 [2022-07-14T16:03:58.237Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T16:03:58.237Z] ---> Running in bf134e542573 [2022-07-14T16:03:58.807Z] Removing intermediate container bf134e542573 [2022-07-14T16:03:58.808Z] ---> f180cd8f9f4c [2022-07-14T16:03:58.808Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T16:03:58.808Z] ---> Running in 00befd358776 [2022-07-14T16:03:59.068Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-14T16:04:00.009Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-14T16:04:00.268Z] OK: 211 MiB in 51 packages [2022-07-14T16:04:00.529Z] Removing intermediate container 00befd358776 [2022-07-14T16:04:00.529Z] ---> 3f5d26bb6961 [2022-07-14T16:04:00.529Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-14T16:04:00.790Z] ---> Running in 3a91410729e4 [2022-07-14T16:04:00.790Z] Removing intermediate container 3a91410729e4 [2022-07-14T16:04:00.790Z] ---> 2f91a0a86a9f [2022-07-14T16:04:00.790Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-14T16:04:01.050Z] ---> bf1282eaa801 [2022-07-14T16:04:01.050Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T16:04:01.050Z] ---> Running in dbb1d6604366 [2022-07-14T16:04:01.135Z] Still waiting to schedule task [2022-07-14T16:04:01.136Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20149’ is offline [2022-07-14T16:04:15.951Z] Removing intermediate container dbb1d6604366 [2022-07-14T16:04:15.951Z] ---> 450fa5088ca6 [2022-07-14T16:04:15.951Z] Step 12/13 : COPY . . [2022-07-14T16:04:15.951Z] ---> ca35a93c8d79 [2022-07-14T16:04:15.951Z] Step 13/13 : RUN ${MAKE} [2022-07-14T16:04:15.951Z] ---> Running in 645357c6ade7 [2022-07-14T16:04:15.951Z] noop [2022-07-14T16:04:15.951Z] Removing intermediate container 645357c6ade7 [2022-07-14T16:04:15.951Z] ---> 713c72f7cb21 [2022-07-14T16:04:15.951Z] Successfully built 713c72f7cb21 [2022-07-14T16:04:15.951Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:04:16.267Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-14T16:04:16.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:04:16.349Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:04:16.388Z] $ 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 [2022-07-14T16:04:16.814Z] $ docker top 18794020438d11f833b3d9e4304445611b838d458d28933b1f143feb5cd421ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T16:04:17.174Z] + go version [2022-07-14T16:04:17.174Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-14T16:04:17.190Z] $ docker stop --time=1 18794020438d11f833b3d9e4304445611b838d458d28933b1f143feb5cd421ef [2022-07-14T16:04:18.512Z] $ docker rm -f 18794020438d11f833b3d9e4304445611b838d458d28933b1f143feb5cd421ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:04:18.936Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-14T16:04:18.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:04:19.038Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:04:19.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 [2022-07-14T16:04:19.487Z] $ docker top ef20b634826c4931060ca43f6d6ec93f5b040baf441f3df2b3b51126912d295c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T16:04:19.907Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2022-07-14T16:04:20.206Z] + make test [2022-07-14T16:04:20.206Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-14T16:04:20.465Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-14T16:04:30.443Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-14T16:04:30.443Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.021s coverage: 7.0% of statements [2022-07-14T16:04:30.443Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-14T16:04:34.640Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.011s coverage: 13.8% of statements [2022-07-14T16:04:41.209Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-14T16:04:43.746Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-14T16:04:43.746Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-14T16:04:43.746Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-14T16:04:44.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-14T16:04:44.344Z] $ docker stop --time=1 ef20b634826c4931060ca43f6d6ec93f5b040baf441f3df2b3b51126912d295c [2022-07-14T16:04:46.173Z] $ docker rm -f ef20b634826c4931060ca43f6d6ec93f5b040baf441f3df2b3b51126912d295c [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-14T16:04:46.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-14T16:04:46.692Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-14T16:04:47.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-14T16:04:47.471Z] + ls -al . [2022-07-14T16:04:47.471Z] total 252 [2022-07-14T16:04:47.471Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 14 16:04 . [2022-07-14T16:04:47.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 16:03 .. [2022-07-14T16:04:47.471Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 16:04 .git [2022-07-14T16:04:47.471Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 16:03 .github [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 14 16:03 .gitignore [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 16:03 .golangci.yml [2022-07-14T16:04:47.471Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 16:03 .semver [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 14 16:03 Attribution.txt [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 14 16:03 CHANGELOG.md [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 14 16:03 Dockerfile [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 16:03 GOVERNANCE.md [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 14 16:03 Jenkinsfile [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 16:03 LICENSE [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 14 16:03 Makefile [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 14 16:03 OWNERS.md [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 14 16:03 README.md [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 14 16:03 VERSION [2022-07-14T16:04:47.471Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 16:03 bin [2022-07-14T16:04:47.471Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 16:03 cmd [2022-07-14T16:04:47.471Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 14 16:04 coverage.out [2022-07-14T16:04:47.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 16:03 doc [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 14 16:03 go.mod [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 14 16:03 go.sum [2022-07-14T16:04:47.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 16:03 internal [2022-07-14T16:04:47.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 16:03 snap [2022-07-14T16:04:47.471Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 14 16:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:04:47.789Z] + 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=58a46bebf81eee9640e76b602e43d09af82d89e1 --label arch=amd64 --label version=0.0.1-dev.25 . [2022-07-14T16:04:47.789Z] Sending build context to Docker daemon 9.46MB [2022-07-14T16:04:47.789Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T16:04:47.789Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-14T16:04:47.789Z] ---> 713c72f7cb21 [2022-07-14T16:04:47.789Z] Step 3/26 : ARG MAKE="make build" [2022-07-14T16:04:47.789Z] ---> Running in 68dd5df230e8 [2022-07-14T16:04:48.051Z] Removing intermediate container 68dd5df230e8 [2022-07-14T16:04:48.051Z] ---> b75997c5c8e0 [2022-07-14T16:04:48.051Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T16:04:48.051Z] ---> Running in 940f1d902c6c [2022-07-14T16:04:48.051Z] Removing intermediate container 940f1d902c6c [2022-07-14T16:04:48.051Z] ---> 1a647b600b34 [2022-07-14T16:04:48.051Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-14T16:04:48.311Z] ---> Running in e39490b77031 [2022-07-14T16:04:48.311Z] Removing intermediate container e39490b77031 [2022-07-14T16:04:48.311Z] ---> 7524ab2ecbde [2022-07-14T16:04:48.311Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-14T16:04:48.311Z] ---> Running in 162cfc43feba [2022-07-14T16:04:48.311Z] Removing intermediate container 162cfc43feba [2022-07-14T16:04:48.311Z] ---> 2692d04d70af [2022-07-14T16:04:48.311Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T16:04:48.572Z] ---> Running in ab5331cb605b [2022-07-14T16:04:49.140Z] Removing intermediate container ab5331cb605b [2022-07-14T16:04:49.140Z] ---> 682c30c9d75b [2022-07-14T16:04:49.140Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T16:04:49.140Z] ---> Running in 7550273e93f5 [2022-07-14T16:04:49.400Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-14T16:04:50.339Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-14T16:04:50.610Z] OK: 211 MiB in 51 packages [2022-07-14T16:04:50.883Z] Removing intermediate container 7550273e93f5 [2022-07-14T16:04:50.883Z] ---> f0c0e76583c2 [2022-07-14T16:04:50.883Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-14T16:04:50.883Z] ---> Running in b7315304fbae [2022-07-14T16:04:50.883Z] Removing intermediate container b7315304fbae [2022-07-14T16:04:50.883Z] ---> f5cce9fe013b [2022-07-14T16:04:50.883Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-14T16:04:51.143Z] ---> 36909d67e869 [2022-07-14T16:04:51.143Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T16:04:51.143Z] ---> Running in 2b7f70e67972 [2022-07-14T16:04:51.714Z] Removing intermediate container 2b7f70e67972 [2022-07-14T16:04:51.714Z] ---> 9f65e021d057 [2022-07-14T16:04:51.714Z] Step 12/26 : COPY . . [2022-07-14T16:04:52.284Z] ---> 3de0bf56ff0d [2022-07-14T16:04:52.284Z] Step 13/26 : RUN ${MAKE} [2022-07-14T16:04:52.284Z] ---> Running in 66b50351c9a9 [2022-07-14T16:04:52.541Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.25 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-14T16:05:09.069Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20153 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-07-14T16:05:09.081Z] Running in /w/workspace/device-onvif-camera/28 [Pipeline] { [Pipeline] checkout [2022-07-14T16:05:09.120Z] Selected Git installation does not exist. Using Default [2022-07-14T16:05:09.120Z] The recommended git tool is: NONE [2022-07-14T16:05:14.491Z] Removing intermediate container 66b50351c9a9 [2022-07-14T16:05:14.491Z] ---> 8a3f28f95f4e [2022-07-14T16:05:14.491Z] Step 14/26 : FROM alpine:3.15 [2022-07-14T16:05:14.491Z] 3.15: Pulling from library/alpine [2022-07-14T16:05:14.491Z] df9b9388f04a: Pulling fs layer [2022-07-14T16:05:14.491Z] df9b9388f04a: Verifying Checksum [2022-07-14T16:05:14.491Z] df9b9388f04a: Download complete [2022-07-14T16:05:14.491Z] df9b9388f04a: Pull complete [2022-07-14T16:05:14.491Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-14T16:05:14.491Z] Status: Downloaded newer image for alpine:3.15 [2022-07-14T16:05:14.491Z] ---> 0ac33e5f5afa [2022-07-14T16:05:14.491Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-14T16:05:14.491Z] ---> Running in 8db6fc3bd8fb [2022-07-14T16:05:14.491Z] Removing intermediate container 8db6fc3bd8fb [2022-07-14T16:05:14.491Z] ---> bd1ec5eda8bb [2022-07-14T16:05:14.491Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-14T16:05:14.491Z] ---> Running in 2b5c3582a80b [2022-07-14T16:05:14.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-14T16:05:14.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-14T16:05:14.491Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-14T16:05:14.491Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-14T16:05:14.491Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-14T16:05:14.491Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-14T16:05:14.491Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-14T16:05:14.491Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-14T16:05:14.491Z] Executing busybox-1.34.1-r5.trigger [2022-07-14T16:05:14.491Z] OK: 8 MiB in 20 packages [2022-07-14T16:05:14.491Z] Removing intermediate container 2b5c3582a80b [2022-07-14T16:05:14.491Z] ---> 581688f5b509 [2022-07-14T16:05:14.491Z] Step 17/26 : WORKDIR / [2022-07-14T16:05:14.491Z] ---> Running in 1bdec5d54714 [2022-07-14T16:05:14.491Z] Removing intermediate container 1bdec5d54714 [2022-07-14T16:05:14.491Z] ---> ef0ddc3d60b4 [2022-07-14T16:05:14.491Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-14T16:05:14.491Z] ---> c52fb2c47034 [2022-07-14T16:05:14.491Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-14T16:05:14.752Z] ---> 57e0e1922442 [2022-07-14T16:05:14.752Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-14T16:05:15.029Z] ---> f1ca49d3ae38 [2022-07-14T16:05:15.029Z] Step 21/26 : EXPOSE 59984 [2022-07-14T16:05:15.029Z] ---> Running in ad975284f9cd [2022-07-14T16:05:15.029Z] Removing intermediate container ad975284f9cd [2022-07-14T16:05:15.029Z] ---> b64667aac363 [2022-07-14T16:05:15.029Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-14T16:05:15.029Z] ---> Running in d232d96e2ab6 [2022-07-14T16:05:15.029Z] Removing intermediate container d232d96e2ab6 [2022-07-14T16:05:15.029Z] ---> 96a2aea3ca9b [2022-07-14T16:05:15.029Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-14T16:05:15.289Z] ---> Running in d36526b4b882 [2022-07-14T16:05:15.289Z] Removing intermediate container d36526b4b882 [2022-07-14T16:05:15.289Z] ---> 265e22e9a202 [2022-07-14T16:05:15.289Z] Step 24/26 : LABEL arch=amd64 [2022-07-14T16:05:15.289Z] ---> Running in 4b24a6298663 [2022-07-14T16:05:15.548Z] Removing intermediate container 4b24a6298663 [2022-07-14T16:05:15.548Z] ---> a26c8d54f2c6 [2022-07-14T16:05:15.548Z] Step 25/26 : LABEL git_sha=58a46bebf81eee9640e76b602e43d09af82d89e1 [2022-07-14T16:05:15.548Z] ---> Running in de98189f6861 [2022-07-14T16:05:15.548Z] Removing intermediate container de98189f6861 [2022-07-14T16:05:15.548Z] ---> 121b36bcec0b [2022-07-14T16:05:15.548Z] Step 26/26 : LABEL version=0.0.1-dev.25 [2022-07-14T16:05:15.548Z] ---> Running in a99381bd7ecf [2022-07-14T16:05:15.807Z] Removing intermediate container a99381bd7ecf [2022-07-14T16:05:15.807Z] ---> 8e2e24bab394 [2022-07-14T16:05:15.807Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-14T16:05:15.807Z] Successfully built 8e2e24bab394 [2022-07-14T16:05:15.807Z] 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 [2022-07-14T16:05:15.915Z] provisioning config files... [2022-07-14T16:05:15.922Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3702918814947456547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:05:16.219Z] ---> docker-login.sh [2022-07-14T16:05:16.219Z] nexus3.edgexfoundry.org:10001 [2022-07-14T16:05:16.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:16.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:16.219Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:16.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:16.219Z] [2022-07-14T16:05:16.219Z] Login Succeeded [2022-07-14T16:05:16.219Z] nexus3.edgexfoundry.org:10002 [2022-07-14T16:05:16.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:16.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:16.219Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:16.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:16.219Z] [2022-07-14T16:05:16.219Z] Login Succeeded [2022-07-14T16:05:16.482Z] nexus3.edgexfoundry.org:10003 [2022-07-14T16:05:16.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:16.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:16.482Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:16.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:16.482Z] [2022-07-14T16:05:16.482Z] Login Succeeded [2022-07-14T16:05:16.482Z] nexus3.edgexfoundry.org:10004 [2022-07-14T16:05:16.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:16.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:16.742Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:16.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:16.742Z] [2022-07-14T16:05:16.742Z] Login Succeeded [2022-07-14T16:05:16.742Z] docker.io [2022-07-14T16:05:16.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:17.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:17.002Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:17.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:17.002Z] [2022-07-14T16:05:17.002Z] Login Succeeded [2022-07-14T16:05:17.002Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T16:05:17.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-14T16:05:17.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2022-07-14T16:05:17.063Z] using credential edgex-jenkins-ssh [Pipeline] echo [2022-07-14T16:05:17.067Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-07-14T16:05:17.067Z] 58a46bebf81eee9640e76b602e43d09af82d89e1 [2022-07-14T16:05:17.067Z] latest [2022-07-14T16:05:17.067Z] 0.0.1-dev.25 [2022-07-14T16:05:17.067Z] 58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25 [2022-07-14T16:05:17.067Z] main [2022-07-14T16:05:17.067Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [2022-07-14T16:05:17.087Z] Cloning the remote Git repository [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:17.163Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-14T16:05:17.399Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:58a46bebf81eee9640e76b602e43d09af82d89e1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:17.717Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:58a46bebf81eee9640e76b602e43d09af82d89e1 [2022-07-14T16:05:17.717Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-14T16:05:17.717Z] c215bdaa86c9: Preparing [2022-07-14T16:05:17.717Z] 33b626e164a9: Preparing [2022-07-14T16:05:17.717Z] 9340f868866c: Preparing [2022-07-14T16:05:17.717Z] e02bc0c65c54: Preparing [2022-07-14T16:05:17.717Z] 4fc242d58285: Preparing [2022-07-14T16:05:17.717Z] 4fc242d58285: Layer already exists [2022-07-14T16:05:17.717Z] 33b626e164a9: Pushed [2022-07-14T16:05:17.717Z] c215bdaa86c9: Pushed [2022-07-14T16:05:17.977Z] e02bc0c65c54: Pushed [2022-07-14T16:05:17.246Z] > git init /w/workspace/device-onvif-camera/28 # timeout=10 [2022-07-14T16:05:17.362Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-14T16:05:17.363Z] > git --version # timeout=10 [2022-07-14T16:05:17.392Z] > git --version # 'git version 2.25.1' [2022-07-14T16:05:17.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-14T16:05:17.598Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-14T16:05:18.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-14T16:05:18.617Z] Avoid second fetch [2022-07-14T16:05:18.618Z] Checking out Revision 58a46bebf81eee9640e76b602e43d09af82d89e1 (main) [2022-07-14T16:05:18.593Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-14T16:05:18.645Z] > git config core.sparsecheckout # timeout=10 [2022-07-14T16:05:18.660Z] > git checkout -f 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 [2022-07-14T16:05:20.517Z] 9340f868866c: Pushed [2022-07-14T16:05:20.517Z] 58a46bebf81eee9640e76b602e43d09af82d89e1: digest: sha256:740db4bb07eb89168ed74775fc51acc57a00930bee971948185f0d0000b2963e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:20.838Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:21.157Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-07-14T16:05:21.157Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-14T16:05:21.157Z] c215bdaa86c9: Preparing [2022-07-14T16:05:21.157Z] 33b626e164a9: Preparing [2022-07-14T16:05:21.157Z] 9340f868866c: Preparing [2022-07-14T16:05:21.157Z] e02bc0c65c54: Preparing [2022-07-14T16:05:21.157Z] 4fc242d58285: Preparing [2022-07-14T16:05:21.157Z] 33b626e164a9: Layer already exists [2022-07-14T16:05:21.157Z] 4fc242d58285: Layer already exists [2022-07-14T16:05:21.157Z] c215bdaa86c9: Layer already exists [2022-07-14T16:05:21.157Z] e02bc0c65c54: Layer already exists [2022-07-14T16:05:21.157Z] 9340f868866c: Layer already exists [2022-07-14T16:05:21.157Z] latest: digest: sha256:740db4bb07eb89168ed74775fc51acc57a00930bee971948185f0d0000b2963e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:21.474Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:21.792Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.25 [2022-07-14T16:05:21.792Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-14T16:05:21.792Z] c215bdaa86c9: Preparing [2022-07-14T16:05:21.792Z] 33b626e164a9: Preparing [2022-07-14T16:05:21.792Z] 9340f868866c: Preparing [2022-07-14T16:05:21.792Z] e02bc0c65c54: Preparing [2022-07-14T16:05:21.792Z] 4fc242d58285: Preparing [2022-07-14T16:05:21.792Z] 33b626e164a9: Layer already exists [2022-07-14T16:05:21.792Z] 4fc242d58285: Layer already exists [2022-07-14T16:05:21.792Z] e02bc0c65c54: Layer already exists [2022-07-14T16:05:21.792Z] 9340f868866c: Layer already exists [2022-07-14T16:05:21.792Z] c215bdaa86c9: Layer already exists [2022-07-14T16:05:21.792Z] 0.0.1-dev.25: digest: sha256:740db4bb07eb89168ed74775fc51acc57a00930bee971948185f0d0000b2963e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:22.115Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:22.433Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25 [2022-07-14T16:05:22.433Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-14T16:05:22.433Z] c215bdaa86c9: Preparing [2022-07-14T16:05:22.433Z] 33b626e164a9: Preparing [2022-07-14T16:05:22.433Z] 9340f868866c: Preparing [2022-07-14T16:05:22.433Z] e02bc0c65c54: Preparing [2022-07-14T16:05:22.433Z] 4fc242d58285: Preparing [2022-07-14T16:05:22.433Z] 4fc242d58285: Layer already exists [2022-07-14T16:05:22.433Z] 9340f868866c: Layer already exists [2022-07-14T16:05:22.433Z] c215bdaa86c9: Layer already exists [2022-07-14T16:05:22.433Z] e02bc0c65c54: Layer already exists [2022-07-14T16:05:22.433Z] 33b626e164a9: Layer already exists [2022-07-14T16:05:22.433Z] 58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25: digest: sha256:740db4bb07eb89168ed74775fc51acc57a00930bee971948185f0d0000b2963e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:22.766Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:23.080Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-07-14T16:05:23.080Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-14T16:05:23.080Z] c215bdaa86c9: Preparing [2022-07-14T16:05:23.080Z] 33b626e164a9: Preparing [2022-07-14T16:05:23.080Z] 9340f868866c: Preparing [2022-07-14T16:05:23.080Z] e02bc0c65c54: Preparing [2022-07-14T16:05:23.080Z] 4fc242d58285: Preparing [2022-07-14T16:05:23.080Z] 4fc242d58285: Layer already exists [2022-07-14T16:05:23.080Z] e02bc0c65c54: Layer already exists [2022-07-14T16:05:23.080Z] c215bdaa86c9: Layer already exists [2022-07-14T16:05:23.080Z] 9340f868866c: Layer already exists [2022-07-14T16:05:23.080Z] 33b626e164a9: Layer already exists [2022-07-14T16:05:23.080Z] main: digest: sha256:740db4bb07eb89168ed74775fc51acc57a00930bee971948185f0d0000b2963e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-14T16:05:23.142Z] ===================================================== [Pipeline] echo [2022-07-14T16:05:23.150Z] taggedImages: [2022-07-14T16:05:23.150Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:58a46bebf81eee9640e76b602e43d09af82d89e1 [2022-07-14T16:05:23.150Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-07-14T16:05:23.150Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.25 [2022-07-14T16:05:23.150Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25 [2022-07-14T16:05:23.150Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [2022-07-14T16:05:23.176Z] Commit message: "Merge pull request #109 from edgexfoundry/dependabot/go_modules/github.com/IOTechSystems/onvif-0.1.3" [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:23.447Z] [2022-07-14T16:05:23.447Z] GitHub has been notified of this commit’s build result [2022-07-14T16:05:23.447Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-14T16:05:23.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T16:05:23.558Z] [2022-07-14T16:05:23.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:24.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T16:05:24.000Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-14T16:05:24.000Z] 5eb5b503b376: Pulling fs layer [2022-07-14T16:05:24.000Z] 5c69ac0246d0: Pulling fs layer [2022-07-14T16:05:24.000Z] ec43610c2a17: Pulling fs layer [2022-07-14T16:05:24.000Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-14T16:05:24.000Z] 33b1e0a273af: Pulling fs layer [2022-07-14T16:05:24.000Z] 5d3b04190fa2: Pulling fs layer [2022-07-14T16:05:24.000Z] 2f39f015ded8: Pulling fs layer [2022-07-14T16:05:24.000Z] 33b1e0a273af: Waiting [2022-07-14T16:05:24.000Z] 5d3b04190fa2: Waiting [2022-07-14T16:05:24.000Z] 2f39f015ded8: Waiting [2022-07-14T16:05:24.000Z] 3a2ae6a8a46f: Waiting [2022-07-14T16:05:24.000Z] 5c69ac0246d0: Verifying Checksum [2022-07-14T16:05:24.000Z] 5c69ac0246d0: Download complete [2022-07-14T16:05:24.000Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-14T16:05:24.000Z] 3a2ae6a8a46f: Download complete [2022-07-14T16:05:24.000Z] 33b1e0a273af: Verifying Checksum [2022-07-14T16:05:24.000Z] 33b1e0a273af: Download complete [2022-07-14T16:05:24.000Z] 5d3b04190fa2: Verifying Checksum [2022-07-14T16:05:24.000Z] 5d3b04190fa2: Download complete [2022-07-14T16:05:24.041Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-14T16:05:24.041Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-14T16:05:24.041Z] Dload Upload Total Spent Left Speed [2022-07-14T16:05:24.041Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [2022-07-14T16:05:24.261Z] ec43610c2a17: Download complete [2022-07-14T16:05:24.261Z] 5eb5b503b376: Verifying Checksum [2022-07-14T16:05:24.261Z] 5eb5b503b376: Download complete [Pipeline] sh [2022-07-14T16:05:24.747Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-14T16:05:24.829Z] 2f39f015ded8: Download complete [2022-07-14T16:05:25.094Z] + sudo tee /etc/docker/daemon.new [2022-07-14T16:05:25.094Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-14T16:05:25.094Z] { [2022-07-14T16:05:25.094Z] "registry-mirrors": [ [2022-07-14T16:05:25.094Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-14T16:05:25.094Z] ], [2022-07-14T16:05:25.094Z] "bip": "10.250.0.254/24", [2022-07-14T16:05:25.094Z] "hosts": [ [2022-07-14T16:05:25.094Z] "tcp://0.0.0.0:5555", [2022-07-14T16:05:25.094Z] "unix:///var/run/docker.sock" [2022-07-14T16:05:25.094Z] ], [2022-07-14T16:05:25.094Z] "mtu": 1458, [2022-07-14T16:05:25.094Z] "selinux-enabled": true, [2022-07-14T16:05:25.094Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-14T16:05:25.094Z] } [Pipeline] sh [2022-07-14T16:05:25.397Z] 5eb5b503b376: Pull complete [2022-07-14T16:05:25.449Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-14T16:05:25.656Z] 5c69ac0246d0: Pull complete [2022-07-14T16:05:25.794Z] + sudo service docker restart [2022-07-14T16:05:26.222Z] ec43610c2a17: Pull complete [2022-07-14T16:05:26.222Z] 3a2ae6a8a46f: Pull complete [2022-07-14T16:05:26.481Z] 33b1e0a273af: Pull complete [2022-07-14T16:05:26.481Z] 5d3b04190fa2: Pull complete [2022-07-14T16:05:30.765Z] 2f39f015ded8: Pull complete [2022-07-14T16:05:30.765Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-14T16:05:30.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T16:05:30.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:05:30.867Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:05:30.916Z] $ 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 [2022-07-14T16:05:32.427Z] $ docker top d887f23a272dbe4ab64dd2b2de47690e8a490fbc8cc496cd889a77c32c9f3727 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:05:32.805Z] ---> job-cost.sh [2022-07-14T16:05:32.805Z] lf-activate-venv: SKIPPING [2022-07-14T16:05:32.805Z] INFO: No Stack... [2022-07-14T16:05:33.064Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-14T16:05:33.635Z] INFO: Archiving Costs [Pipeline] sh [2022-07-14T16:05:33.929Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-07-14T16:05:33.929Z] + cut -d, -f6 [Pipeline] lock [2022-07-14T16:05:33.944Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-28-stack-cost] [2022-07-14T16:05:33.952Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-28-stack-cost] did not exist. Created. [2022-07-14T16:05:33.952Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-14T16:05:34.261Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-14T16:05:34.295Z] Stashed 1 file(s) [Pipeline] } [2022-07-14T16:05:34.302Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-14T16:05:34.327Z] $ docker stop --time=1 d887f23a272dbe4ab64dd2b2de47690e8a490fbc8cc496cd889a77c32c9f3727 [2022-07-14T16:05:35.498Z] $ docker rm -f d887f23a272dbe4ab64dd2b2de47690e8a490fbc8cc496cd889a77c32c9f3727 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T16:05:44.191Z] provisioning config files... [2022-07-14T16:05:44.216Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/28@tmp/config1755847034594940870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:05:44.578Z] ---> docker-login.sh [2022-07-14T16:05:44.579Z] nexus3.edgexfoundry.org:10001 [2022-07-14T16:05:45.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:45.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:45.451Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:45.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:45.451Z] [2022-07-14T16:05:45.451Z] Login Succeeded [2022-07-14T16:05:45.451Z] nexus3.edgexfoundry.org:10002 [2022-07-14T16:05:45.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:46.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:46.003Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:46.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:46.003Z] [2022-07-14T16:05:46.003Z] Login Succeeded [2022-07-14T16:05:46.003Z] nexus3.edgexfoundry.org:10003 [2022-07-14T16:05:46.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:46.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:46.562Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:46.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:46.562Z] [2022-07-14T16:05:46.562Z] Login Succeeded [2022-07-14T16:05:46.562Z] nexus3.edgexfoundry.org:10004 [2022-07-14T16:05:46.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:46.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:46.838Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:46.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:46.838Z] [2022-07-14T16:05:46.838Z] Login Succeeded [2022-07-14T16:05:46.838Z] docker.io [2022-07-14T16:05:47.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:05:47.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:05:47.718Z] Configure a credential helper to remove this warning. See [2022-07-14T16:05:47.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:05:47.718Z] [2022-07-14T16:05:47.718Z] Login Succeeded [2022-07-14T16:05:47.718Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T16:05:47.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-14T16:05:48.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T16:05:48.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T16:05:48.288Z] ========================================================= [2022-07-14T16:05:48.288Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-14T16:05:48.288Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:05:48.691Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-14T16:05:48.981Z] Sending build context to Docker daemon 6.453MB [2022-07-14T16:05:49.260Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T16:05:49.260Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-14T16:05:49.260Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-14T16:05:49.260Z] b3c136eddcbf: Pulling fs layer [2022-07-14T16:05:49.260Z] c0a3192eca97: Pulling fs layer [2022-07-14T16:05:49.260Z] a050256f5b6f: Pulling fs layer [2022-07-14T16:05:49.260Z] 656be50a0ddc: Pulling fs layer [2022-07-14T16:05:49.260Z] 2bbca73fdf42: Pulling fs layer [2022-07-14T16:05:49.260Z] 46d945488cbd: Pulling fs layer [2022-07-14T16:05:49.260Z] 8a5474983e97: Pulling fs layer [2022-07-14T16:05:49.260Z] 329c88fbcd65: Pulling fs layer [2022-07-14T16:05:49.260Z] 46d945488cbd: Waiting [2022-07-14T16:05:49.260Z] 656be50a0ddc: Waiting [2022-07-14T16:05:49.260Z] 8a5474983e97: Waiting [2022-07-14T16:05:49.260Z] 329c88fbcd65: Waiting [2022-07-14T16:05:49.260Z] 2bbca73fdf42: Waiting [2022-07-14T16:05:49.260Z] a050256f5b6f: Download complete [2022-07-14T16:05:49.260Z] c0a3192eca97: Verifying Checksum [2022-07-14T16:05:49.260Z] c0a3192eca97: Download complete [2022-07-14T16:05:49.260Z] 2bbca73fdf42: Verifying Checksum [2022-07-14T16:05:49.260Z] 2bbca73fdf42: Download complete [2022-07-14T16:05:49.260Z] 46d945488cbd: Verifying Checksum [2022-07-14T16:05:49.260Z] 46d945488cbd: Download complete [2022-07-14T16:05:49.538Z] b3c136eddcbf: Verifying Checksum [2022-07-14T16:05:50.546Z] b3c136eddcbf: Pull complete [2022-07-14T16:05:50.546Z] 329c88fbcd65: Verifying Checksum [2022-07-14T16:05:50.546Z] 329c88fbcd65: Download complete [2022-07-14T16:05:51.155Z] c0a3192eca97: Pull complete [2022-07-14T16:05:51.434Z] a050256f5b6f: Pull complete [2022-07-14T16:05:51.713Z] 8a5474983e97: Verifying Checksum [2022-07-14T16:05:51.713Z] 8a5474983e97: Download complete [2022-07-14T16:05:52.697Z] 656be50a0ddc: Verifying Checksum [2022-07-14T16:05:52.697Z] 656be50a0ddc: Download complete [2022-07-14T16:06:07.796Z] 656be50a0ddc: Pull complete [2022-07-14T16:06:07.796Z] 2bbca73fdf42: Pull complete [2022-07-14T16:06:07.796Z] 46d945488cbd: Pull complete [2022-07-14T16:06:13.211Z] 8a5474983e97: Pull complete [2022-07-14T16:06:14.654Z] 329c88fbcd65: Pull complete [2022-07-14T16:06:14.654Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-14T16:06:14.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-14T16:06:14.654Z] ---> ff4287adb874 [2022-07-14T16:06:14.654Z] Step 3/13 : ARG MAKE="make build" [2022-07-14T16:06:15.250Z] ---> Running in 0ae8dfd347e2 [2022-07-14T16:06:15.530Z] Removing intermediate container 0ae8dfd347e2 [2022-07-14T16:06:15.530Z] ---> b1ffd6fecac7 [2022-07-14T16:06:15.530Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T16:06:15.530Z] ---> Running in 8e761f575ac8 [2022-07-14T16:06:15.813Z] Removing intermediate container 8e761f575ac8 [2022-07-14T16:06:15.813Z] ---> c7d9e8f74628 [2022-07-14T16:06:15.813Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-14T16:06:15.813Z] ---> Running in 469f733ed0ea [2022-07-14T16:06:16.098Z] Removing intermediate container 469f733ed0ea [2022-07-14T16:06:16.098Z] ---> 08a57d2b088b [2022-07-14T16:06:16.098Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-14T16:06:16.377Z] ---> Running in 7c2480a66967 [2022-07-14T16:06:16.653Z] Removing intermediate container 7c2480a66967 [2022-07-14T16:06:16.653Z] ---> 4919087c196c [2022-07-14T16:06:16.653Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T16:06:16.653Z] ---> Running in bc78ad768f92 [2022-07-14T16:06:18.631Z] Removing intermediate container bc78ad768f92 [2022-07-14T16:06:18.631Z] ---> d6905a7bd0d3 [2022-07-14T16:06:18.631Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T16:06:18.631Z] ---> Running in 6d1601990a46 [2022-07-14T16:06:19.238Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-14T16:06:20.215Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-14T16:06:21.207Z] OK: 221 MiB in 51 packages [2022-07-14T16:06:23.196Z] Removing intermediate container 6d1601990a46 [2022-07-14T16:06:23.196Z] ---> c2974facc191 [2022-07-14T16:06:23.196Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-14T16:06:23.196Z] ---> Running in 8971a07f5358 [2022-07-14T16:06:23.469Z] Removing intermediate container 8971a07f5358 [2022-07-14T16:06:23.469Z] ---> 8a67830cee5f [2022-07-14T16:06:23.469Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-14T16:06:24.083Z] ---> 659af493bc7f [2022-07-14T16:06:24.083Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T16:06:24.083Z] ---> Running in 22cb51d1dbf3 [2022-07-14T16:07:11.099Z] Removing intermediate container 22cb51d1dbf3 [2022-07-14T16:07:11.100Z] ---> 05cd8d6e423f [2022-07-14T16:07:11.100Z] Step 12/13 : COPY . . [2022-07-14T16:07:11.100Z] ---> 24e9e85716bb [2022-07-14T16:07:11.100Z] Step 13/13 : RUN ${MAKE} [2022-07-14T16:07:11.100Z] ---> Running in 84690f02aa04 [2022-07-14T16:07:11.100Z] noop [2022-07-14T16:07:11.100Z] Removing intermediate container 84690f02aa04 [2022-07-14T16:07:11.100Z] ---> d2b77874fc3e [2022-07-14T16:07:11.100Z] Successfully built d2b77874fc3e [2022-07-14T16:07:11.100Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:07:11.468Z] + docker inspect -f . ci-base-image-arm64 [2022-07-14T16:07:11.468Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:07:11.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-20153 does not seem to be running inside a container [2022-07-14T16:07:11.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/28 -v /w/workspace/device-onvif-camera/28:/w/workspace/device-onvif-camera/28:rw,z -v /w/workspace/device-onvif-camera/28@tmp:/w/workspace/device-onvif-camera/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-14T16:07:13.126Z] $ docker top 3b8616e77d6778707215e4d6aaa0ba448985481e619a3e661cddd59c4516da54 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T16:07:14.033Z] + go version [2022-07-14T16:07:14.034Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-14T16:07:14.061Z] $ docker stop --time=1 3b8616e77d6778707215e4d6aaa0ba448985481e619a3e661cddd59c4516da54 [2022-07-14T16:07:15.721Z] $ docker rm -f 3b8616e77d6778707215e4d6aaa0ba448985481e619a3e661cddd59c4516da54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:07:16.339Z] + docker inspect -f . ci-base-image-arm64 [2022-07-14T16:07:16.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:07:16.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-20153 does not seem to be running inside a container [2022-07-14T16:07:16.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/28 -v /w/workspace/device-onvif-camera/28:/w/workspace/device-onvif-camera/28:rw,z -v /w/workspace/device-onvif-camera/28@tmp:/w/workspace/device-onvif-camera/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-14T16:07:17.872Z] $ docker top 72f817a0cef08360ddb0f7f4c2ee2e8a0951f6ea900d75c2a1496df7caa13889 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T16:07:18.765Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/28 [Pipeline] fileExists [Pipeline] sh [2022-07-14T16:07:19.435Z] + make test [2022-07-14T16:07:19.435Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-14T16:07:20.872Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-14T16:08:42.681Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-14T16:08:48.109Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.089s coverage: 7.0% of statements [2022-07-14T16:08:48.109Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-14T16:09:06.405Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.786s coverage: 13.8% of statements [2022-07-14T16:09:06.405Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-14T16:09:06.405Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-14T16:09:28.613Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-14T16:09:28.613Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-14T16:09:28.613Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-14T16:09:30.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-14T16:09:30.089Z] $ docker stop --time=1 72f817a0cef08360ddb0f7f4c2ee2e8a0951f6ea900d75c2a1496df7caa13889 [2022-07-14T16:09:31.844Z] $ docker rm -f 72f817a0cef08360ddb0f7f4c2ee2e8a0951f6ea900d75c2a1496df7caa13889 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-14T16:09:32.818Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-14T16:09:32.838Z] Warning: overwriting stash ‘coverage-report’ [2022-07-14T16:09:33.366Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-14T16:09:33.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-14T16:09:34.095Z] + ls -al . [2022-07-14T16:09:34.095Z] total 248 [2022-07-14T16:09:34.095Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 16:09 . [2022-07-14T16:09:34.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 16:05 .. [2022-07-14T16:09:34.095Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 16:05 .git [2022-07-14T16:09:34.095Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 16:05 .github [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 14 16:05 .gitignore [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 16:05 .golangci.yml [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 14 16:05 Attribution.txt [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 14 16:05 CHANGELOG.md [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 14 16:05 Dockerfile [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 16:05 GOVERNANCE.md [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 14 16:05 Jenkinsfile [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 16:05 LICENSE [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 14 16:05 Makefile [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 14 16:05 OWNERS.md [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 14 16:05 README.md [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 14 16:03 VERSION [2022-07-14T16:09:34.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 16:05 bin [2022-07-14T16:09:34.095Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 16:05 cmd [2022-07-14T16:09:34.095Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 14 16:09 coverage.out [2022-07-14T16:09:34.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 16:05 doc [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 14 16:05 go.mod [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 14 16:05 go.sum [2022-07-14T16:09:34.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 16:05 internal [2022-07-14T16:09:34.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 16:05 snap [2022-07-14T16:09:34.095Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 14 16:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:09:34.455Z] + 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=58a46bebf81eee9640e76b602e43d09af82d89e1 --label arch=arm64 --label version=0.0.1-dev.25 . [2022-07-14T16:09:34.729Z] Sending build context to Docker daemon 6.524MB [2022-07-14T16:09:35.002Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T16:09:35.002Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-14T16:09:35.002Z] ---> d2b77874fc3e [2022-07-14T16:09:35.002Z] Step 3/26 : ARG MAKE="make build" [2022-07-14T16:09:35.002Z] ---> Running in 6dd677f5c13c [2022-07-14T16:09:35.278Z] Removing intermediate container 6dd677f5c13c [2022-07-14T16:09:35.278Z] ---> e457f3f1394d [2022-07-14T16:09:35.278Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T16:09:35.278Z] ---> Running in a02e4e1fcd9d [2022-07-14T16:09:35.877Z] Removing intermediate container a02e4e1fcd9d [2022-07-14T16:09:35.877Z] ---> 9fdc6c2992e4 [2022-07-14T16:09:35.877Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-14T16:09:35.877Z] ---> Running in f7fc922243e0 [2022-07-14T16:09:36.150Z] Removing intermediate container f7fc922243e0 [2022-07-14T16:09:36.151Z] ---> e4c6cbf36d6b [2022-07-14T16:09:36.151Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-14T16:09:36.151Z] ---> Running in 4f0aee31c424 [2022-07-14T16:09:36.424Z] Removing intermediate container 4f0aee31c424 [2022-07-14T16:09:36.424Z] ---> fe8862a37cc9 [2022-07-14T16:09:36.424Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T16:09:36.704Z] ---> Running in 4cb49e5b742c [2022-07-14T16:09:38.700Z] Removing intermediate container 4cb49e5b742c [2022-07-14T16:09:38.700Z] ---> 403362a50bb0 [2022-07-14T16:09:38.700Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T16:09:38.700Z] ---> Running in c2ca1a7fa73e [2022-07-14T16:09:39.297Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-14T16:09:40.282Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-14T16:09:41.265Z] OK: 221 MiB in 51 packages [2022-07-14T16:09:41.870Z] Removing intermediate container c2ca1a7fa73e [2022-07-14T16:09:41.870Z] ---> 998465dea9c4 [2022-07-14T16:09:41.870Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-14T16:09:42.144Z] ---> Running in a33eadd53098 [2022-07-14T16:09:42.418Z] Removing intermediate container a33eadd53098 [2022-07-14T16:09:42.418Z] ---> f98e5dcde99d [2022-07-14T16:09:42.418Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-14T16:09:43.018Z] ---> 13c8ed66ad99 [2022-07-14T16:09:43.018Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T16:09:43.018Z] ---> Running in 1f2eb6fa9456 [2022-07-14T16:09:45.001Z] Removing intermediate container 1f2eb6fa9456 [2022-07-14T16:09:45.001Z] ---> e0f9f9bc8589 [2022-07-14T16:09:45.001Z] Step 12/26 : COPY . . [2022-07-14T16:09:45.985Z] ---> 5e2c897d6045 [2022-07-14T16:09:45.985Z] Step 13/26 : RUN ${MAKE} [2022-07-14T16:09:45.985Z] ---> Running in 6d0191d3167f [2022-07-14T16:09:47.436Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.25 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-14T16:11:54.341Z] Removing intermediate container 6d0191d3167f [2022-07-14T16:11:54.341Z] ---> 8bb29e34030c [2022-07-14T16:11:54.341Z] Step 14/26 : FROM alpine:3.15 [2022-07-14T16:11:54.341Z] 3.15: Pulling from library/alpine [2022-07-14T16:11:54.341Z] 9981e73032c8: Pulling fs layer [2022-07-14T16:11:54.341Z] 9981e73032c8: Verifying Checksum [2022-07-14T16:11:54.341Z] 9981e73032c8: Download complete [2022-07-14T16:11:54.341Z] 9981e73032c8: Pull complete [2022-07-14T16:11:54.341Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-14T16:11:54.341Z] Status: Downloaded newer image for alpine:3.15 [2022-07-14T16:11:54.341Z] ---> 3fb3c9af89a9 [2022-07-14T16:11:54.341Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-14T16:11:54.341Z] ---> Running in 4c8d3f5c9aaf [2022-07-14T16:11:54.619Z] Removing intermediate container 4c8d3f5c9aaf [2022-07-14T16:11:54.619Z] ---> 6aa933b971de [2022-07-14T16:11:54.619Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-14T16:11:54.619Z] ---> Running in cf845dbaf1e4 [2022-07-14T16:11:55.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-14T16:11:55.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-14T16:11:56.473Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-14T16:11:56.473Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-14T16:11:56.473Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-14T16:11:56.473Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-14T16:11:56.748Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-14T16:11:56.748Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-14T16:11:56.748Z] Executing busybox-1.34.1-r5.trigger [2022-07-14T16:11:56.748Z] OK: 8 MiB in 20 packages [2022-07-14T16:11:57.729Z] Removing intermediate container cf845dbaf1e4 [2022-07-14T16:11:57.729Z] ---> 1f7dca64edff [2022-07-14T16:11:57.729Z] Step 17/26 : WORKDIR / [2022-07-14T16:11:57.729Z] ---> Running in b50b75449058 [2022-07-14T16:11:58.002Z] Removing intermediate container b50b75449058 [2022-07-14T16:11:58.002Z] ---> 4fce7ec5b0f3 [2022-07-14T16:11:58.002Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-14T16:11:59.434Z] ---> e62d920ed387 [2022-07-14T16:11:59.434Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-14T16:11:59.709Z] ---> 50ad27142e4c [2022-07-14T16:11:59.709Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-14T16:12:00.305Z] ---> 0799eb92d70a [2022-07-14T16:12:00.305Z] Step 21/26 : EXPOSE 59984 [2022-07-14T16:12:00.305Z] ---> Running in 9bcc9ee3333e [2022-07-14T16:12:00.578Z] Removing intermediate container 9bcc9ee3333e [2022-07-14T16:12:00.578Z] ---> 4fd1bac9aa75 [2022-07-14T16:12:00.578Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-14T16:12:00.578Z] ---> Running in f348fe7d040d [2022-07-14T16:12:00.851Z] Removing intermediate container f348fe7d040d [2022-07-14T16:12:00.851Z] ---> 543d08539931 [2022-07-14T16:12:00.851Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-14T16:12:01.124Z] ---> Running in 6f3181186a94 [2022-07-14T16:12:01.400Z] Removing intermediate container 6f3181186a94 [2022-07-14T16:12:01.400Z] ---> e92631e06847 [2022-07-14T16:12:01.400Z] Step 24/26 : LABEL arch=arm64 [2022-07-14T16:12:01.400Z] ---> Running in cbbf393bda7e [2022-07-14T16:12:01.676Z] Removing intermediate container cbbf393bda7e [2022-07-14T16:12:01.676Z] ---> d588eecbf21e [2022-07-14T16:12:01.676Z] Step 25/26 : LABEL git_sha=58a46bebf81eee9640e76b602e43d09af82d89e1 [2022-07-14T16:12:01.676Z] ---> Running in 7ab8e5cf1efc [2022-07-14T16:12:01.953Z] Removing intermediate container 7ab8e5cf1efc [2022-07-14T16:12:01.953Z] ---> d88b6bb55fad [2022-07-14T16:12:01.953Z] Step 26/26 : LABEL version=0.0.1-dev.25 [2022-07-14T16:12:02.226Z] ---> Running in 96f05b57e40b [2022-07-14T16:12:02.498Z] Removing intermediate container 96f05b57e40b [2022-07-14T16:12:02.498Z] ---> c0f583d23f7a [2022-07-14T16:12:02.498Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-14T16:12:02.498Z] Successfully built c0f583d23f7a [2022-07-14T16:12:02.498Z] 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 [2022-07-14T16:12:02.627Z] provisioning config files... [2022-07-14T16:12:02.646Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/28@tmp/config1946776156854773700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:12:02.996Z] ---> docker-login.sh [2022-07-14T16:12:02.996Z] nexus3.edgexfoundry.org:10001 [2022-07-14T16:12:03.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:12:03.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:12:03.269Z] Configure a credential helper to remove this warning. See [2022-07-14T16:12:03.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:12:03.269Z] [2022-07-14T16:12:03.269Z] Login Succeeded [2022-07-14T16:12:03.269Z] nexus3.edgexfoundry.org:10002 [2022-07-14T16:12:03.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:12:03.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:12:03.864Z] Configure a credential helper to remove this warning. See [2022-07-14T16:12:03.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:12:03.864Z] [2022-07-14T16:12:03.864Z] Login Succeeded [2022-07-14T16:12:03.864Z] nexus3.edgexfoundry.org:10003 [2022-07-14T16:12:04.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:12:04.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:12:04.408Z] Configure a credential helper to remove this warning. See [2022-07-14T16:12:04.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:12:04.408Z] [2022-07-14T16:12:04.408Z] Login Succeeded [2022-07-14T16:12:04.408Z] nexus3.edgexfoundry.org:10004 [2022-07-14T16:12:04.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:12:04.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:12:04.682Z] Configure a credential helper to remove this warning. See [2022-07-14T16:12:04.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:12:04.682Z] [2022-07-14T16:12:04.682Z] Login Succeeded [2022-07-14T16:12:04.682Z] docker.io [2022-07-14T16:12:05.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T16:12:05.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T16:12:05.547Z] Configure a credential helper to remove this warning. See [2022-07-14T16:12:05.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T16:12:05.547Z] [2022-07-14T16:12:05.547Z] Login Succeeded [2022-07-14T16:12:05.547Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T16:12:05.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-14T16:12:05.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T16:12:05.621Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-07-14T16:12:05.621Z] 58a46bebf81eee9640e76b602e43d09af82d89e1 [2022-07-14T16:12:05.621Z] latest [2022-07-14T16:12:05.621Z] 0.0.1-dev.25 [2022-07-14T16:12:05.621Z] 58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25 [2022-07-14T16:12:05.621Z] main [2022-07-14T16:12:05.621Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:05.992Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:58a46bebf81eee9640e76b602e43d09af82d89e1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:06.363Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:58a46bebf81eee9640e76b602e43d09af82d89e1 [2022-07-14T16:12:06.363Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-14T16:12:06.363Z] fa0153b770cd: Preparing [2022-07-14T16:12:06.363Z] 6280614dc847: Preparing [2022-07-14T16:12:06.363Z] f35b47c0effa: Preparing [2022-07-14T16:12:06.363Z] f84f43ded47a: Preparing [2022-07-14T16:12:06.363Z] 4f4ce317c6bb: Preparing [2022-07-14T16:12:06.647Z] 4f4ce317c6bb: Layer already exists [2022-07-14T16:12:06.647Z] 6280614dc847: Pushed [2022-07-14T16:12:06.647Z] fa0153b770cd: Pushed [2022-07-14T16:12:07.240Z] f84f43ded47a: Pushed [2022-07-14T16:12:12.638Z] f35b47c0effa: Pushed [2022-07-14T16:12:12.638Z] 58a46bebf81eee9640e76b602e43d09af82d89e1: digest: sha256:658c04c010047bbae444561cc4c72681acf9549269e2601788fdde4fd8c113f8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:13.008Z] + 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 [2022-07-14T16:12:13.372Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-07-14T16:12:13.372Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-14T16:12:13.372Z] fa0153b770cd: Preparing [2022-07-14T16:12:13.372Z] 6280614dc847: Preparing [2022-07-14T16:12:13.372Z] f35b47c0effa: Preparing [2022-07-14T16:12:13.372Z] f84f43ded47a: Preparing [2022-07-14T16:12:13.372Z] 4f4ce317c6bb: Preparing [2022-07-14T16:12:13.372Z] 6280614dc847: Layer already exists [2022-07-14T16:12:13.372Z] f84f43ded47a: Layer already exists [2022-07-14T16:12:13.372Z] fa0153b770cd: Layer already exists [2022-07-14T16:12:13.372Z] 4f4ce317c6bb: Layer already exists [2022-07-14T16:12:13.372Z] f35b47c0effa: Layer already exists [2022-07-14T16:12:13.645Z] latest: digest: sha256:658c04c010047bbae444561cc4c72681acf9549269e2601788fdde4fd8c113f8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:14.016Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:14.380Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.25 [2022-07-14T16:12:14.380Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-14T16:12:14.380Z] fa0153b770cd: Preparing [2022-07-14T16:12:14.380Z] 6280614dc847: Preparing [2022-07-14T16:12:14.380Z] f35b47c0effa: Preparing [2022-07-14T16:12:14.380Z] f84f43ded47a: Preparing [2022-07-14T16:12:14.380Z] 4f4ce317c6bb: Preparing [2022-07-14T16:12:14.380Z] f35b47c0effa: Layer already exists [2022-07-14T16:12:14.380Z] fa0153b770cd: Layer already exists [2022-07-14T16:12:14.380Z] f84f43ded47a: Layer already exists [2022-07-14T16:12:14.380Z] 6280614dc847: Layer already exists [2022-07-14T16:12:14.380Z] 4f4ce317c6bb: Layer already exists [2022-07-14T16:12:14.651Z] 0.0.1-dev.25: digest: sha256:658c04c010047bbae444561cc4c72681acf9549269e2601788fdde4fd8c113f8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:15.020Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:15.386Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25 [2022-07-14T16:12:15.387Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-14T16:12:15.387Z] fa0153b770cd: Preparing [2022-07-14T16:12:15.387Z] 6280614dc847: Preparing [2022-07-14T16:12:15.387Z] f35b47c0effa: Preparing [2022-07-14T16:12:15.387Z] f84f43ded47a: Preparing [2022-07-14T16:12:15.387Z] 4f4ce317c6bb: Preparing [2022-07-14T16:12:15.387Z] 4f4ce317c6bb: Layer already exists [2022-07-14T16:12:15.387Z] fa0153b770cd: Layer already exists [2022-07-14T16:12:15.387Z] 6280614dc847: Layer already exists [2022-07-14T16:12:15.387Z] f35b47c0effa: Layer already exists [2022-07-14T16:12:15.387Z] f84f43ded47a: Layer already exists [2022-07-14T16:12:15.658Z] 58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25: digest: sha256:658c04c010047bbae444561cc4c72681acf9549269e2601788fdde4fd8c113f8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:16.030Z] + 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 [2022-07-14T16:12:16.394Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-07-14T16:12:16.394Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-14T16:12:16.394Z] fa0153b770cd: Preparing [2022-07-14T16:12:16.394Z] 6280614dc847: Preparing [2022-07-14T16:12:16.394Z] f35b47c0effa: Preparing [2022-07-14T16:12:16.394Z] f84f43ded47a: Preparing [2022-07-14T16:12:16.394Z] 4f4ce317c6bb: Preparing [2022-07-14T16:12:16.394Z] 4f4ce317c6bb: Layer already exists [2022-07-14T16:12:16.394Z] fa0153b770cd: Layer already exists [2022-07-14T16:12:16.394Z] f35b47c0effa: Layer already exists [2022-07-14T16:12:16.394Z] 6280614dc847: Layer already exists [2022-07-14T16:12:16.394Z] f84f43ded47a: Layer already exists [2022-07-14T16:12:16.669Z] main: digest: sha256:658c04c010047bbae444561cc4c72681acf9549269e2601788fdde4fd8c113f8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-14T16:12:16.735Z] ===================================================== [Pipeline] echo [2022-07-14T16:12:16.744Z] taggedImages: [2022-07-14T16:12:16.744Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:58a46bebf81eee9640e76b602e43d09af82d89e1 [2022-07-14T16:12:16.744Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-07-14T16:12:16.744Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.25 [2022-07-14T16:12:16.744Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:58a46bebf81eee9640e76b602e43d09af82d89e1-0.0.1-dev.25 [2022-07-14T16:12:16.744Z] - 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 [2022-07-14T16:12:17.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-14T16:12:17.123Z] [2022-07-14T16:12:17.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:17.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-14T16:12:17.751Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-14T16:12:17.751Z] 8998bd30e6a1: Pulling fs layer [2022-07-14T16:12:17.751Z] 04944245beec: Pulling fs layer [2022-07-14T16:12:17.751Z] 699f458cf7ca: Pulling fs layer [2022-07-14T16:12:17.751Z] 765212b225bb: Pulling fs layer [2022-07-14T16:12:17.751Z] f23df028b6ca: Pulling fs layer [2022-07-14T16:12:17.751Z] d65c8cfc05b1: Pulling fs layer [2022-07-14T16:12:17.751Z] 2437ff75d9bd: Pulling fs layer [2022-07-14T16:12:17.751Z] 765212b225bb: Waiting [2022-07-14T16:12:17.751Z] f23df028b6ca: Waiting [2022-07-14T16:12:17.751Z] d65c8cfc05b1: Waiting [2022-07-14T16:12:17.751Z] 2437ff75d9bd: Waiting [2022-07-14T16:12:17.751Z] 04944245beec: Verifying Checksum [2022-07-14T16:12:17.751Z] 04944245beec: Download complete [2022-07-14T16:12:17.751Z] 765212b225bb: Download complete [2022-07-14T16:12:17.751Z] f23df028b6ca: Download complete [2022-07-14T16:12:17.751Z] d65c8cfc05b1: Verifying Checksum [2022-07-14T16:12:17.751Z] d65c8cfc05b1: Download complete [2022-07-14T16:12:18.027Z] 699f458cf7ca: Verifying Checksum [2022-07-14T16:12:18.027Z] 699f458cf7ca: Download complete [2022-07-14T16:12:18.301Z] 8998bd30e6a1: Verifying Checksum [2022-07-14T16:12:18.301Z] 8998bd30e6a1: Download complete [2022-07-14T16:12:20.940Z] 2437ff75d9bd: Verifying Checksum [2022-07-14T16:12:20.940Z] 2437ff75d9bd: Download complete [2022-07-14T16:12:22.916Z] 8998bd30e6a1: Pull complete [2022-07-14T16:12:22.916Z] 04944245beec: Pull complete [2022-07-14T16:12:24.349Z] 699f458cf7ca: Pull complete [2022-07-14T16:12:24.623Z] 765212b225bb: Pull complete [2022-07-14T16:12:25.607Z] f23df028b6ca: Pull complete [2022-07-14T16:12:25.881Z] d65c8cfc05b1: Pull complete [2022-07-14T16:12:40.986Z] 2437ff75d9bd: Pull complete [2022-07-14T16:12:40.986Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-14T16:12:40.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-14T16:12:40.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:12:41.247Z] prd-ubuntu20.04-docker-arm64-4c-16g-20153 does not seem to be running inside a container [2022-07-14T16:12:41.334Z] $ 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/28 -v /w/workspace/device-onvif-camera/28:/w/workspace/device-onvif-camera/28:rw,z -v /w/workspace/device-onvif-camera/28@tmp:/w/workspace/device-onvif-camera/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-14T16:12:43.810Z] $ docker top 40aac0248c17e0c3d5e5dfa0daac6b8d16574efb483fbc75f0cac9fe6ba62590 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:12:44.723Z] ---> job-cost.sh [2022-07-14T16:12:44.724Z] lf-activate-venv: SKIPPING [2022-07-14T16:12:44.724Z] INFO: No Stack... [2022-07-14T16:12:45.318Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-14T16:12:45.911Z] INFO: Archiving Costs [Pipeline] sh [2022-07-14T16:12:46.569Z] + cat /w/workspace/device-onvif-camera/28/archives/cost.csv [2022-07-14T16:12:46.569Z] + cut -d, -f6 [Pipeline] lock [2022-07-14T16:12:46.630Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-28-stack-cost] [2022-07-14T16:12:46.636Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-28-stack-cost] did not exist. Created. [2022-07-14T16:12:46.636Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-14T16:12:47.313Z] /w/workspace/device-onvif-camera/28@tmp/durable-6f27e372/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-14T16:12:47.996Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-14T16:12:48.016Z] Warning: overwriting stash ‘stack-cost’ [2022-07-14T16:12:48.117Z] Stashed 1 file(s) [Pipeline] } [2022-07-14T16:12:48.124Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-14T16:12:48.145Z] $ docker stop --time=1 40aac0248c17e0c3d5e5dfa0daac6b8d16574efb483fbc75f0cac9fe6ba62590 [2022-07-14T16:12:49.682Z] $ docker rm -f 40aac0248c17e0c3d5e5dfa0daac6b8d16574efb483fbc75f0cac9fe6ba62590 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-14T16:12:50.215Z] provisioning config files... [2022-07-14T16:12:50.223Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3934765245353238214tmp [Pipeline] { [Pipeline] sh [2022-07-14T16:12:50.517Z] + set +x [2022-07-14T16:12:50.517Z] + curl -s https://codecov.io/bash [2022-07-14T16:12:50.517Z] + bash -s -- [2022-07-14T16:12:50.517Z] [2022-07-14T16:12:50.517Z] _____ _ [2022-07-14T16:12:50.517Z] / ____| | | [2022-07-14T16:12:50.517Z] | | ___ __| | ___ ___ _____ __ [2022-07-14T16:12:50.517Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-14T16:12:50.517Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-14T16:12:50.517Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-14T16:12:50.517Z] Bash-1.0.6 [2022-07-14T16:12:50.517Z] [2022-07-14T16:12:50.517Z] [2022-07-14T16:12:50.517Z] ==> git version 2.25.1 found [2022-07-14T16:12:50.517Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-14T16:12:50.517Z] Release-Date: 2020-01-08 [2022-07-14T16:12:50.517Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-14T16:12:50.517Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-14T16:12:50.517Z] ==> Jenkins CI detected. [2022-07-14T16:12:50.517Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-07-14T16:12:50.517Z] project root: . [2022-07-14T16:12:50.517Z] --> token set from env [2022-07-14T16:12:50.517Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-14T16:12:50.517Z] ==> Running gcov in . (disable via -X gcov) [2022-07-14T16:12:50.517Z] ==> Python coveragepy not found [2022-07-14T16:12:50.517Z] ==> Searching for coverage reports in: [2022-07-14T16:12:50.517Z] + . [2022-07-14T16:12:50.517Z] -> Found 1 reports [2022-07-14T16:12:50.517Z] ==> Detecting git/mercurial file structure [2022-07-14T16:12:50.517Z] ==> Reading reports [2022-07-14T16:12:50.517Z] + ./coverage.out bytes=70262 [2022-07-14T16:12:50.517Z] ==> Appending adjustments [2022-07-14T16:12:50.517Z] https://docs.codecov.io/docs/fixing-reports [2022-07-14T16:12:50.778Z] + Found adjustments [2022-07-14T16:12:50.778Z] ==> Gzipping contents [2022-07-14T16:12:50.778Z] 12K /tmp/codecov.w4fVy4.gz [2022-07-14T16:12:50.778Z] ==> Uploading reports [2022-07-14T16:12:50.778Z] url: https://codecov.io [2022-07-14T16:12:50.778Z] query: branch=main&commit=58a46bebf81eee9640e76b602e43d09af82d89e1&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-14T16:12:50.778Z] -> Pinging Codecov [2022-07-14T16:12:50.778Z] 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=58a46bebf81eee9640e76b602e43d09af82d89e1&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-14T16:12:51.040Z] -> Uploading to [2022-07-14T16:12:51.040Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-14/F29A59C45E3A92E06B3E522C9905F8EF/58a46bebf81eee9640e76b602e43d09af82d89e1/d84b6e5e-ec40-4303-a83e-0ab1eb3a5329.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220714%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220714T161250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=739d5bffe7b4d4ec24b1c5c5cd47251f0fea91ccfbe3ba6c7dd337877d519e15 [2022-07-14T16:12:51.040Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-14T16:12:51.040Z] Dload Upload Total Spent Left Speed [2022-07-14T16:12:51.301Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9469 0 0 100 9469 0 38181 --:--:-- --:--:-- --:--:-- 38181 [2022-07-14T16:12:51.301Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/58a46bebf81eee9640e76b602e43d09af82d89e1 [Pipeline] } [2022-07-14T16:12:51.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-14T16:12:51.499Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-14T16:12:51.511Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:51.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-14T16:12:51.808Z] [2022-07-14T16:12:51.808Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:12:52.113Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-14T16:12:52.113Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-14T16:12:52.113Z] df9b9388f04a: Already exists [2022-07-14T16:12:52.113Z] 52dc419b0ee2: Pulling fs layer [2022-07-14T16:12:52.113Z] 25bc292e5bac: Pulling fs layer [2022-07-14T16:12:52.113Z] 114826534d7a: Pulling fs layer [2022-07-14T16:12:52.113Z] 4657fd5d0bcf: Pulling fs layer [2022-07-14T16:12:52.113Z] 6ad1cebc031e: Pulling fs layer [2022-07-14T16:12:52.113Z] 8a3aa393b2d8: Pulling fs layer [2022-07-14T16:12:52.113Z] 8a3aa393b2d8: Waiting [2022-07-14T16:12:52.113Z] 6ad1cebc031e: Waiting [2022-07-14T16:12:52.113Z] 25bc292e5bac: Verifying Checksum [2022-07-14T16:12:52.113Z] 25bc292e5bac: Download complete [2022-07-14T16:12:52.113Z] 52dc419b0ee2: Download complete [2022-07-14T16:12:52.113Z] 4657fd5d0bcf: Verifying Checksum [2022-07-14T16:12:52.113Z] 4657fd5d0bcf: Download complete [2022-07-14T16:12:52.376Z] 52dc419b0ee2: Pull complete [2022-07-14T16:12:52.376Z] 25bc292e5bac: Pull complete [2022-07-14T16:12:52.376Z] 6ad1cebc031e: Verifying Checksum [2022-07-14T16:12:52.376Z] 6ad1cebc031e: Download complete [2022-07-14T16:12:52.950Z] 114826534d7a: Verifying Checksum [2022-07-14T16:12:52.950Z] 114826534d7a: Download complete [2022-07-14T16:12:52.950Z] 8a3aa393b2d8: Verifying Checksum [2022-07-14T16:12:52.950Z] 8a3aa393b2d8: Download complete [2022-07-14T16:12:57.138Z] 114826534d7a: Pull complete [2022-07-14T16:12:57.138Z] 4657fd5d0bcf: Pull complete [2022-07-14T16:12:57.138Z] 6ad1cebc031e: Pull complete [2022-07-14T16:13:00.429Z] 8a3aa393b2d8: Pull complete [2022-07-14T16:13:00.429Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-14T16:13:00.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-14T16:13:00.429Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:13:00.528Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:13:00.573Z] $ 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 [2022-07-14T16:13:02.681Z] $ docker top 5ceb0798aea5dc217f2fe92131bd0ba534512d21f678fb9c11987ced8b6df200 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-14T16:13:02.762Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-07-14T16:13:03.045Z] + set -o pipefail [2022-07-14T16:13:03.045Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-07-14T16:13:09.631Z] [2022-07-14T16:13:09.631Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-07-14T16:13:09.631Z] [2022-07-14T16:13:09.631Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/9c81633b-e1be-4014-9a42-7182a2743978 [2022-07-14T16:13:09.631Z] [2022-07-14T16:13:09.631Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-14T16:13:09.631Z] [2022-07-14T16:13:09.631Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-14T16:13:09.631Z] [2022-07-14T16:13:09.631Z] [2022-07-14T16:13:09.631Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-14T16:13:09.631Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-14T16:13:09.647Z] $ docker stop --time=1 5ceb0798aea5dc217f2fe92131bd0ba534512d21f678fb9c11987ced8b6df200 [2022-07-14T16:13:11.965Z] $ docker rm -f 5ceb0798aea5dc217f2fe92131bd0ba534512d21f678fb9c11987ced8b6df200 [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-14T16:13:12.705Z] + git log --format=format:%s -1 58a46bebf81eee9640e76b602e43d09af82d89e1 [Pipeline] sh [2022-07-14T16:13:12.998Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-14T16:13:12.998Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:13:13.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T16:13:13.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:13:13.381Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:13:13.419Z] $ 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 [2022-07-14T16:13:13.860Z] $ docker top 56c1f09becc44d10214db5e9609de39ad573f38d7a4043d6fa0eb2968566be9e -eo pid,comm [2022-07-14T16:13:13.914Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-14T16:13:13.914Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-14T16:13:13.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-14T16:13:13.948Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-14T16:13:14.062Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-14T16:13:14.068Z] $ docker exec 56c1f09becc44d10214db5e9609de39ad573f38d7a4043d6fa0eb2968566be9e ssh-agent [2022-07-14T16:13:14.180Z] SSH_AUTH_SOCK=/tmp/ssh-hb5DwTn86Gxk/agent.32 [2022-07-14T16:13:14.180Z] SSH_AGENT_PID=39 [2022-07-14T16:13:14.185Z] Running ssh-add (command line suppressed) [2022-07-14T16:13:14.321Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1444292668453020239.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1444292668453020239.key) [2022-07-14T16:13:14.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-14T16:13:14.645Z] + git semver tag [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,841 [run_tag] DEBUG tag force:False [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,841 [check_head_tag] DEBUG check head tag [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,842 [execute] INFO git cat-file --batch-check [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,843 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,846 [execute] INFO git cat-file --batch [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,857 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,857 [execute] INFO git tag -a v0.0.1-dev.25 -m v0.0.1-dev.25 [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,857 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.25', '-m', 'v0.0.1-dev.25'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-07-14T16:13:14.906Z] 2022-07-14 16:13:14,860 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-14T16:13:14.906Z] 0.0.1-dev.25 [Pipeline] } [2022-07-14T16:13:14.919Z] $ docker exec --env ******** --env ******** 56c1f09becc44d10214db5e9609de39ad573f38d7a4043d6fa0eb2968566be9e ssh-agent -k [2022-07-14T16:13:15.033Z] unset SSH_AUTH_SOCK; [2022-07-14T16:13:15.033Z] unset SSH_AGENT_PID; [2022-07-14T16:13:15.033Z] echo Agent pid 39 killed; [2022-07-14T16:13:15.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-14T16:13:15.344Z] + git semver [Pipeline] } [2022-07-14T16:13:15.621Z] $ docker stop --time=1 56c1f09becc44d10214db5e9609de39ad573f38d7a4043d6fa0eb2968566be9e [2022-07-14T16:13:16.977Z] $ docker rm -f 56c1f09becc44d10214db5e9609de39ad573f38d7a4043d6fa0eb2968566be9e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:13:17.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-14T16:13:17.388Z] [2022-07-14T16:13:17.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:13:17.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-14T16:13:17.690Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-14T16:13:17.690Z] ab5ef0e58194: Pulling fs layer [2022-07-14T16:13:17.690Z] 9712f1f96733: Pulling fs layer [2022-07-14T16:13:17.690Z] 63f879dbbcfc: Pulling fs layer [2022-07-14T16:13:17.690Z] 0d9ebad4ef96: Pulling fs layer [2022-07-14T16:13:17.690Z] e9a5061849ea: Pulling fs layer [2022-07-14T16:13:17.690Z] d747dcd14b5f: Pulling fs layer [2022-07-14T16:13:17.690Z] 2de7ff778b66: Pulling fs layer [2022-07-14T16:13:17.690Z] 0d9ebad4ef96: Waiting [2022-07-14T16:13:17.690Z] d747dcd14b5f: Waiting [2022-07-14T16:13:17.690Z] 2de7ff778b66: Waiting [2022-07-14T16:13:17.690Z] e9a5061849ea: Waiting [2022-07-14T16:13:17.690Z] 9712f1f96733: Verifying Checksum [2022-07-14T16:13:17.690Z] 9712f1f96733: Download complete [2022-07-14T16:13:17.958Z] 63f879dbbcfc: Verifying Checksum [2022-07-14T16:13:17.958Z] 63f879dbbcfc: Download complete [2022-07-14T16:13:18.221Z] 0d9ebad4ef96: Verifying Checksum [2022-07-14T16:13:18.221Z] 0d9ebad4ef96: Download complete [2022-07-14T16:13:18.221Z] d747dcd14b5f: Download complete [2022-07-14T16:13:18.221Z] ab5ef0e58194: Verifying Checksum [2022-07-14T16:13:18.221Z] ab5ef0e58194: Download complete [2022-07-14T16:13:18.480Z] e9a5061849ea: Verifying Checksum [2022-07-14T16:13:18.480Z] e9a5061849ea: Download complete [2022-07-14T16:13:18.480Z] 2de7ff778b66: Verifying Checksum [2022-07-14T16:13:18.480Z] 2de7ff778b66: Download complete [2022-07-14T16:13:21.783Z] ab5ef0e58194: Pull complete [2022-07-14T16:13:21.783Z] 9712f1f96733: Pull complete [2022-07-14T16:13:22.042Z] 63f879dbbcfc: Pull complete [2022-07-14T16:13:26.237Z] 0d9ebad4ef96: Pull complete [2022-07-14T16:13:26.237Z] e9a5061849ea: Pull complete [2022-07-14T16:13:26.237Z] d747dcd14b5f: Pull complete [2022-07-14T16:13:27.178Z] 2de7ff778b66: Pull complete [2022-07-14T16:13:27.178Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-14T16:13:27.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-14T16:13:27.178Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:13:27.276Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:13:27.318Z] $ 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 [2022-07-14T16:13:29.530Z] $ docker top d762948246b12fe574d647516e46b60d050813c7bbac8314f2aedfaa0892e883 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-14T16:13:29.612Z] provisioning config files... [2022-07-14T16:13:29.623Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7827855880749673056tmp [2022-07-14T16:13:29.637Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2386026517048578807tmp [2022-07-14T16:13:29.649Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4355247400327804665tmp [Pipeline] { [Pipeline] echo [2022-07-14T16:13:29.663Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:29.948Z] ---> sigul-configuration.sh [2022-07-14T16:13:29.948Z] gpg: directory `/root/.gnupg' created [2022-07-14T16:13:29.948Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-14T16:13:29.948Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-14T16:13:29.948Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-14T16:13:29.948Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-14T16:13:29.948Z] gpg: CAST5 encrypted data [2022-07-14T16:13:29.948Z] gpg: encrypted with 1 passphrase [2022-07-14T16:13:29.948Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-14T16:13:30.238Z] + mkdir /home/jenkins [2022-07-14T16:13:30.238Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-14T16:13:30.529Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-07-14T16:13:30.539Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:30.829Z] ---> sigul-install.sh [2022-07-14T16:13:30.829Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-14T16:13:31.118Z] + git tag --list [2022-07-14T16:13:31.118Z] v0.0.0 [2022-07-14T16:13:31.118Z] v0.0.1-dev.1 [2022-07-14T16:13:31.118Z] v0.0.1-dev.10 [2022-07-14T16:13:31.118Z] v0.0.1-dev.11 [2022-07-14T16:13:31.118Z] v0.0.1-dev.12 [2022-07-14T16:13:31.118Z] v0.0.1-dev.13 [2022-07-14T16:13:31.118Z] v0.0.1-dev.14 [2022-07-14T16:13:31.118Z] v0.0.1-dev.15 [2022-07-14T16:13:31.118Z] v0.0.1-dev.16 [2022-07-14T16:13:31.118Z] v0.0.1-dev.17 [2022-07-14T16:13:31.118Z] v0.0.1-dev.18 [2022-07-14T16:13:31.118Z] v0.0.1-dev.19 [2022-07-14T16:13:31.118Z] v0.0.1-dev.2 [2022-07-14T16:13:31.118Z] v0.0.1-dev.20 [2022-07-14T16:13:31.118Z] v0.0.1-dev.21 [2022-07-14T16:13:31.118Z] v0.0.1-dev.22 [2022-07-14T16:13:31.118Z] v0.0.1-dev.23 [2022-07-14T16:13:31.118Z] v0.0.1-dev.24 [2022-07-14T16:13:31.118Z] v0.0.1-dev.25 [2022-07-14T16:13:31.118Z] v0.0.1-dev.3 [2022-07-14T16:13:31.118Z] v0.0.1-dev.4 [2022-07-14T16:13:31.118Z] v0.0.1-dev.5 [2022-07-14T16:13:31.118Z] v0.0.1-dev.6 [2022-07-14T16:13:31.118Z] v0.0.1-dev.7 [2022-07-14T16:13:31.118Z] v0.0.1-dev.8 [2022-07-14T16:13:31.118Z] v0.0.1-dev.9 [Pipeline] sh [2022-07-14T16:13:31.409Z] + lftools sign git-tag v0.0.1-dev.25 [2022-07-14T16:13:31.980Z] Signing Git tag with Sigul... [2022-07-14T16:13:31.980Z] Signing v0.0.1-dev.25 [Pipeline] echo [2022-07-14T16:13:32.252Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:32.541Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-14T16:13:32.548Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-14T16:13:32.569Z] $ docker stop --time=1 d762948246b12fe574d647516e46b60d050813c7bbac8314f2aedfaa0892e883 [2022-07-14T16:13:33.920Z] $ docker rm -f d762948246b12fe574d647516e46b60d050813c7bbac8314f2aedfaa0892e883 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-14T16:13:34.343Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-14T16:13:34.343Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:13:34.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T16:13:34.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:13:34.738Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:13:34.780Z] $ 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 [2022-07-14T16:13:35.192Z] $ docker top 3ae9213ce9a6755c0f83b32487f596a334a6515842b8a006a4ea038dc41a2b93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-14T16:13:35.279Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-14T16:13:35.279Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-14T16:13:35.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-14T16:13:35.406Z] $ docker exec 3ae9213ce9a6755c0f83b32487f596a334a6515842b8a006a4ea038dc41a2b93 ssh-agent [2022-07-14T16:13:35.545Z] SSH_AUTH_SOCK=/tmp/ssh-jjOIUOI141aP/agent.32 [2022-07-14T16:13:35.545Z] SSH_AGENT_PID=38 [2022-07-14T16:13:35.551Z] Running ssh-add (command line suppressed) [2022-07-14T16:13:35.667Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7048196358116232270.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7048196358116232270.key) [2022-07-14T16:13:35.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-14T16:13:35.974Z] + git semver bump pre [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,163 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,163 [bump_version] DEBUG bumping version:0.0.1-dev.25 on axis:pre with prefix:dev [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,163 [bump_version] DEBUG bumped version:0.0.1-dev.26 [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,163 [write_version] DEBUG write version:0.0.1-dev.26 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,163 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,163 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,165 [execute] INFO git cat-file --batch-check [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,170 [execute] INFO git cat-file --batch [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-14T16:13:36.235Z] 2022-07-14 16:13:36,176 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-14T16:13:36.235Z] 0.0.1-dev.26 [Pipeline] } [2022-07-14T16:13:36.249Z] $ docker exec --env ******** --env ******** 3ae9213ce9a6755c0f83b32487f596a334a6515842b8a006a4ea038dc41a2b93 ssh-agent -k [2022-07-14T16:13:36.350Z] unset SSH_AUTH_SOCK; [2022-07-14T16:13:36.351Z] unset SSH_AGENT_PID; [2022-07-14T16:13:36.351Z] echo Agent pid 38 killed; [2022-07-14T16:13:36.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-14T16:13:36.671Z] + git semver [Pipeline] } [2022-07-14T16:13:36.950Z] $ docker stop --time=1 3ae9213ce9a6755c0f83b32487f596a334a6515842b8a006a4ea038dc41a2b93 [2022-07-14T16:13:38.247Z] $ docker rm -f 3ae9213ce9a6755c0f83b32487f596a334a6515842b8a006a4ea038dc41a2b93 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-14T16:13:38.601Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-14T16:13:38.601Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:13:38.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T16:13:38.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:13:38.985Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:13:39.026Z] $ 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 [2022-07-14T16:13:39.430Z] $ docker top 2f67e0c87f13812bb89fbfab3757e939506eb21c3d55f7c5dfd19f0dce693746 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-14T16:13:39.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-14T16:13:39.528Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-14T16:13:39.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-14T16:13:39.673Z] $ docker exec 2f67e0c87f13812bb89fbfab3757e939506eb21c3d55f7c5dfd19f0dce693746 ssh-agent [2022-07-14T16:13:39.795Z] SSH_AUTH_SOCK=/tmp/ssh-s3QIwGsZqSLj/agent.33 [2022-07-14T16:13:39.795Z] SSH_AGENT_PID=39 [2022-07-14T16:13:39.803Z] Running ssh-add (command line suppressed) [2022-07-14T16:13:39.918Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1848408212943023623.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1848408212943023623.key) [2022-07-14T16:13:39.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-14T16:13:40.292Z] + git semver push [2022-07-14T16:13:40.619Z] 2022-07-14 16:13:40,467 [run_push] DEBUG push [2022-07-14T16:13:40.619Z] 2022-07-14 16:13:40,468 [execute] INFO git cat-file --batch-check [2022-07-14T16:13:40.619Z] 2022-07-14 16:13:40,468 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-14T16:13:40.619Z] 2022-07-14 16:13:40,472 [execute] INFO git rev-list bff95d198a2ddaa9d934740de9ce48282a40f1c2 -- [2022-07-14T16:13:40.619Z] 2022-07-14 16:13:40,473 [execute] DEBUG Popen(['git', 'rev-list', 'bff95d198a2ddaa9d934740de9ce48282a40f1c2', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-14T16:13:40.619Z] 2022-07-14 16:13:40,478 [execute] INFO git fetch -v origin [2022-07-14T16:13:40.620Z] 2022-07-14 16:13:40,479 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-14T16:13:41.194Z] 2022-07-14 16:13:40,950 [run_push] DEBUG no remote changes detected [2022-07-14T16:13:41.194Z] 2022-07-14 16:13:40,950 [execute] INFO git push origin semver [2022-07-14T16:13:41.194Z] 2022-07-14 16:13:40,951 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-14T16:13:42.135Z] 2022-07-14 16:13:41,786 [run_push] DEBUG push all version tags [2022-07-14T16:13:42.135Z] 2022-07-14 16:13:41,786 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-14T16:13:42.135Z] 2022-07-14 16:13:41,787 [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) [2022-07-14T16:13:42.712Z] 2022-07-14 16:13:42,414 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-14T16:13:42.712Z] 0.0.1-dev.26 [Pipeline] } [2022-07-14T16:13:42.727Z] $ docker exec --env ******** --env ******** 2f67e0c87f13812bb89fbfab3757e939506eb21c3d55f7c5dfd19f0dce693746 ssh-agent -k [2022-07-14T16:13:42.836Z] unset SSH_AUTH_SOCK; [2022-07-14T16:13:42.836Z] unset SSH_AGENT_PID; [2022-07-14T16:13:42.836Z] echo Agent pid 39 killed; [2022-07-14T16:13:42.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-14T16:13:43.159Z] + git semver [Pipeline] } [2022-07-14T16:13:43.438Z] $ docker stop --time=1 2f67e0c87f13812bb89fbfab3757e939506eb21c3d55f7c5dfd19f0dce693746 [2022-07-14T16:13:44.735Z] $ docker rm -f 2f67e0c87f13812bb89fbfab3757e939506eb21c3d55f7c5dfd19f0dce693746 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-14T16:13:45.342Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-07-14T16:13:45.342Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-14T16:13:45.342Z] total 16 [2022-07-14T16:13:45.342Z] drwxr-xr-x 3 root root 4096 Jul 14 16:05 . [2022-07-14T16:13:45.342Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 16:13 .. [2022-07-14T16:13:45.342Z] drwxr-xr-x 2 root root 4096 Jul 14 16:05 cost [2022-07-14T16:13:45.342Z] -rw-r--r-- 1 root root 89 Jul 14 16:05 cost.csv [2022-07-14T16:13:45.342Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-14T16:13:45.342Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-14T16:13:45.342Z] total 16 [2022-07-14T16:13:45.342Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 16:05 . [2022-07-14T16:13:45.342Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 16:13 .. [2022-07-14T16:13:45.342Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 16:05 cost [2022-07-14T16:13:45.342Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 14 16:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:45.640Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:46.504Z] ---> package-listing.sh [2022-07-14T16:13:46.504Z] ++ facter osfamily [2022-07-14T16:13:46.504Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-14T16:13:46.764Z] + OS_FAMILY=debian [2022-07-14T16:13:46.764Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-07-14T16:13:46.764Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-14T16:13:46.764Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-14T16:13:46.764Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-14T16:13:46.764Z] + PACKAGES=/tmp/packages_start.txt [2022-07-14T16:13:46.764Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-07-14T16:13:46.765Z] + PACKAGES=/tmp/packages_end.txt [2022-07-14T16:13:46.765Z] + case "${OS_FAMILY}" in [2022-07-14T16:13:46.765Z] + dpkg -l [2022-07-14T16:13:46.765Z] + grep '^ii' [2022-07-14T16:13:46.765Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-14T16:13:46.765Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-14T16:13:46.765Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-14T16:13:46.765Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-07-14T16:13:46.765Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-07-14T16:13:46.765Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2022-07-14T16:13:46.775Z] 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 [2022-07-14T16:13:47.052Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T16:13:47.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T16:13:47.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T16:13:47.696Z] prd-ubuntu20.04-docker-8c-8g-20150 does not seem to be running inside a container [2022-07-14T16:13:47.738Z] $ 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 [2022-07-14T16:13:48.000Z] $ docker top 12ca730f01278078b2aa7d93635ca8d04d3ea9773fa7fc36e94280a647282758 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T16:13:48.349Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-14T16:13:48.637Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-14T16:13:48.924Z] + ls /var/log/sa-host [2022-07-14T16:13:48.925Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T16:13:48.993Z] provisioning config files... [2022-07-14T16:13:49.003Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1499243247402939273tmp [Pipeline] { [Pipeline] echo [2022-07-14T16:13:49.017Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:49.300Z] ---> create-netrc.sh [Pipeline] } [2022-07-14T16:13:49.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:49.642Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-14T16:13:49.651Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:49.938Z] ---> sudo-logs.sh [2022-07-14T16:13:49.938Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-14T16:13:49.970Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:50.256Z] ---> job-cost.sh [2022-07-14T16:13:50.256Z] lf-activate-venv: SKIPPING [2022-07-14T16:13:50.256Z] DEBUG: total: 0.2199999988079071 [2022-07-14T16:13:50.256Z] INFO: Retrieving Stack Cost... [2022-07-14T16:13:50.827Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-14T16:13:51.087Z] INFO: Archiving Costs [Pipeline] echo [2022-07-14T16:13:51.100Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T16:13:51.392Z] ---> logs-deploy.sh [2022-07-14T16:13:51.392Z] lf-activate-venv: SKIPPING [2022-07-14T16:13:51.392Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/28 [2022-07-14T16:13:51.392Z] INFO: archiving workspace using pattern(s): [2022-07-14T16:13:52.333Z] Archives upload complete. [2022-07-14T16:13:52.333Z] INFO: archiving logs to Nexus