Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18118626ca0893b728531bfc2ef8f97357a298a2 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-ssh4884444516730053740.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-ssh10727188460693648070.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-ssh1070883551072434232.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-ssh2180822260579137222.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-ssh7686987952871636544.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 ‘prd-ubuntu20.04-docker-8c-8g-223’ is offline Running on prd-ubuntu20.04-docker-8c-8g-227 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 Avoid second fetch Checking out Revision 18118626ca0893b728531bfc2ef8f97357a298a2 (main) 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 > 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 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 Commit message: "Merge pull request #72 from ajcasagrande/patch-1" > git rev-list --no-walk 78143ebb3130533f25c0201c0b9883fbe99b4ff0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-27T03:11:48.970Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-27T03:11:49.029Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-27T03:11:49.047Z] ========================================================= [2022-05-27T03:11:49.047Z] EdgeX Global Pipelines Version Info [2022-05-27T03:11:49.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:11:49.851Z] ------------------- [2022-05-27T03:11:49.851Z] stable info: [2022-05-27T03:11:49.851Z] ------------------- [2022-05-27T03:11:49.851Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T03:11:49.851Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T03:11:49.851Z] Message: update stable to v1.0.230 [2022-05-27T03:11:50.425Z] ------------------- [2022-05-27T03:11:50.425Z] experimental info: [2022-05-27T03:11:50.425Z] ------------------- [2022-05-27T03:11:50.425Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T03:11:50.425Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T03:11:50.425Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-27T03:11:50.759Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-05-27T03:11:50.773Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-05-27T03:11:50.788Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-27T03:11:50.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-27T03:11:50.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-27T03:11:50.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-27T03:11:50.860Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-27T03:11:50.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-27T03:11:50.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-27T03:11:50.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-27T03:11:50.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-27T03:11:50.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-05-27T03:11:50.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-27T03:11:50.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-27T03:11:51.009Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T03:11:51.029Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T03:11:51.048Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T03:11:51.066Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T03:11:51.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-27T03:11:51.102Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-27T03:11:51.117Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-27T03:11:51.132Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-27T03:11:51.148Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-27T03:11:51.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-27T03:11:51.176Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-27T03:11:51.187Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-27T03:11:51.197Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-27T03:11:51.207Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-27T03:11:51.217Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-27T03:11:51.231Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18118626ca0893b728531bfc2ef8f97357a298a2 [Pipeline] echo [2022-05-27T03:11:51.244Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1811862 [Pipeline] echo [2022-05-27T03:11:51.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T03:11:51.316Z] provisioning config files... [2022-05-27T03:11:51.334Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9196315463933501243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:11:51.649Z] ---> docker-login.sh [2022-05-27T03:11:51.649Z] nexus3.edgexfoundry.org:10001 [2022-05-27T03:11:51.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:11:51.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:11:51.912Z] Configure a credential helper to remove this warning. See [2022-05-27T03:11:51.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:11:51.912Z] [2022-05-27T03:11:51.912Z] Login Succeeded [2022-05-27T03:11:51.912Z] nexus3.edgexfoundry.org:10002 [2022-05-27T03:11:52.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:11:52.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:11:52.175Z] Configure a credential helper to remove this warning. See [2022-05-27T03:11:52.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:11:52.175Z] [2022-05-27T03:11:52.175Z] Login Succeeded [2022-05-27T03:11:52.175Z] nexus3.edgexfoundry.org:10003 [2022-05-27T03:11:52.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:11:52.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:11:52.436Z] Configure a credential helper to remove this warning. See [2022-05-27T03:11:52.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:11:52.436Z] [2022-05-27T03:11:52.436Z] Login Succeeded [2022-05-27T03:11:52.436Z] nexus3.edgexfoundry.org:10004 [2022-05-27T03:11:52.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:11:52.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:11:52.436Z] Configure a credential helper to remove this warning. See [2022-05-27T03:11:52.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:11:52.436Z] [2022-05-27T03:11:52.436Z] Login Succeeded [2022-05-27T03:11:52.436Z] docker.io [2022-05-27T03:11:52.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:11:52.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:11:52.962Z] Configure a credential helper to remove this warning. See [2022-05-27T03:11:52.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:11:52.962Z] [2022-05-27T03:11:52.962Z] Login Succeeded [2022-05-27T03:11:52.962Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T03:11:52.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-27T03:11:53.357Z] + git rev-list -1 --merges 18118626ca0893b728531bfc2ef8f97357a298a2~1..18118626ca0893b728531bfc2ef8f97357a298a2 [Pipeline] echo [2022-05-27T03:11:53.387Z] -----------> git rev-list -1 --merges 18118626ca0893b728531bfc2ef8f97357a298a2~1..18118626ca0893b728531bfc2ef8f97357a298a2 18118626ca0893b728531bfc2ef8f97357a298a2 [2022-05-27T03:11:53.387Z] 18118626ca0893b728531bfc2ef8f97357a298a2 [false] [Pipeline] sh [2022-05-27T03:11:53.690Z] + git log --format=format:%s -1 18118626ca0893b728531bfc2ef8f97357a298a2 [Pipeline] echo [2022-05-27T03:11:53.702Z] ========================================================= [2022-05-27T03:11:53.702Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-27T03:11:53.702Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T03:11:54.041Z] + git log --format=format:%s -1 18118626ca0893b728531bfc2ef8f97357a298a2 [Pipeline] echo [2022-05-27T03:11:54.058Z] [semverPrep] GIT_COMMIT: 18118626ca0893b728531bfc2ef8f97357a298a2, Commit Message: Merge pull request #72 from ajcasagrande/patch-1 [Pipeline] echo [2022-05-27T03:11:54.066Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-27T03:11:54.438Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-27T03:11:54.438Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-27T03:11:54.438Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-27T03:11:54.438Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-27T03:11:54.438Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-27T03:11:54.438Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-27T03:11:54.438Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:11:54.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T03:11:54.912Z] [2022-05-27T03:11:54.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:11:55.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T03:11:55.228Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-27T03:11:55.228Z] 1fe172e4850f: Pulling fs layer [2022-05-27T03:11:55.228Z] caf521ccaac6: Pulling fs layer [2022-05-27T03:11:55.228Z] 3ead6fa29328: Pulling fs layer [2022-05-27T03:11:55.228Z] 5c2a1cbceb83: Pulling fs layer [2022-05-27T03:11:55.228Z] a8d5f1318db7: Pulling fs layer [2022-05-27T03:11:55.228Z] c427282e49a2: Pulling fs layer [2022-05-27T03:11:55.228Z] 1827001aaf11: Pulling fs layer [2022-05-27T03:11:55.228Z] 0714d37db230: Pulling fs layer [2022-05-27T03:11:55.228Z] ac28cf19c067: Pulling fs layer [2022-05-27T03:11:55.228Z] ca983d60f3e2: Pulling fs layer [2022-05-27T03:11:55.228Z] 9f894cec8388: Pulling fs layer [2022-05-27T03:11:55.228Z] c427282e49a2: Waiting [2022-05-27T03:11:55.228Z] 1827001aaf11: Waiting [2022-05-27T03:11:55.228Z] 0714d37db230: Waiting [2022-05-27T03:11:55.228Z] 5c2a1cbceb83: Waiting [2022-05-27T03:11:55.228Z] ac28cf19c067: Waiting [2022-05-27T03:11:55.228Z] a8d5f1318db7: Waiting [2022-05-27T03:11:55.228Z] ca983d60f3e2: Waiting [2022-05-27T03:11:55.228Z] 9f894cec8388: Waiting [2022-05-27T03:11:55.228Z] caf521ccaac6: Verifying Checksum [2022-05-27T03:11:55.228Z] caf521ccaac6: Download complete [2022-05-27T03:11:55.228Z] 5c2a1cbceb83: Verifying Checksum [2022-05-27T03:11:55.228Z] 5c2a1cbceb83: Download complete [2022-05-27T03:11:55.490Z] a8d5f1318db7: Verifying Checksum [2022-05-27T03:11:55.490Z] a8d5f1318db7: Download complete [2022-05-27T03:11:55.490Z] 3ead6fa29328: Verifying Checksum [2022-05-27T03:11:55.490Z] 3ead6fa29328: Download complete [2022-05-27T03:11:55.490Z] c427282e49a2: Verifying Checksum [2022-05-27T03:11:55.490Z] c427282e49a2: Download complete [2022-05-27T03:11:55.490Z] 0714d37db230: Verifying Checksum [2022-05-27T03:11:55.490Z] 0714d37db230: Download complete [2022-05-27T03:11:55.490Z] ac28cf19c067: Download complete [2022-05-27T03:11:55.490Z] ca983d60f3e2: Download complete [2022-05-27T03:11:55.490Z] 1fe172e4850f: Verifying Checksum [2022-05-27T03:11:55.490Z] 1fe172e4850f: Download complete [2022-05-27T03:11:55.490Z] 9f894cec8388: Verifying Checksum [2022-05-27T03:11:55.490Z] 9f894cec8388: Download complete [2022-05-27T03:11:55.749Z] 1827001aaf11: Verifying Checksum [2022-05-27T03:11:55.749Z] 1827001aaf11: Download complete [2022-05-27T03:11:56.687Z] 1fe172e4850f: Pull complete [2022-05-27T03:11:56.953Z] caf521ccaac6: Pull complete [2022-05-27T03:11:57.520Z] 3ead6fa29328: Pull complete [2022-05-27T03:11:57.520Z] 5c2a1cbceb83: Pull complete [2022-05-27T03:11:57.780Z] a8d5f1318db7: Pull complete [2022-05-27T03:11:57.780Z] c427282e49a2: Pull complete [2022-05-27T03:11:59.686Z] 1827001aaf11: Pull complete [2022-05-27T03:11:59.686Z] 0714d37db230: Pull complete [2022-05-27T03:11:59.947Z] ac28cf19c067: Pull complete [2022-05-27T03:11:59.947Z] ca983d60f3e2: Pull complete [2022-05-27T03:11:59.947Z] 9f894cec8388: Pull complete [2022-05-27T03:11:59.947Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-27T03:11:59.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T03:11:59.947Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:12:00.065Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:12:00.115Z] $ 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-05-27T03:12:01.535Z] $ docker top baca405f33a1678a084f67d41413a0760c9a60410bbfce3f9ac3477306abea10 -eo pid,comm [2022-05-27T03:12:01.606Z] 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-05-27T03:12:01.606Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-27T03:12:01.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T03:12:01.649Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T03:12:01.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T03:12:01.817Z] $ docker exec baca405f33a1678a084f67d41413a0760c9a60410bbfce3f9ac3477306abea10 ssh-agent [2022-05-27T03:12:01.950Z] SSH_AUTH_SOCK=/tmp/ssh-ZDptE6ELdH5u/agent.34 [2022-05-27T03:12:01.950Z] SSH_AGENT_PID=40 [2022-05-27T03:12:01.960Z] Running ssh-add (command line suppressed) [2022-05-27T03:12:02.108Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5871246456584101028.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5871246456584101028.key) [2022-05-27T03:12:02.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T03:12:02.415Z] + git tag --points-at HEAD [Pipeline] } [2022-05-27T03:12:02.444Z] $ docker exec --env ******** --env ******** baca405f33a1678a084f67d41413a0760c9a60410bbfce3f9ac3477306abea10 ssh-agent -k [2022-05-27T03:12:02.560Z] unset SSH_AUTH_SOCK; [2022-05-27T03:12:02.561Z] unset SSH_AGENT_PID; [2022-05-27T03:12:02.561Z] echo Agent pid 40 killed; [2022-05-27T03:12:02.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-27T03:12:02.601Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T03:12:02.601Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T03:12:02.748Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T03:12:02.756Z] $ docker exec baca405f33a1678a084f67d41413a0760c9a60410bbfce3f9ac3477306abea10 ssh-agent [2022-05-27T03:12:02.870Z] SSH_AUTH_SOCK=/tmp/ssh-RygmMEsFUmnm/agent.73 [2022-05-27T03:12:02.870Z] SSH_AGENT_PID=79 [2022-05-27T03:12:02.876Z] Running ssh-add (command line suppressed) [2022-05-27T03:12:03.016Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2209547219128426931.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2209547219128426931.key) [2022-05-27T03:12:03.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T03:12:03.321Z] + git semver init [2022-05-27T03:12:03.582Z] 2022-05-27 03:12:03,534 [run_init] DEBUG init version:0.0.0 force:False [2022-05-27T03:12:03.582Z] 2022-05-27 03:12:03,535 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-05-27T03:12:03.582Z] 2022-05-27 03:12:03,536 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-05-27T03:12:03.582Z] 2022-05-27 03:12:03,537 [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-05-27T03:12:04.526Z] 2022-05-27 03:12:04,196 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-05-27T03:12:04.526Z] 2022-05-27 03:12:04,197 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-05-27T03:12:04.526Z] 2022-05-27 03:12:04,197 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-27T03:12:04.526Z] 2022-05-27 03:12:04,197 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-27T03:12:04.526Z] 0.0.1-dev.4 [Pipeline] } [2022-05-27T03:12:04.542Z] $ docker exec --env ******** --env ******** baca405f33a1678a084f67d41413a0760c9a60410bbfce3f9ac3477306abea10 ssh-agent -k [2022-05-27T03:12:04.657Z] unset SSH_AUTH_SOCK; [2022-05-27T03:12:04.658Z] unset SSH_AGENT_PID; [2022-05-27T03:12:04.658Z] echo Agent pid 79 killed; [2022-05-27T03:12:04.665Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-27T03:12:04.975Z] + git semver [Pipeline] } [2022-05-27T03:12:05.253Z] $ docker stop --time=1 baca405f33a1678a084f67d41413a0760c9a60410bbfce3f9ac3477306abea10 [2022-05-27T03:12:06.590Z] $ docker rm -f baca405f33a1678a084f67d41413a0760c9a60410bbfce3f9ac3477306abea10 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T03:12:06.943Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-27T03:12:07.195Z] Stashed 1 file(s) [Pipeline] echo [2022-05-27T03:12:07.198Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.4 [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-05-27T03:12:07.346Z] provisioning config files... [2022-05-27T03:12:07.356Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8925807518085632008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:12:07.657Z] ---> docker-login.sh [2022-05-27T03:12:07.658Z] nexus3.edgexfoundry.org:10001 [2022-05-27T03:12:07.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:12:07.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:12:07.658Z] Configure a credential helper to remove this warning. See [2022-05-27T03:12:07.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:12:07.658Z] [2022-05-27T03:12:07.658Z] Login Succeeded [2022-05-27T03:12:07.658Z] nexus3.edgexfoundry.org:10002 [2022-05-27T03:12:07.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:12:07.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:12:07.918Z] Configure a credential helper to remove this warning. See [2022-05-27T03:12:07.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:12:07.918Z] [2022-05-27T03:12:07.918Z] Login Succeeded [2022-05-27T03:12:07.918Z] nexus3.edgexfoundry.org:10003 [2022-05-27T03:12:07.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:12:07.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:12:07.918Z] Configure a credential helper to remove this warning. See [2022-05-27T03:12:07.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:12:07.918Z] [2022-05-27T03:12:07.918Z] Login Succeeded [2022-05-27T03:12:07.918Z] nexus3.edgexfoundry.org:10004 [2022-05-27T03:12:08.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:12:08.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:12:08.178Z] Configure a credential helper to remove this warning. See [2022-05-27T03:12:08.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:12:08.178Z] [2022-05-27T03:12:08.178Z] Login Succeeded [2022-05-27T03:12:08.178Z] docker.io [2022-05-27T03:12:08.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:12:08.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:12:08.438Z] Configure a credential helper to remove this warning. See [2022-05-27T03:12:08.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:12:08.438Z] [2022-05-27T03:12:08.438Z] Login Succeeded [2022-05-27T03:12:08.438Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T03:12:08.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T03:12:08.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T03:12:08.524Z] ========================================================= [2022-05-27T03:12:08.524Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-27T03:12:08.524Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:12:08.859Z] + 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-05-27T03:12:08.859Z] Sending build context to Docker daemon 8.549MB [2022-05-27T03:12:08.859Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T03:12:08.859Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-27T03:12:08.859Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-27T03:12:08.859Z] 59bf1c3509f3: Pulling fs layer [2022-05-27T03:12:08.859Z] 666ba61612fd: Pulling fs layer [2022-05-27T03:12:08.859Z] 8ed8ca486205: Pulling fs layer [2022-05-27T03:12:08.859Z] 4fe6c5a15a65: Pulling fs layer [2022-05-27T03:12:08.859Z] 22a0e8bec74d: Pulling fs layer [2022-05-27T03:12:08.859Z] ca2b28591e48: Pulling fs layer [2022-05-27T03:12:08.859Z] a51346096db8: Pulling fs layer [2022-05-27T03:12:08.859Z] daebc70d1ce1: Pulling fs layer [2022-05-27T03:12:08.859Z] 0e18a0eac166: Pulling fs layer [2022-05-27T03:12:08.859Z] 4fe6c5a15a65: Waiting [2022-05-27T03:12:08.859Z] 22a0e8bec74d: Waiting [2022-05-27T03:12:08.859Z] ca2b28591e48: Waiting [2022-05-27T03:12:08.859Z] a51346096db8: Waiting [2022-05-27T03:12:08.859Z] daebc70d1ce1: Waiting [2022-05-27T03:12:08.859Z] 0e18a0eac166: Waiting [2022-05-27T03:12:08.859Z] 8ed8ca486205: Download complete [2022-05-27T03:12:08.859Z] 666ba61612fd: Download complete [2022-05-27T03:12:09.119Z] 22a0e8bec74d: Download complete [2022-05-27T03:12:09.119Z] ca2b28591e48: Verifying Checksum [2022-05-27T03:12:09.119Z] ca2b28591e48: Download complete [2022-05-27T03:12:09.119Z] 59bf1c3509f3: Verifying Checksum [2022-05-27T03:12:09.119Z] 59bf1c3509f3: Download complete [2022-05-27T03:12:09.119Z] a51346096db8: Verifying Checksum [2022-05-27T03:12:09.119Z] a51346096db8: Download complete [2022-05-27T03:12:09.119Z] daebc70d1ce1: Verifying Checksum [2022-05-27T03:12:09.119Z] daebc70d1ce1: Download complete [2022-05-27T03:12:09.119Z] 59bf1c3509f3: Pull complete [2022-05-27T03:12:09.380Z] 666ba61612fd: Pull complete [2022-05-27T03:12:09.380Z] 8ed8ca486205: Pull complete [2022-05-27T03:12:09.642Z] 0e18a0eac166: Verifying Checksum [2022-05-27T03:12:09.642Z] 0e18a0eac166: Download complete [2022-05-27T03:12:09.901Z] 4fe6c5a15a65: Verifying Checksum [2022-05-27T03:12:09.901Z] 4fe6c5a15a65: Download complete [2022-05-27T03:12:13.189Z] 4fe6c5a15a65: Pull complete [2022-05-27T03:12:13.189Z] 22a0e8bec74d: Pull complete [2022-05-27T03:12:13.448Z] ca2b28591e48: Pull complete [2022-05-27T03:12:13.448Z] a51346096db8: Pull complete [2022-05-27T03:12:13.448Z] daebc70d1ce1: Pull complete [2022-05-27T03:12:15.987Z] 0e18a0eac166: Pull complete [2022-05-27T03:12:15.987Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-27T03:12:15.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-27T03:12:15.987Z] ---> f018257e8ee9 [2022-05-27T03:12:15.987Z] Step 3/13 : ARG MAKE="make build" [2022-05-27T03:12:18.531Z] ---> Running in 5dd3e4258597 [2022-05-27T03:12:18.531Z] Removing intermediate container 5dd3e4258597 [2022-05-27T03:12:18.531Z] ---> b720db9e6fdf [2022-05-27T03:12:18.531Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T03:12:18.531Z] ---> Running in 104b08783977 [2022-05-27T03:12:18.531Z] Removing intermediate container 104b08783977 [2022-05-27T03:12:18.531Z] ---> 1a29994f534d [2022-05-27T03:12:18.531Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T03:12:18.531Z] ---> Running in 5f7a191ec2f5 [2022-05-27T03:12:18.531Z] Removing intermediate container 5f7a191ec2f5 [2022-05-27T03:12:18.531Z] ---> f445e0d1e9e8 [2022-05-27T03:12:18.531Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-27T03:12:18.531Z] ---> Running in ef44efac9b22 [2022-05-27T03:12:18.531Z] Removing intermediate container ef44efac9b22 [2022-05-27T03:12:18.531Z] ---> 2bbefd712bad [2022-05-27T03:12:18.531Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T03:12:18.531Z] ---> Running in 846765ed7c34 [2022-05-27T03:12:19.101Z] Removing intermediate container 846765ed7c34 [2022-05-27T03:12:19.101Z] ---> 1c23e0bea68b [2022-05-27T03:12:19.101Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T03:12:19.101Z] ---> Running in b4e9952dd3b6 [2022-05-27T03:12:19.371Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T03:12:20.310Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T03:12:20.570Z] OK: 221 MiB in 52 packages [2022-05-27T03:12:20.831Z] Removing intermediate container b4e9952dd3b6 [2022-05-27T03:12:20.831Z] ---> 1c88e6421d87 [2022-05-27T03:12:20.831Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-27T03:12:20.831Z] ---> Running in d535c64961d8 [2022-05-27T03:12:21.090Z] Removing intermediate container d535c64961d8 [2022-05-27T03:12:21.090Z] ---> 228df45c69dc [2022-05-27T03:12:21.090Z] Step 10/13 : COPY go.mod vendor* ./ [2022-05-27T03:12:21.090Z] ---> 83a2cba8e324 [2022-05-27T03:12:21.090Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T03:12:21.090Z] ---> Running in bf8ddbc55f42 [2022-05-27T03:12:22.299Z] Still waiting to schedule task [2022-05-27T03:12:22.299Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-27T03:12:35.992Z] Removing intermediate container bf8ddbc55f42 [2022-05-27T03:12:35.992Z] ---> 36d1506b3521 [2022-05-27T03:12:35.992Z] Step 12/13 : COPY . . [2022-05-27T03:12:35.992Z] ---> f0e60220cd3b [2022-05-27T03:12:35.992Z] Step 13/13 : RUN ${MAKE} [2022-05-27T03:12:35.992Z] ---> Running in 4f1fa31b551d [2022-05-27T03:12:35.992Z] noop [2022-05-27T03:12:35.992Z] Removing intermediate container 4f1fa31b551d [2022-05-27T03:12:35.992Z] ---> 7bb22ff9c527 [2022-05-27T03:12:35.992Z] Successfully built 7bb22ff9c527 [2022-05-27T03:12:35.992Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:12:36.310Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T03:12:36.310Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:12:36.395Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:12:36.437Z] $ 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-05-27T03:12:36.823Z] $ docker top a153825bbcca8053021889a09619e0b70bfc921ffb0c937beea95d927207ee91 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T03:12:37.178Z] + go version [2022-05-27T03:12:37.178Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-27T03:12:37.194Z] $ docker stop --time=1 a153825bbcca8053021889a09619e0b70bfc921ffb0c937beea95d927207ee91 [2022-05-27T03:12:38.523Z] $ docker rm -f a153825bbcca8053021889a09619e0b70bfc921ffb0c937beea95d927207ee91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:12:38.929Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T03:12:38.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:12:39.010Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:12:39.056Z] $ 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-05-27T03:12:39.466Z] $ docker top 0e8b5ecfbacf2b2e18b3e8b4dddcca3d6fcb3d74ec76785f451394b6f064ab37 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T03:12:39.876Z] + make test [2022-05-27T03:12:39.876Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-27T03:12:40.134Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-27T03:12:50.116Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-27T03:12:50.116Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 1.0% of statements [2022-05-27T03:12:55.396Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-27T03:12:59.590Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T03:12:59.590Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T03:12:59.590Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-27T03:13:00.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T03:13:00.187Z] $ docker stop --time=1 0e8b5ecfbacf2b2e18b3e8b4dddcca3d6fcb3d74ec76785f451394b6f064ab37 [2022-05-27T03:13:01.956Z] $ docker rm -f 0e8b5ecfbacf2b2e18b3e8b4dddcca3d6fcb3d74ec76785f451394b6f064ab37 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T03:13:02.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T03:13:02.468Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-27T03:13:03.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T03:13:03.297Z] + ls -al . [2022-05-27T03:13:03.297Z] total 216 [2022-05-27T03:13:03.297Z] drwxrwxr-x 9 jenkins jenkins 4096 May 27 03:13 . [2022-05-27T03:13:03.297Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 03:11 .. [2022-05-27T03:13:03.297Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 03:12 .git [2022-05-27T03:13:03.297Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 03:11 .github [2022-05-27T03:13:03.297Z] -rw-rw-r-- 1 jenkins jenkins 352 May 27 03:11 .gitignore [2022-05-27T03:13:03.297Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 03:11 .golangci.yml [2022-05-27T03:13:03.297Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 03:12 .semver [2022-05-27T03:13:03.297Z] -rw-rw-r-- 1 jenkins jenkins 9099 May 27 03:11 Attribution.txt [2022-05-27T03:13:03.297Z] -rw-rw-r-- 1 jenkins jenkins 189 May 27 03:11 CHANGELOG.md [2022-05-27T03:13:03.297Z] -rw-rw-r-- 1 jenkins jenkins 1667 May 27 03:11 Dockerfile [2022-05-27T03:13:03.297Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 03:11 GOVERNANCE.md [2022-05-27T03:13:03.297Z] -rw-rw-r-- 1 jenkins jenkins 660 May 27 03:11 Jenkinsfile [2022-05-27T03:13:03.297Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 03:11 LICENSE [2022-05-27T03:13:03.298Z] -rw-rw-r-- 1 jenkins jenkins 2473 May 27 03:11 Makefile [2022-05-27T03:13:03.298Z] -rw-rw-r-- 1 jenkins jenkins 625 May 27 03:11 OWNERS.md [2022-05-27T03:13:03.298Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 27 03:11 README.md [2022-05-27T03:13:03.298Z] -rw-rw-r-- 1 jenkins jenkins 11 May 27 03:12 VERSION [2022-05-27T03:13:03.298Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 03:11 bin [2022-05-27T03:13:03.298Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 03:11 cmd [2022-05-27T03:13:03.298Z] -rw-r--r-- 1 jenkins jenkins 37307 May 27 03:12 coverage.out [2022-05-27T03:13:03.298Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 03:11 doc [2022-05-27T03:13:03.298Z] -rw-rw-r-- 1 jenkins jenkins 3546 May 27 03:11 go.mod [2022-05-27T03:13:03.298Z] -rw-rw-r-- 1 jenkins jenkins 37264 May 27 03:11 go.sum [2022-05-27T03:13:03.298Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 03:11 internal [2022-05-27T03:13:03.298Z] -rw-rw-r-- 1 jenkins jenkins 236 May 27 03:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:03.611Z] + 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=18118626ca0893b728531bfc2ef8f97357a298a2 --label arch=amd64 --label version=0.0.1-dev.4 . [2022-05-27T03:13:03.611Z] Sending build context to Docker daemon 8.587MB [2022-05-27T03:13:03.611Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T03:13:03.611Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-27T03:13:03.611Z] ---> 7bb22ff9c527 [2022-05-27T03:13:03.611Z] Step 3/26 : ARG MAKE="make build" [2022-05-27T03:13:03.874Z] ---> Running in e3cc90e9b875 [2022-05-27T03:13:03.874Z] Removing intermediate container e3cc90e9b875 [2022-05-27T03:13:03.874Z] ---> f91fd637bb08 [2022-05-27T03:13:03.874Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T03:13:03.874Z] ---> Running in 0d5c851b2c5e [2022-05-27T03:13:03.874Z] Removing intermediate container 0d5c851b2c5e [2022-05-27T03:13:03.874Z] ---> 6ba882dd1c44 [2022-05-27T03:13:03.874Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T03:13:03.874Z] ---> Running in 0a4cb8489604 [2022-05-27T03:13:04.135Z] Removing intermediate container 0a4cb8489604 [2022-05-27T03:13:04.135Z] ---> 33dd0bbde9fd [2022-05-27T03:13:04.135Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-27T03:13:04.135Z] ---> Running in 765e944074fe [2022-05-27T03:13:04.135Z] Removing intermediate container 765e944074fe [2022-05-27T03:13:04.135Z] ---> f647befdc573 [2022-05-27T03:13:04.135Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T03:13:04.135Z] ---> Running in 12d31313c9d4 [2022-05-27T03:13:04.707Z] Removing intermediate container 12d31313c9d4 [2022-05-27T03:13:04.707Z] ---> b3905a913f60 [2022-05-27T03:13:04.707Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T03:13:04.972Z] ---> Running in 3218b5009dca [2022-05-27T03:13:05.233Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T03:13:05.803Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T03:13:06.383Z] OK: 221 MiB in 52 packages [2022-05-27T03:13:06.655Z] Removing intermediate container 3218b5009dca [2022-05-27T03:13:06.655Z] ---> c89e950e84b5 [2022-05-27T03:13:06.655Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-27T03:13:06.655Z] ---> Running in 24f6d74d41ac [2022-05-27T03:13:06.655Z] Removing intermediate container 24f6d74d41ac [2022-05-27T03:13:06.655Z] ---> 0181f4d19569 [2022-05-27T03:13:06.655Z] Step 10/26 : COPY go.mod vendor* ./ [2022-05-27T03:13:06.914Z] ---> 3c5ba0821442 [2022-05-27T03:13:06.914Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T03:13:06.914Z] ---> Running in 64ca24b1561c [2022-05-27T03:13:07.482Z] Removing intermediate container 64ca24b1561c [2022-05-27T03:13:07.482Z] ---> de2f3ade998f [2022-05-27T03:13:07.482Z] Step 12/26 : COPY . . [2022-05-27T03:13:07.742Z] ---> 80b902b90ec5 [2022-05-27T03:13:07.742Z] Step 13/26 : RUN ${MAKE} [2022-05-27T03:13:08.001Z] ---> Running in f7876fcf0d37 [2022-05-27T03:13:08.001Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.4 -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-05-27T03:13:29.946Z] Removing intermediate container f7876fcf0d37 [2022-05-27T03:13:29.946Z] ---> fa9fc25d2b75 [2022-05-27T03:13:29.946Z] Step 14/26 : FROM alpine:3.15 [2022-05-27T03:13:29.946Z] 3.15: Pulling from library/alpine [2022-05-27T03:13:29.946Z] df9b9388f04a: Pulling fs layer [2022-05-27T03:13:29.946Z] df9b9388f04a: Verifying Checksum [2022-05-27T03:13:29.946Z] df9b9388f04a: Download complete [2022-05-27T03:13:29.946Z] df9b9388f04a: Pull complete [2022-05-27T03:13:29.946Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-27T03:13:29.946Z] Status: Downloaded newer image for alpine:3.15 [2022-05-27T03:13:29.946Z] ---> 0ac33e5f5afa [2022-05-27T03:13:29.946Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-27T03:13:29.946Z] ---> Running in 67da15153ec0 [2022-05-27T03:13:29.946Z] Removing intermediate container 67da15153ec0 [2022-05-27T03:13:29.946Z] ---> d66a2c140de9 [2022-05-27T03:13:29.946Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-27T03:13:29.946Z] ---> Running in 7314c9633291 [2022-05-27T03:13:29.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T03:13:30.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T03:13:30.467Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-27T03:13:30.467Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-27T03:13:30.467Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-27T03:13:30.467Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-27T03:13:30.467Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-27T03:13:30.467Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-27T03:13:30.467Z] Executing busybox-1.34.1-r5.trigger [2022-05-27T03:13:30.467Z] OK: 8 MiB in 20 packages [2022-05-27T03:13:31.041Z] Removing intermediate container 7314c9633291 [2022-05-27T03:13:31.041Z] ---> aba04469a01a [2022-05-27T03:13:31.041Z] Step 17/26 : WORKDIR / [2022-05-27T03:13:31.041Z] ---> Running in 1cb0488bda2b [2022-05-27T03:13:31.041Z] Removing intermediate container 1cb0488bda2b [2022-05-27T03:13:31.041Z] ---> fea730f842b7 [2022-05-27T03:13:31.041Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-27T03:13:31.981Z] ---> f81daa021f43 [2022-05-27T03:13:31.981Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-27T03:13:31.981Z] ---> 18b9e4952fa1 [2022-05-27T03:13:31.981Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-27T03:13:32.243Z] ---> eb839829658a [2022-05-27T03:13:32.243Z] Step 21/26 : EXPOSE 59984 [2022-05-27T03:13:32.243Z] ---> Running in 23d9a2f615a1 [2022-05-27T03:13:32.503Z] Removing intermediate container 23d9a2f615a1 [2022-05-27T03:13:32.503Z] ---> 39cdc90d515f [2022-05-27T03:13:32.503Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-27T03:13:32.503Z] ---> Running in e78b24e5692a [2022-05-27T03:13:32.764Z] Removing intermediate container e78b24e5692a [2022-05-27T03:13:32.764Z] ---> c36c69ca663d [2022-05-27T03:13:32.764Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-27T03:13:32.764Z] ---> Running in cb499fc121e4 [2022-05-27T03:13:33.030Z] Removing intermediate container cb499fc121e4 [2022-05-27T03:13:33.030Z] ---> ae28a756fb4f [2022-05-27T03:13:33.030Z] Step 24/26 : LABEL arch=amd64 [2022-05-27T03:13:33.030Z] ---> Running in e938fdacb274 [2022-05-27T03:13:33.290Z] Removing intermediate container e938fdacb274 [2022-05-27T03:13:33.290Z] ---> 2add2dd6ce57 [2022-05-27T03:13:33.290Z] Step 25/26 : LABEL git_sha=18118626ca0893b728531bfc2ef8f97357a298a2 [2022-05-27T03:13:33.290Z] ---> Running in 25a39363a454 [2022-05-27T03:13:33.290Z] Removing intermediate container 25a39363a454 [2022-05-27T03:13:33.290Z] ---> cb44933f7466 [2022-05-27T03:13:33.290Z] Step 26/26 : LABEL version=0.0.1-dev.4 [2022-05-27T03:13:33.549Z] ---> Running in a0d1b7644996 [2022-05-27T03:13:33.549Z] Removing intermediate container a0d1b7644996 [2022-05-27T03:13:33.549Z] ---> fc84045cba15 [2022-05-27T03:13:33.549Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T03:13:33.549Z] Successfully built fc84045cba15 [2022-05-27T03:13:33.549Z] 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-05-27T03:13:33.659Z] provisioning config files... [2022-05-27T03:13:33.671Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7355485370964218113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:13:33.968Z] ---> docker-login.sh [2022-05-27T03:13:33.968Z] nexus3.edgexfoundry.org:10001 [2022-05-27T03:13:33.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:13:33.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:13:33.968Z] Configure a credential helper to remove this warning. See [2022-05-27T03:13:33.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:13:33.968Z] [2022-05-27T03:13:33.968Z] Login Succeeded [2022-05-27T03:13:33.968Z] nexus3.edgexfoundry.org:10002 [2022-05-27T03:13:33.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:13:33.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:13:33.968Z] Configure a credential helper to remove this warning. See [2022-05-27T03:13:33.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:13:33.968Z] [2022-05-27T03:13:33.968Z] Login Succeeded [2022-05-27T03:13:33.968Z] nexus3.edgexfoundry.org:10003 [2022-05-27T03:13:34.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:13:34.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:13:34.227Z] Configure a credential helper to remove this warning. See [2022-05-27T03:13:34.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:13:34.227Z] [2022-05-27T03:13:34.227Z] Login Succeeded [2022-05-27T03:13:34.227Z] nexus3.edgexfoundry.org:10004 [2022-05-27T03:13:34.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:13:34.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:13:34.496Z] Configure a credential helper to remove this warning. See [2022-05-27T03:13:34.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:13:34.496Z] [2022-05-27T03:13:34.496Z] Login Succeeded [2022-05-27T03:13:34.496Z] docker.io [2022-05-27T03:13:34.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:13:34.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:13:34.757Z] Configure a credential helper to remove this warning. See [2022-05-27T03:13:34.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:13:34.757Z] [2022-05-27T03:13:34.757Z] Login Succeeded [2022-05-27T03:13:34.757Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T03:13:34.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-27T03:13:34.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T03:13:34.826Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-05-27T03:13:34.826Z] 18118626ca0893b728531bfc2ef8f97357a298a2 [2022-05-27T03:13:34.826Z] latest [2022-05-27T03:13:34.826Z] 0.0.1-dev.4 [2022-05-27T03:13:34.826Z] 18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4 [2022-05-27T03:13:34.826Z] main [2022-05-27T03:13:34.826Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:35.145Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:18118626ca0893b728531bfc2ef8f97357a298a2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:35.460Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:18118626ca0893b728531bfc2ef8f97357a298a2 [2022-05-27T03:13:35.460Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-27T03:13:35.460Z] a670fc72b61c: Preparing [2022-05-27T03:13:35.460Z] 89c22ed6fad1: Preparing [2022-05-27T03:13:35.460Z] 7914b6f7799e: Preparing [2022-05-27T03:13:35.460Z] d2bc369a1686: Preparing [2022-05-27T03:13:35.460Z] 4fc242d58285: Preparing [2022-05-27T03:13:35.460Z] 4fc242d58285: Layer already exists [2022-05-27T03:13:35.460Z] a670fc72b61c: Pushed [2022-05-27T03:13:35.460Z] 89c22ed6fad1: Pushed [2022-05-27T03:13:35.722Z] d2bc369a1686: Pushed [2022-05-27T03:13:38.270Z] 7914b6f7799e: Pushed [2022-05-27T03:13:38.270Z] 18118626ca0893b728531bfc2ef8f97357a298a2: digest: sha256:20bc546b4a77838daf27a72bdfbd1305661dd844ac354326a12dc14f5c8e6be0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:38.597Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:38.921Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-05-27T03:13:38.921Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-27T03:13:38.921Z] a670fc72b61c: Preparing [2022-05-27T03:13:38.921Z] 89c22ed6fad1: Preparing [2022-05-27T03:13:38.921Z] 7914b6f7799e: Preparing [2022-05-27T03:13:38.921Z] d2bc369a1686: Preparing [2022-05-27T03:13:38.921Z] 4fc242d58285: Preparing [2022-05-27T03:13:38.921Z] 7914b6f7799e: Layer already exists [2022-05-27T03:13:38.921Z] d2bc369a1686: Layer already exists [2022-05-27T03:13:38.921Z] 89c22ed6fad1: Layer already exists [2022-05-27T03:13:38.921Z] a670fc72b61c: Layer already exists [2022-05-27T03:13:38.921Z] 4fc242d58285: Layer already exists [2022-05-27T03:13:38.921Z] latest: digest: sha256:20bc546b4a77838daf27a72bdfbd1305661dd844ac354326a12dc14f5c8e6be0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:39.251Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:39.573Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.4 [2022-05-27T03:13:39.573Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-27T03:13:39.573Z] a670fc72b61c: Preparing [2022-05-27T03:13:39.573Z] 89c22ed6fad1: Preparing [2022-05-27T03:13:39.573Z] 7914b6f7799e: Preparing [2022-05-27T03:13:39.573Z] d2bc369a1686: Preparing [2022-05-27T03:13:39.573Z] 4fc242d58285: Preparing [2022-05-27T03:13:39.573Z] 4fc242d58285: Layer already exists [2022-05-27T03:13:39.573Z] d2bc369a1686: Layer already exists [2022-05-27T03:13:39.573Z] a670fc72b61c: Layer already exists [2022-05-27T03:13:39.573Z] 7914b6f7799e: Layer already exists [2022-05-27T03:13:39.573Z] 89c22ed6fad1: Layer already exists [2022-05-27T03:13:39.573Z] 0.0.1-dev.4: digest: sha256:20bc546b4a77838daf27a72bdfbd1305661dd844ac354326a12dc14f5c8e6be0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:39.902Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:40.224Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4 [2022-05-27T03:13:40.225Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-27T03:13:40.225Z] a670fc72b61c: Preparing [2022-05-27T03:13:40.225Z] 89c22ed6fad1: Preparing [2022-05-27T03:13:40.225Z] 7914b6f7799e: Preparing [2022-05-27T03:13:40.225Z] d2bc369a1686: Preparing [2022-05-27T03:13:40.225Z] 4fc242d58285: Preparing [2022-05-27T03:13:40.225Z] 89c22ed6fad1: Layer already exists [2022-05-27T03:13:40.225Z] d2bc369a1686: Layer already exists [2022-05-27T03:13:40.225Z] 4fc242d58285: Layer already exists [2022-05-27T03:13:40.225Z] 7914b6f7799e: Layer already exists [2022-05-27T03:13:40.225Z] a670fc72b61c: Layer already exists [2022-05-27T03:13:40.225Z] 18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4: digest: sha256:20bc546b4a77838daf27a72bdfbd1305661dd844ac354326a12dc14f5c8e6be0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:40.552Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:40.873Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-05-27T03:13:40.873Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-27T03:13:40.873Z] a670fc72b61c: Preparing [2022-05-27T03:13:40.873Z] 89c22ed6fad1: Preparing [2022-05-27T03:13:40.873Z] 7914b6f7799e: Preparing [2022-05-27T03:13:40.873Z] d2bc369a1686: Preparing [2022-05-27T03:13:40.873Z] 4fc242d58285: Preparing [2022-05-27T03:13:40.873Z] 89c22ed6fad1: Layer already exists [2022-05-27T03:13:40.873Z] d2bc369a1686: Layer already exists [2022-05-27T03:13:40.873Z] a670fc72b61c: Layer already exists [2022-05-27T03:13:40.873Z] 7914b6f7799e: Layer already exists [2022-05-27T03:13:40.873Z] 4fc242d58285: Layer already exists [2022-05-27T03:13:40.873Z] main: digest: sha256:20bc546b4a77838daf27a72bdfbd1305661dd844ac354326a12dc14f5c8e6be0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-27T03:13:40.924Z] ===================================================== [Pipeline] echo [2022-05-27T03:13:40.939Z] taggedImages: [2022-05-27T03:13:40.939Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:18118626ca0893b728531bfc2ef8f97357a298a2 [2022-05-27T03:13:40.939Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-05-27T03:13:40.939Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.4 [2022-05-27T03:13:40.939Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4 [2022-05-27T03:13:40.939Z] - 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-05-27T03:13:41.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T03:13:41.333Z] [2022-05-27T03:13:41.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:13:41.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T03:13:41.633Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-27T03:13:41.633Z] 5eb5b503b376: Pulling fs layer [2022-05-27T03:13:41.633Z] 5c69ac0246d0: Pulling fs layer [2022-05-27T03:13:41.633Z] ec43610c2a17: Pulling fs layer [2022-05-27T03:13:41.633Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-27T03:13:41.633Z] 33b1e0a273af: Pulling fs layer [2022-05-27T03:13:41.633Z] 5d3b04190fa2: Pulling fs layer [2022-05-27T03:13:41.633Z] 2f39f015ded8: Pulling fs layer [2022-05-27T03:13:41.633Z] 3a2ae6a8a46f: Waiting [2022-05-27T03:13:41.633Z] 33b1e0a273af: Waiting [2022-05-27T03:13:41.633Z] 2f39f015ded8: Waiting [2022-05-27T03:13:41.633Z] 5d3b04190fa2: Waiting [2022-05-27T03:13:41.633Z] 5c69ac0246d0: Download complete [2022-05-27T03:13:41.633Z] 3a2ae6a8a46f: Download complete [2022-05-27T03:13:41.633Z] 33b1e0a273af: Verifying Checksum [2022-05-27T03:13:41.633Z] 33b1e0a273af: Download complete [2022-05-27T03:13:41.892Z] 5d3b04190fa2: Download complete [2022-05-27T03:13:41.892Z] ec43610c2a17: Verifying Checksum [2022-05-27T03:13:41.892Z] ec43610c2a17: Download complete [2022-05-27T03:13:41.892Z] 5eb5b503b376: Download complete [2022-05-27T03:13:42.460Z] 2f39f015ded8: Download complete [2022-05-27T03:13:43.030Z] 5eb5b503b376: Pull complete [2022-05-27T03:13:43.289Z] 5c69ac0246d0: Pull complete [2022-05-27T03:13:43.859Z] ec43610c2a17: Pull complete [2022-05-27T03:13:43.859Z] 3a2ae6a8a46f: Pull complete [2022-05-27T03:13:44.119Z] 33b1e0a273af: Pull complete [2022-05-27T03:13:44.119Z] 5d3b04190fa2: Pull complete [2022-05-27T03:13:48.312Z] 2f39f015ded8: Pull complete [2022-05-27T03:13:48.312Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-27T03:13:48.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T03:13:48.312Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:13:48.405Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:13:48.442Z] $ 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-05-27T03:13:51.671Z] $ docker top 43cc2c6c8d9303918ade5b571a2aff519b077d06c32ad9bed7936982ceae9170 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:13:52.124Z] ---> job-cost.sh [2022-05-27T03:13:52.124Z] lf-activate-venv: SKIPPING [2022-05-27T03:13:52.124Z] INFO: No Stack... [2022-05-27T03:13:52.698Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T03:13:52.958Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T03:13:53.246Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-05-27T03:13:53.246Z] + cut -d, -f6 [Pipeline] lock [2022-05-27T03:13:53.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-6-stack-cost] [2022-05-27T03:13:53.265Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-6-stack-cost] did not exist. Created. [2022-05-27T03:13:53.265Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T03:13:53.568Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-27T03:13:53.590Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T03:13:53.596Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T03:13:53.623Z] $ docker stop --time=1 43cc2c6c8d9303918ade5b571a2aff519b077d06c32ad9bed7936982ceae9170 [2022-05-27T03:13:54.835Z] $ docker rm -f 43cc2c6c8d9303918ade5b571a2aff519b077d06c32ad9bed7936982ceae9170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-27T03:13:58.509Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-228 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-05-27T03:13:58.520Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-05-27T03:13:58.561Z] Selected Git installation does not exist. Using Default [2022-05-27T03:13:58.561Z] The recommended git tool is: NONE [2022-05-27T03:14:05.054Z] using credential edgex-jenkins-ssh [2022-05-27T03:14:05.072Z] Cloning the remote Git repository [2022-05-27T03:14:05.150Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-27T03:14:05.222Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-05-27T03:14:05.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-27T03:14:05.306Z] > git --version # timeout=10 [2022-05-27T03:14:05.322Z] > git --version # 'git version 2.25.1' [2022-05-27T03:14:05.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T03:14:05.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T03:14:06.137Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-05-27T03:14:06.174Z] Avoid second fetch [2022-05-27T03:14:06.175Z] Checking out Revision 18118626ca0893b728531bfc2ef8f97357a298a2 (main) [2022-05-27T03:14:06.158Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T03:14:06.195Z] > git config core.sparsecheckout # timeout=10 [2022-05-27T03:14:06.211Z] > git checkout -f 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 [2022-05-27T03:14:10.427Z] Commit message: "Merge pull request #72 from ajcasagrande/patch-1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T03:14:11.422Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-27T03:14:11.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T03:14:11.422Z] Dload Upload Total Spent Left Speed [2022-05-27T03:14:11.697Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 27596 0 --:--:-- --:--:-- --:--:-- 27596 [Pipeline] sh [2022-05-27T03:14:12.455Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-27T03:14:12.788Z] + sudo tee /etc/docker/daemon.new [2022-05-27T03:14:12.788Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-27T03:14:12.788Z] { [2022-05-27T03:14:12.788Z] "registry-mirrors": [ [2022-05-27T03:14:12.788Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-27T03:14:12.788Z] ], [2022-05-27T03:14:12.788Z] "bip": "10.250.0.254/24", [2022-05-27T03:14:12.788Z] "hosts": [ [2022-05-27T03:14:12.788Z] "tcp://0.0.0.0:5555", [2022-05-27T03:14:12.788Z] "unix:///var/run/docker.sock" [2022-05-27T03:14:12.788Z] ], [2022-05-27T03:14:12.788Z] "mtu": 1458, [2022-05-27T03:14:12.788Z] "selinux-enabled": true, [2022-05-27T03:14:12.788Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-27T03:14:12.788Z] } [Pipeline] sh [2022-05-27T03:14:13.125Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-27T03:14:13.461Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T03:14:31.776Z] provisioning config files... [2022-05-27T03:14:31.801Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config9179140409838446235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:14:32.154Z] ---> docker-login.sh [2022-05-27T03:14:32.154Z] nexus3.edgexfoundry.org:10001 [2022-05-27T03:14:32.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:14:33.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:14:33.019Z] Configure a credential helper to remove this warning. See [2022-05-27T03:14:33.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:14:33.019Z] [2022-05-27T03:14:33.019Z] Login Succeeded [2022-05-27T03:14:33.019Z] nexus3.edgexfoundry.org:10002 [2022-05-27T03:14:33.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:14:33.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:14:33.291Z] Configure a credential helper to remove this warning. See [2022-05-27T03:14:33.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:14:33.291Z] [2022-05-27T03:14:33.291Z] Login Succeeded [2022-05-27T03:14:33.291Z] nexus3.edgexfoundry.org:10003 [2022-05-27T03:14:33.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:14:33.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:14:33.844Z] Configure a credential helper to remove this warning. See [2022-05-27T03:14:33.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:14:33.844Z] [2022-05-27T03:14:33.844Z] Login Succeeded [2022-05-27T03:14:33.844Z] nexus3.edgexfoundry.org:10004 [2022-05-27T03:14:34.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:14:34.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:14:34.117Z] Configure a credential helper to remove this warning. See [2022-05-27T03:14:34.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:14:34.117Z] [2022-05-27T03:14:34.117Z] Login Succeeded [2022-05-27T03:14:34.117Z] docker.io [2022-05-27T03:14:34.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:14:34.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:14:34.986Z] Configure a credential helper to remove this warning. See [2022-05-27T03:14:34.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:14:34.986Z] [2022-05-27T03:14:34.986Z] Login Succeeded [2022-05-27T03:14:34.986Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T03:14:35.003Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T03:14:35.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T03:14:35.535Z] ========================================================= [2022-05-27T03:14:35.535Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-27T03:14:35.535Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:14:35.995Z] + 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-05-27T03:14:36.269Z] Sending build context to Docker daemon 5.824MB [2022-05-27T03:14:36.269Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T03:14:36.269Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-27T03:14:36.545Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-27T03:14:36.545Z] 9b3977197b4f: Pulling fs layer [2022-05-27T03:14:36.545Z] 1a89e8eeedd5: Pulling fs layer [2022-05-27T03:14:36.545Z] 94645a83ff95: Pulling fs layer [2022-05-27T03:14:36.545Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-27T03:14:36.545Z] 0c92f367c5e7: Pulling fs layer [2022-05-27T03:14:36.545Z] 3096ccb668a1: Pulling fs layer [2022-05-27T03:14:36.545Z] e8cf19c19ddd: Pulling fs layer [2022-05-27T03:14:36.545Z] a4caa8a26152: Pulling fs layer [2022-05-27T03:14:36.545Z] 3f3a8bcf1eab: Waiting [2022-05-27T03:14:36.545Z] 0c92f367c5e7: Waiting [2022-05-27T03:14:36.545Z] 3096ccb668a1: Waiting [2022-05-27T03:14:36.545Z] e8cf19c19ddd: Waiting [2022-05-27T03:14:36.545Z] a4caa8a26152: Waiting [2022-05-27T03:14:36.545Z] 94645a83ff95: Verifying Checksum [2022-05-27T03:14:36.545Z] 94645a83ff95: Download complete [2022-05-27T03:14:36.545Z] 1a89e8eeedd5: Download complete [2022-05-27T03:14:36.545Z] 0c92f367c5e7: Download complete [2022-05-27T03:14:36.545Z] 3096ccb668a1: Verifying Checksum [2022-05-27T03:14:36.545Z] 3096ccb668a1: Download complete [2022-05-27T03:14:36.545Z] 9b3977197b4f: Verifying Checksum [2022-05-27T03:14:36.545Z] 9b3977197b4f: Download complete [2022-05-27T03:14:36.545Z] e8cf19c19ddd: Verifying Checksum [2022-05-27T03:14:36.545Z] e8cf19c19ddd: Download complete [2022-05-27T03:14:37.542Z] 9b3977197b4f: Pull complete [2022-05-27T03:14:37.819Z] 1a89e8eeedd5: Pull complete [2022-05-27T03:14:38.098Z] 94645a83ff95: Pull complete [2022-05-27T03:14:38.377Z] a4caa8a26152: Verifying Checksum [2022-05-27T03:14:38.377Z] a4caa8a26152: Download complete [2022-05-27T03:14:38.984Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-27T03:14:38.985Z] 3f3a8bcf1eab: Download complete [2022-05-27T03:14:51.396Z] 3f3a8bcf1eab: Pull complete [2022-05-27T03:14:51.396Z] 0c92f367c5e7: Pull complete [2022-05-27T03:14:51.396Z] 3096ccb668a1: Pull complete [2022-05-27T03:14:51.670Z] e8cf19c19ddd: Pull complete [2022-05-27T03:14:58.425Z] a4caa8a26152: Pull complete [2022-05-27T03:14:58.425Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-27T03:14:58.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-27T03:14:58.425Z] ---> 725f1c02e7f9 [2022-05-27T03:14:58.425Z] Step 3/13 : ARG MAKE="make build" [2022-05-27T03:14:58.700Z] ---> Running in 24ae33778600 [2022-05-27T03:14:58.976Z] Removing intermediate container 24ae33778600 [2022-05-27T03:14:58.976Z] ---> eaee8bd2b577 [2022-05-27T03:14:58.976Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T03:14:58.976Z] ---> Running in d15e7b903a55 [2022-05-27T03:14:59.266Z] Removing intermediate container d15e7b903a55 [2022-05-27T03:14:59.266Z] ---> c7c62e152e16 [2022-05-27T03:14:59.266Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T03:14:59.266Z] ---> Running in 817d28228032 [2022-05-27T03:14:59.868Z] Removing intermediate container 817d28228032 [2022-05-27T03:14:59.868Z] ---> 71ed1777273a [2022-05-27T03:14:59.868Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-27T03:14:59.868Z] ---> Running in 128f169897a2 [2022-05-27T03:15:00.140Z] Removing intermediate container 128f169897a2 [2022-05-27T03:15:00.140Z] ---> ebfa0eaef62c [2022-05-27T03:15:00.140Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T03:15:00.140Z] ---> Running in 168964aa1388 [2022-05-27T03:15:02.127Z] Removing intermediate container 168964aa1388 [2022-05-27T03:15:02.127Z] ---> e8ac733e1e93 [2022-05-27T03:15:02.127Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T03:15:02.127Z] ---> Running in cf22ae4e47f4 [2022-05-27T03:15:02.725Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T03:15:03.714Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T03:15:04.706Z] OK: 220 MiB in 52 packages [2022-05-27T03:15:05.720Z] Removing intermediate container cf22ae4e47f4 [2022-05-27T03:15:05.720Z] ---> 608af3574fad [2022-05-27T03:15:05.720Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-27T03:15:05.720Z] ---> Running in 311744fdd487 [2022-05-27T03:15:06.710Z] Removing intermediate container 311744fdd487 [2022-05-27T03:15:06.710Z] ---> 59a37f315d92 [2022-05-27T03:15:06.710Z] Step 10/13 : COPY go.mod vendor* ./ [2022-05-27T03:15:07.322Z] ---> 0f2a317781b7 [2022-05-27T03:15:07.322Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T03:15:07.322Z] ---> Running in 3cd5043330d8 [2022-05-27T03:16:03.890Z] Removing intermediate container 3cd5043330d8 [2022-05-27T03:16:03.890Z] ---> 9cf64eca27f9 [2022-05-27T03:16:03.890Z] Step 12/13 : COPY . . [2022-05-27T03:16:03.890Z] ---> c6013a0a8933 [2022-05-27T03:16:03.890Z] Step 13/13 : RUN ${MAKE} [2022-05-27T03:16:03.890Z] ---> Running in 9b9817e93011 [2022-05-27T03:16:03.890Z] noop [2022-05-27T03:16:03.890Z] Removing intermediate container 9b9817e93011 [2022-05-27T03:16:03.890Z] ---> c22245ce2780 [2022-05-27T03:16:03.890Z] Successfully built c22245ce2780 [2022-05-27T03:16:03.890Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:16:04.256Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T03:16:04.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:16:04.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-228 does not seem to be running inside a container [2022-05-27T03:16:04.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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-05-27T03:16:05.895Z] $ docker top f929c525b5bdab94dddd27e3a9924944cd3840c4875c6fb9bccddbacdd09c80e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T03:16:06.787Z] + go version [2022-05-27T03:16:06.787Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-27T03:16:06.824Z] $ docker stop --time=1 f929c525b5bdab94dddd27e3a9924944cd3840c4875c6fb9bccddbacdd09c80e [2022-05-27T03:16:08.478Z] $ docker rm -f f929c525b5bdab94dddd27e3a9924944cd3840c4875c6fb9bccddbacdd09c80e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:16:09.054Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T03:16:09.054Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:16:09.284Z] prd-ubuntu20.04-docker-arm64-4c-16g-228 does not seem to be running inside a container [2022-05-27T03:16:09.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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-05-27T03:16:10.671Z] $ docker top 60cb28c586dd3f91335dddd76e20e1e316bc5122b447284a99fe957442ef9105 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T03:16:11.593Z] + make test [2022-05-27T03:16:11.593Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-27T03:16:13.590Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-27T03:17:35.442Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-27T03:17:35.442Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.069s coverage: 1.0% of statements [2022-05-27T03:17:35.442Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-27T03:17:35.442Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-27T03:18:07.808Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T03:18:07.808Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T03:18:07.808Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-27T03:18:07.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T03:18:07.856Z] $ docker stop --time=1 60cb28c586dd3f91335dddd76e20e1e316bc5122b447284a99fe957442ef9105 [2022-05-27T03:18:09.619Z] $ docker rm -f 60cb28c586dd3f91335dddd76e20e1e316bc5122b447284a99fe957442ef9105 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T03:18:10.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T03:18:10.589Z] Warning: overwriting stash ‘coverage-report’ [2022-05-27T03:18:11.057Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T03:18:11.468Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T03:18:11.806Z] + ls -al . [2022-05-27T03:18:11.806Z] total 212 [2022-05-27T03:18:11.806Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 03:18 . [2022-05-27T03:18:11.806Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 03:14 .. [2022-05-27T03:18:11.806Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 03:14 .git [2022-05-27T03:18:11.806Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 03:14 .github [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 352 May 27 03:14 .gitignore [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 03:14 .golangci.yml [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 9099 May 27 03:14 Attribution.txt [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 189 May 27 03:14 CHANGELOG.md [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 1667 May 27 03:14 Dockerfile [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 03:14 GOVERNANCE.md [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 660 May 27 03:14 Jenkinsfile [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 27 03:14 LICENSE [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 2473 May 27 03:14 Makefile [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 625 May 27 03:14 OWNERS.md [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 27 03:14 README.md [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 11 May 27 03:12 VERSION [2022-05-27T03:18:11.806Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 03:14 bin [2022-05-27T03:18:11.806Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 03:14 cmd [2022-05-27T03:18:11.806Z] -rw-r--r-- 1 jenkins jenkins 37307 May 27 03:17 coverage.out [2022-05-27T03:18:11.806Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 03:14 doc [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 3546 May 27 03:14 go.mod [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 37264 May 27 03:14 go.sum [2022-05-27T03:18:11.806Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 03:14 internal [2022-05-27T03:18:11.806Z] -rw-rw-r-- 1 jenkins jenkins 236 May 27 03:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:18:12.168Z] + 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=18118626ca0893b728531bfc2ef8f97357a298a2 --label arch=arm64 --label version=0.0.1-dev.4 . [2022-05-27T03:18:12.442Z] Sending build context to Docker daemon 5.862MB [2022-05-27T03:18:12.442Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T03:18:12.442Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-27T03:18:12.442Z] ---> c22245ce2780 [2022-05-27T03:18:12.442Z] Step 3/26 : ARG MAKE="make build" [2022-05-27T03:18:12.720Z] ---> Running in 924a7bad18d9 [2022-05-27T03:18:12.998Z] Removing intermediate container 924a7bad18d9 [2022-05-27T03:18:12.998Z] ---> 79ae01d6c818 [2022-05-27T03:18:12.998Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T03:18:12.998Z] ---> Running in ec49fbda46bb [2022-05-27T03:18:13.269Z] Removing intermediate container ec49fbda46bb [2022-05-27T03:18:13.269Z] ---> ac66b0b067e1 [2022-05-27T03:18:13.269Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T03:18:13.548Z] ---> Running in 8048cdfe4e47 [2022-05-27T03:18:13.820Z] Removing intermediate container 8048cdfe4e47 [2022-05-27T03:18:13.820Z] ---> 2d7306a3b419 [2022-05-27T03:18:13.820Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-27T03:18:13.820Z] ---> Running in 16732036d8ae [2022-05-27T03:18:14.097Z] Removing intermediate container 16732036d8ae [2022-05-27T03:18:14.097Z] ---> 5edd70ddfe2b [2022-05-27T03:18:14.097Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T03:18:14.097Z] ---> Running in fae5a93a3821 [2022-05-27T03:18:16.080Z] Removing intermediate container fae5a93a3821 [2022-05-27T03:18:16.080Z] ---> 0a3516ae7b36 [2022-05-27T03:18:16.080Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T03:18:16.080Z] ---> Running in 120db48d2ef3 [2022-05-27T03:18:17.061Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T03:18:17.659Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T03:18:18.642Z] OK: 220 MiB in 52 packages [2022-05-27T03:18:19.245Z] Removing intermediate container 120db48d2ef3 [2022-05-27T03:18:19.245Z] ---> 6ef6c8094244 [2022-05-27T03:18:19.245Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-27T03:18:19.522Z] ---> Running in 84dfc233af92 [2022-05-27T03:18:19.799Z] Removing intermediate container 84dfc233af92 [2022-05-27T03:18:19.799Z] ---> a71a44cb616f [2022-05-27T03:18:19.799Z] Step 10/26 : COPY go.mod vendor* ./ [2022-05-27T03:18:20.393Z] ---> f3a867294628 [2022-05-27T03:18:20.393Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T03:18:20.393Z] ---> Running in 5c04e3b3fff1 [2022-05-27T03:18:22.370Z] Removing intermediate container 5c04e3b3fff1 [2022-05-27T03:18:22.370Z] ---> 35c4fd6ddf2f [2022-05-27T03:18:22.370Z] Step 12/26 : COPY . . [2022-05-27T03:18:23.349Z] ---> c61c70c41e6e [2022-05-27T03:18:23.349Z] Step 13/26 : RUN ${MAKE} [2022-05-27T03:18:23.349Z] ---> Running in eb2c44820b45 [2022-05-27T03:18:24.328Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.4 -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-05-27T03:20:31.196Z] Removing intermediate container eb2c44820b45 [2022-05-27T03:20:31.196Z] ---> 00997ac3de10 [2022-05-27T03:20:31.196Z] Step 14/26 : FROM alpine:3.15 [2022-05-27T03:20:31.196Z] 3.15: Pulling from library/alpine [2022-05-27T03:20:31.196Z] 9981e73032c8: Pulling fs layer [2022-05-27T03:20:31.196Z] 9981e73032c8: Verifying Checksum [2022-05-27T03:20:31.196Z] 9981e73032c8: Download complete [2022-05-27T03:20:31.196Z] 9981e73032c8: Pull complete [2022-05-27T03:20:31.196Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-27T03:20:31.196Z] Status: Downloaded newer image for alpine:3.15 [2022-05-27T03:20:31.196Z] ---> 3fb3c9af89a9 [2022-05-27T03:20:31.196Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-27T03:20:31.196Z] ---> Running in 75ab68b1384b [2022-05-27T03:20:31.196Z] Removing intermediate container 75ab68b1384b [2022-05-27T03:20:31.196Z] ---> 294cc43e0086 [2022-05-27T03:20:31.196Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-27T03:20:31.196Z] ---> Running in 8279997135de [2022-05-27T03:20:31.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T03:20:31.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T03:20:31.196Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-27T03:20:31.196Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-27T03:20:31.196Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-27T03:20:31.196Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-27T03:20:31.196Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-27T03:20:31.196Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-27T03:20:31.196Z] Executing busybox-1.34.1-r5.trigger [2022-05-27T03:20:31.196Z] OK: 8 MiB in 20 packages [2022-05-27T03:20:31.196Z] Removing intermediate container 8279997135de [2022-05-27T03:20:31.196Z] ---> 99d1005d487c [2022-05-27T03:20:31.196Z] Step 17/26 : WORKDIR / [2022-05-27T03:20:31.196Z] ---> Running in 7c6dd626d574 [2022-05-27T03:20:31.196Z] Removing intermediate container 7c6dd626d574 [2022-05-27T03:20:31.196Z] ---> 0e58c2b2fbc3 [2022-05-27T03:20:31.196Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-27T03:20:31.196Z] ---> a6c7528a1231 [2022-05-27T03:20:31.196Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-27T03:20:31.196Z] ---> 5996838daa71 [2022-05-27T03:20:31.196Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-27T03:20:31.487Z] ---> a5d00fd5304d [2022-05-27T03:20:31.487Z] Step 21/26 : EXPOSE 59984 [2022-05-27T03:20:31.487Z] ---> Running in f09837e0b925 [2022-05-27T03:20:32.087Z] Removing intermediate container f09837e0b925 [2022-05-27T03:20:32.087Z] ---> ba5543138dcf [2022-05-27T03:20:32.087Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-27T03:20:32.087Z] ---> Running in 51e43208b9ff [2022-05-27T03:20:32.362Z] Removing intermediate container 51e43208b9ff [2022-05-27T03:20:32.362Z] ---> 3a1f51993245 [2022-05-27T03:20:32.362Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-27T03:20:32.362Z] ---> Running in b90d6bb5d151 [2022-05-27T03:20:32.638Z] Removing intermediate container b90d6bb5d151 [2022-05-27T03:20:32.638Z] ---> eb4bd88e3498 [2022-05-27T03:20:32.638Z] Step 24/26 : LABEL arch=arm64 [2022-05-27T03:20:32.638Z] ---> Running in 28c0fa4b7a49 [2022-05-27T03:20:33.236Z] Removing intermediate container 28c0fa4b7a49 [2022-05-27T03:20:33.236Z] ---> 04b35c05c164 [2022-05-27T03:20:33.236Z] Step 25/26 : LABEL git_sha=18118626ca0893b728531bfc2ef8f97357a298a2 [2022-05-27T03:20:33.236Z] ---> Running in 0c9f9372c4bc [2022-05-27T03:20:33.510Z] Removing intermediate container 0c9f9372c4bc [2022-05-27T03:20:33.510Z] ---> b16ff5b7ecb7 [2022-05-27T03:20:33.510Z] Step 26/26 : LABEL version=0.0.1-dev.4 [2022-05-27T03:20:33.510Z] ---> Running in 741f6b247cf1 [2022-05-27T03:20:33.784Z] Removing intermediate container 741f6b247cf1 [2022-05-27T03:20:33.784Z] ---> b6d6311283c2 [2022-05-27T03:20:33.784Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T03:20:33.784Z] Successfully built b6d6311283c2 [2022-05-27T03:20:33.784Z] 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-05-27T03:20:33.915Z] provisioning config files... [2022-05-27T03:20:33.937Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config4172652857261406858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:20:34.295Z] ---> docker-login.sh [2022-05-27T03:20:34.296Z] nexus3.edgexfoundry.org:10001 [2022-05-27T03:20:34.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:20:34.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:20:34.570Z] Configure a credential helper to remove this warning. See [2022-05-27T03:20:34.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:20:34.570Z] [2022-05-27T03:20:34.570Z] Login Succeeded [2022-05-27T03:20:34.570Z] nexus3.edgexfoundry.org:10002 [2022-05-27T03:20:35.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:20:35.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:20:35.168Z] Configure a credential helper to remove this warning. See [2022-05-27T03:20:35.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:20:35.168Z] [2022-05-27T03:20:35.168Z] Login Succeeded [2022-05-27T03:20:35.168Z] nexus3.edgexfoundry.org:10003 [2022-05-27T03:20:35.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:20:35.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:20:35.717Z] Configure a credential helper to remove this warning. See [2022-05-27T03:20:35.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:20:35.717Z] [2022-05-27T03:20:35.717Z] Login Succeeded [2022-05-27T03:20:35.717Z] nexus3.edgexfoundry.org:10004 [2022-05-27T03:20:35.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:20:35.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:20:35.990Z] Configure a credential helper to remove this warning. See [2022-05-27T03:20:35.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:20:35.990Z] [2022-05-27T03:20:35.990Z] Login Succeeded [2022-05-27T03:20:35.990Z] docker.io [2022-05-27T03:20:36.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T03:20:36.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T03:20:36.862Z] Configure a credential helper to remove this warning. See [2022-05-27T03:20:36.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T03:20:36.862Z] [2022-05-27T03:20:36.862Z] Login Succeeded [2022-05-27T03:20:36.862Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T03:20:36.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-27T03:20:36.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T03:20:36.938Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-05-27T03:20:36.938Z] 18118626ca0893b728531bfc2ef8f97357a298a2 [2022-05-27T03:20:36.938Z] latest [2022-05-27T03:20:36.938Z] 0.0.1-dev.4 [2022-05-27T03:20:36.938Z] 18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4 [2022-05-27T03:20:36.938Z] main [2022-05-27T03:20:36.938Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:20:37.301Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:18118626ca0893b728531bfc2ef8f97357a298a2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:20:37.684Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:18118626ca0893b728531bfc2ef8f97357a298a2 [2022-05-27T03:20:37.684Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-27T03:20:37.684Z] 919f3c59505b: Preparing [2022-05-27T03:20:37.684Z] c7ead2a43f2c: Preparing [2022-05-27T03:20:37.684Z] 6aa524b898ee: Preparing [2022-05-27T03:20:37.684Z] 2cfb7be3c642: Preparing [2022-05-27T03:20:37.684Z] 4f4ce317c6bb: Preparing [2022-05-27T03:20:37.684Z] 4f4ce317c6bb: Layer already exists [2022-05-27T03:20:37.962Z] c7ead2a43f2c: Pushed [2022-05-27T03:20:37.962Z] 919f3c59505b: Pushed [2022-05-27T03:20:38.559Z] 2cfb7be3c642: Pushed [2022-05-27T03:20:43.972Z] 6aa524b898ee: Pushed [2022-05-27T03:20:44.246Z] 18118626ca0893b728531bfc2ef8f97357a298a2: digest: sha256:39eea916140e6ad0172d545c8c2ac82d4a2deeffc1d0fa77aa2be24c00ff34b8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:20:44.619Z] + 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-05-27T03:20:44.982Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-05-27T03:20:44.982Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-27T03:20:44.982Z] 919f3c59505b: Preparing [2022-05-27T03:20:44.982Z] c7ead2a43f2c: Preparing [2022-05-27T03:20:44.982Z] 6aa524b898ee: Preparing [2022-05-27T03:20:44.982Z] 2cfb7be3c642: Preparing [2022-05-27T03:20:44.982Z] 4f4ce317c6bb: Preparing [2022-05-27T03:20:44.982Z] c7ead2a43f2c: Layer already exists [2022-05-27T03:20:44.982Z] 919f3c59505b: Layer already exists [2022-05-27T03:20:44.982Z] 4f4ce317c6bb: Layer already exists [2022-05-27T03:20:44.982Z] 6aa524b898ee: Layer already exists [2022-05-27T03:20:44.982Z] 2cfb7be3c642: Layer already exists [2022-05-27T03:20:45.255Z] latest: digest: sha256:39eea916140e6ad0172d545c8c2ac82d4a2deeffc1d0fa77aa2be24c00ff34b8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:20:45.621Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:20:45.983Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.4 [2022-05-27T03:20:45.983Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-27T03:20:45.983Z] 919f3c59505b: Preparing [2022-05-27T03:20:45.983Z] c7ead2a43f2c: Preparing [2022-05-27T03:20:45.983Z] 6aa524b898ee: Preparing [2022-05-27T03:20:45.983Z] 2cfb7be3c642: Preparing [2022-05-27T03:20:45.983Z] 4f4ce317c6bb: Preparing [2022-05-27T03:20:45.983Z] 6aa524b898ee: Layer already exists [2022-05-27T03:20:45.983Z] 2cfb7be3c642: Layer already exists [2022-05-27T03:20:45.983Z] 919f3c59505b: Layer already exists [2022-05-27T03:20:45.983Z] c7ead2a43f2c: Layer already exists [2022-05-27T03:20:45.983Z] 4f4ce317c6bb: Layer already exists [2022-05-27T03:20:46.260Z] 0.0.1-dev.4: digest: sha256:39eea916140e6ad0172d545c8c2ac82d4a2deeffc1d0fa77aa2be24c00ff34b8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:20:46.625Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:20:46.982Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4 [2022-05-27T03:20:46.983Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-27T03:20:46.983Z] 919f3c59505b: Preparing [2022-05-27T03:20:46.983Z] c7ead2a43f2c: Preparing [2022-05-27T03:20:46.983Z] 6aa524b898ee: Preparing [2022-05-27T03:20:46.983Z] 2cfb7be3c642: Preparing [2022-05-27T03:20:46.983Z] 4f4ce317c6bb: Preparing [2022-05-27T03:20:46.983Z] 919f3c59505b: Layer already exists [2022-05-27T03:20:46.983Z] c7ead2a43f2c: Layer already exists [2022-05-27T03:20:46.983Z] 6aa524b898ee: Layer already exists [2022-05-27T03:20:46.983Z] 4f4ce317c6bb: Layer already exists [2022-05-27T03:20:46.983Z] 2cfb7be3c642: Layer already exists [2022-05-27T03:20:47.258Z] 18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4: digest: sha256:39eea916140e6ad0172d545c8c2ac82d4a2deeffc1d0fa77aa2be24c00ff34b8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:20:47.631Z] + 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-05-27T03:20:47.988Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-05-27T03:20:47.989Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-27T03:20:47.989Z] 919f3c59505b: Preparing [2022-05-27T03:20:47.989Z] c7ead2a43f2c: Preparing [2022-05-27T03:20:47.989Z] 6aa524b898ee: Preparing [2022-05-27T03:20:47.989Z] 2cfb7be3c642: Preparing [2022-05-27T03:20:47.989Z] 4f4ce317c6bb: Preparing [2022-05-27T03:20:47.989Z] 4f4ce317c6bb: Layer already exists [2022-05-27T03:20:47.989Z] c7ead2a43f2c: Layer already exists [2022-05-27T03:20:47.989Z] 2cfb7be3c642: Layer already exists [2022-05-27T03:20:47.989Z] 6aa524b898ee: Layer already exists [2022-05-27T03:20:47.989Z] 919f3c59505b: Layer already exists [2022-05-27T03:20:48.261Z] main: digest: sha256:39eea916140e6ad0172d545c8c2ac82d4a2deeffc1d0fa77aa2be24c00ff34b8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-27T03:20:48.321Z] ===================================================== [Pipeline] echo [2022-05-27T03:20:48.330Z] taggedImages: [2022-05-27T03:20:48.330Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:18118626ca0893b728531bfc2ef8f97357a298a2 [2022-05-27T03:20:48.330Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-05-27T03:20:48.330Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.4 [2022-05-27T03:20:48.330Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:18118626ca0893b728531bfc2ef8f97357a298a2-0.0.1-dev.4 [2022-05-27T03:20:48.330Z] - 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-05-27T03:20:48.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T03:20:48.706Z] [2022-05-27T03:20:48.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:20:49.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T03:20:49.334Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-27T03:20:49.334Z] 8998bd30e6a1: Pulling fs layer [2022-05-27T03:20:49.334Z] 04944245beec: Pulling fs layer [2022-05-27T03:20:49.334Z] 699f458cf7ca: Pulling fs layer [2022-05-27T03:20:49.334Z] 765212b225bb: Pulling fs layer [2022-05-27T03:20:49.334Z] f23df028b6ca: Pulling fs layer [2022-05-27T03:20:49.334Z] d65c8cfc05b1: Pulling fs layer [2022-05-27T03:20:49.334Z] 2437ff75d9bd: Pulling fs layer [2022-05-27T03:20:49.334Z] 765212b225bb: Waiting [2022-05-27T03:20:49.334Z] f23df028b6ca: Waiting [2022-05-27T03:20:49.334Z] 2437ff75d9bd: Waiting [2022-05-27T03:20:49.334Z] d65c8cfc05b1: Waiting [2022-05-27T03:20:49.334Z] 04944245beec: Verifying Checksum [2022-05-27T03:20:49.334Z] 04944245beec: Download complete [2022-05-27T03:20:49.334Z] 765212b225bb: Verifying Checksum [2022-05-27T03:20:49.334Z] 765212b225bb: Download complete [2022-05-27T03:20:49.334Z] f23df028b6ca: Download complete [2022-05-27T03:20:49.334Z] d65c8cfc05b1: Verifying Checksum [2022-05-27T03:20:49.334Z] d65c8cfc05b1: Download complete [2022-05-27T03:20:49.611Z] 699f458cf7ca: Verifying Checksum [2022-05-27T03:20:49.611Z] 699f458cf7ca: Download complete [2022-05-27T03:20:49.889Z] 8998bd30e6a1: Download complete [2022-05-27T03:20:52.534Z] 2437ff75d9bd: Verifying Checksum [2022-05-27T03:20:52.535Z] 2437ff75d9bd: Download complete [2022-05-27T03:20:54.517Z] 8998bd30e6a1: Pull complete [2022-05-27T03:20:54.795Z] 04944245beec: Pull complete [2022-05-27T03:20:56.234Z] 699f458cf7ca: Pull complete [2022-05-27T03:20:56.513Z] 765212b225bb: Pull complete [2022-05-27T03:20:57.493Z] f23df028b6ca: Pull complete [2022-05-27T03:20:57.493Z] d65c8cfc05b1: Pull complete [2022-05-27T03:21:12.581Z] 2437ff75d9bd: Pull complete [2022-05-27T03:21:12.581Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-27T03:21:12.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T03:21:12.581Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:21:12.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-228 does not seem to be running inside a container [2022-05-27T03:21:12.937Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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-05-27T03:21:15.461Z] $ docker top 0b9219ca825abfedc311e3e74fd72429d225a149bc4832bb6bda0e7ac8e3273c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:21:16.357Z] ---> job-cost.sh [2022-05-27T03:21:16.357Z] lf-activate-venv: SKIPPING [2022-05-27T03:21:16.357Z] INFO: No Stack... [2022-05-27T03:21:16.628Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-27T03:21:17.599Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T03:21:18.255Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-05-27T03:21:18.255Z] + cut -d, -f6 [Pipeline] lock [2022-05-27T03:21:18.319Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-6-stack-cost] [2022-05-27T03:21:18.327Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-6-stack-cost] did not exist. Created. [2022-05-27T03:21:18.327Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T03:21:19.013Z] /w/workspace/device-onvif-camera/6@tmp/durable-19ba951f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-27T03:21:19.707Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-27T03:21:19.734Z] Warning: overwriting stash ‘stack-cost’ [2022-05-27T03:21:19.779Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T03:21:19.788Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T03:21:19.827Z] $ docker stop --time=1 0b9219ca825abfedc311e3e74fd72429d225a149bc4832bb6bda0e7ac8e3273c [2022-05-27T03:21:21.342Z] $ docker rm -f 0b9219ca825abfedc311e3e74fd72429d225a149bc4832bb6bda0e7ac8e3273c [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-05-27T03:21:21.759Z] provisioning config files... [2022-05-27T03:21:21.767Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config461662191563229760tmp [Pipeline] { [Pipeline] sh [2022-05-27T03:21:22.060Z] + set +x [2022-05-27T03:21:22.060Z] + curl -s https://codecov.io/bash [2022-05-27T03:21:22.060Z] + bash -s -- [2022-05-27T03:21:22.060Z] [2022-05-27T03:21:22.060Z] _____ _ [2022-05-27T03:21:22.060Z] / ____| | | [2022-05-27T03:21:22.060Z] | | ___ __| | ___ ___ _____ __ [2022-05-27T03:21:22.060Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-27T03:21:22.060Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-27T03:21:22.060Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-27T03:21:22.060Z] Bash-1.0.6 [2022-05-27T03:21:22.060Z] [2022-05-27T03:21:22.060Z] [2022-05-27T03:21:22.060Z] ==> git version 2.25.1 found [2022-05-27T03:21:22.060Z] ==> 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-05-27T03:21:22.060Z] Release-Date: 2020-01-08 [2022-05-27T03:21:22.060Z] 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-05-27T03:21:22.060Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-27T03:21:22.060Z] ==> Jenkins CI detected. [2022-05-27T03:21:22.060Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-05-27T03:21:22.060Z] project root: . [2022-05-27T03:21:22.060Z] --> token set from env [2022-05-27T03:21:22.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-27T03:21:22.060Z] ==> Running gcov in . (disable via -X gcov) [2022-05-27T03:21:22.060Z] ==> Python coveragepy not found [2022-05-27T03:21:22.060Z] ==> Searching for coverage reports in: [2022-05-27T03:21:22.060Z] + . [2022-05-27T03:21:22.060Z] -> Found 1 reports [2022-05-27T03:21:22.060Z] ==> Detecting git/mercurial file structure [2022-05-27T03:21:22.060Z] ==> Reading reports [2022-05-27T03:21:22.060Z] + ./coverage.out bytes=37307 [2022-05-27T03:21:22.060Z] ==> Appending adjustments [2022-05-27T03:21:22.060Z] https://docs.codecov.io/docs/fixing-reports [2022-05-27T03:21:22.320Z] + Found adjustments [2022-05-27T03:21:22.320Z] ==> Gzipping contents [2022-05-27T03:21:22.320Z] 8.0K /tmp/codecov.4R3M2K.gz [2022-05-27T03:21:22.320Z] ==> Uploading reports [2022-05-27T03:21:22.320Z] url: https://codecov.io [2022-05-27T03:21:22.320Z] query: branch=main&commit=18118626ca0893b728531bfc2ef8f97357a298a2&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-27T03:21:22.320Z] -> Pinging Codecov [2022-05-27T03:21:22.320Z] 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=18118626ca0893b728531bfc2ef8f97357a298a2&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-27T03:21:22.320Z] -> Uploading to [2022-05-27T03:21:22.320Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-27/F29A59C45E3A92E06B3E522C9905F8EF/18118626ca0893b728531bfc2ef8f97357a298a2/d3e7621e-3227-4f67-8002-1f56e7fdc594.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220527T032122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dda45a199dd82526831e51bfd0443e71f7f6afb3102782fd210a7de986395a38 [2022-05-27T03:21:22.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T03:21:22.320Z] Dload Upload Total Spent Left Speed [2022-05-27T03:21:22.579Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4602 0 0 100 4602 0 20453 --:--:-- --:--:-- --:--:-- 20362 [2022-05-27T03:21:22.579Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/18118626ca0893b728531bfc2ef8f97357a298a2 [Pipeline] } [2022-05-27T03:21:22.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-27T03:21:22.698Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-27T03:21:22.707Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:21:23.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-27T03:21:23.005Z] [2022-05-27T03:21:23.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:21:23.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-27T03:21:23.310Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-27T03:21:23.310Z] 188c0c94c7c5: Pulling fs layer [2022-05-27T03:21:23.310Z] 0ef7d3d256c8: Pulling fs layer [2022-05-27T03:21:23.310Z] de9db76c5a1d: Pulling fs layer [2022-05-27T03:21:23.310Z] 0eba1c9be4d2: Pulling fs layer [2022-05-27T03:21:23.310Z] 0d57e429df01: Pulling fs layer [2022-05-27T03:21:23.311Z] 4e4be7b47b0d: Pulling fs layer [2022-05-27T03:21:23.311Z] e1f770b5df2f: Pulling fs layer [2022-05-27T03:21:23.311Z] 85a0685a4137: Pulling fs layer [2022-05-27T03:21:23.311Z] e1f770b5df2f: Waiting [2022-05-27T03:21:23.311Z] 0d57e429df01: Waiting [2022-05-27T03:21:23.311Z] 85a0685a4137: Waiting [2022-05-27T03:21:23.311Z] de9db76c5a1d: Download complete [2022-05-27T03:21:23.311Z] 0ef7d3d256c8: Verifying Checksum [2022-05-27T03:21:23.311Z] 0ef7d3d256c8: Download complete [2022-05-27T03:21:23.311Z] 0d57e429df01: Download complete [2022-05-27T03:21:23.311Z] 188c0c94c7c5: Verifying Checksum [2022-05-27T03:21:23.311Z] 4e4be7b47b0d: Verifying Checksum [2022-05-27T03:21:23.311Z] 4e4be7b47b0d: Download complete [2022-05-27T03:21:23.576Z] e1f770b5df2f: Verifying Checksum [2022-05-27T03:21:23.576Z] 188c0c94c7c5: Pull complete [2022-05-27T03:21:23.576Z] 0ef7d3d256c8: Pull complete [2022-05-27T03:21:23.836Z] de9db76c5a1d: Pull complete [2022-05-27T03:21:24.096Z] 0eba1c9be4d2: Verifying Checksum [2022-05-27T03:21:24.096Z] 0eba1c9be4d2: Download complete [2022-05-27T03:21:24.096Z] 85a0685a4137: Download complete [2022-05-27T03:21:27.385Z] 0eba1c9be4d2: Pull complete [2022-05-27T03:21:27.385Z] 0d57e429df01: Pull complete [2022-05-27T03:21:27.385Z] 4e4be7b47b0d: Pull complete [2022-05-27T03:21:27.643Z] e1f770b5df2f: Pull complete [2022-05-27T03:21:30.931Z] 85a0685a4137: Pull complete [2022-05-27T03:21:30.931Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-27T03:21:30.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-27T03:21:30.931Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:21:31.017Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:21:31.052Z] $ 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-05-27T03:21:32.904Z] $ docker top 0b24b63ace177c690b36872e7781621ed53cdde62b854d7abb7189ac3f8fa7f9 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-27T03:21:32.975Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-27T03:21:33.253Z] + set -o pipefail [2022-05-27T03:21:33.253Z] + snyk monitor '--org=edgex-jenkins' [2022-05-27T03:21:38.534Z] [2022-05-27T03:21:38.534Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-05-27T03:21:38.534Z] [2022-05-27T03:21:38.534Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/cc672bb3-ce95-45c3-947b-54254bf70991/history/4e331b8c-8b90-45b5-8dd0-9666032e9403 [2022-05-27T03:21:38.534Z] [2022-05-27T03:21:38.534Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-27T03:21:38.534Z] [2022-05-27T03:21:38.534Z] [Pipeline] } [2022-05-27T03:21:38.550Z] $ docker stop --time=1 0b24b63ace177c690b36872e7781621ed53cdde62b854d7abb7189ac3f8fa7f9 [2022-05-27T03:21:40.524Z] $ docker rm -f 0b24b63ace177c690b36872e7781621ed53cdde62b854d7abb7189ac3f8fa7f9 [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-05-27T03:21:41.298Z] + git log --format=format:%s -1 18118626ca0893b728531bfc2ef8f97357a298a2 [Pipeline] sh [2022-05-27T03:21:41.602Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-27T03:21:41.602Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:21:41.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T03:21:41.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:21:41.987Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:21:42.025Z] $ 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-05-27T03:21:42.446Z] $ docker top b8784413a2c2f5dd16ab0609fcc9ecf21439fc18b8c4461e04a844b34e272dfe -eo pid,comm [2022-05-27T03:21:42.504Z] 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-05-27T03:21:42.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-27T03:21:42.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T03:21:42.544Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T03:21:42.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T03:21:42.671Z] $ docker exec b8784413a2c2f5dd16ab0609fcc9ecf21439fc18b8c4461e04a844b34e272dfe ssh-agent [2022-05-27T03:21:42.790Z] SSH_AUTH_SOCK=/tmp/ssh-ZmQIXgUp30Vm/agent.33 [2022-05-27T03:21:42.790Z] SSH_AGENT_PID=39 [2022-05-27T03:21:42.795Z] Running ssh-add (command line suppressed) [2022-05-27T03:21:42.924Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2845866828091346032.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2845866828091346032.key) [2022-05-27T03:21:42.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T03:21:43.223Z] + git semver tag [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,405 [run_tag] DEBUG tag force:False [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,405 [check_head_tag] DEBUG check head tag [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,406 [execute] INFO git cat-file --batch-check [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,409 [execute] INFO git cat-file --batch [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,414 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,415 [execute] INFO git tag -a v0.0.1-dev.4 -m v0.0.1-dev.4 [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,415 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.4', '-m', 'v0.0.1-dev.4'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-05-27T03:21:43.484Z] 2022-05-27 03:21:43,419 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-27T03:21:43.484Z] 0.0.1-dev.4 [Pipeline] } [2022-05-27T03:21:43.497Z] $ docker exec --env ******** --env ******** b8784413a2c2f5dd16ab0609fcc9ecf21439fc18b8c4461e04a844b34e272dfe ssh-agent -k [2022-05-27T03:21:43.612Z] unset SSH_AUTH_SOCK; [2022-05-27T03:21:43.612Z] unset SSH_AGENT_PID; [2022-05-27T03:21:43.612Z] echo Agent pid 39 killed; [2022-05-27T03:21:43.619Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-27T03:21:43.933Z] + git semver [Pipeline] } [2022-05-27T03:21:44.210Z] $ docker stop --time=1 b8784413a2c2f5dd16ab0609fcc9ecf21439fc18b8c4461e04a844b34e272dfe [2022-05-27T03:21:45.541Z] $ docker rm -f b8784413a2c2f5dd16ab0609fcc9ecf21439fc18b8c4461e04a844b34e272dfe [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:21:45.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-27T03:21:45.938Z] [2022-05-27T03:21:45.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:21:46.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-27T03:21:46.236Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-27T03:21:46.236Z] ab5ef0e58194: Pulling fs layer [2022-05-27T03:21:46.236Z] 9712f1f96733: Pulling fs layer [2022-05-27T03:21:46.236Z] 63f879dbbcfc: Pulling fs layer [2022-05-27T03:21:46.236Z] 0d9ebad4ef96: Pulling fs layer [2022-05-27T03:21:46.236Z] e9a5061849ea: Pulling fs layer [2022-05-27T03:21:46.236Z] d747dcd14b5f: Pulling fs layer [2022-05-27T03:21:46.236Z] 2de7ff778b66: Pulling fs layer [2022-05-27T03:21:46.236Z] 0d9ebad4ef96: Waiting [2022-05-27T03:21:46.236Z] 2de7ff778b66: Waiting [2022-05-27T03:21:46.236Z] e9a5061849ea: Waiting [2022-05-27T03:21:46.236Z] d747dcd14b5f: Waiting [2022-05-27T03:21:46.236Z] 9712f1f96733: Verifying Checksum [2022-05-27T03:21:46.236Z] 9712f1f96733: Download complete [2022-05-27T03:21:46.496Z] 63f879dbbcfc: Verifying Checksum [2022-05-27T03:21:46.496Z] 63f879dbbcfc: Download complete [2022-05-27T03:21:46.756Z] ab5ef0e58194: Verifying Checksum [2022-05-27T03:21:46.756Z] ab5ef0e58194: Download complete [2022-05-27T03:21:46.756Z] d747dcd14b5f: Verifying Checksum [2022-05-27T03:21:46.756Z] d747dcd14b5f: Download complete [2022-05-27T03:21:46.756Z] e9a5061849ea: Verifying Checksum [2022-05-27T03:21:46.756Z] e9a5061849ea: Download complete [2022-05-27T03:21:47.014Z] 0d9ebad4ef96: Verifying Checksum [2022-05-27T03:21:47.014Z] 0d9ebad4ef96: Download complete [2022-05-27T03:21:47.014Z] 2de7ff778b66: Verifying Checksum [2022-05-27T03:21:49.548Z] ab5ef0e58194: Pull complete [2022-05-27T03:21:49.548Z] 9712f1f96733: Pull complete [2022-05-27T03:21:50.487Z] 63f879dbbcfc: Pull complete [2022-05-27T03:21:54.682Z] 0d9ebad4ef96: Pull complete [2022-05-27T03:21:54.682Z] e9a5061849ea: Pull complete [2022-05-27T03:21:54.682Z] d747dcd14b5f: Pull complete [2022-05-27T03:21:55.252Z] 2de7ff778b66: Pull complete [2022-05-27T03:21:55.252Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-27T03:21:55.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-27T03:21:55.252Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:21:55.346Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:21:55.383Z] $ 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-05-27T03:21:57.411Z] $ docker top ef085e38ec665b38c71dd4ba43d3c0200f14b0c837cf09df838d3458cb0240aa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-27T03:21:57.487Z] provisioning config files... [2022-05-27T03:21:57.495Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2449180026189915504tmp [2022-05-27T03:21:57.506Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2361479698835966635tmp [2022-05-27T03:21:57.518Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7260104850159372196tmp [Pipeline] { [Pipeline] echo [2022-05-27T03:21:57.531Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:21:57.816Z] ---> sigul-configuration.sh [2022-05-27T03:21:57.817Z] gpg: directory `/root/.gnupg' created [2022-05-27T03:21:57.817Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-27T03:21:57.817Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-27T03:21:57.817Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-27T03:21:57.817Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-27T03:21:57.817Z] gpg: CAST5 encrypted data [2022-05-27T03:21:57.817Z] gpg: encrypted with 1 passphrase [2022-05-27T03:21:57.817Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-27T03:21:58.106Z] + mkdir /home/jenkins [2022-05-27T03:21:58.106Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-27T03:21:58.395Z] + 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-05-27T03:21:58.405Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:21:58.692Z] ---> sigul-install.sh [2022-05-27T03:21:58.692Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-27T03:21:58.981Z] + git tag --list [2022-05-27T03:21:58.981Z] v0.0.0 [2022-05-27T03:21:58.981Z] v0.0.1-dev.1 [2022-05-27T03:21:58.981Z] v0.0.1-dev.2 [2022-05-27T03:21:58.981Z] v0.0.1-dev.3 [2022-05-27T03:21:58.981Z] v0.0.1-dev.4 [Pipeline] sh [2022-05-27T03:21:59.269Z] + lftools sign git-tag v0.0.1-dev.4 [2022-05-27T03:21:59.841Z] Signing Git tag with Sigul... [2022-05-27T03:21:59.841Z] Signing v0.0.1-dev.4 [Pipeline] echo [2022-05-27T03:22:00.109Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:22:00.397Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-27T03:22:00.409Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-27T03:22:00.430Z] $ docker stop --time=1 ef085e38ec665b38c71dd4ba43d3c0200f14b0c837cf09df838d3458cb0240aa [2022-05-27T03:22:01.740Z] $ docker rm -f ef085e38ec665b38c71dd4ba43d3c0200f14b0c837cf09df838d3458cb0240aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-27T03:22:02.146Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-27T03:22:02.146Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:22:02.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T03:22:02.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:22:02.530Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:22:02.569Z] $ 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-05-27T03:22:02.937Z] $ docker top 9b780ff84583a26aaca1bffea2cae79ba7ab4a1587b2284267833bcb7f21508f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-27T03:22:03.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T03:22:03.031Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T03:22:03.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T03:22:03.151Z] $ docker exec 9b780ff84583a26aaca1bffea2cae79ba7ab4a1587b2284267833bcb7f21508f ssh-agent [2022-05-27T03:22:03.266Z] SSH_AUTH_SOCK=/tmp/ssh-Udt99y0LcS0L/agent.34 [2022-05-27T03:22:03.267Z] SSH_AGENT_PID=40 [2022-05-27T03:22:03.272Z] Running ssh-add (command line suppressed) [2022-05-27T03:22:03.378Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1565455334560837892.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1565455334560837892.key) [2022-05-27T03:22:03.389Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T03:22:03.686Z] + git semver bump pre [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,868 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,868 [bump_version] DEBUG bumping version:0.0.1-dev.4 on axis:pre with prefix:dev [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,868 [bump_version] DEBUG bumped version:0.0.1-dev.5 [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,868 [write_version] DEBUG write version:0.0.1-dev.5 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,869 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,869 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,871 [execute] INFO git cat-file --batch-check [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,876 [execute] INFO git cat-file --batch [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,876 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-27T03:22:03.949Z] 2022-05-27 03:22:03,880 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-27T03:22:03.949Z] 0.0.1-dev.5 [Pipeline] } [2022-05-27T03:22:03.962Z] $ docker exec --env ******** --env ******** 9b780ff84583a26aaca1bffea2cae79ba7ab4a1587b2284267833bcb7f21508f ssh-agent -k [2022-05-27T03:22:04.055Z] unset SSH_AUTH_SOCK; [2022-05-27T03:22:04.056Z] unset SSH_AGENT_PID; [2022-05-27T03:22:04.056Z] echo Agent pid 40 killed; [2022-05-27T03:22:04.064Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-27T03:22:04.374Z] + git semver [Pipeline] } [2022-05-27T03:22:04.651Z] $ docker stop --time=1 9b780ff84583a26aaca1bffea2cae79ba7ab4a1587b2284267833bcb7f21508f [2022-05-27T03:22:05.959Z] $ docker rm -f 9b780ff84583a26aaca1bffea2cae79ba7ab4a1587b2284267833bcb7f21508f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T03:22:06.323Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-27T03:22:06.323Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:22:06.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T03:22:06.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:22:06.717Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:22:06.756Z] $ 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-05-27T03:22:07.127Z] $ docker top 063de03211ba61df53622dcbe9dd1e3b05b28d9250e7d8dd83b7775d6b40d068 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-27T03:22:07.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T03:22:07.239Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T03:22:07.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T03:22:07.369Z] $ docker exec 063de03211ba61df53622dcbe9dd1e3b05b28d9250e7d8dd83b7775d6b40d068 ssh-agent [2022-05-27T03:22:07.480Z] SSH_AUTH_SOCK=/tmp/ssh-GeiarmrVyOcV/agent.32 [2022-05-27T03:22:07.480Z] SSH_AGENT_PID=39 [2022-05-27T03:22:07.485Z] Running ssh-add (command line suppressed) [2022-05-27T03:22:07.607Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6124848652442917636.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6124848652442917636.key) [2022-05-27T03:22:07.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T03:22:07.906Z] + git semver push [2022-05-27T03:22:08.168Z] 2022-05-27 03:22:08,093 [run_push] DEBUG push [2022-05-27T03:22:08.168Z] 2022-05-27 03:22:08,094 [execute] INFO git push origin semver [2022-05-27T03:22:08.168Z] 2022-05-27 03:22:08,094 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-27T03:22:08.738Z] 2022-05-27 03:22:08,727 [run_push] DEBUG push all version tags [2022-05-27T03:22:08.738Z] 2022-05-27 03:22:08,727 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-27T03:22:08.738Z] 2022-05-27 03:22:08,728 [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-05-27T03:22:09.678Z] 2022-05-27 03:22:09,335 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-27T03:22:09.678Z] 0.0.1-dev.5 [Pipeline] } [2022-05-27T03:22:09.694Z] $ docker exec --env ******** --env ******** 063de03211ba61df53622dcbe9dd1e3b05b28d9250e7d8dd83b7775d6b40d068 ssh-agent -k [2022-05-27T03:22:09.805Z] unset SSH_AUTH_SOCK; [2022-05-27T03:22:09.806Z] unset SSH_AGENT_PID; [2022-05-27T03:22:09.806Z] echo Agent pid 39 killed; [2022-05-27T03:22:09.821Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-27T03:22:10.130Z] + git semver [Pipeline] } [2022-05-27T03:22:10.410Z] $ docker stop --time=1 063de03211ba61df53622dcbe9dd1e3b05b28d9250e7d8dd83b7775d6b40d068 [2022-05-27T03:22:11.692Z] $ docker rm -f 063de03211ba61df53622dcbe9dd1e3b05b28d9250e7d8dd83b7775d6b40d068 [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-05-27T03:22:12.306Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-05-27T03:22:12.306Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-05-27T03:22:12.306Z] total 16 [2022-05-27T03:22:12.306Z] drwxr-xr-x 3 root root 4096 May 27 03:13 . [2022-05-27T03:22:12.306Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 03:21 .. [2022-05-27T03:22:12.306Z] drwxr-xr-x 2 root root 4096 May 27 03:13 cost [2022-05-27T03:22:12.306Z] -rw-r--r-- 1 root root 88 May 27 03:13 cost.csv [2022-05-27T03:22:12.306Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-05-27T03:22:12.306Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-05-27T03:22:12.306Z] total 16 [2022-05-27T03:22:12.306Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 03:13 . [2022-05-27T03:22:12.306Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 03:21 .. [2022-05-27T03:22:12.306Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 03:13 cost [2022-05-27T03:22:12.306Z] -rw-r--r-- 1 jenkins jenkins 88 May 27 03:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:22:12.645Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:22:13.505Z] ---> package-listing.sh [2022-05-27T03:22:13.505Z] ++ facter osfamily [2022-05-27T03:22:13.505Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-27T03:22:13.768Z] + OS_FAMILY=debian [2022-05-27T03:22:13.768Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-05-27T03:22:13.768Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-27T03:22:13.768Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-27T03:22:13.768Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-27T03:22:13.768Z] + PACKAGES=/tmp/packages_start.txt [2022-05-27T03:22:13.768Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-05-27T03:22:13.768Z] + PACKAGES=/tmp/packages_end.txt [2022-05-27T03:22:13.768Z] + case "${OS_FAMILY}" in [2022-05-27T03:22:13.768Z] + dpkg -l [2022-05-27T03:22:13.768Z] + grep '^ii' [2022-05-27T03:22:13.768Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-27T03:22:13.768Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-27T03:22:13.768Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-27T03:22:13.768Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-05-27T03:22:13.768Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-05-27T03:22:13.768Z] + 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-05-27T03:22:13.777Z] 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-05-27T03:22:14.056Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T03:22:14.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T03:22:14.615Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T03:22:14.701Z] prd-ubuntu20.04-docker-8c-8g-227 does not seem to be running inside a container [2022-05-27T03:22:14.740Z] $ 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-05-27T03:22:14.971Z] $ docker top 20f6d6d261afd8eba12c0fc293cc39aab6f66c5d04e06b1ca541e4584b0f3481 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T03:22:15.327Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-27T03:22:15.612Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-27T03:22:15.897Z] + ls /var/log/sa-host [2022-05-27T03:22:15.898Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T03:22:15.967Z] provisioning config files... [2022-05-27T03:22:15.975Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7578193900606756720tmp [Pipeline] { [Pipeline] echo [2022-05-27T03:22:15.988Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:22:16.274Z] ---> create-netrc.sh [Pipeline] } [2022-05-27T03:22:16.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:22:16.606Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-27T03:22:16.616Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:22:16.907Z] ---> sudo-logs.sh [2022-05-27T03:22:16.907Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-27T03:22:16.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:22:17.228Z] ---> job-cost.sh [2022-05-27T03:22:17.228Z] lf-activate-venv: SKIPPING [2022-05-27T03:22:17.228Z] DEBUG: total: 0.2199999988079071 [2022-05-27T03:22:17.228Z] INFO: Retrieving Stack Cost... [2022-05-27T03:22:17.800Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T03:22:18.060Z] INFO: Archiving Costs [Pipeline] echo [2022-05-27T03:22:18.072Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T03:22:18.365Z] ---> logs-deploy.sh [2022-05-27T03:22:18.365Z] lf-activate-venv: SKIPPING [2022-05-27T03:22:18.365Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/6 [2022-05-27T03:22:18.365Z] INFO: archiving workspace using pattern(s): [2022-05-27T03:22:19.305Z] Archives upload complete. [2022-05-27T03:22:19.305Z] INFO: archiving logs to Nexus