Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63fa4a680431768fa653ad2f832ffdb5163d02d6 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-ssh18003962510297666789.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh9688602516023556070.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh13173234781004123855.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh1540699260074795600.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-ssh1885682009514328242.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.17 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 [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-718 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 63fa4a680431768fa653ad2f832ffdb5163d02d6 (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 63fa4a680431768fa653ad2f832ffdb5163d02d6 # timeout=10 Commit message: "Custom config structs, auto provision watcher, debounced discovery (#75)" > git rev-list --no-walk ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-02T23:16:36.773Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-02T23:16:36.814Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-02T23:16:36.828Z] ========================================================= [2022-06-02T23:16:36.828Z] EdgeX Global Pipelines Version Info [2022-06-02T23:16:36.828Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:16:37.634Z] ------------------- [2022-06-02T23:16:37.634Z] stable info: [2022-06-02T23:16:37.634Z] ------------------- [2022-06-02T23:16:37.634Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-02T23:16:37.634Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-02T23:16:37.634Z] Message: update stable to v1.0.230 [2022-06-02T23:16:38.219Z] ------------------- [2022-06-02T23:16:38.219Z] experimental info: [2022-06-02T23:16:38.219Z] ------------------- [2022-06-02T23:16:38.219Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-02T23:16:38.219Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-02T23:16:38.219Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-02T23:16:38.457Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-02T23:16:38.466Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-02T23:16:38.477Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-02T23:16:38.489Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-02T23:16:38.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-02T23:16:38.511Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-02T23:16:38.522Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-02T23:16:38.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-02T23:16:38.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-02T23:16:38.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-02T23:16:38.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-02T23:16:38.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-02T23:16:38.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-02T23:16:38.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-02T23:16:38.627Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-02T23:16:38.637Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-02T23:16:38.644Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-02T23:16:38.652Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-02T23:16:38.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-02T23:16:38.668Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-02T23:16:38.676Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-02T23:16:38.684Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-02T23:16:38.693Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-02T23:16:38.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-02T23:16:38.716Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-02T23:16:38.732Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-02T23:16:38.748Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-02T23:16:38.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-02T23:16:38.779Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-02T23:16:38.789Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63fa4a680431768fa653ad2f832ffdb5163d02d6 [Pipeline] echo [2022-06-02T23:16:38.804Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63fa4a6 [Pipeline] echo [2022-06-02T23:16:38.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T23:16:38.862Z] provisioning config files... [2022-06-02T23:16:38.875Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2375741758661430068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:16:39.184Z] ---> docker-login.sh [2022-06-02T23:16:39.184Z] nexus3.edgexfoundry.org:10001 [2022-06-02T23:16:39.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:39.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:39.445Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:39.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:39.445Z] [2022-06-02T23:16:39.445Z] Login Succeeded [2022-06-02T23:16:39.445Z] nexus3.edgexfoundry.org:10002 [2022-06-02T23:16:39.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:39.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:39.705Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:39.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:39.705Z] [2022-06-02T23:16:39.705Z] Login Succeeded [2022-06-02T23:16:39.705Z] nexus3.edgexfoundry.org:10003 [2022-06-02T23:16:39.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:39.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:39.967Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:39.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:39.967Z] [2022-06-02T23:16:39.967Z] Login Succeeded [2022-06-02T23:16:39.967Z] nexus3.edgexfoundry.org:10004 [2022-06-02T23:16:39.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:39.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:39.967Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:39.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:39.967Z] [2022-06-02T23:16:39.967Z] Login Succeeded [2022-06-02T23:16:39.967Z] docker.io [2022-06-02T23:16:39.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:40.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:40.540Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:40.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:40.540Z] [2022-06-02T23:16:40.540Z] Login Succeeded [2022-06-02T23:16:40.540Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T23:16:40.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-02T23:16:40.937Z] + git rev-list -1 --merges 63fa4a680431768fa653ad2f832ffdb5163d02d6~1..63fa4a680431768fa653ad2f832ffdb5163d02d6 [Pipeline] echo [2022-06-02T23:16:40.971Z] -----------> git rev-list -1 --merges 63fa4a680431768fa653ad2f832ffdb5163d02d6~1..63fa4a680431768fa653ad2f832ffdb5163d02d6 63fa4a680431768fa653ad2f832ffdb5163d02d6 [false] [Pipeline] sh [2022-06-02T23:16:41.268Z] + git log --format=format:%s -1 63fa4a680431768fa653ad2f832ffdb5163d02d6 [Pipeline] echo [2022-06-02T23:16:41.286Z] ========================================================= [2022-06-02T23:16:41.286Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-02T23:16:41.286Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-02T23:16:41.619Z] + git log --format=format:%s -1 63fa4a680431768fa653ad2f832ffdb5163d02d6 [Pipeline] echo [2022-06-02T23:16:41.632Z] [semverPrep] GIT_COMMIT: 63fa4a680431768fa653ad2f832ffdb5163d02d6, Commit Message: Custom config structs, auto provision watcher, debounced discovery (#75) [Pipeline] echo [2022-06-02T23:16:41.640Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-02T23:16:41.990Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T23:16:41.990Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-02T23:16:41.990Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-02T23:16:41.990Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-02T23:16:41.990Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-02T23:16:41.990Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-02T23:16:41.990Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:16:42.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T23:16:42.352Z] [2022-06-02T23:16:42.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:16:42.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T23:16:42.653Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-02T23:16:42.653Z] 1fe172e4850f: Pulling fs layer [2022-06-02T23:16:42.653Z] caf521ccaac6: Pulling fs layer [2022-06-02T23:16:42.653Z] 3ead6fa29328: Pulling fs layer [2022-06-02T23:16:42.653Z] 5c2a1cbceb83: Pulling fs layer [2022-06-02T23:16:42.653Z] a8d5f1318db7: Pulling fs layer [2022-06-02T23:16:42.653Z] c427282e49a2: Pulling fs layer [2022-06-02T23:16:42.653Z] 5c2a1cbceb83: Waiting [2022-06-02T23:16:42.653Z] 1827001aaf11: Pulling fs layer [2022-06-02T23:16:42.653Z] 0714d37db230: Pulling fs layer [2022-06-02T23:16:42.653Z] ac28cf19c067: Pulling fs layer [2022-06-02T23:16:42.653Z] ca983d60f3e2: Pulling fs layer [2022-06-02T23:16:42.653Z] 9f894cec8388: Pulling fs layer [2022-06-02T23:16:42.653Z] a8d5f1318db7: Waiting [2022-06-02T23:16:42.653Z] ac28cf19c067: Waiting [2022-06-02T23:16:42.653Z] ca983d60f3e2: Waiting [2022-06-02T23:16:42.653Z] c427282e49a2: Waiting [2022-06-02T23:16:42.653Z] 1827001aaf11: Waiting [2022-06-02T23:16:42.653Z] 9f894cec8388: Waiting [2022-06-02T23:16:42.653Z] 0714d37db230: Waiting [2022-06-02T23:16:42.653Z] caf521ccaac6: Download complete [2022-06-02T23:16:42.653Z] 5c2a1cbceb83: Download complete [2022-06-02T23:16:42.916Z] a8d5f1318db7: Verifying Checksum [2022-06-02T23:16:42.916Z] a8d5f1318db7: Download complete [2022-06-02T23:16:42.916Z] 3ead6fa29328: Verifying Checksum [2022-06-02T23:16:42.916Z] 3ead6fa29328: Download complete [2022-06-02T23:16:42.916Z] c427282e49a2: Verifying Checksum [2022-06-02T23:16:42.916Z] c427282e49a2: Download complete [2022-06-02T23:16:42.916Z] 0714d37db230: Download complete [2022-06-02T23:16:42.916Z] ac28cf19c067: Download complete [2022-06-02T23:16:42.916Z] ca983d60f3e2: Verifying Checksum [2022-06-02T23:16:42.916Z] 9f894cec8388: Verifying Checksum [2022-06-02T23:16:42.916Z] 9f894cec8388: Download complete [2022-06-02T23:16:42.916Z] 1fe172e4850f: Verifying Checksum [2022-06-02T23:16:42.916Z] 1fe172e4850f: Download complete [2022-06-02T23:16:43.177Z] 1827001aaf11: Verifying Checksum [2022-06-02T23:16:43.177Z] 1827001aaf11: Download complete [2022-06-02T23:16:44.562Z] 1fe172e4850f: Pull complete [2022-06-02T23:16:44.562Z] caf521ccaac6: Pull complete [2022-06-02T23:16:45.135Z] 3ead6fa29328: Pull complete [2022-06-02T23:16:45.135Z] 5c2a1cbceb83: Pull complete [2022-06-02T23:16:45.405Z] a8d5f1318db7: Pull complete [2022-06-02T23:16:45.405Z] c427282e49a2: Pull complete [2022-06-02T23:16:47.951Z] 1827001aaf11: Pull complete [2022-06-02T23:16:47.951Z] 0714d37db230: Pull complete [2022-06-02T23:16:47.951Z] ac28cf19c067: Pull complete [2022-06-02T23:16:47.951Z] ca983d60f3e2: Pull complete [2022-06-02T23:16:47.951Z] 9f894cec8388: Pull complete [2022-06-02T23:16:47.951Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-02T23:16:47.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T23:16:47.951Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:16:48.060Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:16:48.107Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-02T23:16:49.810Z] $ docker top 1e8674714c3dd135448fa959301bba394123f35d07587411044f0ada97393869 -eo pid,comm [2022-06-02T23:16:49.881Z] 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-06-02T23:16:49.881Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T23:16:49.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T23:16:49.914Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T23:16:50.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T23:16:50.077Z] $ docker exec 1e8674714c3dd135448fa959301bba394123f35d07587411044f0ada97393869 ssh-agent [2022-06-02T23:16:50.204Z] SSH_AUTH_SOCK=/tmp/ssh-YNU9tfhJhhSJ/agent.33 [2022-06-02T23:16:50.204Z] SSH_AGENT_PID=39 [2022-06-02T23:16:50.213Z] Running ssh-add (command line suppressed) [2022-06-02T23:16:50.347Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3755977783391934688.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3755977783391934688.key) [2022-06-02T23:16:50.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T23:16:50.656Z] + git tag --points-at HEAD [Pipeline] } [2022-06-02T23:16:50.675Z] $ docker exec --env ******** --env ******** 1e8674714c3dd135448fa959301bba394123f35d07587411044f0ada97393869 ssh-agent -k [2022-06-02T23:16:50.792Z] unset SSH_AUTH_SOCK; [2022-06-02T23:16:50.792Z] unset SSH_AGENT_PID; [2022-06-02T23:16:50.792Z] echo Agent pid 39 killed; [2022-06-02T23:16:50.806Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-02T23:16:50.832Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T23:16:50.832Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T23:16:50.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T23:16:50.981Z] $ docker exec 1e8674714c3dd135448fa959301bba394123f35d07587411044f0ada97393869 ssh-agent [2022-06-02T23:16:51.109Z] SSH_AUTH_SOCK=/tmp/ssh-71NPzuI4L0wp/agent.72 [2022-06-02T23:16:51.109Z] SSH_AGENT_PID=78 [2022-06-02T23:16:51.116Z] Running ssh-add (command line suppressed) [2022-06-02T23:16:51.243Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4998046831025993997.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4998046831025993997.key) [2022-06-02T23:16:51.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T23:16:51.546Z] + git semver init [2022-06-02T23:16:51.808Z] 2022-06-02 23:16:51,765 [run_init] DEBUG init version:0.0.0 force:False [2022-06-02T23:16:51.808Z] 2022-06-02 23:16:51,766 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-02T23:16:51.808Z] 2022-06-02 23:16:51,767 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-02T23:16:51.808Z] 2022-06-02 23:16:51,768 [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-06-02T23:16:52.755Z] 2022-06-02 23:16:52,514 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-06-02T23:16:52.755Z] 2022-06-02 23:16:52,515 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-06-02T23:16:52.755Z] 2022-06-02 23:16:52,515 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T23:16:52.755Z] 2022-06-02 23:16:52,515 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T23:16:52.755Z] 0.0.1-dev.6 [Pipeline] } [2022-06-02T23:16:52.772Z] $ docker exec --env ******** --env ******** 1e8674714c3dd135448fa959301bba394123f35d07587411044f0ada97393869 ssh-agent -k [2022-06-02T23:16:52.886Z] unset SSH_AUTH_SOCK; [2022-06-02T23:16:52.886Z] unset SSH_AGENT_PID; [2022-06-02T23:16:52.886Z] echo Agent pid 78 killed; [2022-06-02T23:16:52.894Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T23:16:53.201Z] + git semver [Pipeline] } [2022-06-02T23:16:53.485Z] $ docker stop --time=1 1e8674714c3dd135448fa959301bba394123f35d07587411044f0ada97393869 [2022-06-02T23:16:54.907Z] $ docker rm -f 1e8674714c3dd135448fa959301bba394123f35d07587411044f0ada97393869 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T23:16:55.253Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-02T23:16:55.495Z] Stashed 1 file(s) [Pipeline] echo [2022-06-02T23:16:55.497Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.6 [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-06-02T23:16:55.608Z] provisioning config files... [2022-06-02T23:16:55.618Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5526455002149003511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:16:55.920Z] ---> docker-login.sh [2022-06-02T23:16:55.920Z] nexus3.edgexfoundry.org:10001 [2022-06-02T23:16:55.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:55.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:55.920Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:55.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:55.920Z] [2022-06-02T23:16:55.920Z] Login Succeeded [2022-06-02T23:16:55.920Z] nexus3.edgexfoundry.org:10002 [2022-06-02T23:16:55.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:56.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:56.182Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:56.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:56.182Z] [2022-06-02T23:16:56.182Z] Login Succeeded [2022-06-02T23:16:56.182Z] nexus3.edgexfoundry.org:10003 [2022-06-02T23:16:56.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:56.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:56.182Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:56.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:56.182Z] [2022-06-02T23:16:56.182Z] Login Succeeded [2022-06-02T23:16:56.182Z] nexus3.edgexfoundry.org:10004 [2022-06-02T23:16:56.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:56.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:56.444Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:56.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:56.444Z] [2022-06-02T23:16:56.444Z] Login Succeeded [2022-06-02T23:16:56.444Z] docker.io [2022-06-02T23:16:56.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:16:56.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:16:56.706Z] Configure a credential helper to remove this warning. See [2022-06-02T23:16:56.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:16:56.706Z] [2022-06-02T23:16:56.706Z] Login Succeeded [2022-06-02T23:16:56.706Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T23:16:56.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-02T23:16:56.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T23:16:56.795Z] ========================================================= [2022-06-02T23:16:56.795Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-02T23:16:56.795Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:16:57.124Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-02T23:16:57.124Z] Sending build context to Docker daemon 8.655MB [2022-06-02T23:16:57.124Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T23:16:57.124Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-02T23:16:57.124Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-02T23:16:57.124Z] 59bf1c3509f3: Pulling fs layer [2022-06-02T23:16:57.124Z] 666ba61612fd: Pulling fs layer [2022-06-02T23:16:57.124Z] 8ed8ca486205: Pulling fs layer [2022-06-02T23:16:57.124Z] 4fe6c5a15a65: Pulling fs layer [2022-06-02T23:16:57.124Z] 22a0e8bec74d: Pulling fs layer [2022-06-02T23:16:57.124Z] ca2b28591e48: Pulling fs layer [2022-06-02T23:16:57.124Z] a51346096db8: Pulling fs layer [2022-06-02T23:16:57.124Z] daebc70d1ce1: Pulling fs layer [2022-06-02T23:16:57.124Z] 0e18a0eac166: Pulling fs layer [2022-06-02T23:16:57.384Z] ca2b28591e48: Waiting [2022-06-02T23:16:57.384Z] a51346096db8: Waiting [2022-06-02T23:16:57.384Z] daebc70d1ce1: Waiting [2022-06-02T23:16:57.384Z] 4fe6c5a15a65: Waiting [2022-06-02T23:16:57.384Z] 0e18a0eac166: Waiting [2022-06-02T23:16:57.384Z] 22a0e8bec74d: Waiting [2022-06-02T23:16:57.384Z] 8ed8ca486205: Verifying Checksum [2022-06-02T23:16:57.384Z] 8ed8ca486205: Download complete [2022-06-02T23:16:57.384Z] 666ba61612fd: Verifying Checksum [2022-06-02T23:16:57.384Z] 666ba61612fd: Download complete [2022-06-02T23:16:57.384Z] 22a0e8bec74d: Verifying Checksum [2022-06-02T23:16:57.384Z] 22a0e8bec74d: Download complete [2022-06-02T23:16:57.384Z] ca2b28591e48: Download complete [2022-06-02T23:16:57.384Z] 59bf1c3509f3: Verifying Checksum [2022-06-02T23:16:57.384Z] 59bf1c3509f3: Download complete [2022-06-02T23:16:57.384Z] a51346096db8: Verifying Checksum [2022-06-02T23:16:57.384Z] a51346096db8: Download complete [2022-06-02T23:16:57.384Z] daebc70d1ce1: Verifying Checksum [2022-06-02T23:16:57.384Z] daebc70d1ce1: Download complete [2022-06-02T23:16:57.384Z] 59bf1c3509f3: Pull complete [2022-06-02T23:16:57.646Z] 666ba61612fd: Pull complete [2022-06-02T23:16:57.646Z] 8ed8ca486205: Pull complete [2022-06-02T23:16:57.908Z] 0e18a0eac166: Verifying Checksum [2022-06-02T23:16:57.908Z] 0e18a0eac166: Download complete [2022-06-02T23:16:58.168Z] 4fe6c5a15a65: Verifying Checksum [2022-06-02T23:16:58.168Z] 4fe6c5a15a65: Download complete [2022-06-02T23:17:02.362Z] 4fe6c5a15a65: Pull complete [2022-06-02T23:17:02.362Z] 22a0e8bec74d: Pull complete [2022-06-02T23:17:02.362Z] ca2b28591e48: Pull complete [2022-06-02T23:17:02.362Z] a51346096db8: Pull complete [2022-06-02T23:17:02.362Z] daebc70d1ce1: Pull complete [2022-06-02T23:17:04.905Z] 0e18a0eac166: Pull complete [2022-06-02T23:17:04.905Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-02T23:17:04.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-02T23:17:04.905Z] ---> f018257e8ee9 [2022-06-02T23:17:04.905Z] Step 3/13 : ARG MAKE="make build" [2022-06-02T23:17:06.307Z] ---> Running in fdf654cba05f [2022-06-02T23:17:06.307Z] Removing intermediate container fdf654cba05f [2022-06-02T23:17:06.307Z] ---> 2226456e7511 [2022-06-02T23:17:06.307Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T23:17:06.307Z] ---> Running in 1eadf64b68b7 [2022-06-02T23:17:06.307Z] Removing intermediate container 1eadf64b68b7 [2022-06-02T23:17:06.307Z] ---> fa9e24d24079 [2022-06-02T23:17:06.307Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T23:17:06.307Z] ---> Running in 872a188cb426 [2022-06-02T23:17:06.569Z] Removing intermediate container 872a188cb426 [2022-06-02T23:17:06.569Z] ---> 0ae0ba8a0678 [2022-06-02T23:17:06.569Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-02T23:17:06.569Z] ---> Running in b43860644344 [2022-06-02T23:17:06.569Z] Removing intermediate container b43860644344 [2022-06-02T23:17:06.569Z] ---> c58507fd8aeb [2022-06-02T23:17:06.569Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T23:17:06.830Z] ---> Running in f7140a746a2c [2022-06-02T23:17:07.404Z] Removing intermediate container f7140a746a2c [2022-06-02T23:17:07.404Z] ---> 9b3c9488e4a5 [2022-06-02T23:17:07.404Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T23:17:07.404Z] ---> Running in 7a33e347ff8c [2022-06-02T23:17:07.669Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-02T23:17:08.614Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-02T23:17:08.873Z] OK: 221 MiB in 52 packages [2022-06-02T23:17:09.134Z] Removing intermediate container 7a33e347ff8c [2022-06-02T23:17:09.134Z] ---> d7adde2b8338 [2022-06-02T23:17:09.134Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-02T23:17:09.134Z] ---> Running in fcf4837396ac [2022-06-02T23:17:09.394Z] Removing intermediate container fcf4837396ac [2022-06-02T23:17:09.394Z] ---> bb837fa94633 [2022-06-02T23:17:09.394Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-02T23:17:09.394Z] ---> c62c3bb5afdf [2022-06-02T23:17:09.394Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T23:17:09.656Z] ---> Running in 7597f9572e76 [2022-06-02T23:17:10.583Z] Still waiting to schedule task [2022-06-02T23:17:10.583Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-02T23:17:24.579Z] Removing intermediate container 7597f9572e76 [2022-06-02T23:17:24.579Z] ---> bf6952d5efef [2022-06-02T23:17:24.579Z] Step 12/13 : COPY . . [2022-06-02T23:17:24.840Z] ---> 383eaf56bc4b [2022-06-02T23:17:24.840Z] Step 13/13 : RUN ${MAKE} [2022-06-02T23:17:24.840Z] ---> Running in 6a43b37f69cb [2022-06-02T23:17:25.101Z] noop [2022-06-02T23:17:25.367Z] Removing intermediate container 6a43b37f69cb [2022-06-02T23:17:25.367Z] ---> d50b6df99c42 [2022-06-02T23:17:25.367Z] Successfully built d50b6df99c42 [2022-06-02T23:17:25.367Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:17:25.713Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-02T23:17:25.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:17:25.811Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:17:25.864Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-02T23:17:26.308Z] $ docker top abf41eb7b0cbeeb004a4769864e398da638e04b0a123db9a9f6eda24fb6fb351 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T23:17:26.886Z] + go version [2022-06-02T23:17:26.886Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-02T23:17:26.933Z] $ docker stop --time=1 abf41eb7b0cbeeb004a4769864e398da638e04b0a123db9a9f6eda24fb6fb351 [2022-06-02T23:17:28.275Z] $ docker rm -f abf41eb7b0cbeeb004a4769864e398da638e04b0a123db9a9f6eda24fb6fb351 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:17:28.699Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-02T23:17:28.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:17:28.784Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:17:28.829Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-02T23:17:29.231Z] $ docker top f410981b7b88a8a41cdf035b3a424b854b9d03eee1d8ed8a3531477745ee239b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-02T23:17:29.594Z] + make test [2022-06-02T23:17:29.595Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-02T23:17:29.854Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-02T23:17:39.843Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-02T23:17:39.843Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 1.3% of statements [2022-06-02T23:17:43.147Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.631s coverage: 13.8% of statements [2022-06-02T23:17:49.715Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-02T23:17:53.910Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-02T23:17:53.910Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-02T23:17:53.910Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-02T23:17:54.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-02T23:17:54.201Z] $ docker stop --time=1 f410981b7b88a8a41cdf035b3a424b854b9d03eee1d8ed8a3531477745ee239b [2022-06-02T23:17:56.156Z] $ docker rm -f f410981b7b88a8a41cdf035b3a424b854b9d03eee1d8ed8a3531477745ee239b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T23:17:56.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-02T23:17:56.676Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-02T23:17:57.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-02T23:17:57.474Z] + ls -al . [2022-06-02T23:17:57.474Z] total 232 [2022-06-02T23:17:57.474Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 23:17 . [2022-06-02T23:17:57.474Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:16 .. [2022-06-02T23:17:57.474Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:16 .git [2022-06-02T23:17:57.474Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:16 .github [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 2 23:16 .gitignore [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 23:16 .golangci.yml [2022-06-02T23:17:57.474Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:16 .semver [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 2 23:16 Attribution.txt [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 2 23:16 CHANGELOG.md [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 2 23:16 Dockerfile [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:16 GOVERNANCE.md [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 23:16 Jenkinsfile [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 23:16 LICENSE [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 2 23:16 Makefile [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 23:16 OWNERS.md [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 28742 Jun 2 23:16 README.md [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 2 23:16 VERSION [2022-06-02T23:17:57.474Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:16 bin [2022-06-02T23:17:57.474Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:16 cmd [2022-06-02T23:17:57.474Z] -rw-r--r-- 1 jenkins jenkins 53469 Jun 2 23:17 coverage.out [2022-06-02T23:17:57.474Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:16 doc [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 2 23:16 go.mod [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 2 23:16 go.sum [2022-06-02T23:17:57.474Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:16 internal [2022-06-02T23:17:57.474Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 23:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:17:57.790Z] + 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=63fa4a680431768fa653ad2f832ffdb5163d02d6 --label arch=amd64 --label version=0.0.1-dev.6 . [2022-06-02T23:17:57.790Z] Sending build context to Docker daemon 8.71MB [2022-06-02T23:17:57.790Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T23:17:57.790Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-02T23:17:57.790Z] ---> d50b6df99c42 [2022-06-02T23:17:57.790Z] Step 3/26 : ARG MAKE="make build" [2022-06-02T23:17:57.790Z] ---> Running in ebd0b6182fda [2022-06-02T23:17:58.056Z] Removing intermediate container ebd0b6182fda [2022-06-02T23:17:58.056Z] ---> 90a7f489f1d1 [2022-06-02T23:17:58.056Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T23:17:58.056Z] ---> Running in 9a1c56843cf7 [2022-06-02T23:17:58.056Z] Removing intermediate container 9a1c56843cf7 [2022-06-02T23:17:58.056Z] ---> 81908887eb8f [2022-06-02T23:17:58.056Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T23:17:58.316Z] ---> Running in 346fb18f4d19 [2022-06-02T23:17:58.316Z] Removing intermediate container 346fb18f4d19 [2022-06-02T23:17:58.316Z] ---> 1b32a4bfc555 [2022-06-02T23:17:58.316Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-02T23:17:58.316Z] ---> Running in 3aa88c343331 [2022-06-02T23:17:58.316Z] Removing intermediate container 3aa88c343331 [2022-06-02T23:17:58.316Z] ---> 3c0742e1f3b4 [2022-06-02T23:17:58.316Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T23:17:58.578Z] ---> Running in 14de697bf905 [2022-06-02T23:17:59.152Z] Removing intermediate container 14de697bf905 [2022-06-02T23:17:59.152Z] ---> baa0d3f961cd [2022-06-02T23:17:59.152Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T23:17:59.152Z] ---> Running in 5ca17b5d64cb [2022-06-02T23:17:59.413Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-02T23:18:00.358Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-02T23:18:00.619Z] OK: 221 MiB in 52 packages [2022-06-02T23:18:00.881Z] Removing intermediate container 5ca17b5d64cb [2022-06-02T23:18:00.881Z] ---> 7aaa46cc56dc [2022-06-02T23:18:00.881Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-02T23:18:01.141Z] ---> Running in e9e8f8d0e3cb [2022-06-02T23:18:01.141Z] Removing intermediate container e9e8f8d0e3cb [2022-06-02T23:18:01.141Z] ---> eb2ea85df4a7 [2022-06-02T23:18:01.141Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-02T23:18:01.402Z] ---> f5cd81e5f530 [2022-06-02T23:18:01.402Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T23:18:01.664Z] ---> Running in 61d295701467 [2022-06-02T23:18:02.604Z] Removing intermediate container 61d295701467 [2022-06-02T23:18:02.604Z] ---> bfa6e9ed0a79 [2022-06-02T23:18:02.604Z] Step 12/26 : COPY . . [2022-06-02T23:18:02.864Z] ---> c7a5c74f988f [2022-06-02T23:18:02.864Z] Step 13/26 : RUN ${MAKE} [2022-06-02T23:18:02.864Z] ---> Running in 13cb04db35ae [2022-06-02T23:18:03.124Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.6 -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-06-02T23:18:25.073Z] Removing intermediate container 13cb04db35ae [2022-06-02T23:18:25.073Z] ---> d206c041cd24 [2022-06-02T23:18:25.073Z] Step 14/26 : FROM alpine:3.15 [2022-06-02T23:18:25.073Z] 3.15: Pulling from library/alpine [2022-06-02T23:18:25.073Z] df9b9388f04a: Pulling fs layer [2022-06-02T23:18:25.073Z] df9b9388f04a: Verifying Checksum [2022-06-02T23:18:25.073Z] df9b9388f04a: Download complete [2022-06-02T23:18:25.073Z] df9b9388f04a: Pull complete [2022-06-02T23:18:25.073Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-02T23:18:25.073Z] Status: Downloaded newer image for alpine:3.15 [2022-06-02T23:18:25.073Z] ---> 0ac33e5f5afa [2022-06-02T23:18:25.073Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-02T23:18:25.073Z] ---> Running in 4ab9770f5ebe [2022-06-02T23:18:25.073Z] Removing intermediate container 4ab9770f5ebe [2022-06-02T23:18:25.073Z] ---> dc245e5dc7c6 [2022-06-02T23:18:25.073Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-02T23:18:25.073Z] ---> Running in ceec1def1872 [2022-06-02T23:18:25.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-02T23:18:25.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-02T23:18:25.073Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-02T23:18:25.073Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-02T23:18:25.073Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-02T23:18:25.073Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-02T23:18:25.073Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-02T23:18:25.073Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-02T23:18:25.073Z] Executing busybox-1.34.1-r5.trigger [2022-06-02T23:18:25.073Z] OK: 8 MiB in 20 packages [2022-06-02T23:18:25.073Z] Removing intermediate container ceec1def1872 [2022-06-02T23:18:25.073Z] ---> 2b36a8ecd99f [2022-06-02T23:18:25.073Z] Step 17/26 : WORKDIR / [2022-06-02T23:18:25.073Z] ---> Running in 921eae9bd155 [2022-06-02T23:18:25.073Z] Removing intermediate container 921eae9bd155 [2022-06-02T23:18:25.073Z] ---> ef2bef6ecb1a [2022-06-02T23:18:25.073Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-02T23:18:25.073Z] ---> 4bc86e0c5622 [2022-06-02T23:18:25.073Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-02T23:18:25.073Z] ---> a297f8a9fb83 [2022-06-02T23:18:25.073Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-02T23:18:25.335Z] ---> cb39fc36a2a6 [2022-06-02T23:18:25.335Z] Step 21/26 : EXPOSE 59984 [2022-06-02T23:18:25.335Z] ---> Running in 7c8514d26a91 [2022-06-02T23:18:25.335Z] Removing intermediate container 7c8514d26a91 [2022-06-02T23:18:25.335Z] ---> 96a5159889dd [2022-06-02T23:18:25.335Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-02T23:18:25.335Z] ---> Running in 31f4be7aa9d1 [2022-06-02T23:18:25.596Z] Removing intermediate container 31f4be7aa9d1 [2022-06-02T23:18:25.596Z] ---> 77b80f245991 [2022-06-02T23:18:25.596Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-02T23:18:25.596Z] ---> Running in ed144a9a5b8d [2022-06-02T23:18:25.596Z] Removing intermediate container ed144a9a5b8d [2022-06-02T23:18:25.596Z] ---> 56017560c443 [2022-06-02T23:18:25.596Z] Step 24/26 : LABEL arch=amd64 [2022-06-02T23:18:25.596Z] ---> Running in 213b448219fb [2022-06-02T23:18:25.858Z] Removing intermediate container 213b448219fb [2022-06-02T23:18:25.858Z] ---> e24d270c711c [2022-06-02T23:18:25.858Z] Step 25/26 : LABEL git_sha=63fa4a680431768fa653ad2f832ffdb5163d02d6 [2022-06-02T23:18:25.858Z] ---> Running in c47d67844c7f [2022-06-02T23:18:25.858Z] Removing intermediate container c47d67844c7f [2022-06-02T23:18:25.858Z] ---> 4be764518043 [2022-06-02T23:18:25.858Z] Step 26/26 : LABEL version=0.0.1-dev.6 [2022-06-02T23:18:25.858Z] ---> Running in 4a8a36f493e3 [2022-06-02T23:18:26.120Z] Removing intermediate container 4a8a36f493e3 [2022-06-02T23:18:26.120Z] ---> 2080de783675 [2022-06-02T23:18:26.120Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-02T23:18:26.120Z] Successfully built 2080de783675 [2022-06-02T23:18:26.120Z] 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-06-02T23:18:26.231Z] provisioning config files... [2022-06-02T23:18:26.243Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3565812946755215974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:18:26.547Z] ---> docker-login.sh [2022-06-02T23:18:26.547Z] nexus3.edgexfoundry.org:10001 [2022-06-02T23:18:26.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:18:26.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:18:26.547Z] Configure a credential helper to remove this warning. See [2022-06-02T23:18:26.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:18:26.547Z] [2022-06-02T23:18:26.547Z] Login Succeeded [2022-06-02T23:18:26.547Z] nexus3.edgexfoundry.org:10002 [2022-06-02T23:18:26.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:18:26.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:18:26.548Z] Configure a credential helper to remove this warning. See [2022-06-02T23:18:26.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:18:26.548Z] [2022-06-02T23:18:26.548Z] Login Succeeded [2022-06-02T23:18:26.548Z] nexus3.edgexfoundry.org:10003 [2022-06-02T23:18:26.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:18:26.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:18:26.808Z] Configure a credential helper to remove this warning. See [2022-06-02T23:18:26.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:18:26.808Z] [2022-06-02T23:18:26.808Z] Login Succeeded [2022-06-02T23:18:26.808Z] nexus3.edgexfoundry.org:10004 [2022-06-02T23:18:26.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:18:26.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:18:26.808Z] Configure a credential helper to remove this warning. See [2022-06-02T23:18:26.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:18:26.808Z] [2022-06-02T23:18:27.069Z] Login Succeeded [2022-06-02T23:18:27.069Z] docker.io [2022-06-02T23:18:27.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:18:27.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:18:27.330Z] Configure a credential helper to remove this warning. See [2022-06-02T23:18:27.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:18:27.330Z] [2022-06-02T23:18:27.330Z] Login Succeeded [2022-06-02T23:18:27.330Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T23:18:27.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-02T23:18:27.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T23:18:27.399Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-06-02T23:18:27.399Z] 63fa4a680431768fa653ad2f832ffdb5163d02d6 [2022-06-02T23:18:27.399Z] latest [2022-06-02T23:18:27.399Z] 0.0.1-dev.6 [2022-06-02T23:18:27.399Z] 63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6 [2022-06-02T23:18:27.399Z] main [2022-06-02T23:18:27.399Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:27.728Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:63fa4a680431768fa653ad2f832ffdb5163d02d6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:28.042Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:63fa4a680431768fa653ad2f832ffdb5163d02d6 [2022-06-02T23:18:28.042Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T23:18:28.042Z] 69bbcd25d254: Preparing [2022-06-02T23:18:28.042Z] 13fe3fa8622c: Preparing [2022-06-02T23:18:28.042Z] b9a1fee47e2e: Preparing [2022-06-02T23:18:28.042Z] 30ab6c3f8b07: Preparing [2022-06-02T23:18:28.042Z] 4fc242d58285: Preparing [2022-06-02T23:18:28.042Z] 4fc242d58285: Layer already exists [2022-06-02T23:18:28.042Z] 13fe3fa8622c: Pushed [2022-06-02T23:18:28.042Z] 69bbcd25d254: Pushed [2022-06-02T23:18:28.302Z] 30ab6c3f8b07: Pushed [2022-06-02T23:18:30.846Z] b9a1fee47e2e: Pushed [2022-06-02T23:18:30.846Z] 63fa4a680431768fa653ad2f832ffdb5163d02d6: digest: sha256:00e586f6d08597342159a6f4488aa7e9b09e437f4cf6b2654777aff109a7ca40 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:31.169Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:31.489Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-02T23:18:31.489Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T23:18:31.489Z] 69bbcd25d254: Preparing [2022-06-02T23:18:31.489Z] 13fe3fa8622c: Preparing [2022-06-02T23:18:31.489Z] b9a1fee47e2e: Preparing [2022-06-02T23:18:31.489Z] 30ab6c3f8b07: Preparing [2022-06-02T23:18:31.489Z] 4fc242d58285: Preparing [2022-06-02T23:18:31.489Z] 30ab6c3f8b07: Layer already exists [2022-06-02T23:18:31.489Z] b9a1fee47e2e: Layer already exists [2022-06-02T23:18:31.489Z] 4fc242d58285: Layer already exists [2022-06-02T23:18:31.489Z] 13fe3fa8622c: Layer already exists [2022-06-02T23:18:31.489Z] 69bbcd25d254: Layer already exists [2022-06-02T23:18:31.489Z] latest: digest: sha256:00e586f6d08597342159a6f4488aa7e9b09e437f4cf6b2654777aff109a7ca40 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:31.811Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:32.131Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.6 [2022-06-02T23:18:32.131Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T23:18:32.131Z] 69bbcd25d254: Preparing [2022-06-02T23:18:32.131Z] 13fe3fa8622c: Preparing [2022-06-02T23:18:32.131Z] b9a1fee47e2e: Preparing [2022-06-02T23:18:32.131Z] 30ab6c3f8b07: Preparing [2022-06-02T23:18:32.131Z] 4fc242d58285: Preparing [2022-06-02T23:18:32.131Z] 4fc242d58285: Layer already exists [2022-06-02T23:18:32.131Z] 69bbcd25d254: Layer already exists [2022-06-02T23:18:32.131Z] 30ab6c3f8b07: Layer already exists [2022-06-02T23:18:32.131Z] 13fe3fa8622c: Layer already exists [2022-06-02T23:18:32.131Z] b9a1fee47e2e: Layer already exists [2022-06-02T23:18:32.131Z] 0.0.1-dev.6: digest: sha256:00e586f6d08597342159a6f4488aa7e9b09e437f4cf6b2654777aff109a7ca40 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:32.454Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:32.775Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6 [2022-06-02T23:18:32.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T23:18:32.775Z] 69bbcd25d254: Preparing [2022-06-02T23:18:32.775Z] 13fe3fa8622c: Preparing [2022-06-02T23:18:32.775Z] b9a1fee47e2e: Preparing [2022-06-02T23:18:32.775Z] 30ab6c3f8b07: Preparing [2022-06-02T23:18:32.775Z] 4fc242d58285: Preparing [2022-06-02T23:18:32.775Z] 30ab6c3f8b07: Layer already exists [2022-06-02T23:18:32.775Z] 69bbcd25d254: Layer already exists [2022-06-02T23:18:32.775Z] b9a1fee47e2e: Layer already exists [2022-06-02T23:18:32.775Z] 4fc242d58285: Layer already exists [2022-06-02T23:18:32.775Z] 13fe3fa8622c: Layer already exists [2022-06-02T23:18:32.775Z] 63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6: digest: sha256:00e586f6d08597342159a6f4488aa7e9b09e437f4cf6b2654777aff109a7ca40 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:33.092Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:33.419Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-06-02T23:18:33.419Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T23:18:33.419Z] 69bbcd25d254: Preparing [2022-06-02T23:18:33.419Z] 13fe3fa8622c: Preparing [2022-06-02T23:18:33.419Z] b9a1fee47e2e: Preparing [2022-06-02T23:18:33.419Z] 30ab6c3f8b07: Preparing [2022-06-02T23:18:33.419Z] 4fc242d58285: Preparing [2022-06-02T23:18:33.419Z] 4fc242d58285: Layer already exists [2022-06-02T23:18:33.419Z] b9a1fee47e2e: Layer already exists [2022-06-02T23:18:33.419Z] 13fe3fa8622c: Layer already exists [2022-06-02T23:18:33.419Z] 30ab6c3f8b07: Layer already exists [2022-06-02T23:18:33.419Z] 69bbcd25d254: Layer already exists [2022-06-02T23:18:33.419Z] main: digest: sha256:00e586f6d08597342159a6f4488aa7e9b09e437f4cf6b2654777aff109a7ca40 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-02T23:18:33.472Z] ===================================================== [Pipeline] echo [2022-06-02T23:18:33.480Z] taggedImages: [2022-06-02T23:18:33.480Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:63fa4a680431768fa653ad2f832ffdb5163d02d6 [2022-06-02T23:18:33.480Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-02T23:18:33.480Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.6 [2022-06-02T23:18:33.480Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6 [2022-06-02T23:18:33.480Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:33.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T23:18:33.864Z] [2022-06-02T23:18:33.864Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:18:34.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T23:18:34.170Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-02T23:18:34.170Z] 5eb5b503b376: Pulling fs layer [2022-06-02T23:18:34.170Z] 5c69ac0246d0: Pulling fs layer [2022-06-02T23:18:34.170Z] ec43610c2a17: Pulling fs layer [2022-06-02T23:18:34.170Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-02T23:18:34.170Z] 33b1e0a273af: Pulling fs layer [2022-06-02T23:18:34.170Z] 5d3b04190fa2: Pulling fs layer [2022-06-02T23:18:34.170Z] 2f39f015ded8: Pulling fs layer [2022-06-02T23:18:34.170Z] 33b1e0a273af: Waiting [2022-06-02T23:18:34.170Z] 3a2ae6a8a46f: Waiting [2022-06-02T23:18:34.170Z] 5d3b04190fa2: Waiting [2022-06-02T23:18:34.170Z] 2f39f015ded8: Waiting [2022-06-02T23:18:34.171Z] 5c69ac0246d0: Download complete [2022-06-02T23:18:34.171Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-02T23:18:34.171Z] 3a2ae6a8a46f: Download complete [2022-06-02T23:18:34.171Z] 33b1e0a273af: Verifying Checksum [2022-06-02T23:18:34.171Z] 33b1e0a273af: Download complete [2022-06-02T23:18:34.171Z] ec43610c2a17: Verifying Checksum [2022-06-02T23:18:34.171Z] ec43610c2a17: Download complete [2022-06-02T23:18:34.171Z] 5d3b04190fa2: Verifying Checksum [2022-06-02T23:18:34.171Z] 5d3b04190fa2: Download complete [2022-06-02T23:18:34.432Z] 5eb5b503b376: Download complete [2022-06-02T23:18:35.001Z] 2f39f015ded8: Download complete [2022-06-02T23:18:35.571Z] 5eb5b503b376: Pull complete [2022-06-02T23:18:35.571Z] 5c69ac0246d0: Pull complete [2022-06-02T23:18:36.141Z] ec43610c2a17: Pull complete [2022-06-02T23:18:36.141Z] 3a2ae6a8a46f: Pull complete [2022-06-02T23:18:36.399Z] 33b1e0a273af: Pull complete [2022-06-02T23:18:36.399Z] 5d3b04190fa2: Pull complete [2022-06-02T23:18:40.593Z] 2f39f015ded8: Pull complete [2022-06-02T23:18:40.593Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-02T23:18:40.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T23:18:40.593Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:18:40.689Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:18:40.725Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-02T23:18:42.459Z] $ docker top ef7a9589709e5e746849fa39459f1df7a9232552b24075a807c04c9fcc1f5514 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:18:42.855Z] ---> job-cost.sh [2022-06-02T23:18:42.855Z] lf-activate-venv: SKIPPING [2022-06-02T23:18:42.855Z] INFO: No Stack... [2022-06-02T23:18:43.116Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-02T23:18:43.688Z] INFO: Archiving Costs [Pipeline] sh [2022-06-02T23:18:43.983Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-06-02T23:18:43.983Z] + cut -d, -f6 [Pipeline] lock [2022-06-02T23:18:43.997Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-8-stack-cost] [2022-06-02T23:18:44.003Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-8-stack-cost] did not exist. Created. [2022-06-02T23:18:44.003Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-02T23:18:44.303Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-02T23:18:44.333Z] Stashed 1 file(s) [Pipeline] } [2022-06-02T23:18:44.340Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-02T23:18:44.362Z] $ docker stop --time=1 ef7a9589709e5e746849fa39459f1df7a9232552b24075a807c04c9fcc1f5514 [2022-06-02T23:18:45.532Z] $ docker rm -f ef7a9589709e5e746849fa39459f1df7a9232552b24075a807c04c9fcc1f5514 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-02T23:19:29.146Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-720 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-06-02T23:19:29.158Z] Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout [2022-06-02T23:19:29.194Z] Selected Git installation does not exist. Using Default [2022-06-02T23:19:29.194Z] The recommended git tool is: NONE [2022-06-02T23:19:36.477Z] using credential edgex-jenkins-ssh [2022-06-02T23:19:36.500Z] Cloning the remote Git repository [2022-06-02T23:19:36.561Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-02T23:19:36.643Z] > git init /w/workspace/device-onvif-camera/8 # timeout=10 [2022-06-02T23:19:36.744Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-02T23:19:36.745Z] > git --version # timeout=10 [2022-06-02T23:19:36.766Z] > git --version # 'git version 2.25.1' [2022-06-02T23:19:36.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-02T23:19:36.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-02T23:19:37.668Z] Avoid second fetch [2022-06-02T23:19:37.669Z] Checking out Revision 63fa4a680431768fa653ad2f832ffdb5163d02d6 (main) [2022-06-02T23:19:37.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-02T23:19:37.645Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-02T23:19:37.725Z] > git config core.sparsecheckout # timeout=10 [2022-06-02T23:19:37.745Z] > git checkout -f 63fa4a680431768fa653ad2f832ffdb5163d02d6 # timeout=10 [2022-06-02T23:19:42.347Z] Commit message: "Custom config structs, auto provision watcher, debounced discovery (#75)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-02T23:19:43.186Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-02T23:19:43.186Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-02T23:19:43.186Z] Dload Upload Total Spent Left Speed [2022-06-02T23:19:43.186Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 93534 0 --:--:-- --:--:-- --:--:-- 94253 [Pipeline] sh [2022-06-02T23:19:43.898Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-02T23:19:44.245Z] + sudo tee+ /etc/docker/daemon.new [2022-06-02T23:19:44.245Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-02T23:19:44.245Z] { [2022-06-02T23:19:44.245Z] "registry-mirrors": [ [2022-06-02T23:19:44.245Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-02T23:19:44.245Z] ], [2022-06-02T23:19:44.245Z] "bip": "10.250.0.254/24", [2022-06-02T23:19:44.245Z] "hosts": [ [2022-06-02T23:19:44.245Z] "tcp://0.0.0.0:5555", [2022-06-02T23:19:44.245Z] "unix:///var/run/docker.sock" [2022-06-02T23:19:44.245Z] ], [2022-06-02T23:19:44.245Z] "mtu": 1458, [2022-06-02T23:19:44.245Z] "selinux-enabled": true, [2022-06-02T23:19:44.245Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-02T23:19:44.245Z] } [Pipeline] sh [2022-06-02T23:19:44.608Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-02T23:19:44.945Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T23:20:03.361Z] provisioning config files... [2022-06-02T23:20:03.388Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config1840077749696362737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:20:03.759Z] ---> docker-login.sh [2022-06-02T23:20:03.759Z] nexus3.edgexfoundry.org:10001 [2022-06-02T23:20:04.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:20:04.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:20:04.634Z] Configure a credential helper to remove this warning. See [2022-06-02T23:20:04.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:20:04.634Z] [2022-06-02T23:20:04.634Z] Login Succeeded [2022-06-02T23:20:04.634Z] nexus3.edgexfoundry.org:10002 [2022-06-02T23:20:04.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:20:05.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:20:05.182Z] Configure a credential helper to remove this warning. See [2022-06-02T23:20:05.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:20:05.182Z] [2022-06-02T23:20:05.182Z] Login Succeeded [2022-06-02T23:20:05.182Z] nexus3.edgexfoundry.org:10003 [2022-06-02T23:20:05.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:20:05.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:20:05.455Z] Configure a credential helper to remove this warning. See [2022-06-02T23:20:05.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:20:05.455Z] [2022-06-02T23:20:05.455Z] Login Succeeded [2022-06-02T23:20:05.455Z] nexus3.edgexfoundry.org:10004 [2022-06-02T23:20:06.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:20:06.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:20:06.057Z] Configure a credential helper to remove this warning. See [2022-06-02T23:20:06.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:20:06.057Z] [2022-06-02T23:20:06.057Z] Login Succeeded [2022-06-02T23:20:06.057Z] docker.io [2022-06-02T23:20:06.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:20:06.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:20:06.930Z] Configure a credential helper to remove this warning. See [2022-06-02T23:20:06.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:20:06.930Z] [2022-06-02T23:20:06.930Z] Login Succeeded [2022-06-02T23:20:06.930Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T23:20:06.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-02T23:20:07.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T23:20:07.499Z] ========================================================= [2022-06-02T23:20:07.499Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-02T23:20:07.499Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:20:07.866Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-02T23:20:08.139Z] Sending build context to Docker daemon 5.885MB [2022-06-02T23:20:08.139Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T23:20:08.139Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-02T23:20:08.411Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-02T23:20:08.411Z] 9b3977197b4f: Pulling fs layer [2022-06-02T23:20:08.411Z] 1a89e8eeedd5: Pulling fs layer [2022-06-02T23:20:08.411Z] 94645a83ff95: Pulling fs layer [2022-06-02T23:20:08.411Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-02T23:20:08.411Z] 0c92f367c5e7: Pulling fs layer [2022-06-02T23:20:08.411Z] 3096ccb668a1: Pulling fs layer [2022-06-02T23:20:08.411Z] e8cf19c19ddd: Pulling fs layer [2022-06-02T23:20:08.411Z] a4caa8a26152: Pulling fs layer [2022-06-02T23:20:08.411Z] 3f3a8bcf1eab: Waiting [2022-06-02T23:20:08.411Z] 3096ccb668a1: Waiting [2022-06-02T23:20:08.411Z] 0c92f367c5e7: Waiting [2022-06-02T23:20:08.412Z] e8cf19c19ddd: Waiting [2022-06-02T23:20:08.412Z] a4caa8a26152: Waiting [2022-06-02T23:20:08.412Z] 94645a83ff95: Download complete [2022-06-02T23:20:08.412Z] 1a89e8eeedd5: Verifying Checksum [2022-06-02T23:20:08.412Z] 1a89e8eeedd5: Download complete [2022-06-02T23:20:08.412Z] 0c92f367c5e7: Verifying Checksum [2022-06-02T23:20:08.412Z] 0c92f367c5e7: Download complete [2022-06-02T23:20:08.412Z] 3096ccb668a1: Verifying Checksum [2022-06-02T23:20:08.412Z] 3096ccb668a1: Download complete [2022-06-02T23:20:08.412Z] 9b3977197b4f: Download complete [2022-06-02T23:20:08.412Z] e8cf19c19ddd: Verifying Checksum [2022-06-02T23:20:08.412Z] e8cf19c19ddd: Download complete [2022-06-02T23:20:09.417Z] 9b3977197b4f: Pull complete [2022-06-02T23:20:10.036Z] 1a89e8eeedd5: Pull complete [2022-06-02T23:20:10.317Z] 94645a83ff95: Pull complete [2022-06-02T23:20:10.592Z] a4caa8a26152: Verifying Checksum [2022-06-02T23:20:10.592Z] a4caa8a26152: Download complete [2022-06-02T23:20:11.186Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-02T23:20:11.186Z] 3f3a8bcf1eab: Download complete [2022-06-02T23:20:23.597Z] 3f3a8bcf1eab: Pull complete [2022-06-02T23:20:23.597Z] 0c92f367c5e7: Pull complete [2022-06-02T23:20:23.597Z] 3096ccb668a1: Pull complete [2022-06-02T23:20:23.873Z] e8cf19c19ddd: Pull complete [2022-06-02T23:20:30.604Z] a4caa8a26152: Pull complete [2022-06-02T23:20:30.604Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-02T23:20:30.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-02T23:20:30.604Z] ---> 725f1c02e7f9 [2022-06-02T23:20:30.604Z] Step 3/13 : ARG MAKE="make build" [2022-06-02T23:20:31.220Z] ---> Running in 0da4c9e4cca1 [2022-06-02T23:20:31.220Z] Removing intermediate container 0da4c9e4cca1 [2022-06-02T23:20:31.220Z] ---> cd183f1972d3 [2022-06-02T23:20:31.220Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T23:20:31.506Z] ---> Running in 49e5aab5b3f3 [2022-06-02T23:20:31.782Z] Removing intermediate container 49e5aab5b3f3 [2022-06-02T23:20:31.782Z] ---> 170be33b1459 [2022-06-02T23:20:31.782Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T23:20:31.782Z] ---> Running in 747366d09389 [2022-06-02T23:20:32.064Z] Removing intermediate container 747366d09389 [2022-06-02T23:20:32.064Z] ---> f8401eb7aa64 [2022-06-02T23:20:32.064Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-02T23:20:32.064Z] ---> Running in e34d134372ba [2022-06-02T23:20:32.668Z] Removing intermediate container e34d134372ba [2022-06-02T23:20:32.668Z] ---> adb431ee1e96 [2022-06-02T23:20:32.668Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T23:20:32.668Z] ---> Running in a3f634d27756 [2022-06-02T23:20:34.650Z] Removing intermediate container a3f634d27756 [2022-06-02T23:20:34.650Z] ---> 8fcd1640523d [2022-06-02T23:20:34.650Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T23:20:34.650Z] ---> Running in 892bfb6f5e0f [2022-06-02T23:20:35.633Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-02T23:20:36.230Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-02T23:20:37.215Z] OK: 220 MiB in 52 packages [2022-06-02T23:20:39.220Z] Removing intermediate container 892bfb6f5e0f [2022-06-02T23:20:39.220Z] ---> 9952cf360873 [2022-06-02T23:20:39.220Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-02T23:20:39.220Z] ---> Running in 608bbb39266e [2022-06-02T23:20:39.503Z] Removing intermediate container 608bbb39266e [2022-06-02T23:20:39.503Z] ---> 901f9bc6f19e [2022-06-02T23:20:39.503Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-02T23:20:40.108Z] ---> 6618e0f1fc9a [2022-06-02T23:20:40.108Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T23:20:40.385Z] ---> Running in 8a63ff76043e [2022-06-02T23:21:36.947Z] Removing intermediate container 8a63ff76043e [2022-06-02T23:21:36.947Z] ---> a046168bc81c [2022-06-02T23:21:36.947Z] Step 12/13 : COPY . . [2022-06-02T23:21:36.947Z] ---> 6a6a9e94cb8d [2022-06-02T23:21:36.947Z] Step 13/13 : RUN ${MAKE} [2022-06-02T23:21:36.947Z] ---> Running in 52314067dd97 [2022-06-02T23:21:36.947Z] noop [2022-06-02T23:21:36.947Z] Removing intermediate container 52314067dd97 [2022-06-02T23:21:36.947Z] ---> 5cd4308fad74 [2022-06-02T23:21:36.947Z] Successfully built 5cd4308fad74 [2022-06-02T23:21:36.947Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:21:37.325Z] + docker inspect -f . ci-base-image-arm64 [2022-06-02T23:21:37.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:21:37.605Z] prd-ubuntu20.04-docker-arm64-4c-16g-720 does not seem to be running inside a container [2022-06-02T23:21:37.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-02T23:21:39.074Z] $ docker top 08953a5a1a182eaa36e77b0dd159b0a1df75fc5c2794eba2aff193da71917e9d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T23:21:39.993Z] + go version [2022-06-02T23:21:39.993Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-02T23:21:40.023Z] $ docker stop --time=1 08953a5a1a182eaa36e77b0dd159b0a1df75fc5c2794eba2aff193da71917e9d [2022-06-02T23:21:41.721Z] $ docker rm -f 08953a5a1a182eaa36e77b0dd159b0a1df75fc5c2794eba2aff193da71917e9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:21:42.324Z] + docker inspect -f . ci-base-image-arm64 [2022-06-02T23:21:42.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:21:42.562Z] prd-ubuntu20.04-docker-arm64-4c-16g-720 does not seem to be running inside a container [2022-06-02T23:21:42.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-02T23:21:43.946Z] $ docker top 3e0dc14c199b0a8e34789cf9c501d7c651b190a2a05bdd45526478016232948d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-02T23:21:44.847Z] + make test [2022-06-02T23:21:44.847Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-02T23:21:46.824Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-02T23:23:23.732Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-02T23:23:23.732Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.089s coverage: 1.3% of statements [2022-06-02T23:23:42.050Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.922s coverage: 13.8% of statements [2022-06-02T23:23:42.050Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-02T23:23:42.050Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-02T23:24:14.420Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-02T23:24:14.420Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-02T23:24:14.420Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-02T23:24:15.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-02T23:24:15.448Z] $ docker stop --time=1 3e0dc14c199b0a8e34789cf9c501d7c651b190a2a05bdd45526478016232948d [2022-06-02T23:24:17.295Z] $ docker rm -f 3e0dc14c199b0a8e34789cf9c501d7c651b190a2a05bdd45526478016232948d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T23:24:18.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-02T23:24:18.353Z] Warning: overwriting stash ‘coverage-report’ [2022-06-02T23:24:19.161Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-02T23:24:19.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-02T23:24:19.976Z] + ls -al . [2022-06-02T23:24:19.976Z] total 228 [2022-06-02T23:24:19.976Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:24 . [2022-06-02T23:24:19.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:19 .. [2022-06-02T23:24:19.976Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:19 .git [2022-06-02T23:24:19.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:19 .github [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 2 23:19 .gitignore [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 23:19 .golangci.yml [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 2 23:19 Attribution.txt [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 2 23:19 CHANGELOG.md [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 2 23:19 Dockerfile [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:19 GOVERNANCE.md [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 23:19 Jenkinsfile [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 23:19 LICENSE [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 2 23:19 Makefile [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 23:19 OWNERS.md [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 28742 Jun 2 23:19 README.md [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 2 23:16 VERSION [2022-06-02T23:24:19.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:19 bin [2022-06-02T23:24:19.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:19 cmd [2022-06-02T23:24:19.976Z] -rw-r--r-- 1 jenkins jenkins 53469 Jun 2 23:23 coverage.out [2022-06-02T23:24:19.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:19 doc [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 2 23:19 go.mod [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 2 23:19 go.sum [2022-06-02T23:24:19.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:19 internal [2022-06-02T23:24:19.976Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:24:20.482Z] + 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=63fa4a680431768fa653ad2f832ffdb5163d02d6 --label arch=arm64 --label version=0.0.1-dev.6 . [2022-06-02T23:24:21.099Z] Sending build context to Docker daemon 5.939MB [2022-06-02T23:24:21.099Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T23:24:21.099Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-02T23:24:21.099Z] ---> 5cd4308fad74 [2022-06-02T23:24:21.099Z] Step 3/26 : ARG MAKE="make build" [2022-06-02T23:24:21.099Z] ---> Running in af899e03d5d4 [2022-06-02T23:24:21.709Z] Removing intermediate container af899e03d5d4 [2022-06-02T23:24:21.709Z] ---> 399ad1708776 [2022-06-02T23:24:21.709Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T23:24:21.709Z] ---> Running in 5f32f3d7c0d6 [2022-06-02T23:24:21.983Z] Removing intermediate container 5f32f3d7c0d6 [2022-06-02T23:24:21.983Z] ---> 51c0cae04e88 [2022-06-02T23:24:21.983Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T23:24:21.983Z] ---> Running in 65766126acf1 [2022-06-02T23:24:22.259Z] Removing intermediate container 65766126acf1 [2022-06-02T23:24:22.259Z] ---> d09297207c06 [2022-06-02T23:24:22.259Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-02T23:24:22.541Z] ---> Running in fb2d5ad216a6 [2022-06-02T23:24:22.815Z] Removing intermediate container fb2d5ad216a6 [2022-06-02T23:24:22.815Z] ---> 22c1749291b0 [2022-06-02T23:24:22.815Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T23:24:22.815Z] ---> Running in 22198a66ef7a [2022-06-02T23:24:24.804Z] Removing intermediate container 22198a66ef7a [2022-06-02T23:24:24.804Z] ---> b0e46f91ab81 [2022-06-02T23:24:24.804Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T23:24:24.804Z] ---> Running in 6c06544d1368 [2022-06-02T23:24:25.789Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-02T23:24:26.773Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-02T23:24:27.766Z] OK: 220 MiB in 52 packages [2022-06-02T23:24:28.750Z] Removing intermediate container 6c06544d1368 [2022-06-02T23:24:28.750Z] ---> 4edb6d29da7f [2022-06-02T23:24:28.750Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-02T23:24:28.750Z] ---> Running in 446c684200d1 [2022-06-02T23:24:29.369Z] Removing intermediate container 446c684200d1 [2022-06-02T23:24:29.369Z] ---> 081e154694be [2022-06-02T23:24:29.369Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-02T23:24:29.980Z] ---> 6b3de318459a [2022-06-02T23:24:29.980Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T23:24:29.980Z] ---> Running in 0f419a4568f3 [2022-06-02T23:24:31.971Z] Removing intermediate container 0f419a4568f3 [2022-06-02T23:24:31.971Z] ---> 7f5ff3a975c5 [2022-06-02T23:24:31.971Z] Step 12/26 : COPY . . [2022-06-02T23:24:33.414Z] ---> 2cffbb85e108 [2022-06-02T23:24:33.414Z] Step 13/26 : RUN ${MAKE} [2022-06-02T23:24:33.414Z] ---> Running in 3cf7b1e75bfc [2022-06-02T23:24:34.405Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.6 -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-06-02T23:27:11.376Z] Removing intermediate container 3cf7b1e75bfc [2022-06-02T23:27:11.376Z] ---> 06dfcced5a5c [2022-06-02T23:27:11.376Z] Step 14/26 : FROM alpine:3.15 [2022-06-02T23:27:11.376Z] 3.15: Pulling from library/alpine [2022-06-02T23:27:11.376Z] 9981e73032c8: Pulling fs layer [2022-06-02T23:27:11.376Z] 9981e73032c8: Verifying Checksum [2022-06-02T23:27:11.376Z] 9981e73032c8: Download complete [2022-06-02T23:27:11.376Z] 9981e73032c8: Pull complete [2022-06-02T23:27:11.376Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-02T23:27:11.376Z] Status: Downloaded newer image for alpine:3.15 [2022-06-02T23:27:11.376Z] ---> 3fb3c9af89a9 [2022-06-02T23:27:11.376Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-02T23:27:11.376Z] ---> Running in 7fdd8b22d241 [2022-06-02T23:27:11.376Z] Removing intermediate container 7fdd8b22d241 [2022-06-02T23:27:11.376Z] ---> 6bdc812aeb88 [2022-06-02T23:27:11.376Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-02T23:27:11.376Z] ---> Running in f1291e2dfe38 [2022-06-02T23:27:11.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-02T23:27:11.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-02T23:27:11.376Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-02T23:27:11.376Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-02T23:27:11.376Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-02T23:27:11.376Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-02T23:27:11.376Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-02T23:27:11.376Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-02T23:27:11.376Z] Executing busybox-1.34.1-r5.trigger [2022-06-02T23:27:11.376Z] OK: 8 MiB in 20 packages [2022-06-02T23:27:11.650Z] Removing intermediate container f1291e2dfe38 [2022-06-02T23:27:11.650Z] ---> 27d5653697bb [2022-06-02T23:27:11.650Z] Step 17/26 : WORKDIR / [2022-06-02T23:27:11.650Z] ---> Running in 471db7e91208 [2022-06-02T23:27:12.247Z] Removing intermediate container 471db7e91208 [2022-06-02T23:27:12.247Z] ---> 661594ebeb1f [2022-06-02T23:27:12.247Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-02T23:27:14.231Z] ---> 2a6c4de4936b [2022-06-02T23:27:14.231Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-02T23:27:14.503Z] ---> 6d29702963e2 [2022-06-02T23:27:14.503Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-02T23:27:15.098Z] ---> 34bad1758bdd [2022-06-02T23:27:15.098Z] Step 21/26 : EXPOSE 59984 [2022-06-02T23:27:15.098Z] ---> Running in 871c7416ca0b [2022-06-02T23:27:15.373Z] Removing intermediate container 871c7416ca0b [2022-06-02T23:27:15.373Z] ---> 0cb81f696a6e [2022-06-02T23:27:15.373Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-02T23:27:15.647Z] ---> Running in 347cf8db41f1 [2022-06-02T23:27:15.921Z] Removing intermediate container 347cf8db41f1 [2022-06-02T23:27:15.921Z] ---> 35139e24a198 [2022-06-02T23:27:15.921Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-02T23:27:15.921Z] ---> Running in 2021f14b8a38 [2022-06-02T23:27:16.199Z] Removing intermediate container 2021f14b8a38 [2022-06-02T23:27:16.199Z] ---> bbf56c10a363 [2022-06-02T23:27:16.199Z] Step 24/26 : LABEL arch=arm64 [2022-06-02T23:27:16.199Z] ---> Running in 7f264af51eea [2022-06-02T23:27:16.802Z] Removing intermediate container 7f264af51eea [2022-06-02T23:27:16.802Z] ---> d9a27109703c [2022-06-02T23:27:16.802Z] Step 25/26 : LABEL git_sha=63fa4a680431768fa653ad2f832ffdb5163d02d6 [2022-06-02T23:27:16.802Z] ---> Running in d98887840f09 [2022-06-02T23:27:17.079Z] Removing intermediate container d98887840f09 [2022-06-02T23:27:17.079Z] ---> f5146b38caba [2022-06-02T23:27:17.079Z] Step 26/26 : LABEL version=0.0.1-dev.6 [2022-06-02T23:27:17.079Z] ---> Running in 81e3da9b37d8 [2022-06-02T23:27:17.682Z] Removing intermediate container 81e3da9b37d8 [2022-06-02T23:27:17.682Z] ---> 7f2a62f1656f [2022-06-02T23:27:17.682Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-02T23:27:17.682Z] Successfully built 7f2a62f1656f [2022-06-02T23:27:17.682Z] 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-06-02T23:27:17.827Z] provisioning config files... [2022-06-02T23:27:17.848Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config2054771743052958560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:27:18.214Z] ---> docker-login.sh [2022-06-02T23:27:18.214Z] nexus3.edgexfoundry.org:10001 [2022-06-02T23:27:18.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:27:18.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:27:18.492Z] Configure a credential helper to remove this warning. See [2022-06-02T23:27:18.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:27:18.492Z] [2022-06-02T23:27:18.492Z] Login Succeeded [2022-06-02T23:27:18.492Z] nexus3.edgexfoundry.org:10002 [2022-06-02T23:27:19.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:27:19.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:27:19.091Z] Configure a credential helper to remove this warning. See [2022-06-02T23:27:19.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:27:19.091Z] [2022-06-02T23:27:19.091Z] Login Succeeded [2022-06-02T23:27:19.091Z] nexus3.edgexfoundry.org:10003 [2022-06-02T23:27:19.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:27:19.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:27:19.688Z] Configure a credential helper to remove this warning. See [2022-06-02T23:27:19.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:27:19.688Z] [2022-06-02T23:27:19.688Z] Login Succeeded [2022-06-02T23:27:19.688Z] nexus3.edgexfoundry.org:10004 [2022-06-02T23:27:19.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:27:20.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:27:20.237Z] Configure a credential helper to remove this warning. See [2022-06-02T23:27:20.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:27:20.237Z] [2022-06-02T23:27:20.237Z] Login Succeeded [2022-06-02T23:27:20.237Z] docker.io [2022-06-02T23:27:20.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:27:21.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:27:21.112Z] Configure a credential helper to remove this warning. See [2022-06-02T23:27:21.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:27:21.112Z] [2022-06-02T23:27:21.112Z] Login Succeeded [2022-06-02T23:27:21.112Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T23:27:21.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-02T23:27:21.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T23:27:21.197Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-06-02T23:27:21.197Z] 63fa4a680431768fa653ad2f832ffdb5163d02d6 [2022-06-02T23:27:21.197Z] latest [2022-06-02T23:27:21.197Z] 0.0.1-dev.6 [2022-06-02T23:27:21.197Z] 63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6 [2022-06-02T23:27:21.197Z] main [2022-06-02T23:27:21.197Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:27:21.565Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63fa4a680431768fa653ad2f832ffdb5163d02d6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:27:21.940Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63fa4a680431768fa653ad2f832ffdb5163d02d6 [2022-06-02T23:27:21.940Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T23:27:21.940Z] 9551d82a5c01: Preparing [2022-06-02T23:27:21.940Z] d1ad1265d45d: Preparing [2022-06-02T23:27:21.940Z] 574a6fc57e78: Preparing [2022-06-02T23:27:21.940Z] 2aa6c7255f9b: Preparing [2022-06-02T23:27:21.940Z] 4f4ce317c6bb: Preparing [2022-06-02T23:27:22.215Z] 4f4ce317c6bb: Layer already exists [2022-06-02T23:27:22.215Z] d1ad1265d45d: Pushed [2022-06-02T23:27:22.215Z] 9551d82a5c01: Pushed [2022-06-02T23:27:22.815Z] 2aa6c7255f9b: Pushed [2022-06-02T23:27:29.576Z] 574a6fc57e78: Pushed [2022-06-02T23:27:29.577Z] 63fa4a680431768fa653ad2f832ffdb5163d02d6: digest: sha256:3b832f0e90c1e789f38a67dc36103e460fc72aca85bfb676e14c8e4f0d2e1799 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:27:29.953Z] + 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-06-02T23:27:30.326Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-02T23:27:30.326Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T23:27:30.326Z] 9551d82a5c01: Preparing [2022-06-02T23:27:30.326Z] d1ad1265d45d: Preparing [2022-06-02T23:27:30.326Z] 574a6fc57e78: Preparing [2022-06-02T23:27:30.326Z] 2aa6c7255f9b: Preparing [2022-06-02T23:27:30.326Z] 4f4ce317c6bb: Preparing [2022-06-02T23:27:30.603Z] 9551d82a5c01: Layer already exists [2022-06-02T23:27:30.603Z] 4f4ce317c6bb: Layer already exists [2022-06-02T23:27:30.603Z] d1ad1265d45d: Layer already exists [2022-06-02T23:27:30.603Z] 574a6fc57e78: Layer already exists [2022-06-02T23:27:30.603Z] 2aa6c7255f9b: Layer already exists [2022-06-02T23:27:30.603Z] latest: digest: sha256:3b832f0e90c1e789f38a67dc36103e460fc72aca85bfb676e14c8e4f0d2e1799 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:27:30.979Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:27:31.351Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.6 [2022-06-02T23:27:31.351Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T23:27:31.351Z] 9551d82a5c01: Preparing [2022-06-02T23:27:31.351Z] d1ad1265d45d: Preparing [2022-06-02T23:27:31.351Z] 574a6fc57e78: Preparing [2022-06-02T23:27:31.351Z] 2aa6c7255f9b: Preparing [2022-06-02T23:27:31.351Z] 4f4ce317c6bb: Preparing [2022-06-02T23:27:31.627Z] 4f4ce317c6bb: Layer already exists [2022-06-02T23:27:31.627Z] 574a6fc57e78: Layer already exists [2022-06-02T23:27:31.627Z] d1ad1265d45d: Layer already exists [2022-06-02T23:27:31.627Z] 2aa6c7255f9b: Layer already exists [2022-06-02T23:27:31.627Z] 9551d82a5c01: Layer already exists [2022-06-02T23:27:31.627Z] 0.0.1-dev.6: digest: sha256:3b832f0e90c1e789f38a67dc36103e460fc72aca85bfb676e14c8e4f0d2e1799 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:27:32.004Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:27:32.381Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6 [2022-06-02T23:27:32.381Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T23:27:32.381Z] 9551d82a5c01: Preparing [2022-06-02T23:27:32.381Z] d1ad1265d45d: Preparing [2022-06-02T23:27:32.381Z] 574a6fc57e78: Preparing [2022-06-02T23:27:32.381Z] 2aa6c7255f9b: Preparing [2022-06-02T23:27:32.381Z] 4f4ce317c6bb: Preparing [2022-06-02T23:27:32.655Z] d1ad1265d45d: Layer already exists [2022-06-02T23:27:32.655Z] 2aa6c7255f9b: Layer already exists [2022-06-02T23:27:32.655Z] 574a6fc57e78: Layer already exists [2022-06-02T23:27:32.655Z] 9551d82a5c01: Layer already exists [2022-06-02T23:27:32.655Z] 4f4ce317c6bb: Layer already exists [2022-06-02T23:27:32.655Z] 63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6: digest: sha256:3b832f0e90c1e789f38a67dc36103e460fc72aca85bfb676e14c8e4f0d2e1799 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:27:33.069Z] + 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-06-02T23:27:33.481Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-06-02T23:27:33.481Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T23:27:33.481Z] 9551d82a5c01: Preparing [2022-06-02T23:27:33.481Z] d1ad1265d45d: Preparing [2022-06-02T23:27:33.481Z] 574a6fc57e78: Preparing [2022-06-02T23:27:33.481Z] 2aa6c7255f9b: Preparing [2022-06-02T23:27:33.481Z] 4f4ce317c6bb: Preparing [2022-06-02T23:27:33.770Z] d1ad1265d45d: Layer already exists [2022-06-02T23:27:33.770Z] 9551d82a5c01: Layer already exists [2022-06-02T23:27:33.770Z] 4f4ce317c6bb: Layer already exists [2022-06-02T23:27:33.770Z] 574a6fc57e78: Layer already exists [2022-06-02T23:27:33.770Z] 2aa6c7255f9b: Layer already exists [2022-06-02T23:27:33.770Z] main: digest: sha256:3b832f0e90c1e789f38a67dc36103e460fc72aca85bfb676e14c8e4f0d2e1799 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-02T23:27:33.838Z] ===================================================== [Pipeline] echo [2022-06-02T23:27:33.847Z] taggedImages: [2022-06-02T23:27:33.847Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63fa4a680431768fa653ad2f832ffdb5163d02d6 [2022-06-02T23:27:33.847Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-02T23:27:33.847Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.6 [2022-06-02T23:27:33.848Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63fa4a680431768fa653ad2f832ffdb5163d02d6-0.0.1-dev.6 [2022-06-02T23:27:33.848Z] - 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-06-02T23:27:34.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-02T23:27:34.233Z] [2022-06-02T23:27:34.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:27:34.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-02T23:27:34.879Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-02T23:27:34.879Z] 8998bd30e6a1: Pulling fs layer [2022-06-02T23:27:34.879Z] 04944245beec: Pulling fs layer [2022-06-02T23:27:34.879Z] 699f458cf7ca: Pulling fs layer [2022-06-02T23:27:34.879Z] 765212b225bb: Pulling fs layer [2022-06-02T23:27:34.879Z] f23df028b6ca: Pulling fs layer [2022-06-02T23:27:34.879Z] d65c8cfc05b1: Pulling fs layer [2022-06-02T23:27:34.879Z] 2437ff75d9bd: Pulling fs layer [2022-06-02T23:27:34.879Z] 765212b225bb: Waiting [2022-06-02T23:27:34.879Z] f23df028b6ca: Waiting [2022-06-02T23:27:34.879Z] d65c8cfc05b1: Waiting [2022-06-02T23:27:34.879Z] 2437ff75d9bd: Waiting [2022-06-02T23:27:34.879Z] 04944245beec: Verifying Checksum [2022-06-02T23:27:34.879Z] 04944245beec: Download complete [2022-06-02T23:27:34.879Z] 765212b225bb: Verifying Checksum [2022-06-02T23:27:34.879Z] 765212b225bb: Download complete [2022-06-02T23:27:35.156Z] f23df028b6ca: Download complete [2022-06-02T23:27:35.156Z] d65c8cfc05b1: Verifying Checksum [2022-06-02T23:27:35.156Z] d65c8cfc05b1: Download complete [2022-06-02T23:27:35.156Z] 699f458cf7ca: Verifying Checksum [2022-06-02T23:27:35.156Z] 699f458cf7ca: Download complete [2022-06-02T23:27:35.756Z] 8998bd30e6a1: Verifying Checksum [2022-06-02T23:27:35.756Z] 8998bd30e6a1: Download complete [2022-06-02T23:27:38.395Z] 2437ff75d9bd: Verifying Checksum [2022-06-02T23:27:38.395Z] 2437ff75d9bd: Download complete [2022-06-02T23:27:40.377Z] 8998bd30e6a1: Pull complete [2022-06-02T23:27:40.651Z] 04944245beec: Pull complete [2022-06-02T23:27:42.630Z] 699f458cf7ca: Pull complete [2022-06-02T23:27:42.630Z] 765212b225bb: Pull complete [2022-06-02T23:27:43.618Z] f23df028b6ca: Pull complete [2022-06-02T23:27:43.893Z] d65c8cfc05b1: Pull complete [2022-06-02T23:27:59.011Z] 2437ff75d9bd: Pull complete [2022-06-02T23:27:59.011Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-02T23:27:59.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-02T23:27:59.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:27:59.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-720 does not seem to be running inside a container [2022-06-02T23:27:59.392Z] $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-02T23:28:02.375Z] $ docker top 1f72d607361e4225e15c19e6d9bd6214fe3b73a0371c0e44b83a484ef83f8a7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:28:03.334Z] ---> job-cost.sh [2022-06-02T23:28:03.334Z] lf-activate-venv: SKIPPING [2022-06-02T23:28:03.334Z] INFO: No Stack... [2022-06-02T23:28:03.930Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-02T23:28:04.908Z] INFO: Archiving Costs [Pipeline] sh [2022-06-02T23:28:05.576Z] + cat /w/workspace/device-onvif-camera/8/archives/cost.csv [2022-06-02T23:28:05.576Z] + cut -d, -f6 [Pipeline] lock [2022-06-02T23:28:05.644Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-8-stack-cost] [2022-06-02T23:28:05.650Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-8-stack-cost] did not exist. Created. [2022-06-02T23:28:05.650Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-02T23:28:06.330Z] /w/workspace/device-onvif-camera/8@tmp/durable-5f6f7e25/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-02T23:28:07.017Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-02T23:28:07.039Z] Warning: overwriting stash ‘stack-cost’ [2022-06-02T23:28:07.093Z] Stashed 1 file(s) [Pipeline] } [2022-06-02T23:28:07.103Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-02T23:28:07.131Z] $ docker stop --time=1 1f72d607361e4225e15c19e6d9bd6214fe3b73a0371c0e44b83a484ef83f8a7e [2022-06-02T23:28:08.754Z] $ docker rm -f 1f72d607361e4225e15c19e6d9bd6214fe3b73a0371c0e44b83a484ef83f8a7e [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-06-02T23:28:09.270Z] provisioning config files... [2022-06-02T23:28:09.280Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3346537581738979040tmp [Pipeline] { [Pipeline] sh [2022-06-02T23:28:09.576Z] + set +x [2022-06-02T23:28:09.576Z] + + curl -s https://codecov.io/bash [2022-06-02T23:28:09.576Z] bash -s -- [2022-06-02T23:28:09.576Z] [2022-06-02T23:28:09.576Z] _____ _ [2022-06-02T23:28:09.576Z] / ____| | | [2022-06-02T23:28:09.576Z] | | ___ __| | ___ ___ _____ __ [2022-06-02T23:28:09.576Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-02T23:28:09.576Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-02T23:28:09.576Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-02T23:28:09.576Z] Bash-1.0.6 [2022-06-02T23:28:09.576Z] [2022-06-02T23:28:09.576Z] [2022-06-02T23:28:09.576Z] ==> git version 2.25.1 found [2022-06-02T23:28:09.576Z] ==> 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-06-02T23:28:09.576Z] Release-Date: 2020-01-08 [2022-06-02T23:28:09.576Z] 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-06-02T23:28:09.576Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-02T23:28:09.576Z] ==> Jenkins CI detected. [2022-06-02T23:28:09.576Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-06-02T23:28:09.576Z] project root: . [2022-06-02T23:28:09.576Z] --> token set from env [2022-06-02T23:28:09.576Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-02T23:28:09.576Z] ==> Running gcov in . (disable via -X gcov) [2022-06-02T23:28:09.576Z] ==> Python coveragepy not found [2022-06-02T23:28:09.576Z] ==> Searching for coverage reports in: [2022-06-02T23:28:09.576Z] + . [2022-06-02T23:28:09.576Z] -> Found 1 reports [2022-06-02T23:28:09.576Z] ==> Detecting git/mercurial file structure [2022-06-02T23:28:09.576Z] ==> Reading reports [2022-06-02T23:28:09.576Z] + ./coverage.out bytes=53469 [2022-06-02T23:28:09.576Z] ==> Appending adjustments [2022-06-02T23:28:09.576Z] https://docs.codecov.io/docs/fixing-reports [2022-06-02T23:28:09.836Z] + Found adjustments [2022-06-02T23:28:09.836Z] ==> Gzipping contents [2022-06-02T23:28:09.836Z] 8.0K /tmp/codecov.J8fl66.gz [2022-06-02T23:28:09.836Z] ==> Uploading reports [2022-06-02T23:28:09.836Z] url: https://codecov.io [2022-06-02T23:28:09.836Z] query: branch=main&commit=63fa4a680431768fa653ad2f832ffdb5163d02d6&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-02T23:28:09.836Z] -> Pinging Codecov [2022-06-02T23:28:09.836Z] 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=63fa4a680431768fa653ad2f832ffdb5163d02d6&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-02T23:28:10.097Z] -> Uploading to [2022-06-02T23:28:10.097Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-02/F29A59C45E3A92E06B3E522C9905F8EF/63fa4a680431768fa653ad2f832ffdb5163d02d6/f0e4ae45-4ea6-479f-a332-28898c0bc9bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T232809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97e8183b763e2c693a40396436697cf2a43d594f08ce86bf5d8c8421f9b89d73 [2022-06-02T23:28:10.097Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-02T23:28:10.097Z] Dload Upload Total Spent Left Speed [2022-06-02T23:28:10.357Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6847 0 0 100 6847 0 30566 --:--:-- --:--:-- --:--:-- 30566 [2022-06-02T23:28:10.357Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/63fa4a680431768fa653ad2f832ffdb5163d02d6 [Pipeline] } [2022-06-02T23:28:10.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-02T23:28:10.537Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-02T23:28:10.549Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:28:10.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-02T23:28:10.845Z] [2022-06-02T23:28:10.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:28:11.145Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-02T23:28:11.145Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-02T23:28:11.145Z] df9b9388f04a: Already exists [2022-06-02T23:28:11.145Z] 52dc419b0ee2: Pulling fs layer [2022-06-02T23:28:11.145Z] 25bc292e5bac: Pulling fs layer [2022-06-02T23:28:11.145Z] 114826534d7a: Pulling fs layer [2022-06-02T23:28:11.145Z] 4657fd5d0bcf: Pulling fs layer [2022-06-02T23:28:11.145Z] 6ad1cebc031e: Pulling fs layer [2022-06-02T23:28:11.145Z] 8a3aa393b2d8: Pulling fs layer [2022-06-02T23:28:11.145Z] 6ad1cebc031e: Waiting [2022-06-02T23:28:11.145Z] 4657fd5d0bcf: Waiting [2022-06-02T23:28:11.145Z] 25bc292e5bac: Download complete [2022-06-02T23:28:11.145Z] 52dc419b0ee2: Download complete [2022-06-02T23:28:11.145Z] 4657fd5d0bcf: Verifying Checksum [2022-06-02T23:28:11.145Z] 4657fd5d0bcf: Download complete [2022-06-02T23:28:11.405Z] 52dc419b0ee2: Pull complete [2022-06-02T23:28:11.405Z] 6ad1cebc031e: Verifying Checksum [2022-06-02T23:28:11.405Z] 6ad1cebc031e: Download complete [2022-06-02T23:28:11.405Z] 25bc292e5bac: Pull complete [2022-06-02T23:28:11.976Z] 114826534d7a: Download complete [2022-06-02T23:28:11.976Z] 8a3aa393b2d8: Verifying Checksum [2022-06-02T23:28:11.976Z] 8a3aa393b2d8: Download complete [2022-06-02T23:28:15.259Z] 114826534d7a: Pull complete [2022-06-02T23:28:15.259Z] 4657fd5d0bcf: Pull complete [2022-06-02T23:28:15.825Z] 6ad1cebc031e: Pull complete [2022-06-02T23:28:18.357Z] 8a3aa393b2d8: Pull complete [2022-06-02T23:28:18.358Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-02T23:28:18.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-02T23:28:18.358Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:28:18.438Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:28:18.481Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-02T23:28:20.514Z] $ docker top bc608d49a9e9b0a1c8666830d8e24c929af1afc256e6db0db9e5cd0323d49b88 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-02T23:28:20.592Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-06-02T23:28:20.900Z] + set -o pipefail [2022-06-02T23:28:20.900Z] + snyk monitor '--org=edgex-jenkins' [2022-06-02T23:28:25.249Z] [2022-06-02T23:28:25.249Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-06-02T23:28:25.249Z] [2022-06-02T23:28:25.249Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/8378db99-2324-4941-bf69-26f6fd4dd67c/history/b96b95a1-0e59-47a1-b477-59c3adfa2aea [2022-06-02T23:28:25.249Z] [2022-06-02T23:28:25.249Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-02T23:28:25.249Z] [2022-06-02T23:28:25.510Z] [Pipeline] } [2022-06-02T23:28:25.526Z] $ docker stop --time=1 bc608d49a9e9b0a1c8666830d8e24c929af1afc256e6db0db9e5cd0323d49b88 [2022-06-02T23:28:27.876Z] $ docker rm -f bc608d49a9e9b0a1c8666830d8e24c929af1afc256e6db0db9e5cd0323d49b88 [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-06-02T23:28:28.641Z] + git log --format=format:%s -1 63fa4a680431768fa653ad2f832ffdb5163d02d6 [Pipeline] sh [2022-06-02T23:28:28.936Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T23:28:28.936Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:28:29.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T23:28:29.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:28:29.313Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:28:29.353Z] $ 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:latest cat [2022-06-02T23:28:29.805Z] $ docker top e2b18e5419e41d11ebe6844a5a7b333b88ba1c07415d43308337e7a3af827fd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T23:28:29.895Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T23:28:29.895Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T23:28:30.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T23:28:30.043Z] $ docker exec e2b18e5419e41d11ebe6844a5a7b333b88ba1c07415d43308337e7a3af827fd2 ssh-agent [2022-06-02T23:28:30.164Z] SSH_AUTH_SOCK=/tmp/ssh-N20dfz9WzFnR/agent.32 [2022-06-02T23:28:30.164Z] SSH_AGENT_PID=38 [2022-06-02T23:28:30.169Z] Running ssh-add (command line suppressed) [2022-06-02T23:28:30.283Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9188779750490791808.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9188779750490791808.key) [2022-06-02T23:28:30.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T23:28:30.584Z] + git semver tag [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,787 [run_tag] DEBUG tag force:False [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,787 [check_head_tag] DEBUG check head tag [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,787 [execute] INFO git cat-file --batch-check [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,791 [execute] INFO git cat-file --batch [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,798 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,798 [execute] INFO git tag -a v0.0.1-dev.6 -m v0.0.1-dev.6 [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,798 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.6', '-m', 'v0.0.1-dev.6'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-02T23:28:30.845Z] 2022-06-02 23:28:30,804 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T23:28:30.845Z] 0.0.1-dev.6 [Pipeline] } [2022-06-02T23:28:30.857Z] $ docker exec --env ******** --env ******** e2b18e5419e41d11ebe6844a5a7b333b88ba1c07415d43308337e7a3af827fd2 ssh-agent -k [2022-06-02T23:28:30.967Z] unset SSH_AUTH_SOCK; [2022-06-02T23:28:30.968Z] unset SSH_AGENT_PID; [2022-06-02T23:28:30.968Z] echo Agent pid 38 killed; [2022-06-02T23:28:30.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T23:28:31.289Z] + git semver [Pipeline] } [2022-06-02T23:28:31.567Z] $ docker stop --time=1 e2b18e5419e41d11ebe6844a5a7b333b88ba1c07415d43308337e7a3af827fd2 [2022-06-02T23:28:32.874Z] $ docker rm -f e2b18e5419e41d11ebe6844a5a7b333b88ba1c07415d43308337e7a3af827fd2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:28:33.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-02T23:28:33.254Z] [2022-06-02T23:28:33.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:28:33.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-02T23:28:33.554Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-02T23:28:33.554Z] ab5ef0e58194: Pulling fs layer [2022-06-02T23:28:33.554Z] 9712f1f96733: Pulling fs layer [2022-06-02T23:28:33.554Z] 63f879dbbcfc: Pulling fs layer [2022-06-02T23:28:33.554Z] 0d9ebad4ef96: Pulling fs layer [2022-06-02T23:28:33.554Z] e9a5061849ea: Pulling fs layer [2022-06-02T23:28:33.554Z] d747dcd14b5f: Pulling fs layer [2022-06-02T23:28:33.554Z] 2de7ff778b66: Pulling fs layer [2022-06-02T23:28:33.554Z] d747dcd14b5f: Waiting [2022-06-02T23:28:33.554Z] e9a5061849ea: Waiting [2022-06-02T23:28:33.554Z] 2de7ff778b66: Waiting [2022-06-02T23:28:33.554Z] 0d9ebad4ef96: Waiting [2022-06-02T23:28:33.554Z] 9712f1f96733: Verifying Checksum [2022-06-02T23:28:33.554Z] 9712f1f96733: Download complete [2022-06-02T23:28:33.817Z] 63f879dbbcfc: Verifying Checksum [2022-06-02T23:28:33.817Z] 63f879dbbcfc: Download complete [2022-06-02T23:28:34.077Z] e9a5061849ea: Verifying Checksum [2022-06-02T23:28:34.077Z] e9a5061849ea: Download complete [2022-06-02T23:28:34.077Z] d747dcd14b5f: Verifying Checksum [2022-06-02T23:28:34.077Z] d747dcd14b5f: Download complete [2022-06-02T23:28:34.077Z] 0d9ebad4ef96: Verifying Checksum [2022-06-02T23:28:34.077Z] 0d9ebad4ef96: Download complete [2022-06-02T23:28:34.077Z] 2de7ff778b66: Verifying Checksum [2022-06-02T23:28:34.077Z] 2de7ff778b66: Download complete [2022-06-02T23:28:34.335Z] ab5ef0e58194: Verifying Checksum [2022-06-02T23:28:34.335Z] ab5ef0e58194: Download complete [2022-06-02T23:28:37.622Z] ab5ef0e58194: Pull complete [2022-06-02T23:28:37.622Z] 9712f1f96733: Pull complete [2022-06-02T23:28:37.881Z] 63f879dbbcfc: Pull complete [2022-06-02T23:28:42.069Z] 0d9ebad4ef96: Pull complete [2022-06-02T23:28:42.069Z] e9a5061849ea: Pull complete [2022-06-02T23:28:42.069Z] d747dcd14b5f: Pull complete [2022-06-02T23:28:42.636Z] 2de7ff778b66: Pull complete [2022-06-02T23:28:42.636Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-02T23:28:42.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-02T23:28:42.636Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:28:42.732Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:28:42.770Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-02T23:28:45.071Z] $ docker top 12c49a8f95bf57ff3d9c9bd5e1bed1510eb1086bb0098291591e85fcf6477e0e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-02T23:28:45.145Z] provisioning config files... [2022-06-02T23:28:45.153Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2303897606126534874tmp [2022-06-02T23:28:45.163Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7721107895261867752tmp [2022-06-02T23:28:45.175Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6918464510549583017tmp [Pipeline] { [Pipeline] echo [2022-06-02T23:28:45.190Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:28:45.477Z] ---> sigul-configuration.sh [2022-06-02T23:28:45.477Z] gpg: directory `/root/.gnupg' created [2022-06-02T23:28:45.477Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-02T23:28:45.477Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-02T23:28:45.477Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-02T23:28:45.477Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-02T23:28:45.477Z] gpg: CAST5 encrypted data [2022-06-02T23:28:45.477Z] gpg: encrypted with 1 passphrase [2022-06-02T23:28:45.477Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-02T23:28:45.763Z] + mkdir /home/jenkins [2022-06-02T23:28:45.764Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-02T23:28:46.052Z] + 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-06-02T23:28:46.060Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:28:46.342Z] ---> sigul-install.sh [2022-06-02T23:28:46.342Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-02T23:28:46.627Z] + git tag --list [2022-06-02T23:28:46.627Z] v0.0.0 [2022-06-02T23:28:46.627Z] v0.0.1-dev.1 [2022-06-02T23:28:46.627Z] v0.0.1-dev.2 [2022-06-02T23:28:46.627Z] v0.0.1-dev.3 [2022-06-02T23:28:46.627Z] v0.0.1-dev.4 [2022-06-02T23:28:46.627Z] v0.0.1-dev.5 [2022-06-02T23:28:46.627Z] v0.0.1-dev.6 [Pipeline] sh [2022-06-02T23:28:46.915Z] + lftools sign git-tag v0.0.1-dev.6 [2022-06-02T23:28:47.484Z] Signing Git tag with Sigul... [2022-06-02T23:28:47.484Z] Signing v0.0.1-dev.6 [Pipeline] echo [2022-06-02T23:28:47.755Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:28:48.039Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-02T23:28:48.046Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-02T23:28:48.068Z] $ docker stop --time=1 12c49a8f95bf57ff3d9c9bd5e1bed1510eb1086bb0098291591e85fcf6477e0e [2022-06-02T23:28:49.389Z] $ docker rm -f 12c49a8f95bf57ff3d9c9bd5e1bed1510eb1086bb0098291591e85fcf6477e0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-02T23:28:49.787Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T23:28:49.787Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:28:50.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T23:28:50.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:28:50.160Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:28:50.200Z] $ 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:latest cat [2022-06-02T23:28:50.571Z] $ docker top 69b5d223a20e44561f43ee30115cbb7e455f0ac6dfefda8e79d0050363aa8ea8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T23:28:50.650Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T23:28:50.650Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T23:28:50.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T23:28:50.801Z] $ docker exec 69b5d223a20e44561f43ee30115cbb7e455f0ac6dfefda8e79d0050363aa8ea8 ssh-agent [2022-06-02T23:28:50.906Z] SSH_AUTH_SOCK=/tmp/ssh-zmRu0xZh5Qpk/agent.32 [2022-06-02T23:28:50.907Z] SSH_AGENT_PID=38 [2022-06-02T23:28:50.911Z] Running ssh-add (command line suppressed) [2022-06-02T23:28:51.039Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6385552616382979519.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6385552616382979519.key) [2022-06-02T23:28:51.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T23:28:51.348Z] + git semver bump pre [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,510 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,510 [bump_version] DEBUG bumping version:0.0.1-dev.6 on axis:pre with prefix:dev [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,510 [bump_version] DEBUG bumped version:0.0.1-dev.7 [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,510 [write_version] DEBUG write version:0.0.1-dev.7 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,510 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,510 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,512 [execute] INFO git cat-file --batch-check [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,518 [execute] INFO git cat-file --batch [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-02T23:28:51.608Z] 2022-06-02 23:28:51,522 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T23:28:51.608Z] 0.0.1-dev.7 [Pipeline] } [2022-06-02T23:28:51.622Z] $ docker exec --env ******** --env ******** 69b5d223a20e44561f43ee30115cbb7e455f0ac6dfefda8e79d0050363aa8ea8 ssh-agent -k [2022-06-02T23:28:51.728Z] unset SSH_AUTH_SOCK; [2022-06-02T23:28:51.728Z] unset SSH_AGENT_PID; [2022-06-02T23:28:51.729Z] echo Agent pid 38 killed; [2022-06-02T23:28:51.735Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T23:28:52.039Z] + git semver [Pipeline] } [2022-06-02T23:28:52.316Z] $ docker stop --time=1 69b5d223a20e44561f43ee30115cbb7e455f0ac6dfefda8e79d0050363aa8ea8 [2022-06-02T23:28:53.633Z] $ docker rm -f 69b5d223a20e44561f43ee30115cbb7e455f0ac6dfefda8e79d0050363aa8ea8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T23:28:53.987Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T23:28:53.987Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:28:54.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T23:28:54.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:28:54.375Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:28:54.412Z] $ 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:latest cat [2022-06-02T23:28:54.789Z] $ docker top 4f34c77f53747b0342b4a6ea653d8b588f81bfd5e1ea4f38496986b5dbad307d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T23:28:54.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T23:28:54.883Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T23:28:54.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T23:28:55.002Z] $ docker exec 4f34c77f53747b0342b4a6ea653d8b588f81bfd5e1ea4f38496986b5dbad307d ssh-agent [2022-06-02T23:28:55.117Z] SSH_AUTH_SOCK=/tmp/ssh-rEyEfXjkNFaD/agent.32 [2022-06-02T23:28:55.117Z] SSH_AGENT_PID=38 [2022-06-02T23:28:55.123Z] Running ssh-add (command line suppressed) [2022-06-02T23:28:55.234Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1221855272403446826.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1221855272403446826.key) [2022-06-02T23:28:55.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T23:28:55.532Z] + git semver push [2022-06-02T23:28:55.792Z] 2022-06-02 23:28:55,715 [run_push] DEBUG push [2022-06-02T23:28:55.792Z] 2022-06-02 23:28:55,715 [execute] INFO git push origin semver [2022-06-02T23:28:55.792Z] 2022-06-02 23:28:55,715 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-02T23:28:56.362Z] 2022-06-02 23:28:56,348 [run_push] DEBUG push all version tags [2022-06-02T23:28:56.362Z] 2022-06-02 23:28:56,348 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-02T23:28:56.362Z] 2022-06-02 23:28:56,349 [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-06-02T23:28:57.304Z] 2022-06-02 23:28:56,969 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T23:28:57.304Z] 0.0.1-dev.7 [Pipeline] } [2022-06-02T23:28:57.318Z] $ docker exec --env ******** --env ******** 4f34c77f53747b0342b4a6ea653d8b588f81bfd5e1ea4f38496986b5dbad307d ssh-agent -k [2022-06-02T23:28:57.435Z] unset SSH_AUTH_SOCK; [2022-06-02T23:28:57.436Z] unset SSH_AGENT_PID; [2022-06-02T23:28:57.436Z] echo Agent pid 38 killed; [2022-06-02T23:28:57.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T23:28:57.756Z] + git semver [Pipeline] } [2022-06-02T23:28:58.031Z] $ docker stop --time=1 4f34c77f53747b0342b4a6ea653d8b588f81bfd5e1ea4f38496986b5dbad307d [2022-06-02T23:28:59.366Z] $ docker rm -f 4f34c77f53747b0342b4a6ea653d8b588f81bfd5e1ea4f38496986b5dbad307d [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-06-02T23:28:59.929Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-06-02T23:28:59.929Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-02T23:28:59.929Z] total 16 [2022-06-02T23:28:59.929Z] drwxr-xr-x 3 root root 4096 Jun 2 23:18 . [2022-06-02T23:28:59.929Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 23:28 .. [2022-06-02T23:28:59.929Z] drwxr-xr-x 2 root root 4096 Jun 2 23:18 cost [2022-06-02T23:28:59.929Z] -rw-r--r-- 1 root root 88 Jun 2 23:18 cost.csv [2022-06-02T23:28:59.929Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-02T23:28:59.929Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-02T23:28:59.929Z] total 16 [2022-06-02T23:28:59.929Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:18 . [2022-06-02T23:28:59.929Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 23:28 .. [2022-06-02T23:28:59.929Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 23:18 cost [2022-06-02T23:28:59.929Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 2 23:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:29:00.227Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:29:01.095Z] ---> package-listing.sh [2022-06-02T23:29:01.095Z] ++ facter osfamily [2022-06-02T23:29:01.095Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-02T23:29:01.358Z] + OS_FAMILY=debian [2022-06-02T23:29:01.358Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-06-02T23:29:01.358Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-02T23:29:01.358Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-02T23:29:01.358Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-02T23:29:01.358Z] + PACKAGES=/tmp/packages_start.txt [2022-06-02T23:29:01.358Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-02T23:29:01.358Z] + PACKAGES=/tmp/packages_end.txt [2022-06-02T23:29:01.358Z] + case "${OS_FAMILY}" in [2022-06-02T23:29:01.358Z] + dpkg -l [2022-06-02T23:29:01.358Z] + grep '^ii' [2022-06-02T23:29:01.358Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-02T23:29:01.358Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-02T23:29:01.358Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-02T23:29:01.358Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-02T23:29:01.358Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-06-02T23:29:01.358Z] + 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-06-02T23:29:01.383Z] 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-06-02T23:29:01.698Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:29:02.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T23:29:02.074Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:29:02.152Z] prd-ubuntu20.04-docker-8c-8g-718 does not seem to be running inside a container [2022-06-02T23:29:02.187Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-02T23:29:02.448Z] $ docker top 5341f71b690279d3bc2d4f98f248207525139000d9a3a8ecba2dab8f171fbb21 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T23:29:02.799Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-02T23:29:03.085Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-02T23:29:03.369Z] + ls /var/log/sa-host [2022-06-02T23:29:03.369Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T23:29:03.498Z] provisioning config files... [2022-06-02T23:29:03.507Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1903061454430938113tmp [Pipeline] { [Pipeline] echo [2022-06-02T23:29:03.523Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:29:03.806Z] ---> create-netrc.sh [Pipeline] } [2022-06-02T23:29:03.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:29:04.144Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-02T23:29:04.155Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:29:04.442Z] ---> sudo-logs.sh [2022-06-02T23:29:04.442Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-02T23:29:04.478Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:29:04.759Z] ---> job-cost.sh [2022-06-02T23:29:04.760Z] lf-activate-venv: SKIPPING [2022-06-02T23:29:04.760Z] DEBUG: total: 0.2199999988079071 [2022-06-02T23:29:04.760Z] INFO: Retrieving Stack Cost... [2022-06-02T23:29:05.020Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-02T23:29:05.591Z] INFO: Archiving Costs [Pipeline] echo [2022-06-02T23:29:05.603Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:29:05.888Z] ---> logs-deploy.sh [2022-06-02T23:29:05.888Z] lf-activate-venv: SKIPPING [2022-06-02T23:29:05.888Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/8 [2022-06-02T23:29:05.888Z] INFO: archiving workspace using pattern(s): [2022-06-02T23:29:06.826Z] Archives upload complete. [2022-06-02T23:29:06.826Z] INFO: archiving logs to Nexus