Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 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-ssh13962660077172378916.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-ssh14506537585362683359.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-ssh2202878968006758791.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-ssh10534554084703401650.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-ssh9944347915743021077.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-665 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 # timeout=10 Commit message: "Discovery probe (#65)" > git rev-list --no-walk 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-02T17:25:08.400Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-02T17:25:08.463Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-02T17:25:08.477Z] ========================================================= [2022-06-02T17:25:08.477Z] EdgeX Global Pipelines Version Info [2022-06-02T17:25:08.477Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:25:09.244Z] ------------------- [2022-06-02T17:25:09.244Z] stable info: [2022-06-02T17:25:09.244Z] ------------------- [2022-06-02T17:25:09.244Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-02T17:25:09.244Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-02T17:25:09.244Z] Message: update stable to v1.0.230 [2022-06-02T17:25:09.818Z] ------------------- [2022-06-02T17:25:09.818Z] experimental info: [2022-06-02T17:25:09.818Z] ------------------- [2022-06-02T17:25:09.818Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-02T17:25:09.818Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-02T17:25:09.818Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-02T17:25:10.096Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-02T17:25:10.109Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-02T17:25:10.120Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-02T17:25:10.131Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-02T17:25:10.143Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-02T17:25:10.153Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-02T17:25:10.164Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-02T17:25:10.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-02T17:25:10.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-02T17:25:10.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-02T17:25:10.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-02T17:25:10.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-02T17:25:10.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-02T17:25:10.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-02T17:25:10.253Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-02T17:25:10.265Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-02T17:25:10.276Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-02T17:25:10.286Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-02T17:25:10.295Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-02T17:25:10.310Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-02T17:25:10.321Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-02T17:25:10.336Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-02T17:25:10.347Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-02T17:25:10.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-02T17:25:10.369Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-02T17:25:10.380Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-02T17:25:10.390Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-02T17:25:10.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-02T17:25:10.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-02T17:25:10.431Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [Pipeline] echo [2022-06-02T17:25:10.443Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca3b9af [Pipeline] echo [2022-06-02T17:25:10.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T17:25:10.499Z] provisioning config files... [2022-06-02T17:25:10.520Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5047363118150160526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:25:10.850Z] ---> docker-login.sh [2022-06-02T17:25:10.850Z] nexus3.edgexfoundry.org:10001 [2022-06-02T17:25:11.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:11.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:11.374Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:11.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:11.374Z] [2022-06-02T17:25:11.374Z] Login Succeeded [2022-06-02T17:25:11.374Z] nexus3.edgexfoundry.org:10002 [2022-06-02T17:25:11.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:11.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:11.374Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:11.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:11.374Z] [2022-06-02T17:25:11.374Z] Login Succeeded [2022-06-02T17:25:11.636Z] nexus3.edgexfoundry.org:10003 [2022-06-02T17:25:11.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:11.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:11.636Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:11.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:11.636Z] [2022-06-02T17:25:11.636Z] Login Succeeded [2022-06-02T17:25:11.636Z] nexus3.edgexfoundry.org:10004 [2022-06-02T17:25:11.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:11.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:11.898Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:11.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:11.898Z] [2022-06-02T17:25:11.898Z] Login Succeeded [2022-06-02T17:25:11.898Z] docker.io [2022-06-02T17:25:11.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:12.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:12.160Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:12.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:12.160Z] [2022-06-02T17:25:12.160Z] Login Succeeded [2022-06-02T17:25:12.160Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T17:25:12.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-02T17:25:12.554Z] + git rev-list -1 --merges ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103~1..ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [Pipeline] echo [2022-06-02T17:25:12.589Z] -----------> git rev-list -1 --merges ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103~1..ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [false] [Pipeline] sh [2022-06-02T17:25:12.884Z] + git log --format=format:%s -1 ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [Pipeline] echo [2022-06-02T17:25:12.901Z] ========================================================= [2022-06-02T17:25:12.901Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-02T17:25:12.901Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-02T17:25:13.241Z] + git log --format=format:%s -1 ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [Pipeline] echo [2022-06-02T17:25:13.254Z] [semverPrep] GIT_COMMIT: ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103, Commit Message: Discovery probe (#65) [Pipeline] echo [2022-06-02T17:25:13.265Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-02T17:25:13.638Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T17:25:13.639Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-02T17:25:13.639Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-02T17:25:13.639Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-02T17:25:13.639Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-02T17:25:13.639Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-02T17:25:13.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:25:13.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T17:25:13.996Z] [2022-06-02T17:25:13.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:25:14.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T17:25:14.303Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-02T17:25:14.303Z] 1fe172e4850f: Pulling fs layer [2022-06-02T17:25:14.303Z] caf521ccaac6: Pulling fs layer [2022-06-02T17:25:14.303Z] 3ead6fa29328: Pulling fs layer [2022-06-02T17:25:14.303Z] 5c2a1cbceb83: Pulling fs layer [2022-06-02T17:25:14.303Z] a8d5f1318db7: Pulling fs layer [2022-06-02T17:25:14.303Z] c427282e49a2: Pulling fs layer [2022-06-02T17:25:14.303Z] 1827001aaf11: Pulling fs layer [2022-06-02T17:25:14.303Z] 0714d37db230: Pulling fs layer [2022-06-02T17:25:14.303Z] ac28cf19c067: Pulling fs layer [2022-06-02T17:25:14.303Z] ca983d60f3e2: Pulling fs layer [2022-06-02T17:25:14.303Z] 9f894cec8388: Pulling fs layer [2022-06-02T17:25:14.303Z] 5c2a1cbceb83: Waiting [2022-06-02T17:25:14.303Z] 0714d37db230: Waiting [2022-06-02T17:25:14.303Z] a8d5f1318db7: Waiting [2022-06-02T17:25:14.303Z] c427282e49a2: Waiting [2022-06-02T17:25:14.303Z] ac28cf19c067: Waiting [2022-06-02T17:25:14.303Z] ca983d60f3e2: Waiting [2022-06-02T17:25:14.303Z] 9f894cec8388: Waiting [2022-06-02T17:25:14.303Z] 1827001aaf11: Waiting [2022-06-02T17:25:14.303Z] caf521ccaac6: Download complete [2022-06-02T17:25:14.303Z] 5c2a1cbceb83: Verifying Checksum [2022-06-02T17:25:14.303Z] 5c2a1cbceb83: Download complete [2022-06-02T17:25:14.565Z] a8d5f1318db7: Verifying Checksum [2022-06-02T17:25:14.565Z] a8d5f1318db7: Download complete [2022-06-02T17:25:14.565Z] 3ead6fa29328: Verifying Checksum [2022-06-02T17:25:14.565Z] 3ead6fa29328: Download complete [2022-06-02T17:25:14.565Z] c427282e49a2: Verifying Checksum [2022-06-02T17:25:14.565Z] c427282e49a2: Download complete [2022-06-02T17:25:14.565Z] 0714d37db230: Download complete [2022-06-02T17:25:14.565Z] ac28cf19c067: Download complete [2022-06-02T17:25:14.565Z] ca983d60f3e2: Verifying Checksum [2022-06-02T17:25:14.565Z] ca983d60f3e2: Download complete [2022-06-02T17:25:14.565Z] 9f894cec8388: Verifying Checksum [2022-06-02T17:25:14.566Z] 9f894cec8388: Download complete [2022-06-02T17:25:14.566Z] 1fe172e4850f: Download complete [2022-06-02T17:25:14.825Z] 1827001aaf11: Verifying Checksum [2022-06-02T17:25:14.825Z] 1827001aaf11: Download complete [2022-06-02T17:25:15.764Z] 1fe172e4850f: Pull complete [2022-06-02T17:25:16.022Z] caf521ccaac6: Pull complete [2022-06-02T17:25:16.284Z] 3ead6fa29328: Pull complete [2022-06-02T17:25:16.545Z] 5c2a1cbceb83: Pull complete [2022-06-02T17:25:16.805Z] a8d5f1318db7: Pull complete [2022-06-02T17:25:16.805Z] c427282e49a2: Pull complete [2022-06-02T17:25:18.717Z] 1827001aaf11: Pull complete [2022-06-02T17:25:18.717Z] 0714d37db230: Pull complete [2022-06-02T17:25:18.717Z] ac28cf19c067: Pull complete [2022-06-02T17:25:18.979Z] ca983d60f3e2: Pull complete [2022-06-02T17:25:18.979Z] 9f894cec8388: Pull complete [2022-06-02T17:25:18.979Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-02T17:25:18.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T17:25:18.979Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:25:19.080Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:25:19.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-02T17:25:20.695Z] $ docker top 6ce5dc8cc07c45b1fcc25232ae15e540967d42f86f367a476471f03fa972cdb9 -eo pid,comm [2022-06-02T17:25:20.767Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-02T17:25:20.767Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T17:25:20.812Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T17:25:20.813Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T17:25:20.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T17:25:20.929Z] $ docker exec 6ce5dc8cc07c45b1fcc25232ae15e540967d42f86f367a476471f03fa972cdb9 ssh-agent [2022-06-02T17:25:21.054Z] SSH_AUTH_SOCK=/tmp/ssh-omWpHlfRbHDQ/agent.33 [2022-06-02T17:25:21.054Z] SSH_AGENT_PID=39 [2022-06-02T17:25:21.068Z] Running ssh-add (command line suppressed) [2022-06-02T17:25:21.175Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4823322577199173085.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4823322577199173085.key) [2022-06-02T17:25:21.194Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T17:25:21.482Z] + git tag --points-at HEAD [Pipeline] } [2022-06-02T17:25:21.494Z] $ docker exec --env ******** --env ******** 6ce5dc8cc07c45b1fcc25232ae15e540967d42f86f367a476471f03fa972cdb9 ssh-agent -k [2022-06-02T17:25:21.603Z] unset SSH_AUTH_SOCK; [2022-06-02T17:25:21.604Z] unset SSH_AGENT_PID; [2022-06-02T17:25:21.604Z] echo Agent pid 39 killed; [2022-06-02T17:25:21.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-02T17:25:21.639Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T17:25:21.639Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T17:25:21.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T17:25:21.773Z] $ docker exec 6ce5dc8cc07c45b1fcc25232ae15e540967d42f86f367a476471f03fa972cdb9 ssh-agent [2022-06-02T17:25:21.883Z] SSH_AUTH_SOCK=/tmp/ssh-FRfGBYDty17Z/agent.73 [2022-06-02T17:25:21.883Z] SSH_AGENT_PID=79 [2022-06-02T17:25:21.888Z] Running ssh-add (command line suppressed) [2022-06-02T17:25:22.013Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_436855943059314593.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_436855943059314593.key) [2022-06-02T17:25:22.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T17:25:22.322Z] + git semver init [2022-06-02T17:25:22.582Z] 2022-06-02 17:25:22,508 [run_init] DEBUG init version:0.0.0 force:False [2022-06-02T17:25:22.582Z] 2022-06-02 17:25:22,509 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-02T17:25:22.582Z] 2022-06-02 17:25:22,509 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-06-02T17:25:22.582Z] 2022-06-02 17:25:22,509 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-02T17:25:23.525Z] 2022-06-02 17:25:23,182 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-06-02T17:25:23.525Z] 2022-06-02 17:25:23,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-06-02T17:25:23.525Z] 2022-06-02 17:25:23,183 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T17:25:23.525Z] 2022-06-02 17:25:23,183 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T17:25:23.525Z] 0.0.1-dev.5 [Pipeline] } [2022-06-02T17:25:23.536Z] $ docker exec --env ******** --env ******** 6ce5dc8cc07c45b1fcc25232ae15e540967d42f86f367a476471f03fa972cdb9 ssh-agent -k [2022-06-02T17:25:23.645Z] unset SSH_AUTH_SOCK; [2022-06-02T17:25:23.646Z] unset SSH_AGENT_PID; [2022-06-02T17:25:23.646Z] echo Agent pid 79 killed; [2022-06-02T17:25:23.657Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T17:25:23.975Z] + git semver [Pipeline] } [2022-06-02T17:25:24.249Z] $ docker stop --time=1 6ce5dc8cc07c45b1fcc25232ae15e540967d42f86f367a476471f03fa972cdb9 [2022-06-02T17:25:25.591Z] $ docker rm -f 6ce5dc8cc07c45b1fcc25232ae15e540967d42f86f367a476471f03fa972cdb9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T17:25:25.934Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-02T17:25:26.189Z] Stashed 1 file(s) [Pipeline] echo [2022-06-02T17:25:26.192Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T17:25:26.343Z] provisioning config files... [2022-06-02T17:25:26.354Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7521932854640408915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:25:26.658Z] ---> docker-login.sh [2022-06-02T17:25:26.658Z] nexus3.edgexfoundry.org:10001 [2022-06-02T17:25:26.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:26.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:26.658Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:26.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:26.658Z] [2022-06-02T17:25:26.658Z] Login Succeeded [2022-06-02T17:25:26.658Z] nexus3.edgexfoundry.org:10002 [2022-06-02T17:25:26.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:26.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:26.919Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:26.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:26.919Z] [2022-06-02T17:25:26.919Z] Login Succeeded [2022-06-02T17:25:26.919Z] nexus3.edgexfoundry.org:10003 [2022-06-02T17:25:26.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:26.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:26.919Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:26.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:26.919Z] [2022-06-02T17:25:26.919Z] Login Succeeded [2022-06-02T17:25:26.919Z] nexus3.edgexfoundry.org:10004 [2022-06-02T17:25:26.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:27.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:27.180Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:27.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:27.180Z] [2022-06-02T17:25:27.180Z] Login Succeeded [2022-06-02T17:25:27.180Z] docker.io [2022-06-02T17:25:27.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:25:27.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:25:27.440Z] Configure a credential helper to remove this warning. See [2022-06-02T17:25:27.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:25:27.440Z] [2022-06-02T17:25:27.440Z] Login Succeeded [2022-06-02T17:25:27.440Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T17:25:27.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-02T17:25:27.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T17:25:27.528Z] ========================================================= [2022-06-02T17:25:27.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-02T17:25:27.528Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:25:27.844Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-02T17:25:27.844Z] Sending build context to Docker daemon 8.617MB [2022-06-02T17:25:27.844Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T17:25:27.844Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-02T17:25:27.844Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-02T17:25:27.844Z] 59bf1c3509f3: Pulling fs layer [2022-06-02T17:25:27.844Z] 666ba61612fd: Pulling fs layer [2022-06-02T17:25:27.844Z] 8ed8ca486205: Pulling fs layer [2022-06-02T17:25:27.844Z] 4fe6c5a15a65: Pulling fs layer [2022-06-02T17:25:27.844Z] 22a0e8bec74d: Pulling fs layer [2022-06-02T17:25:27.844Z] ca2b28591e48: Pulling fs layer [2022-06-02T17:25:27.844Z] a51346096db8: Pulling fs layer [2022-06-02T17:25:27.844Z] daebc70d1ce1: Pulling fs layer [2022-06-02T17:25:27.844Z] 0e18a0eac166: Pulling fs layer [2022-06-02T17:25:27.844Z] 4fe6c5a15a65: Waiting [2022-06-02T17:25:27.844Z] 22a0e8bec74d: Waiting [2022-06-02T17:25:27.844Z] ca2b28591e48: Waiting [2022-06-02T17:25:27.844Z] a51346096db8: Waiting [2022-06-02T17:25:27.844Z] 0e18a0eac166: Waiting [2022-06-02T17:25:27.844Z] daebc70d1ce1: Waiting [2022-06-02T17:25:27.844Z] 8ed8ca486205: Verifying Checksum [2022-06-02T17:25:27.844Z] 8ed8ca486205: Download complete [2022-06-02T17:25:27.844Z] 666ba61612fd: Download complete [2022-06-02T17:25:27.844Z] 22a0e8bec74d: Verifying Checksum [2022-06-02T17:25:27.844Z] 22a0e8bec74d: Download complete [2022-06-02T17:25:27.844Z] ca2b28591e48: Verifying Checksum [2022-06-02T17:25:27.844Z] ca2b28591e48: Download complete [2022-06-02T17:25:28.104Z] a51346096db8: Verifying Checksum [2022-06-02T17:25:28.105Z] a51346096db8: Download complete [2022-06-02T17:25:28.105Z] 59bf1c3509f3: Download complete [2022-06-02T17:25:28.105Z] daebc70d1ce1: Verifying Checksum [2022-06-02T17:25:28.105Z] daebc70d1ce1: Download complete [2022-06-02T17:25:28.105Z] 59bf1c3509f3: Pull complete [2022-06-02T17:25:28.366Z] 666ba61612fd: Pull complete [2022-06-02T17:25:28.366Z] 8ed8ca486205: Pull complete [2022-06-02T17:25:28.626Z] 0e18a0eac166: Verifying Checksum [2022-06-02T17:25:28.626Z] 0e18a0eac166: Download complete [2022-06-02T17:25:28.626Z] 4fe6c5a15a65: Verifying Checksum [2022-06-02T17:25:28.626Z] 4fe6c5a15a65: Download complete [2022-06-02T17:25:32.822Z] 4fe6c5a15a65: Pull complete [2022-06-02T17:25:32.822Z] 22a0e8bec74d: Pull complete [2022-06-02T17:25:32.822Z] ca2b28591e48: Pull complete [2022-06-02T17:25:32.822Z] a51346096db8: Pull complete [2022-06-02T17:25:32.822Z] daebc70d1ce1: Pull complete [2022-06-02T17:25:34.729Z] 0e18a0eac166: Pull complete [2022-06-02T17:25:34.729Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-02T17:25:34.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-02T17:25:34.730Z] ---> f018257e8ee9 [2022-06-02T17:25:34.730Z] Step 3/13 : ARG MAKE="make build" [2022-06-02T17:25:36.651Z] ---> Running in 135f4073703f [2022-06-02T17:25:36.912Z] Removing intermediate container 135f4073703f [2022-06-02T17:25:36.912Z] ---> 2b2112ba56ec [2022-06-02T17:25:36.912Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T17:25:36.912Z] ---> Running in 1b5ec7fbd6f9 [2022-06-02T17:25:36.912Z] Removing intermediate container 1b5ec7fbd6f9 [2022-06-02T17:25:36.912Z] ---> b4ce3b2c5775 [2022-06-02T17:25:36.912Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T17:25:37.171Z] ---> Running in 1fc29a36cb55 [2022-06-02T17:25:37.171Z] Removing intermediate container 1fc29a36cb55 [2022-06-02T17:25:37.171Z] ---> d3a32fa130a2 [2022-06-02T17:25:37.171Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-02T17:25:37.171Z] ---> Running in ff7f85ae6b5c [2022-06-02T17:25:37.171Z] Removing intermediate container ff7f85ae6b5c [2022-06-02T17:25:37.171Z] ---> 8abc6411e34f [2022-06-02T17:25:37.171Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T17:25:37.431Z] ---> Running in 390f116cb0b4 [2022-06-02T17:25:38.000Z] Removing intermediate container 390f116cb0b4 [2022-06-02T17:25:38.000Z] ---> e7b974d89dd5 [2022-06-02T17:25:38.000Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T17:25:38.000Z] ---> Running in 753992e046c7 [2022-06-02T17:25:38.259Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-02T17:25:39.200Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-02T17:25:39.462Z] OK: 221 MiB in 52 packages [2022-06-02T17:25:39.722Z] Removing intermediate container 753992e046c7 [2022-06-02T17:25:39.722Z] ---> 6d21bc41356f [2022-06-02T17:25:39.722Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-02T17:25:39.982Z] ---> Running in fc6561adc2c7 [2022-06-02T17:25:39.982Z] Removing intermediate container fc6561adc2c7 [2022-06-02T17:25:39.982Z] ---> d01a47a2ca33 [2022-06-02T17:25:39.982Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-02T17:25:40.242Z] ---> e41940e032fe [2022-06-02T17:25:40.242Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T17:25:40.242Z] ---> Running in ebad8a5728bd [2022-06-02T17:25:41.304Z] Still waiting to schedule task [2022-06-02T17:25:41.304Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-02T17:25:58.357Z] Removing intermediate container ebad8a5728bd [2022-06-02T17:25:58.357Z] ---> b190aa73ba0e [2022-06-02T17:25:58.357Z] Step 12/13 : COPY . . [2022-06-02T17:25:58.357Z] ---> fdd48b02e2ef [2022-06-02T17:25:58.357Z] Step 13/13 : RUN ${MAKE} [2022-06-02T17:25:58.357Z] ---> Running in 9de869f0f16d [2022-06-02T17:25:58.357Z] noop [2022-06-02T17:25:58.927Z] Removing intermediate container 9de869f0f16d [2022-06-02T17:25:58.927Z] ---> eb12e98020d9 [2022-06-02T17:25:58.927Z] Successfully built eb12e98020d9 [2022-06-02T17:25:58.927Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:25:59.246Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-02T17:25:59.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:25:59.331Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:25:59.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-02T17:25:59.763Z] $ docker top aeb6b8b4907390978cac305cee1dabd99bfe7b7a7b0c77986bf7803f75935985 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T17:26:00.106Z] + go version [2022-06-02T17:26:00.106Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-02T17:26:00.127Z] $ docker stop --time=1 aeb6b8b4907390978cac305cee1dabd99bfe7b7a7b0c77986bf7803f75935985 [2022-06-02T17:26:01.429Z] $ docker rm -f aeb6b8b4907390978cac305cee1dabd99bfe7b7a7b0c77986bf7803f75935985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:26:01.822Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-02T17:26:01.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:26:01.900Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:26:01.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-02T17:26:02.368Z] $ docker top 00f47d827b39c2dff21c602928ceff8c094b09d51a620bcd5facfec53d355b26 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-02T17:26:02.797Z] + make test [2022-06-02T17:26:02.797Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-02T17:26:03.057Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-02T17:26:13.048Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-02T17:26:13.308Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.013s coverage: 0.9% of statements [2022-06-02T17:26:18.588Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.253s coverage: 13.8% of statements [2022-06-02T17:26:25.161Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-02T17:26:28.457Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-02T17:26:28.457Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-02T17:26:28.457Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-02T17:26:29.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-02T17:26:29.060Z] $ docker stop --time=1 00f47d827b39c2dff21c602928ceff8c094b09d51a620bcd5facfec53d355b26 [2022-06-02T17:26:31.105Z] $ docker rm -f 00f47d827b39c2dff21c602928ceff8c094b09d51a620bcd5facfec53d355b26 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T17:26:31.548Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-02T17:26:31.602Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-02T17:26:32.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-02T17:26:32.392Z] + ls -al . [2022-06-02T17:26:32.392Z] total 228 [2022-06-02T17:26:32.392Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 17:26 . [2022-06-02T17:26:32.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 17:25 .. [2022-06-02T17:26:32.392Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 17:25 .git [2022-06-02T17:26:32.392Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 17:25 .github [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 2 17:25 .gitignore [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 17:25 .golangci.yml [2022-06-02T17:26:32.392Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 17:25 .semver [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 2 17:25 Attribution.txt [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 2 17:25 CHANGELOG.md [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 2 17:25 Dockerfile [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 17:25 GOVERNANCE.md [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 17:25 Jenkinsfile [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 17:25 LICENSE [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 2 17:25 Makefile [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 17:25 OWNERS.md [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 28742 Jun 2 17:25 README.md [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 2 17:25 VERSION [2022-06-02T17:26:32.392Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 17:25 bin [2022-06-02T17:26:32.392Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 17:25 cmd [2022-06-02T17:26:32.392Z] -rw-r--r-- 1 jenkins jenkins 49507 Jun 2 17:26 coverage.out [2022-06-02T17:26:32.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 17:25 doc [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 2 17:25 go.mod [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 2 17:25 go.sum [2022-06-02T17:26:32.392Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 17:25 internal [2022-06-02T17:26:32.392Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 17:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:26:32.704Z] + 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=ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 --label arch=amd64 --label version=0.0.1-dev.5 . [2022-06-02T17:26:32.704Z] Sending build context to Docker daemon 8.668MB [2022-06-02T17:26:32.704Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T17:26:32.704Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-02T17:26:32.704Z] ---> eb12e98020d9 [2022-06-02T17:26:32.704Z] Step 3/26 : ARG MAKE="make build" [2022-06-02T17:26:32.964Z] ---> Running in 48d0100edbd2 [2022-06-02T17:26:32.964Z] Removing intermediate container 48d0100edbd2 [2022-06-02T17:26:32.964Z] ---> 0efccb05f64f [2022-06-02T17:26:32.964Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T17:26:32.964Z] ---> Running in f47d91e5f67c [2022-06-02T17:26:32.964Z] Removing intermediate container f47d91e5f67c [2022-06-02T17:26:32.964Z] ---> 068a156810c1 [2022-06-02T17:26:32.964Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T17:26:33.230Z] ---> Running in 867df5c71282 [2022-06-02T17:26:33.230Z] Removing intermediate container 867df5c71282 [2022-06-02T17:26:33.230Z] ---> d8d55c3e27d7 [2022-06-02T17:26:33.230Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-02T17:26:33.230Z] ---> Running in cd7e42194c44 [2022-06-02T17:26:33.230Z] Removing intermediate container cd7e42194c44 [2022-06-02T17:26:33.230Z] ---> 7f931c68d78e [2022-06-02T17:26:33.230Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T17:26:33.491Z] ---> Running in 563bda190e28 [2022-06-02T17:26:34.062Z] Removing intermediate container 563bda190e28 [2022-06-02T17:26:34.062Z] ---> fe0aa1daadf0 [2022-06-02T17:26:34.062Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T17:26:34.062Z] ---> Running in 50ced692dd7e [2022-06-02T17:26:34.323Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-02T17:26:35.266Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-02T17:26:35.525Z] OK: 221 MiB in 52 packages [2022-06-02T17:26:35.786Z] Removing intermediate container 50ced692dd7e [2022-06-02T17:26:35.786Z] ---> 9ed84903c131 [2022-06-02T17:26:35.786Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-02T17:26:35.786Z] ---> Running in 38c0b4ce710d [2022-06-02T17:26:35.786Z] Removing intermediate container 38c0b4ce710d [2022-06-02T17:26:35.787Z] ---> 7e036d7c12d0 [2022-06-02T17:26:35.787Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-02T17:26:36.046Z] ---> c9aeb30529d0 [2022-06-02T17:26:36.046Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T17:26:36.047Z] ---> Running in 362aa6ad9a76 [2022-06-02T17:26:36.614Z] Removing intermediate container 362aa6ad9a76 [2022-06-02T17:26:36.614Z] ---> c1eaa9ee6cb4 [2022-06-02T17:26:36.614Z] Step 12/26 : COPY . . [2022-06-02T17:26:37.184Z] ---> ea8e05e48075 [2022-06-02T17:26:37.184Z] Step 13/26 : RUN ${MAKE} [2022-06-02T17:26:37.184Z] ---> Running in 1baae9c3a679 [2022-06-02T17:26:37.448Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.5 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-02T17:26:59.425Z] Removing intermediate container 1baae9c3a679 [2022-06-02T17:26:59.425Z] ---> 26cf25f49fa6 [2022-06-02T17:26:59.425Z] Step 14/26 : FROM alpine:3.15 [2022-06-02T17:26:59.425Z] 3.15: Pulling from library/alpine [2022-06-02T17:26:59.425Z] df9b9388f04a: Pulling fs layer [2022-06-02T17:26:59.425Z] df9b9388f04a: Verifying Checksum [2022-06-02T17:26:59.425Z] df9b9388f04a: Download complete [2022-06-02T17:26:59.425Z] df9b9388f04a: Pull complete [2022-06-02T17:26:59.425Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-02T17:26:59.425Z] Status: Downloaded newer image for alpine:3.15 [2022-06-02T17:26:59.425Z] ---> 0ac33e5f5afa [2022-06-02T17:26:59.425Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-02T17:26:59.425Z] ---> Running in ea2b12b2b437 [2022-06-02T17:26:59.426Z] Removing intermediate container ea2b12b2b437 [2022-06-02T17:26:59.426Z] ---> 7ce8be85c7d2 [2022-06-02T17:26:59.426Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-02T17:26:59.426Z] ---> Running in d8db253dffe7 [2022-06-02T17:26:59.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-02T17:26:59.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-02T17:26:59.426Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-02T17:26:59.426Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-02T17:26:59.426Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-02T17:26:59.426Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-02T17:26:59.426Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-02T17:26:59.426Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-02T17:26:59.426Z] Executing busybox-1.34.1-r5.trigger [2022-06-02T17:26:59.426Z] OK: 8 MiB in 20 packages [2022-06-02T17:26:59.426Z] Removing intermediate container d8db253dffe7 [2022-06-02T17:26:59.426Z] ---> 897c5104a0b9 [2022-06-02T17:26:59.426Z] Step 17/26 : WORKDIR / [2022-06-02T17:26:59.426Z] ---> Running in 36a987df40b3 [2022-06-02T17:26:59.426Z] Removing intermediate container 36a987df40b3 [2022-06-02T17:26:59.426Z] ---> 0795104fa04b [2022-06-02T17:26:59.426Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-02T17:26:59.686Z] ---> 6e5f0321d53b [2022-06-02T17:26:59.686Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-02T17:26:59.686Z] ---> 3fc3a06ee67f [2022-06-02T17:26:59.687Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-02T17:26:59.965Z] ---> 19d068477d57 [2022-06-02T17:26:59.965Z] Step 21/26 : EXPOSE 59984 [2022-06-02T17:26:59.965Z] ---> Running in fe09c09fa786 [2022-06-02T17:26:59.965Z] Removing intermediate container fe09c09fa786 [2022-06-02T17:26:59.965Z] ---> 39dfe4db663e [2022-06-02T17:26:59.965Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-02T17:27:00.234Z] ---> Running in d11e4c6fc1c7 [2022-06-02T17:27:00.234Z] Removing intermediate container d11e4c6fc1c7 [2022-06-02T17:27:00.234Z] ---> 296c1522839b [2022-06-02T17:27:00.234Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-02T17:27:00.494Z] ---> Running in a34573c1b7e8 [2022-06-02T17:27:00.494Z] Removing intermediate container a34573c1b7e8 [2022-06-02T17:27:00.494Z] ---> 68d1dd9a79af [2022-06-02T17:27:00.494Z] Step 24/26 : LABEL arch=amd64 [2022-06-02T17:27:00.758Z] ---> Running in b9e38f08fbc3 [2022-06-02T17:27:00.758Z] Removing intermediate container b9e38f08fbc3 [2022-06-02T17:27:00.758Z] ---> c0339e8d7e41 [2022-06-02T17:27:00.758Z] Step 25/26 : LABEL git_sha=ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [2022-06-02T17:27:00.758Z] ---> Running in b3062cb17ff0 [2022-06-02T17:27:00.758Z] Removing intermediate container b3062cb17ff0 [2022-06-02T17:27:00.758Z] ---> 830c55838b80 [2022-06-02T17:27:00.758Z] Step 26/26 : LABEL version=0.0.1-dev.5 [2022-06-02T17:27:00.758Z] ---> Running in 97601c91bbfa [2022-06-02T17:27:01.025Z] Removing intermediate container 97601c91bbfa [2022-06-02T17:27:01.025Z] ---> d00f6db629c9 [2022-06-02T17:27:01.025Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-02T17:27:01.025Z] Successfully built d00f6db629c9 [2022-06-02T17:27:01.025Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T17:27:01.119Z] provisioning config files... [2022-06-02T17:27:01.132Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4373913777782040019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:27:01.436Z] ---> docker-login.sh [2022-06-02T17:27:01.436Z] nexus3.edgexfoundry.org:10001 [2022-06-02T17:27:01.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:01.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:01.436Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:01.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:01.436Z] [2022-06-02T17:27:01.436Z] Login Succeeded [2022-06-02T17:27:01.436Z] nexus3.edgexfoundry.org:10002 [2022-06-02T17:27:01.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:01.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:01.699Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:01.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:01.699Z] [2022-06-02T17:27:01.699Z] Login Succeeded [2022-06-02T17:27:01.699Z] nexus3.edgexfoundry.org:10003 [2022-06-02T17:27:01.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:01.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:01.699Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:01.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:01.699Z] [2022-06-02T17:27:01.699Z] Login Succeeded [2022-06-02T17:27:01.699Z] nexus3.edgexfoundry.org:10004 [2022-06-02T17:27:01.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:01.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:01.959Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:01.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:01.959Z] [2022-06-02T17:27:01.959Z] Login Succeeded [2022-06-02T17:27:01.959Z] docker.io [2022-06-02T17:27:01.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:02.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:02.219Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:02.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:02.219Z] [2022-06-02T17:27:02.219Z] Login Succeeded [2022-06-02T17:27:02.219Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T17:27:02.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-02T17:27:02.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T17:27:02.284Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-06-02T17:27:02.284Z] ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [2022-06-02T17:27:02.284Z] latest [2022-06-02T17:27:02.284Z] 0.0.1-dev.5 [2022-06-02T17:27:02.284Z] ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5 [2022-06-02T17:27:02.284Z] main [2022-06-02T17:27:02.284Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:02.609Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:02.916Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [2022-06-02T17:27:02.916Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T17:27:02.916Z] b541a77037c1: Preparing [2022-06-02T17:27:02.916Z] dc21b9aa47ff: Preparing [2022-06-02T17:27:02.916Z] aff5d9ba920a: Preparing [2022-06-02T17:27:02.916Z] d0e941c51c73: Preparing [2022-06-02T17:27:02.916Z] 4fc242d58285: Preparing [2022-06-02T17:27:02.916Z] 4fc242d58285: Layer already exists [2022-06-02T17:27:02.916Z] b541a77037c1: Pushed [2022-06-02T17:27:02.916Z] dc21b9aa47ff: Pushed [2022-06-02T17:27:03.176Z] d0e941c51c73: Pushed [2022-06-02T17:27:05.719Z] aff5d9ba920a: Pushed [2022-06-02T17:27:05.719Z] ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103: digest: sha256:f64ad3cdd80a7e868c553b2f7c64b0d134d0e82dca81d517bd26141c4a84ced2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:06.033Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:06.343Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-02T17:27:06.343Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T17:27:06.343Z] b541a77037c1: Preparing [2022-06-02T17:27:06.343Z] dc21b9aa47ff: Preparing [2022-06-02T17:27:06.343Z] aff5d9ba920a: Preparing [2022-06-02T17:27:06.343Z] d0e941c51c73: Preparing [2022-06-02T17:27:06.343Z] 4fc242d58285: Preparing [2022-06-02T17:27:06.343Z] 4fc242d58285: Layer already exists [2022-06-02T17:27:06.343Z] dc21b9aa47ff: Layer already exists [2022-06-02T17:27:06.343Z] b541a77037c1: Layer already exists [2022-06-02T17:27:06.343Z] aff5d9ba920a: Layer already exists [2022-06-02T17:27:06.343Z] d0e941c51c73: Layer already exists [2022-06-02T17:27:06.343Z] latest: digest: sha256:f64ad3cdd80a7e868c553b2f7c64b0d134d0e82dca81d517bd26141c4a84ced2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:06.662Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:06.973Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.5 [2022-06-02T17:27:06.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T17:27:06.973Z] b541a77037c1: Preparing [2022-06-02T17:27:06.973Z] dc21b9aa47ff: Preparing [2022-06-02T17:27:06.973Z] aff5d9ba920a: Preparing [2022-06-02T17:27:06.973Z] d0e941c51c73: Preparing [2022-06-02T17:27:06.973Z] 4fc242d58285: Preparing [2022-06-02T17:27:06.973Z] aff5d9ba920a: Layer already exists [2022-06-02T17:27:06.973Z] dc21b9aa47ff: Layer already exists [2022-06-02T17:27:06.973Z] b541a77037c1: Layer already exists [2022-06-02T17:27:06.973Z] 4fc242d58285: Layer already exists [2022-06-02T17:27:06.973Z] d0e941c51c73: Layer already exists [2022-06-02T17:27:06.973Z] 0.0.1-dev.5: digest: sha256:f64ad3cdd80a7e868c553b2f7c64b0d134d0e82dca81d517bd26141c4a84ced2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:07.288Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:07.595Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5 [2022-06-02T17:27:07.596Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T17:27:07.596Z] b541a77037c1: Preparing [2022-06-02T17:27:07.596Z] dc21b9aa47ff: Preparing [2022-06-02T17:27:07.596Z] aff5d9ba920a: Preparing [2022-06-02T17:27:07.596Z] d0e941c51c73: Preparing [2022-06-02T17:27:07.596Z] 4fc242d58285: Preparing [2022-06-02T17:27:07.596Z] aff5d9ba920a: Layer already exists [2022-06-02T17:27:07.596Z] b541a77037c1: Layer already exists [2022-06-02T17:27:07.596Z] dc21b9aa47ff: Layer already exists [2022-06-02T17:27:07.596Z] 4fc242d58285: Layer already exists [2022-06-02T17:27:07.596Z] d0e941c51c73: Layer already exists [2022-06-02T17:27:07.596Z] ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5: digest: sha256:f64ad3cdd80a7e868c553b2f7c64b0d134d0e82dca81d517bd26141c4a84ced2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:07.993Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:08.299Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-06-02T17:27:08.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-06-02T17:27:08.299Z] b541a77037c1: Preparing [2022-06-02T17:27:08.299Z] dc21b9aa47ff: Preparing [2022-06-02T17:27:08.299Z] aff5d9ba920a: Preparing [2022-06-02T17:27:08.299Z] d0e941c51c73: Preparing [2022-06-02T17:27:08.299Z] 4fc242d58285: Preparing [2022-06-02T17:27:08.299Z] d0e941c51c73: Layer already exists [2022-06-02T17:27:08.299Z] b541a77037c1: Layer already exists [2022-06-02T17:27:08.299Z] aff5d9ba920a: Layer already exists [2022-06-02T17:27:08.299Z] 4fc242d58285: Layer already exists [2022-06-02T17:27:08.299Z] dc21b9aa47ff: Layer already exists [2022-06-02T17:27:08.299Z] main: digest: sha256:f64ad3cdd80a7e868c553b2f7c64b0d134d0e82dca81d517bd26141c4a84ced2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-02T17:27:08.350Z] ===================================================== [Pipeline] echo [2022-06-02T17:27:08.359Z] taggedImages: [2022-06-02T17:27:08.359Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [2022-06-02T17:27:08.359Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-06-02T17:27:08.359Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.5 [2022-06-02T17:27:08.359Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5 [2022-06-02T17:27:08.359Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:08.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T17:27:08.730Z] [2022-06-02T17:27:08.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:09.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T17:27:09.034Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-02T17:27:09.034Z] 5eb5b503b376: Pulling fs layer [2022-06-02T17:27:09.034Z] 5c69ac0246d0: Pulling fs layer [2022-06-02T17:27:09.034Z] ec43610c2a17: Pulling fs layer [2022-06-02T17:27:09.034Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-02T17:27:09.034Z] 33b1e0a273af: Pulling fs layer [2022-06-02T17:27:09.034Z] 5d3b04190fa2: Pulling fs layer [2022-06-02T17:27:09.034Z] 2f39f015ded8: Pulling fs layer [2022-06-02T17:27:09.034Z] 5d3b04190fa2: Waiting [2022-06-02T17:27:09.034Z] 2f39f015ded8: Waiting [2022-06-02T17:27:09.034Z] 3a2ae6a8a46f: Waiting [2022-06-02T17:27:09.034Z] 33b1e0a273af: Waiting [2022-06-02T17:27:09.034Z] 5c69ac0246d0: Verifying Checksum [2022-06-02T17:27:09.034Z] 5c69ac0246d0: Download complete [2022-06-02T17:27:09.034Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-02T17:27:09.034Z] 3a2ae6a8a46f: Download complete [2022-06-02T17:27:09.034Z] 33b1e0a273af: Verifying Checksum [2022-06-02T17:27:09.034Z] 33b1e0a273af: Download complete [2022-06-02T17:27:09.034Z] 5d3b04190fa2: Verifying Checksum [2022-06-02T17:27:09.034Z] 5d3b04190fa2: Download complete [2022-06-02T17:27:09.293Z] ec43610c2a17: Verifying Checksum [2022-06-02T17:27:09.293Z] ec43610c2a17: Download complete [2022-06-02T17:27:09.293Z] 5eb5b503b376: Verifying Checksum [2022-06-02T17:27:09.293Z] 5eb5b503b376: Download complete [2022-06-02T17:27:09.864Z] 2f39f015ded8: Download complete [2022-06-02T17:27:10.430Z] 5eb5b503b376: Pull complete [2022-06-02T17:27:10.688Z] 5c69ac0246d0: Pull complete [2022-06-02T17:27:11.255Z] ec43610c2a17: Pull complete [2022-06-02T17:27:11.255Z] 3a2ae6a8a46f: Pull complete [2022-06-02T17:27:11.255Z] 33b1e0a273af: Pull complete [2022-06-02T17:27:11.515Z] 5d3b04190fa2: Pull complete [2022-06-02T17:27:15.135Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-666 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-06-02T17:27:15.147Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-06-02T17:27:15.200Z] Selected Git installation does not exist. Using Default [2022-06-02T17:27:15.200Z] The recommended git tool is: NONE [2022-06-02T17:27:15.708Z] 2f39f015ded8: Pull complete [2022-06-02T17:27:15.708Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-02T17:27:15.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T17:27:15.708Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:27:15.800Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:27:15.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-02T17:27:17.481Z] $ docker top 3cc805966097727e0bfa7f701638f1c17bc1fd5cb619bfb847a7cec1122eb85b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:27:17.894Z] ---> job-cost.sh [2022-06-02T17:27:17.894Z] lf-activate-venv: SKIPPING [2022-06-02T17:27:17.894Z] INFO: No Stack... [2022-06-02T17:27:18.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-02T17:27:18.723Z] INFO: Archiving Costs [Pipeline] sh [2022-06-02T17:27:19.016Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-06-02T17:27:19.016Z] + cut -d, -f6 [Pipeline] lock [2022-06-02T17:27:19.031Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-7-stack-cost] [2022-06-02T17:27:19.037Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-7-stack-cost] did not exist. Created. [2022-06-02T17:27:19.037Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-02T17:27:19.348Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-02T17:27:19.368Z] Stashed 1 file(s) [Pipeline] } [2022-06-02T17:27:19.374Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-02T17:27:19.400Z] $ docker stop --time=1 3cc805966097727e0bfa7f701638f1c17bc1fd5cb619bfb847a7cec1122eb85b [2022-06-02T17:27:20.563Z] $ docker rm -f 3cc805966097727e0bfa7f701638f1c17bc1fd5cb619bfb847a7cec1122eb85b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-02T17:27:22.266Z] using credential edgex-jenkins-ssh [2022-06-02T17:27:22.284Z] Cloning the remote Git repository [2022-06-02T17:27:22.366Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-02T17:27:22.452Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-06-02T17:27:22.559Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-02T17:27:22.561Z] > git --version # timeout=10 [2022-06-02T17:27:22.602Z] > git --version # 'git version 2.25.1' [2022-06-02T17:27:22.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-02T17:27:22.707Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-02T17:27:23.708Z] Avoid second fetch [2022-06-02T17:27:23.709Z] Checking out Revision ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 (main) [2022-06-02T17:27:23.543Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-02T17:27:23.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-02T17:27:23.750Z] > git config core.sparsecheckout # timeout=10 [2022-06-02T17:27:23.787Z] > git checkout -f ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 # timeout=10 [2022-06-02T17:27:28.147Z] Commit message: "Discovery probe (#65)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-02T17:27:28.933Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-02T17:27:28.933Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-02T17:27:28.933Z] Dload Upload Total Spent Left Speed [2022-06-02T17:27:28.933Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-06-02T17:27:29.581Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-02T17:27:29.926Z] + sudo tee /etc/docker/daemon.new [2022-06-02T17:27:29.926Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-02T17:27:29.926Z] { [2022-06-02T17:27:29.926Z] "registry-mirrors": [ [2022-06-02T17:27:29.926Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-02T17:27:29.926Z] ], [2022-06-02T17:27:29.926Z] "bip": "10.250.0.254/24", [2022-06-02T17:27:29.926Z] "hosts": [ [2022-06-02T17:27:29.926Z] "tcp://0.0.0.0:5555", [2022-06-02T17:27:29.926Z] "unix:///var/run/docker.sock" [2022-06-02T17:27:29.926Z] ], [2022-06-02T17:27:29.926Z] "mtu": 1458, [2022-06-02T17:27:29.926Z] "selinux-enabled": true, [2022-06-02T17:27:29.926Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-02T17:27:29.926Z] } [Pipeline] sh [2022-06-02T17:27:30.276Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-02T17:27:30.714Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T17:27:49.048Z] provisioning config files... [2022-06-02T17:27:49.070Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config2693881914323284802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:27:49.426Z] ---> docker-login.sh [2022-06-02T17:27:49.427Z] nexus3.edgexfoundry.org:10001 [2022-06-02T17:27:50.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:50.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:50.300Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:50.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:50.300Z] [2022-06-02T17:27:50.300Z] Login Succeeded [2022-06-02T17:27:50.300Z] nexus3.edgexfoundry.org:10002 [2022-06-02T17:27:50.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:50.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:50.576Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:50.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:50.576Z] [2022-06-02T17:27:50.576Z] Login Succeeded [2022-06-02T17:27:50.576Z] nexus3.edgexfoundry.org:10003 [2022-06-02T17:27:50.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:51.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:51.129Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:51.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:51.129Z] [2022-06-02T17:27:51.129Z] Login Succeeded [2022-06-02T17:27:51.129Z] nexus3.edgexfoundry.org:10004 [2022-06-02T17:27:51.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:51.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:51.405Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:51.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:51.405Z] [2022-06-02T17:27:51.405Z] Login Succeeded [2022-06-02T17:27:51.677Z] docker.io [2022-06-02T17:27:51.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:27:52.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:27:52.218Z] Configure a credential helper to remove this warning. See [2022-06-02T17:27:52.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:27:52.218Z] [2022-06-02T17:27:52.218Z] Login Succeeded [2022-06-02T17:27:52.218Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T17:27:52.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-02T17:27:52.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T17:27:52.738Z] ========================================================= [2022-06-02T17:27:52.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-02T17:27:52.738Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:27:53.090Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-02T17:27:53.366Z] Sending build context to Docker daemon 5.874MB [2022-06-02T17:27:53.366Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T17:27:53.366Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-02T17:27:53.640Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-02T17:27:53.640Z] 9b3977197b4f: Pulling fs layer [2022-06-02T17:27:53.640Z] 1a89e8eeedd5: Pulling fs layer [2022-06-02T17:27:53.640Z] 94645a83ff95: Pulling fs layer [2022-06-02T17:27:53.640Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-02T17:27:53.640Z] 0c92f367c5e7: Pulling fs layer [2022-06-02T17:27:53.640Z] 3096ccb668a1: Pulling fs layer [2022-06-02T17:27:53.640Z] e8cf19c19ddd: Pulling fs layer [2022-06-02T17:27:53.640Z] a4caa8a26152: Pulling fs layer [2022-06-02T17:27:53.640Z] 0c92f367c5e7: Waiting [2022-06-02T17:27:53.640Z] 3096ccb668a1: Waiting [2022-06-02T17:27:53.640Z] e8cf19c19ddd: Waiting [2022-06-02T17:27:53.640Z] a4caa8a26152: Waiting [2022-06-02T17:27:53.640Z] 3f3a8bcf1eab: Waiting [2022-06-02T17:27:53.640Z] 94645a83ff95: Verifying Checksum [2022-06-02T17:27:53.640Z] 94645a83ff95: Download complete [2022-06-02T17:27:53.640Z] 1a89e8eeedd5: Verifying Checksum [2022-06-02T17:27:53.640Z] 1a89e8eeedd5: Download complete [2022-06-02T17:27:53.640Z] 0c92f367c5e7: Download complete [2022-06-02T17:27:53.640Z] 3096ccb668a1: Verifying Checksum [2022-06-02T17:27:53.640Z] 3096ccb668a1: Download complete [2022-06-02T17:27:53.640Z] 9b3977197b4f: Verifying Checksum [2022-06-02T17:27:53.640Z] 9b3977197b4f: Download complete [2022-06-02T17:27:53.640Z] e8cf19c19ddd: Verifying Checksum [2022-06-02T17:27:53.640Z] e8cf19c19ddd: Download complete [2022-06-02T17:27:54.645Z] 9b3977197b4f: Pull complete [2022-06-02T17:27:55.251Z] 1a89e8eeedd5: Pull complete [2022-06-02T17:27:55.529Z] 94645a83ff95: Pull complete [2022-06-02T17:27:55.803Z] a4caa8a26152: Verifying Checksum [2022-06-02T17:27:55.803Z] a4caa8a26152: Download complete [2022-06-02T17:27:56.400Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-02T17:27:56.400Z] 3f3a8bcf1eab: Download complete [2022-06-02T17:28:08.804Z] 3f3a8bcf1eab: Pull complete [2022-06-02T17:28:08.804Z] 0c92f367c5e7: Pull complete [2022-06-02T17:28:08.804Z] 3096ccb668a1: Pull complete [2022-06-02T17:28:08.804Z] e8cf19c19ddd: Pull complete [2022-06-02T17:28:15.523Z] a4caa8a26152: Pull complete [2022-06-02T17:28:15.523Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-02T17:28:15.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-02T17:28:15.523Z] ---> 725f1c02e7f9 [2022-06-02T17:28:15.523Z] Step 3/13 : ARG MAKE="make build" [2022-06-02T17:28:16.513Z] ---> Running in 5f4c232604a0 [2022-06-02T17:28:16.788Z] Removing intermediate container 5f4c232604a0 [2022-06-02T17:28:16.788Z] ---> 4cb46207c24f [2022-06-02T17:28:16.788Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T17:28:16.788Z] ---> Running in 10790e360e2e [2022-06-02T17:28:17.075Z] Removing intermediate container 10790e360e2e [2022-06-02T17:28:17.075Z] ---> 29611199c8a8 [2022-06-02T17:28:17.075Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T17:28:17.075Z] ---> Running in 0f6e3af78898 [2022-06-02T17:28:17.680Z] Removing intermediate container 0f6e3af78898 [2022-06-02T17:28:17.680Z] ---> b0edd60bf665 [2022-06-02T17:28:17.680Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-02T17:28:17.680Z] ---> Running in c68244dfab0a [2022-06-02T17:28:17.953Z] Removing intermediate container c68244dfab0a [2022-06-02T17:28:17.954Z] ---> 7855c27b7686 [2022-06-02T17:28:17.954Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T17:28:17.954Z] ---> Running in 89eb95f78102 [2022-06-02T17:28:20.081Z] Removing intermediate container 89eb95f78102 [2022-06-02T17:28:20.081Z] ---> d16d7d77a7ef [2022-06-02T17:28:20.081Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T17:28:20.081Z] ---> Running in 32b218f73bfd [2022-06-02T17:28:21.101Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-02T17:28:21.750Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-02T17:28:22.722Z] OK: 220 MiB in 52 packages [2022-06-02T17:28:23.319Z] Removing intermediate container 32b218f73bfd [2022-06-02T17:28:23.319Z] ---> 71a5de667414 [2022-06-02T17:28:23.319Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-02T17:28:23.319Z] ---> Running in 735a4a61dbb2 [2022-06-02T17:28:23.591Z] Removing intermediate container 735a4a61dbb2 [2022-06-02T17:28:23.591Z] ---> 0fbfe04ffcd8 [2022-06-02T17:28:23.591Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-02T17:28:24.187Z] ---> c89de0573510 [2022-06-02T17:28:24.187Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T17:28:24.187Z] ---> Running in bf35e5989d2f [2022-06-02T17:29:11.206Z] Removing intermediate container bf35e5989d2f [2022-06-02T17:29:11.206Z] ---> 9734f837088c [2022-06-02T17:29:11.206Z] Step 12/13 : COPY . . [2022-06-02T17:29:11.206Z] ---> 7f9802c69cbf [2022-06-02T17:29:11.206Z] Step 13/13 : RUN ${MAKE} [2022-06-02T17:29:11.206Z] ---> Running in 1acfc14670ca [2022-06-02T17:29:11.803Z] noop [2022-06-02T17:29:12.404Z] Removing intermediate container 1acfc14670ca [2022-06-02T17:29:12.404Z] ---> d1130fbade2e [2022-06-02T17:29:12.404Z] Successfully built d1130fbade2e [2022-06-02T17:29:12.404Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:29:12.778Z] + docker inspect -f . ci-base-image-arm64 [2022-06-02T17:29:12.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:29:13.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-666 does not seem to be running inside a container [2022-06-02T17:29:13.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-02T17:29:14.437Z] $ docker top eab00335bc61931de08916269d7f0e12e905e3b6bdab091cefb6eab27075fa56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T17:29:15.315Z] + go version [2022-06-02T17:29:15.316Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-02T17:29:15.345Z] $ docker stop --time=1 eab00335bc61931de08916269d7f0e12e905e3b6bdab091cefb6eab27075fa56 [2022-06-02T17:29:17.014Z] $ docker rm -f eab00335bc61931de08916269d7f0e12e905e3b6bdab091cefb6eab27075fa56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:29:17.642Z] + docker inspect -f . ci-base-image-arm64 [2022-06-02T17:29:17.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:29:17.876Z] prd-ubuntu20.04-docker-arm64-4c-16g-666 does not seem to be running inside a container [2022-06-02T17:29:17.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-02T17:29:19.227Z] $ docker top f01c5ebeda2b2fe2f5694ccac1e8b0e0a57254baf57a2494c30325d0fad18bfc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-02T17:29:20.147Z] + make test [2022-06-02T17:29:20.147Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-02T17:29:22.134Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-02T17:30:59.003Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-02T17:30:59.004Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.082s coverage: 0.9% of statements [2022-06-02T17:31:11.408Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.930s coverage: 13.8% of statements [2022-06-02T17:31:11.408Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-02T17:31:11.408Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-02T17:31:38.253Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-02T17:31:38.253Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-02T17:31:38.253Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-02T17:31:41.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-02T17:31:41.696Z] $ docker stop --time=1 f01c5ebeda2b2fe2f5694ccac1e8b0e0a57254baf57a2494c30325d0fad18bfc [2022-06-02T17:31:43.620Z] $ docker rm -f f01c5ebeda2b2fe2f5694ccac1e8b0e0a57254baf57a2494c30325d0fad18bfc [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T17:31:44.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-02T17:31:44.740Z] Warning: overwriting stash ‘coverage-report’ [2022-06-02T17:31:45.266Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-02T17:31:45.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-02T17:31:45.990Z] + ls -al . [2022-06-02T17:31:45.991Z] total 224 [2022-06-02T17:31:45.991Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 17:31 . [2022-06-02T17:31:45.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 17:27 .. [2022-06-02T17:31:45.991Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 17:27 .git [2022-06-02T17:31:45.991Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 17:27 .github [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 2 17:27 .gitignore [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 17:27 .golangci.yml [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 2 17:27 Attribution.txt [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 2 17:27 CHANGELOG.md [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 2 17:27 Dockerfile [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 17:27 GOVERNANCE.md [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 17:27 Jenkinsfile [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 17:27 LICENSE [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 2 17:27 Makefile [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 17:27 OWNERS.md [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 28742 Jun 2 17:27 README.md [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 2 17:25 VERSION [2022-06-02T17:31:45.991Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 17:27 bin [2022-06-02T17:31:45.991Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 17:27 cmd [2022-06-02T17:31:45.991Z] -rw-r--r-- 1 jenkins jenkins 49507 Jun 2 17:31 coverage.out [2022-06-02T17:31:45.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 17:27 doc [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 2 17:27 go.mod [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 2 17:27 go.sum [2022-06-02T17:31:45.991Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 17:27 internal [2022-06-02T17:31:45.991Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 17:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:31:46.348Z] + 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=ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 --label arch=arm64 --label version=0.0.1-dev.5 . [2022-06-02T17:31:46.619Z] Sending build context to Docker daemon 5.924MB [2022-06-02T17:31:46.619Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T17:31:46.619Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-02T17:31:46.619Z] ---> d1130fbade2e [2022-06-02T17:31:46.619Z] Step 3/26 : ARG MAKE="make build" [2022-06-02T17:31:46.900Z] ---> Running in 56f6787e2664 [2022-06-02T17:31:47.178Z] Removing intermediate container 56f6787e2664 [2022-06-02T17:31:47.178Z] ---> b83ae73caebf [2022-06-02T17:31:47.178Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T17:31:47.453Z] ---> Running in d2ee7e5a7295 [2022-06-02T17:31:47.736Z] Removing intermediate container d2ee7e5a7295 [2022-06-02T17:31:47.736Z] ---> 19e32242f361 [2022-06-02T17:31:47.736Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T17:31:47.736Z] ---> Running in 97b0cb917d75 [2022-06-02T17:31:48.008Z] Removing intermediate container 97b0cb917d75 [2022-06-02T17:31:48.008Z] ---> d44897e87f7d [2022-06-02T17:31:48.008Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-02T17:31:48.008Z] ---> Running in cf3725cb7033 [2022-06-02T17:31:48.280Z] Removing intermediate container cf3725cb7033 [2022-06-02T17:31:48.280Z] ---> 10f0639255fd [2022-06-02T17:31:48.280Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T17:31:48.571Z] ---> Running in 041896f01812 [2022-06-02T17:31:50.021Z] Removing intermediate container 041896f01812 [2022-06-02T17:31:50.021Z] ---> 13b5f9a6a59f [2022-06-02T17:31:50.021Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T17:31:50.303Z] ---> Running in af1385c1c763 [2022-06-02T17:31:51.286Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-02T17:31:52.261Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-02T17:31:53.240Z] OK: 220 MiB in 52 packages [2022-06-02T17:31:53.846Z] Removing intermediate container af1385c1c763 [2022-06-02T17:31:53.846Z] ---> 8ebd43c1bbd1 [2022-06-02T17:31:53.846Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-02T17:31:53.846Z] ---> Running in 1171d1a40584 [2022-06-02T17:31:54.446Z] Removing intermediate container 1171d1a40584 [2022-06-02T17:31:54.446Z] ---> 9fa52c0d716c [2022-06-02T17:31:54.446Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-02T17:31:55.042Z] ---> d40c2d38ef0b [2022-06-02T17:31:55.042Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T17:31:55.042Z] ---> Running in cbc80219ab2c [2022-06-02T17:31:57.023Z] Removing intermediate container cbc80219ab2c [2022-06-02T17:31:57.023Z] ---> a28792b18359 [2022-06-02T17:31:57.023Z] Step 12/26 : COPY . . [2022-06-02T17:31:58.002Z] ---> d05a95e1dc96 [2022-06-02T17:31:58.002Z] Step 13/26 : RUN ${MAKE} [2022-06-02T17:31:58.002Z] ---> Running in 81d860dc957a [2022-06-02T17:31:58.981Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.5 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-02T17:34:20.909Z] Removing intermediate container 81d860dc957a [2022-06-02T17:34:20.909Z] ---> 3167e6b4f65a [2022-06-02T17:34:20.909Z] Step 14/26 : FROM alpine:3.15 [2022-06-02T17:34:20.909Z] 3.15: Pulling from library/alpine [2022-06-02T17:34:20.909Z] 9981e73032c8: Pulling fs layer [2022-06-02T17:34:20.909Z] 9981e73032c8: Verifying Checksum [2022-06-02T17:34:20.909Z] 9981e73032c8: Download complete [2022-06-02T17:34:20.909Z] 9981e73032c8: Pull complete [2022-06-02T17:34:20.909Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-02T17:34:20.909Z] Status: Downloaded newer image for alpine:3.15 [2022-06-02T17:34:20.909Z] ---> 3fb3c9af89a9 [2022-06-02T17:34:20.909Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-02T17:34:20.909Z] ---> Running in bfd472b5b797 [2022-06-02T17:34:20.909Z] Removing intermediate container bfd472b5b797 [2022-06-02T17:34:20.909Z] ---> a092a519abf5 [2022-06-02T17:34:20.909Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-02T17:34:20.909Z] ---> Running in 33a7659d9ffb [2022-06-02T17:34:20.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-02T17:34:20.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-02T17:34:20.909Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-02T17:34:20.909Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-02T17:34:20.909Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-02T17:34:20.909Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-02T17:34:20.909Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-02T17:34:20.909Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-02T17:34:20.909Z] Executing busybox-1.34.1-r5.trigger [2022-06-02T17:34:20.909Z] OK: 8 MiB in 20 packages [2022-06-02T17:34:20.909Z] Removing intermediate container 33a7659d9ffb [2022-06-02T17:34:20.909Z] ---> 69339904a641 [2022-06-02T17:34:20.909Z] Step 17/26 : WORKDIR / [2022-06-02T17:34:20.909Z] ---> Running in 6b34f53296ba [2022-06-02T17:34:20.909Z] Removing intermediate container 6b34f53296ba [2022-06-02T17:34:20.909Z] ---> 5dfcfe6d2492 [2022-06-02T17:34:20.909Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-02T17:34:20.909Z] ---> 73060efa0e91 [2022-06-02T17:34:20.909Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-02T17:34:20.909Z] ---> be7513752546 [2022-06-02T17:34:20.909Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-02T17:34:20.909Z] ---> c8a02600c1c9 [2022-06-02T17:34:20.909Z] Step 21/26 : EXPOSE 59984 [2022-06-02T17:34:20.909Z] ---> Running in fe30050dc675 [2022-06-02T17:34:20.909Z] Removing intermediate container fe30050dc675 [2022-06-02T17:34:20.909Z] ---> 040f245750a5 [2022-06-02T17:34:20.909Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-02T17:34:20.909Z] ---> Running in 12620a3edbc0 [2022-06-02T17:34:20.909Z] Removing intermediate container 12620a3edbc0 [2022-06-02T17:34:20.909Z] ---> f03d06ddee40 [2022-06-02T17:34:20.909Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-02T17:34:20.909Z] ---> Running in 6cc3ad9ec3a9 [2022-06-02T17:34:20.909Z] Removing intermediate container 6cc3ad9ec3a9 [2022-06-02T17:34:20.909Z] ---> 132758cdc120 [2022-06-02T17:34:20.909Z] Step 24/26 : LABEL arch=arm64 [2022-06-02T17:34:20.909Z] ---> Running in f9adbd8d8dee [2022-06-02T17:34:20.909Z] Removing intermediate container f9adbd8d8dee [2022-06-02T17:34:20.909Z] ---> 1553ddfff720 [2022-06-02T17:34:20.909Z] Step 25/26 : LABEL git_sha=ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [2022-06-02T17:34:20.909Z] ---> Running in a90b2aae4e05 [2022-06-02T17:34:20.909Z] Removing intermediate container a90b2aae4e05 [2022-06-02T17:34:20.909Z] ---> 3905a0dc3d7e [2022-06-02T17:34:20.909Z] Step 26/26 : LABEL version=0.0.1-dev.5 [2022-06-02T17:34:20.909Z] ---> Running in 681613ee6086 [2022-06-02T17:34:20.909Z] Removing intermediate container 681613ee6086 [2022-06-02T17:34:20.909Z] ---> 4fd4b98bed9c [2022-06-02T17:34:20.909Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-02T17:34:20.909Z] Successfully built 4fd4b98bed9c [2022-06-02T17:34:20.909Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T17:34:21.011Z] provisioning config files... [2022-06-02T17:34:21.030Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config7134742312864041602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:34:21.391Z] ---> docker-login.sh [2022-06-02T17:34:21.391Z] nexus3.edgexfoundry.org:10001 [2022-06-02T17:34:21.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:34:21.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:34:21.666Z] Configure a credential helper to remove this warning. See [2022-06-02T17:34:21.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:34:21.666Z] [2022-06-02T17:34:21.666Z] Login Succeeded [2022-06-02T17:34:21.666Z] nexus3.edgexfoundry.org:10002 [2022-06-02T17:34:22.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:34:22.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:34:22.258Z] Configure a credential helper to remove this warning. See [2022-06-02T17:34:22.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:34:22.258Z] [2022-06-02T17:34:22.258Z] Login Succeeded [2022-06-02T17:34:22.258Z] nexus3.edgexfoundry.org:10003 [2022-06-02T17:34:22.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:34:22.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:34:22.532Z] Configure a credential helper to remove this warning. See [2022-06-02T17:34:22.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:34:22.532Z] [2022-06-02T17:34:22.533Z] Login Succeeded [2022-06-02T17:34:22.804Z] nexus3.edgexfoundry.org:10004 [2022-06-02T17:34:23.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:34:23.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:34:23.077Z] Configure a credential helper to remove this warning. See [2022-06-02T17:34:23.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:34:23.077Z] [2022-06-02T17:34:23.077Z] Login Succeeded [2022-06-02T17:34:23.077Z] docker.io [2022-06-02T17:34:23.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T17:34:23.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T17:34:23.938Z] Configure a credential helper to remove this warning. See [2022-06-02T17:34:23.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T17:34:23.938Z] [2022-06-02T17:34:23.938Z] Login Succeeded [2022-06-02T17:34:23.938Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T17:34:23.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-02T17:34:23.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T17:34:24.010Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-06-02T17:34:24.010Z] ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [2022-06-02T17:34:24.010Z] latest [2022-06-02T17:34:24.010Z] 0.0.1-dev.5 [2022-06-02T17:34:24.010Z] ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5 [2022-06-02T17:34:24.010Z] main [2022-06-02T17:34:24.010Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:24.359Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:24.715Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [2022-06-02T17:34:24.715Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T17:34:24.715Z] 55783939bb93: Preparing [2022-06-02T17:34:24.715Z] 7027781acfa1: Preparing [2022-06-02T17:34:24.715Z] 9c541e4ee93d: Preparing [2022-06-02T17:34:24.715Z] 057fdf3517c3: Preparing [2022-06-02T17:34:24.715Z] 4f4ce317c6bb: Preparing [2022-06-02T17:34:24.715Z] 4f4ce317c6bb: Layer already exists [2022-06-02T17:34:24.988Z] 7027781acfa1: Pushed [2022-06-02T17:34:24.988Z] 55783939bb93: Pushed [2022-06-02T17:34:25.580Z] 057fdf3517c3: Pushed [2022-06-02T17:34:32.285Z] 9c541e4ee93d: Pushed [2022-06-02T17:34:32.285Z] ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103: digest: sha256:ff91f4124ad98ff45bbd7f163db10caa6309a3f7435cc4c71b7821618d571489 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:32.653Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:33.017Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-02T17:34:33.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T17:34:33.017Z] 55783939bb93: Preparing [2022-06-02T17:34:33.017Z] 7027781acfa1: Preparing [2022-06-02T17:34:33.017Z] 9c541e4ee93d: Preparing [2022-06-02T17:34:33.017Z] 057fdf3517c3: Preparing [2022-06-02T17:34:33.017Z] 4f4ce317c6bb: Preparing [2022-06-02T17:34:33.017Z] 7027781acfa1: Layer already exists [2022-06-02T17:34:33.017Z] 55783939bb93: Layer already exists [2022-06-02T17:34:33.017Z] 4f4ce317c6bb: Layer already exists [2022-06-02T17:34:33.017Z] 9c541e4ee93d: Layer already exists [2022-06-02T17:34:33.017Z] 057fdf3517c3: Layer already exists [2022-06-02T17:34:33.289Z] latest: digest: sha256:ff91f4124ad98ff45bbd7f163db10caa6309a3f7435cc4c71b7821618d571489 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:33.659Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:34.023Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.5 [2022-06-02T17:34:34.023Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T17:34:34.023Z] 55783939bb93: Preparing [2022-06-02T17:34:34.023Z] 7027781acfa1: Preparing [2022-06-02T17:34:34.023Z] 9c541e4ee93d: Preparing [2022-06-02T17:34:34.023Z] 057fdf3517c3: Preparing [2022-06-02T17:34:34.023Z] 4f4ce317c6bb: Preparing [2022-06-02T17:34:34.023Z] 4f4ce317c6bb: Layer already exists [2022-06-02T17:34:34.023Z] 057fdf3517c3: Layer already exists [2022-06-02T17:34:34.023Z] 9c541e4ee93d: Layer already exists [2022-06-02T17:34:34.023Z] 55783939bb93: Layer already exists [2022-06-02T17:34:34.023Z] 7027781acfa1: Layer already exists [2022-06-02T17:34:34.295Z] 0.0.1-dev.5: digest: sha256:ff91f4124ad98ff45bbd7f163db10caa6309a3f7435cc4c71b7821618d571489 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:34.660Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:35.012Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5 [2022-06-02T17:34:35.012Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T17:34:35.012Z] 55783939bb93: Preparing [2022-06-02T17:34:35.012Z] 7027781acfa1: Preparing [2022-06-02T17:34:35.012Z] 9c541e4ee93d: Preparing [2022-06-02T17:34:35.012Z] 057fdf3517c3: Preparing [2022-06-02T17:34:35.012Z] 4f4ce317c6bb: Preparing [2022-06-02T17:34:35.012Z] 057fdf3517c3: Layer already exists [2022-06-02T17:34:35.012Z] 7027781acfa1: Layer already exists [2022-06-02T17:34:35.012Z] 9c541e4ee93d: Layer already exists [2022-06-02T17:34:35.012Z] 4f4ce317c6bb: Layer already exists [2022-06-02T17:34:35.012Z] 55783939bb93: Layer already exists [2022-06-02T17:34:35.284Z] ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5: digest: sha256:ff91f4124ad98ff45bbd7f163db10caa6309a3f7435cc4c71b7821618d571489 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:35.648Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:36.006Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-06-02T17:34:36.007Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-06-02T17:34:36.007Z] 55783939bb93: Preparing [2022-06-02T17:34:36.007Z] 7027781acfa1: Preparing [2022-06-02T17:34:36.007Z] 9c541e4ee93d: Preparing [2022-06-02T17:34:36.007Z] 057fdf3517c3: Preparing [2022-06-02T17:34:36.007Z] 4f4ce317c6bb: Preparing [2022-06-02T17:34:36.007Z] 55783939bb93: Layer already exists [2022-06-02T17:34:36.007Z] 4f4ce317c6bb: Layer already exists [2022-06-02T17:34:36.007Z] 057fdf3517c3: Layer already exists [2022-06-02T17:34:36.007Z] 7027781acfa1: Layer already exists [2022-06-02T17:34:36.007Z] 9c541e4ee93d: Layer already exists [2022-06-02T17:34:36.278Z] main: digest: sha256:ff91f4124ad98ff45bbd7f163db10caa6309a3f7435cc4c71b7821618d571489 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-02T17:34:36.338Z] ===================================================== [Pipeline] echo [2022-06-02T17:34:36.345Z] taggedImages: [2022-06-02T17:34:36.345Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [2022-06-02T17:34:36.345Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-06-02T17:34:36.345Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.5 [2022-06-02T17:34:36.345Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103-0.0.1-dev.5 [2022-06-02T17:34:36.345Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:36.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-02T17:34:36.718Z] [2022-06-02T17:34:36.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:34:37.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-02T17:34:37.069Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-02T17:34:37.069Z] 8998bd30e6a1: Pulling fs layer [2022-06-02T17:34:37.069Z] 04944245beec: Pulling fs layer [2022-06-02T17:34:37.069Z] 699f458cf7ca: Pulling fs layer [2022-06-02T17:34:37.069Z] 765212b225bb: Pulling fs layer [2022-06-02T17:34:37.069Z] f23df028b6ca: Pulling fs layer [2022-06-02T17:34:37.069Z] d65c8cfc05b1: Pulling fs layer [2022-06-02T17:34:37.069Z] 2437ff75d9bd: Pulling fs layer [2022-06-02T17:34:37.069Z] f23df028b6ca: Waiting [2022-06-02T17:34:37.069Z] 2437ff75d9bd: Waiting [2022-06-02T17:34:37.069Z] 765212b225bb: Waiting [2022-06-02T17:34:37.069Z] d65c8cfc05b1: Waiting [2022-06-02T17:34:37.343Z] 04944245beec: Verifying Checksum [2022-06-02T17:34:37.343Z] 04944245beec: Download complete [2022-06-02T17:34:37.343Z] 765212b225bb: Verifying Checksum [2022-06-02T17:34:37.343Z] 765212b225bb: Download complete [2022-06-02T17:34:37.343Z] f23df028b6ca: Verifying Checksum [2022-06-02T17:34:37.343Z] f23df028b6ca: Download complete [2022-06-02T17:34:37.343Z] d65c8cfc05b1: Verifying Checksum [2022-06-02T17:34:37.343Z] d65c8cfc05b1: Download complete [2022-06-02T17:34:37.618Z] 699f458cf7ca: Verifying Checksum [2022-06-02T17:34:37.618Z] 699f458cf7ca: Download complete [2022-06-02T17:34:37.891Z] 8998bd30e6a1: Verifying Checksum [2022-06-02T17:34:37.891Z] 8998bd30e6a1: Download complete [2022-06-02T17:34:40.515Z] 2437ff75d9bd: Verifying Checksum [2022-06-02T17:34:40.515Z] 2437ff75d9bd: Download complete [2022-06-02T17:34:41.951Z] 8998bd30e6a1: Pull complete [2022-06-02T17:34:42.549Z] 04944245beec: Pull complete [2022-06-02T17:34:44.001Z] 699f458cf7ca: Pull complete [2022-06-02T17:34:44.001Z] 765212b225bb: Pull complete [2022-06-02T17:34:44.988Z] f23df028b6ca: Pull complete [2022-06-02T17:34:45.261Z] d65c8cfc05b1: Pull complete [2022-06-02T17:35:00.364Z] 2437ff75d9bd: Pull complete [2022-06-02T17:35:00.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-02T17:35:00.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-02T17:35:00.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:35:00.627Z] prd-ubuntu20.04-docker-arm64-4c-16g-666 does not seem to be running inside a container [2022-06-02T17:35:00.724Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-02T17:35:03.448Z] $ docker top 41b3f9a4e15ed5f8d2ab054acda018a18f5fe1fcce1a6bd146f2e816ac43e69f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:35:04.402Z] ---> job-cost.sh [2022-06-02T17:35:04.402Z] lf-activate-venv: SKIPPING [2022-06-02T17:35:04.402Z] INFO: No Stack... [2022-06-02T17:35:05.000Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-02T17:35:05.609Z] INFO: Archiving Costs [Pipeline] sh [2022-06-02T17:35:06.279Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [2022-06-02T17:35:06.279Z] + cut -d, -f6 [Pipeline] lock [2022-06-02T17:35:06.344Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-7-stack-cost] [2022-06-02T17:35:06.351Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-7-stack-cost] did not exist. Created. [2022-06-02T17:35:06.351Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-02T17:35:07.031Z] /w/workspace/device-onvif-camera/7@tmp/durable-890858c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-02T17:35:07.719Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-02T17:35:07.747Z] Warning: overwriting stash ‘stack-cost’ [2022-06-02T17:35:07.799Z] Stashed 1 file(s) [Pipeline] } [2022-06-02T17:35:07.805Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-02T17:35:07.826Z] $ docker stop --time=1 41b3f9a4e15ed5f8d2ab054acda018a18f5fe1fcce1a6bd146f2e816ac43e69f [2022-06-02T17:35:09.329Z] $ docker rm -f 41b3f9a4e15ed5f8d2ab054acda018a18f5fe1fcce1a6bd146f2e816ac43e69f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-02T17:35:09.797Z] provisioning config files... [2022-06-02T17:35:09.804Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8105379801186272893tmp [Pipeline] { [Pipeline] sh [2022-06-02T17:35:10.095Z] + set +x [2022-06-02T17:35:10.095Z] + curl -s https://codecov.io/bash [2022-06-02T17:35:10.095Z] + bash -s -- [2022-06-02T17:35:10.095Z] [2022-06-02T17:35:10.095Z] _____ _ [2022-06-02T17:35:10.095Z] / ____| | | [2022-06-02T17:35:10.095Z] | | ___ __| | ___ ___ _____ __ [2022-06-02T17:35:10.095Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-02T17:35:10.095Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-02T17:35:10.095Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-02T17:35:10.095Z] Bash-1.0.6 [2022-06-02T17:35:10.095Z] [2022-06-02T17:35:10.095Z] [2022-06-02T17:35:10.095Z] ==> git version 2.25.1 found [2022-06-02T17:35:10.095Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-02T17:35:10.095Z] Release-Date: 2020-01-08 [2022-06-02T17:35:10.095Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-02T17:35:10.095Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-02T17:35:10.095Z] ==> Jenkins CI detected. [2022-06-02T17:35:10.095Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-06-02T17:35:10.095Z] project root: . [2022-06-02T17:35:10.095Z] --> token set from env [2022-06-02T17:35:10.095Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-02T17:35:10.095Z] ==> Running gcov in . (disable via -X gcov) [2022-06-02T17:35:10.095Z] ==> Python coveragepy not found [2022-06-02T17:35:10.095Z] ==> Searching for coverage reports in: [2022-06-02T17:35:10.095Z] + . [2022-06-02T17:35:10.095Z] -> Found 1 reports [2022-06-02T17:35:10.096Z] ==> Detecting git/mercurial file structure [2022-06-02T17:35:10.096Z] ==> Reading reports [2022-06-02T17:35:10.096Z] + ./coverage.out bytes=49507 [2022-06-02T17:35:10.096Z] ==> Appending adjustments [2022-06-02T17:35:10.096Z] https://docs.codecov.io/docs/fixing-reports [2022-06-02T17:35:10.356Z] + Found adjustments [2022-06-02T17:35:10.356Z] ==> Gzipping contents [2022-06-02T17:35:10.356Z] 8.0K /tmp/codecov.SK8utj.gz [2022-06-02T17:35:10.356Z] ==> Uploading reports [2022-06-02T17:35:10.356Z] url: https://codecov.io [2022-06-02T17:35:10.356Z] query: branch=main&commit=ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-02T17:35:10.356Z] -> Pinging Codecov [2022-06-02T17:35:10.356Z] 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=ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-02T17:35:10.617Z] -> Uploading to [2022-06-02T17:35:10.617Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-02/F29A59C45E3A92E06B3E522C9905F8EF/ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103/517d6723-7156-4d84-8298-43c1391485ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T173510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=448e82ec86f7132b738d1b9f5bbbb2b86dbabf3b87a75fdaf083ac0c68ccb627 [2022-06-02T17:35:10.617Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-02T17:35:10.617Z] Dload Upload Total Spent Left Speed [2022-06-02T17:35:10.878Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6161 0 0 100 6161 0 27877 --:--:-- --:--:-- --:--:-- 27752 100 6161 0 0 100 6161 0 27021 --:--:-- --:--:-- --:--:-- 26903 [2022-06-02T17:35:10.878Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [Pipeline] } [2022-06-02T17:35:10.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-02T17:35:11.033Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-02T17:35:11.042Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:35:11.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-02T17:35:11.348Z] [2022-06-02T17:35:11.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:35:11.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-02T17:35:11.649Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-02T17:35:11.649Z] df9b9388f04a: Already exists [2022-06-02T17:35:11.912Z] 52dc419b0ee2: Pulling fs layer [2022-06-02T17:35:11.912Z] 25bc292e5bac: Pulling fs layer [2022-06-02T17:35:11.912Z] 114826534d7a: Pulling fs layer [2022-06-02T17:35:11.912Z] 4657fd5d0bcf: Pulling fs layer [2022-06-02T17:35:11.912Z] 6ad1cebc031e: Pulling fs layer [2022-06-02T17:35:11.912Z] 8a3aa393b2d8: Pulling fs layer [2022-06-02T17:35:11.912Z] 8a3aa393b2d8: Waiting [2022-06-02T17:35:11.912Z] 4657fd5d0bcf: Waiting [2022-06-02T17:35:11.912Z] 6ad1cebc031e: Waiting [2022-06-02T17:35:11.912Z] 25bc292e5bac: Verifying Checksum [2022-06-02T17:35:11.912Z] 25bc292e5bac: Download complete [2022-06-02T17:35:11.912Z] 52dc419b0ee2: Download complete [2022-06-02T17:35:11.912Z] 4657fd5d0bcf: Verifying Checksum [2022-06-02T17:35:11.912Z] 4657fd5d0bcf: Download complete [2022-06-02T17:35:11.912Z] 52dc419b0ee2: Pull complete [2022-06-02T17:35:11.912Z] 25bc292e5bac: Pull complete [2022-06-02T17:35:11.912Z] 6ad1cebc031e: Verifying Checksum [2022-06-02T17:35:11.912Z] 6ad1cebc031e: Download complete [2022-06-02T17:35:12.851Z] 114826534d7a: Verifying Checksum [2022-06-02T17:35:12.851Z] 114826534d7a: Download complete [2022-06-02T17:35:12.851Z] 8a3aa393b2d8: Verifying Checksum [2022-06-02T17:35:12.851Z] 8a3aa393b2d8: Download complete [2022-06-02T17:35:16.148Z] 114826534d7a: Pull complete [2022-06-02T17:35:16.148Z] 4657fd5d0bcf: Pull complete [2022-06-02T17:35:16.406Z] 6ad1cebc031e: Pull complete [2022-06-02T17:35:18.939Z] 8a3aa393b2d8: Pull complete [2022-06-02T17:35:18.939Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-02T17:35:18.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-02T17:35:18.939Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:35:19.022Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:35:19.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-02T17:35:22.040Z] $ docker top 298c3a938c4084201b01aea6fc0c30bb66039a8b7e82f3bf4815d2050770449b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-02T17:35:22.107Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-06-02T17:35:22.384Z] + set -o pipefail [2022-06-02T17:35:22.385Z] + snyk monitor '--org=edgex-jenkins' [2022-06-02T17:35:28.963Z] [2022-06-02T17:35:28.963Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-06-02T17:35:28.963Z] [2022-06-02T17:35:28.963Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/8378db99-2324-4941-bf69-26f6fd4dd67c/history/55b29954-86db-4e06-8970-e32c2dedc6fb [2022-06-02T17:35:28.963Z] [2022-06-02T17:35:28.963Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-02T17:35:28.963Z] [2022-06-02T17:35:28.963Z] [Pipeline] } [2022-06-02T17:35:28.988Z] $ docker stop --time=1 298c3a938c4084201b01aea6fc0c30bb66039a8b7e82f3bf4815d2050770449b [2022-06-02T17:35:31.526Z] $ docker rm -f 298c3a938c4084201b01aea6fc0c30bb66039a8b7e82f3bf4815d2050770449b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-02T17:35:32.201Z] + git log --format=format:%s -1 ca3b9af0f0e169c629bbfa3887ac93d5f6dd5103 [Pipeline] sh [2022-06-02T17:35:32.494Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T17:35:32.494Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:35:32.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T17:35:32.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:35:32.874Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:35:32.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-02T17:35:33.389Z] $ docker top 8cc99cb654cba7b3b3fb0291c5a52cb5712c603031727e918e602270a60edd6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T17:35:33.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T17:35:33.473Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T17:35:33.614Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T17:35:33.631Z] $ docker exec 8cc99cb654cba7b3b3fb0291c5a52cb5712c603031727e918e602270a60edd6e ssh-agent [2022-06-02T17:35:33.777Z] SSH_AUTH_SOCK=/tmp/ssh-A6JL0QXMyYKi/agent.33 [2022-06-02T17:35:33.777Z] SSH_AGENT_PID=40 [2022-06-02T17:35:33.790Z] Running ssh-add (command line suppressed) [2022-06-02T17:35:33.918Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7838301928673920259.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7838301928673920259.key) [2022-06-02T17:35:33.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T17:35:34.215Z] + git semver tag [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,410 [run_tag] DEBUG tag force:False [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,410 [check_head_tag] DEBUG check head tag [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,410 [execute] INFO git cat-file --batch-check [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,413 [execute] INFO git cat-file --batch [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,413 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,418 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,418 [execute] INFO git tag -a v0.0.1-dev.5 -m v0.0.1-dev.5 [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,419 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.5', '-m', 'v0.0.1-dev.5'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-02T17:35:34.476Z] 2022-06-02 17:35:34,422 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T17:35:34.476Z] 0.0.1-dev.5 [Pipeline] } [2022-06-02T17:35:34.495Z] $ docker exec --env ******** --env ******** 8cc99cb654cba7b3b3fb0291c5a52cb5712c603031727e918e602270a60edd6e ssh-agent -k [2022-06-02T17:35:34.607Z] unset SSH_AUTH_SOCK; [2022-06-02T17:35:34.608Z] unset SSH_AGENT_PID; [2022-06-02T17:35:34.608Z] echo Agent pid 40 killed; [2022-06-02T17:35:34.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T17:35:34.915Z] + git semver [Pipeline] } [2022-06-02T17:35:35.199Z] $ docker stop --time=1 8cc99cb654cba7b3b3fb0291c5a52cb5712c603031727e918e602270a60edd6e [2022-06-02T17:35:36.491Z] $ docker rm -f 8cc99cb654cba7b3b3fb0291c5a52cb5712c603031727e918e602270a60edd6e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:35:36.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-02T17:35:36.913Z] [2022-06-02T17:35:36.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:35:37.214Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-02T17:35:37.214Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-02T17:35:37.214Z] ab5ef0e58194: Pulling fs layer [2022-06-02T17:35:37.214Z] 9712f1f96733: Pulling fs layer [2022-06-02T17:35:37.214Z] 63f879dbbcfc: Pulling fs layer [2022-06-02T17:35:37.214Z] 0d9ebad4ef96: Pulling fs layer [2022-06-02T17:35:37.214Z] e9a5061849ea: Pulling fs layer [2022-06-02T17:35:37.214Z] d747dcd14b5f: Pulling fs layer [2022-06-02T17:35:37.214Z] 2de7ff778b66: Pulling fs layer [2022-06-02T17:35:37.214Z] 0d9ebad4ef96: Waiting [2022-06-02T17:35:37.214Z] e9a5061849ea: Waiting [2022-06-02T17:35:37.214Z] d747dcd14b5f: Waiting [2022-06-02T17:35:37.214Z] 2de7ff778b66: Waiting [2022-06-02T17:35:37.214Z] 9712f1f96733: Download complete [2022-06-02T17:35:37.791Z] 63f879dbbcfc: Verifying Checksum [2022-06-02T17:35:37.791Z] 63f879dbbcfc: Download complete [2022-06-02T17:35:37.791Z] 0d9ebad4ef96: Verifying Checksum [2022-06-02T17:35:37.791Z] 0d9ebad4ef96: Download complete [2022-06-02T17:35:37.791Z] d747dcd14b5f: Verifying Checksum [2022-06-02T17:35:37.791Z] d747dcd14b5f: Download complete [2022-06-02T17:35:37.791Z] e9a5061849ea: Verifying Checksum [2022-06-02T17:35:37.791Z] e9a5061849ea: Download complete [2022-06-02T17:35:37.791Z] ab5ef0e58194: Verifying Checksum [2022-06-02T17:35:37.791Z] ab5ef0e58194: Download complete [2022-06-02T17:35:38.053Z] 2de7ff778b66: Verifying Checksum [2022-06-02T17:35:38.053Z] 2de7ff778b66: Download complete [2022-06-02T17:35:40.591Z] ab5ef0e58194: Pull complete [2022-06-02T17:35:40.591Z] 9712f1f96733: Pull complete [2022-06-02T17:35:41.158Z] 63f879dbbcfc: Pull complete [2022-06-02T17:35:45.348Z] 0d9ebad4ef96: Pull complete [2022-06-02T17:35:45.348Z] e9a5061849ea: Pull complete [2022-06-02T17:35:45.348Z] d747dcd14b5f: Pull complete [2022-06-02T17:35:46.288Z] 2de7ff778b66: Pull complete [2022-06-02T17:35:46.288Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-02T17:35:46.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-02T17:35:46.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:35:46.386Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:35:46.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-02T17:35:49.508Z] $ docker top 37d5e93c978f55de5d4846d5e2aa01b9d2d9ff7a243158687c637cfe3a538bf0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-02T17:35:49.579Z] provisioning config files... [2022-06-02T17:35:49.586Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2940168997914404857tmp [2022-06-02T17:35:49.596Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2349813921573636154tmp [2022-06-02T17:35:49.607Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6287026606903219154tmp [Pipeline] { [Pipeline] echo [2022-06-02T17:35:49.621Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:35:49.906Z] ---> sigul-configuration.sh [2022-06-02T17:35:49.906Z] gpg: directory `/root/.gnupg' created [2022-06-02T17:35:49.906Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-02T17:35:49.906Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-02T17:35:49.906Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-02T17:35:49.906Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-02T17:35:49.906Z] gpg: CAST5 encrypted data [2022-06-02T17:35:49.906Z] gpg: encrypted with 1 passphrase [2022-06-02T17:35:49.906Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-02T17:35:50.192Z] + mkdir /home/jenkins [2022-06-02T17:35:50.192Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-02T17:35:50.478Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-06-02T17:35:50.487Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:35:50.771Z] ---> sigul-install.sh [2022-06-02T17:35:50.771Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-02T17:35:51.058Z] + git tag --list [2022-06-02T17:35:51.058Z] v0.0.0 [2022-06-02T17:35:51.058Z] v0.0.1-dev.1 [2022-06-02T17:35:51.058Z] v0.0.1-dev.2 [2022-06-02T17:35:51.058Z] v0.0.1-dev.3 [2022-06-02T17:35:51.058Z] v0.0.1-dev.4 [2022-06-02T17:35:51.058Z] v0.0.1-dev.5 [Pipeline] sh [2022-06-02T17:35:51.350Z] + lftools sign git-tag v0.0.1-dev.5 [2022-06-02T17:35:51.921Z] Signing Git tag with Sigul... [2022-06-02T17:35:51.921Z] Signing v0.0.1-dev.5 [Pipeline] echo [2022-06-02T17:35:52.191Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:35:52.478Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-02T17:35:52.487Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-02T17:35:52.520Z] $ docker stop --time=1 37d5e93c978f55de5d4846d5e2aa01b9d2d9ff7a243158687c637cfe3a538bf0 [2022-06-02T17:35:53.855Z] $ docker rm -f 37d5e93c978f55de5d4846d5e2aa01b9d2d9ff7a243158687c637cfe3a538bf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-02T17:35:54.245Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T17:35:54.245Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:35:54.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T17:35:54.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:35:54.635Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:35:54.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-02T17:35:55.149Z] $ docker top 4529131bda9a49417ae8e1013c13b74eb2cbf33eb93b9aa9299059c5567ff512 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T17:35:55.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T17:35:55.237Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T17:35:55.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T17:35:55.389Z] $ docker exec 4529131bda9a49417ae8e1013c13b74eb2cbf33eb93b9aa9299059c5567ff512 ssh-agent [2022-06-02T17:35:55.496Z] SSH_AUTH_SOCK=/tmp/ssh-2FMiWxtNkptr/agent.32 [2022-06-02T17:35:55.496Z] SSH_AGENT_PID=39 [2022-06-02T17:35:55.500Z] Running ssh-add (command line suppressed) [2022-06-02T17:35:55.620Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3001284558855826581.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3001284558855826581.key) [2022-06-02T17:35:55.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T17:35:55.917Z] + git semver bump pre [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,160 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,160 [bump_version] DEBUG bumping version:0.0.1-dev.5 on axis:pre with prefix:dev [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,161 [bump_version] DEBUG bumped version:0.0.1-dev.6 [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,161 [write_version] DEBUG write version:0.0.1-dev.6 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,161 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,161 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,163 [execute] INFO git cat-file --batch-check [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,168 [execute] INFO git cat-file --batch [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,169 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-02T17:35:56.176Z] 2022-06-02 17:35:56,173 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T17:35:56.176Z] 0.0.1-dev.6 [Pipeline] } [2022-06-02T17:35:56.457Z] $ docker exec --env ******** --env ******** 4529131bda9a49417ae8e1013c13b74eb2cbf33eb93b9aa9299059c5567ff512 ssh-agent -k [2022-06-02T17:35:56.569Z] unset SSH_AUTH_SOCK; [2022-06-02T17:35:56.569Z] unset SSH_AGENT_PID; [2022-06-02T17:35:56.569Z] echo Agent pid 39 killed; [2022-06-02T17:35:56.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T17:35:56.872Z] + git semver [Pipeline] } [2022-06-02T17:35:57.157Z] $ docker stop --time=1 4529131bda9a49417ae8e1013c13b74eb2cbf33eb93b9aa9299059c5567ff512 [2022-06-02T17:35:58.448Z] $ docker rm -f 4529131bda9a49417ae8e1013c13b74eb2cbf33eb93b9aa9299059c5567ff512 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T17:35:58.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T17:35:58.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:35:59.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T17:35:59.093Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:35:59.174Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:35:59.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-02T17:35:59.608Z] $ docker top 89ec201cea140e07042161f381360ba90efe7cdf4fe67e2da51ff00c1d4bdfde -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T17:35:59.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T17:35:59.699Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T17:35:59.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T17:35:59.848Z] $ docker exec 89ec201cea140e07042161f381360ba90efe7cdf4fe67e2da51ff00c1d4bdfde ssh-agent [2022-06-02T17:35:59.993Z] SSH_AUTH_SOCK=/tmp/ssh-x8gKLJed3QJJ/agent.32 [2022-06-02T17:35:59.993Z] SSH_AGENT_PID=38 [2022-06-02T17:36:00.004Z] Running ssh-add (command line suppressed) [2022-06-02T17:36:00.132Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2017018609225686200.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2017018609225686200.key) [2022-06-02T17:36:00.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T17:36:00.440Z] + git semver push [2022-06-02T17:36:00.700Z] 2022-06-02 17:36:00,675 [run_push] DEBUG push [2022-06-02T17:36:00.700Z] 2022-06-02 17:36:00,676 [execute] INFO git push origin semver [2022-06-02T17:36:00.700Z] 2022-06-02 17:36:00,676 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-02T17:36:01.647Z] 2022-06-02 17:36:01,415 [run_push] DEBUG push all version tags [2022-06-02T17:36:01.647Z] 2022-06-02 17:36:01,416 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-02T17:36:01.647Z] 2022-06-02 17:36:01,416 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-06-02T17:36:02.218Z] 2022-06-02 17:36:02,148 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-06-02T17:36:02.218Z] 0.0.1-dev.6 [Pipeline] } [2022-06-02T17:36:02.240Z] $ docker exec --env ******** --env ******** 89ec201cea140e07042161f381360ba90efe7cdf4fe67e2da51ff00c1d4bdfde ssh-agent -k [2022-06-02T17:36:02.350Z] unset SSH_AUTH_SOCK; [2022-06-02T17:36:02.350Z] unset SSH_AGENT_PID; [2022-06-02T17:36:02.350Z] echo Agent pid 38 killed; [2022-06-02T17:36:02.354Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T17:36:02.660Z] + git semver [Pipeline] } [2022-06-02T17:36:02.942Z] $ docker stop --time=1 89ec201cea140e07042161f381360ba90efe7cdf4fe67e2da51ff00c1d4bdfde [2022-06-02T17:36:04.300Z] $ docker rm -f 89ec201cea140e07042161f381360ba90efe7cdf4fe67e2da51ff00c1d4bdfde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-02T17:36:04.853Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-06-02T17:36:04.853Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-02T17:36:04.853Z] total 16 [2022-06-02T17:36:04.853Z] drwxr-xr-x 3 root root 4096 Jun 2 17:27 . [2022-06-02T17:36:04.853Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 17:35 .. [2022-06-02T17:36:04.853Z] drwxr-xr-x 2 root root 4096 Jun 2 17:27 cost [2022-06-02T17:36:04.853Z] -rw-r--r-- 1 root root 88 Jun 2 17:27 cost.csv [2022-06-02T17:36:04.853Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-02T17:36:04.853Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-06-02T17:36:04.853Z] total 16 [2022-06-02T17:36:04.853Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 17:27 . [2022-06-02T17:36:04.853Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 17:35 .. [2022-06-02T17:36:04.853Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 17:27 cost [2022-06-02T17:36:04.853Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 2 17:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:36:05.143Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:36:06.009Z] ---> package-listing.sh [2022-06-02T17:36:06.009Z] ++ facter osfamily [2022-06-02T17:36:06.009Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-02T17:36:06.270Z] + OS_FAMILY=debian [2022-06-02T17:36:06.270Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-06-02T17:36:06.270Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-02T17:36:06.270Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-02T17:36:06.270Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-02T17:36:06.270Z] + PACKAGES=/tmp/packages_start.txt [2022-06-02T17:36:06.270Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-02T17:36:06.270Z] + PACKAGES=/tmp/packages_end.txt [2022-06-02T17:36:06.270Z] + case "${OS_FAMILY}" in [2022-06-02T17:36:06.270Z] + grep '^ii' [2022-06-02T17:36:06.270Z] + dpkg -l [2022-06-02T17:36:06.270Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-02T17:36:06.270Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-02T17:36:06.270Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-02T17:36:06.270Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-06-02T17:36:06.270Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-06-02T17:36:06.270Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2022-06-02T17:36:06.279Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-02T17:36:06.558Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T17:36:07.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T17:36:07.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T17:36:07.189Z] prd-ubuntu20.04-docker-8c-8g-665 does not seem to be running inside a container [2022-06-02T17:36:07.229Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-02T17:36:07.455Z] $ docker top eea959f04d5af9105aacc27787009d2d0ba2f573edc5aca84cfdf0f54b9071ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T17:36:07.844Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-02T17:36:08.131Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-02T17:36:08.418Z] + ls /var/log/sa-host [2022-06-02T17:36:08.418Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T17:36:08.544Z] provisioning config files... [2022-06-02T17:36:08.554Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7413296994766074385tmp [Pipeline] { [Pipeline] echo [2022-06-02T17:36:08.569Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:36:08.854Z] ---> create-netrc.sh [Pipeline] } [2022-06-02T17:36:08.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:36:09.204Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-02T17:36:09.214Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:36:09.503Z] ---> sudo-logs.sh [2022-06-02T17:36:09.503Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-02T17:36:09.528Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:36:09.813Z] ---> job-cost.sh [2022-06-02T17:36:09.813Z] lf-activate-venv: SKIPPING [2022-06-02T17:36:09.813Z] DEBUG: total: 0.2199999988079071 [2022-06-02T17:36:09.813Z] INFO: Retrieving Stack Cost... [2022-06-02T17:36:10.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-02T17:36:10.644Z] INFO: Archiving Costs [Pipeline] echo [2022-06-02T17:36:10.655Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T17:36:10.944Z] ---> logs-deploy.sh [2022-06-02T17:36:10.944Z] lf-activate-venv: SKIPPING [2022-06-02T17:36:10.944Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/7 [2022-06-02T17:36:10.944Z] INFO: archiving workspace using pattern(s): [2022-06-02T17:36:11.886Z] Archives upload complete. [2022-06-02T17:36:11.886Z] INFO: archiving logs to Nexus