Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a761beb27065a69935e8288e1ea85e5d9ee20b97 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-ssh13047250841143085639.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6857329553246193594.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7731633674510924295.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17931792607641859892.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-ssh15397551154728845212.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20530 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision a761beb27065a69935e8288e1ea85e5d9ee20b97 (main) Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 Commit message: "Documentation update (#110)" > git rev-list --no-walk e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-19T23:19:34.745Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-19T23:19:34.797Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-19T23:19:34.810Z] ========================================================= [2022-07-19T23:19:34.810Z] EdgeX Global Pipelines Version Info [2022-07-19T23:19:34.810Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:19:35.576Z] ------------------- [2022-07-19T23:19:35.576Z] stable info: [2022-07-19T23:19:35.576Z] ------------------- [2022-07-19T23:19:35.576Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-19T23:19:35.576Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-19T23:19:35.576Z] Message: update stable to v1.0.238 [2022-07-19T23:19:36.149Z] ------------------- [2022-07-19T23:19:36.149Z] experimental info: [2022-07-19T23:19:36.149Z] ------------------- [2022-07-19T23:19:36.149Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-19T23:19:36.149Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-19T23:19:36.149Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-19T23:19:36.398Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-19T23:19:36.409Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-19T23:19:36.422Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-19T23:19:36.434Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-19T23:19:36.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-19T23:19:36.459Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-19T23:19:36.473Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-19T23:19:36.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-19T23:19:36.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-19T23:19:36.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-19T23:19:36.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-19T23:19:36.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-19T23:19:36.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-19T23:19:36.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-19T23:19:36.575Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-19T23:19:36.585Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-19T23:19:36.599Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-19T23:19:36.613Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-19T23:19:36.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-19T23:19:36.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-19T23:19:36.658Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-19T23:19:36.673Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-19T23:19:36.685Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-19T23:19:36.696Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-19T23:19:36.707Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-19T23:19:36.718Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-19T23:19:36.730Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-19T23:19:36.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-19T23:19:36.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-19T23:19:36.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-19T23:19:36.783Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a761beb27065a69935e8288e1ea85e5d9ee20b97 [Pipeline] echo [2022-07-19T23:19:36.795Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a761beb [Pipeline] echo [2022-07-19T23:19:36.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T23:19:36.854Z] provisioning config files... [2022-07-19T23:19:36.867Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2773173909427138772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:19:37.173Z] ---> docker-login.sh [2022-07-19T23:19:37.174Z] nexus3.edgexfoundry.org:10001 [2022-07-19T23:19:37.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:37.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:37.435Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:37.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:37.435Z] [2022-07-19T23:19:37.435Z] Login Succeeded [2022-07-19T23:19:37.435Z] nexus3.edgexfoundry.org:10002 [2022-07-19T23:19:37.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:37.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:37.696Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:37.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:37.696Z] [2022-07-19T23:19:37.696Z] Login Succeeded [2022-07-19T23:19:37.696Z] nexus3.edgexfoundry.org:10003 [2022-07-19T23:19:37.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:37.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:37.696Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:37.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:37.696Z] [2022-07-19T23:19:37.696Z] Login Succeeded [2022-07-19T23:19:37.696Z] nexus3.edgexfoundry.org:10004 [2022-07-19T23:19:37.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:37.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:37.957Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:37.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:37.957Z] [2022-07-19T23:19:37.957Z] Login Succeeded [2022-07-19T23:19:37.957Z] docker.io [2022-07-19T23:19:37.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:38.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:38.528Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:38.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:38.528Z] [2022-07-19T23:19:38.528Z] Login Succeeded [2022-07-19T23:19:38.528Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T23:19:38.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-19T23:19:38.898Z] + git rev-list -1 --merges a761beb27065a69935e8288e1ea85e5d9ee20b97~1..a761beb27065a69935e8288e1ea85e5d9ee20b97 [Pipeline] echo [2022-07-19T23:19:38.931Z] -----------> git rev-list -1 --merges a761beb27065a69935e8288e1ea85e5d9ee20b97~1..a761beb27065a69935e8288e1ea85e5d9ee20b97 a761beb27065a69935e8288e1ea85e5d9ee20b97 [false] [Pipeline] sh [2022-07-19T23:19:39.227Z] + git log --format=format:%s -1 a761beb27065a69935e8288e1ea85e5d9ee20b97 [Pipeline] echo [2022-07-19T23:19:39.242Z] ========================================================= [2022-07-19T23:19:39.242Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-19T23:19:39.242Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T23:19:39.579Z] + git log --format=format:%s -1 a761beb27065a69935e8288e1ea85e5d9ee20b97 [Pipeline] echo [2022-07-19T23:19:39.594Z] [semverPrep] GIT_COMMIT: a761beb27065a69935e8288e1ea85e5d9ee20b97, Commit Message: Documentation update (#110) [Pipeline] echo [2022-07-19T23:19:39.604Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-19T23:19:39.972Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-19T23:19:39.972Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-19T23:19:39.972Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-19T23:19:39.972Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-19T23:19:39.972Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-19T23:19:39.972Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-19T23:19:39.972Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:19:40.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T23:19:40.335Z] [2022-07-19T23:19:40.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:19:40.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T23:19:40.638Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-19T23:19:40.638Z] b85a868b505f: Pulling fs layer [2022-07-19T23:19:40.638Z] e2be974225ed: Pulling fs layer [2022-07-19T23:19:40.638Z] 339a4e72a1f5: Pulling fs layer [2022-07-19T23:19:40.638Z] 988bab9f4d93: Pulling fs layer [2022-07-19T23:19:40.638Z] 1469e6f7b9e6: Pulling fs layer [2022-07-19T23:19:40.638Z] eaf3925da568: Pulling fs layer [2022-07-19T23:19:40.638Z] bab4dde63d76: Pulling fs layer [2022-07-19T23:19:40.638Z] bde34c3a00c8: Pulling fs layer [2022-07-19T23:19:40.638Z] b352a97aabf1: Pulling fs layer [2022-07-19T23:19:40.638Z] 4872d77fe225: Pulling fs layer [2022-07-19T23:19:40.638Z] 5851b861e8e6: Pulling fs layer [2022-07-19T23:19:40.638Z] 1469e6f7b9e6: Waiting [2022-07-19T23:19:40.638Z] eaf3925da568: Waiting [2022-07-19T23:19:40.638Z] bab4dde63d76: Waiting [2022-07-19T23:19:40.638Z] bde34c3a00c8: Waiting [2022-07-19T23:19:40.638Z] b352a97aabf1: Waiting [2022-07-19T23:19:40.638Z] 4872d77fe225: Waiting [2022-07-19T23:19:40.638Z] 5851b861e8e6: Waiting [2022-07-19T23:19:40.638Z] 988bab9f4d93: Waiting [2022-07-19T23:19:40.638Z] e2be974225ed: Download complete [2022-07-19T23:19:40.638Z] 988bab9f4d93: Verifying Checksum [2022-07-19T23:19:40.638Z] 988bab9f4d93: Download complete [2022-07-19T23:19:40.638Z] 1469e6f7b9e6: Verifying Checksum [2022-07-19T23:19:40.638Z] 1469e6f7b9e6: Download complete [2022-07-19T23:19:40.897Z] 339a4e72a1f5: Verifying Checksum [2022-07-19T23:19:40.897Z] 339a4e72a1f5: Download complete [2022-07-19T23:19:40.897Z] eaf3925da568: Verifying Checksum [2022-07-19T23:19:40.897Z] eaf3925da568: Download complete [2022-07-19T23:19:40.897Z] bde34c3a00c8: Download complete [2022-07-19T23:19:40.897Z] b352a97aabf1: Download complete [2022-07-19T23:19:40.897Z] 4872d77fe225: Verifying Checksum [2022-07-19T23:19:40.897Z] 4872d77fe225: Download complete [2022-07-19T23:19:40.897Z] 5851b861e8e6: Verifying Checksum [2022-07-19T23:19:40.897Z] 5851b861e8e6: Download complete [2022-07-19T23:19:40.897Z] b85a868b505f: Download complete [2022-07-19T23:19:41.157Z] bab4dde63d76: Verifying Checksum [2022-07-19T23:19:41.157Z] bab4dde63d76: Download complete [2022-07-19T23:19:42.098Z] b85a868b505f: Pull complete [2022-07-19T23:19:42.358Z] e2be974225ed: Pull complete [2022-07-19T23:19:42.931Z] 339a4e72a1f5: Pull complete [2022-07-19T23:19:42.931Z] 988bab9f4d93: Pull complete [2022-07-19T23:19:43.193Z] 1469e6f7b9e6: Pull complete [2022-07-19T23:19:43.193Z] eaf3925da568: Pull complete [2022-07-19T23:19:45.109Z] bab4dde63d76: Pull complete [2022-07-19T23:19:45.109Z] bde34c3a00c8: Pull complete [2022-07-19T23:19:45.370Z] b352a97aabf1: Pull complete [2022-07-19T23:19:45.370Z] 4872d77fe225: Pull complete [2022-07-19T23:19:45.370Z] 5851b861e8e6: Pull complete [2022-07-19T23:19:45.370Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-19T23:19:45.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T23:19:45.370Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:19:45.483Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:19:45.525Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-19T23:19:46.726Z] $ docker top 800590f98a571e30ec73ae6cce4a145e2df05bf432da1d73ba63714847a18b36 -eo pid,comm [2022-07-19T23:19:46.800Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-19T23:19:46.800Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-19T23:19:46.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T23:19:46.837Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T23:19:46.975Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T23:19:46.981Z] $ docker exec 800590f98a571e30ec73ae6cce4a145e2df05bf432da1d73ba63714847a18b36 ssh-agent [2022-07-19T23:19:47.113Z] SSH_AUTH_SOCK=/tmp/ssh-O9OMhJZwY7hp/agent.33 [2022-07-19T23:19:47.113Z] SSH_AGENT_PID=40 [2022-07-19T23:19:47.120Z] Running ssh-add (command line suppressed) [2022-07-19T23:19:47.247Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8926753356045335252.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8926753356045335252.key) [2022-07-19T23:19:47.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T23:19:47.561Z] + git tag --points-at HEAD [Pipeline] } [2022-07-19T23:19:47.578Z] $ docker exec --env ******** --env ******** 800590f98a571e30ec73ae6cce4a145e2df05bf432da1d73ba63714847a18b36 ssh-agent -k [2022-07-19T23:19:47.702Z] unset SSH_AUTH_SOCK; [2022-07-19T23:19:47.703Z] unset SSH_AGENT_PID; [2022-07-19T23:19:47.703Z] echo Agent pid 40 killed; [2022-07-19T23:19:47.713Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-19T23:19:47.736Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T23:19:47.736Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T23:19:47.879Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T23:19:47.885Z] $ docker exec 800590f98a571e30ec73ae6cce4a145e2df05bf432da1d73ba63714847a18b36 ssh-agent [2022-07-19T23:19:48.013Z] SSH_AUTH_SOCK=/tmp/ssh-OVx7DyjrLz4l/agent.73 [2022-07-19T23:19:48.014Z] SSH_AGENT_PID=79 [2022-07-19T23:19:48.019Z] Running ssh-add (command line suppressed) [2022-07-19T23:19:48.139Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2712403994358886654.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2712403994358886654.key) [2022-07-19T23:19:48.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T23:19:48.450Z] + git semver init [2022-07-19T23:19:48.711Z] 2022-07-19 23:19:48,655 [run_init] DEBUG init version:0.0.0 force:False [2022-07-19T23:19:48.711Z] 2022-07-19 23:19:48,655 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-07-19T23:19:48.711Z] 2022-07-19 23:19:48,656 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2022-07-19T23:19:48.711Z] 2022-07-19 23:19:48,656 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-07-19T23:19:49.650Z] 2022-07-19 23:19:49,424 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-07-19T23:19:49.650Z] 2022-07-19 23:19:49,425 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2022-07-19T23:19:49.650Z] 2022-07-19 23:19:49,425 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-19T23:19:49.650Z] 2022-07-19 23:19:49,425 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-19T23:19:49.650Z] 0.0.1-dev.27 [Pipeline] } [2022-07-19T23:19:49.664Z] $ docker exec --env ******** --env ******** 800590f98a571e30ec73ae6cce4a145e2df05bf432da1d73ba63714847a18b36 ssh-agent -k [2022-07-19T23:19:49.767Z] unset SSH_AUTH_SOCK; [2022-07-19T23:19:49.767Z] unset SSH_AGENT_PID; [2022-07-19T23:19:49.767Z] echo Agent pid 79 killed; [2022-07-19T23:19:49.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-19T23:19:50.086Z] + git semver [Pipeline] } [2022-07-19T23:19:50.364Z] $ docker stop --time=1 800590f98a571e30ec73ae6cce4a145e2df05bf432da1d73ba63714847a18b36 [2022-07-19T23:19:51.679Z] $ docker rm -f 800590f98a571e30ec73ae6cce4a145e2df05bf432da1d73ba63714847a18b36 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T23:19:52.033Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-19T23:19:52.285Z] Stashed 1 file(s) [Pipeline] echo [2022-07-19T23:19:52.289Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.27 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T23:19:52.452Z] provisioning config files... [2022-07-19T23:19:52.463Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5993082704864649043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:19:52.769Z] ---> docker-login.sh [2022-07-19T23:19:52.770Z] nexus3.edgexfoundry.org:10001 [2022-07-19T23:19:52.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:52.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:52.770Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:52.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:52.770Z] [2022-07-19T23:19:52.770Z] Login Succeeded [2022-07-19T23:19:52.770Z] nexus3.edgexfoundry.org:10002 [2022-07-19T23:19:52.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:53.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:53.031Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:53.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:53.031Z] [2022-07-19T23:19:53.031Z] Login Succeeded [2022-07-19T23:19:53.031Z] nexus3.edgexfoundry.org:10003 [2022-07-19T23:19:53.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:53.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:53.031Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:53.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:53.031Z] [2022-07-19T23:19:53.031Z] Login Succeeded [2022-07-19T23:19:53.031Z] nexus3.edgexfoundry.org:10004 [2022-07-19T23:19:53.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:53.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:53.292Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:53.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:53.292Z] [2022-07-19T23:19:53.292Z] Login Succeeded [2022-07-19T23:19:53.292Z] docker.io [2022-07-19T23:19:53.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:19:53.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:19:53.553Z] Configure a credential helper to remove this warning. See [2022-07-19T23:19:53.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:19:53.553Z] [2022-07-19T23:19:53.553Z] Login Succeeded [2022-07-19T23:19:53.553Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T23:19:53.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-19T23:19:53.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T23:19:53.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T23:19:53.661Z] ========================================================= [2022-07-19T23:19:53.661Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-19T23:19:53.661Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:19:53.989Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-19T23:19:53.989Z] Sending build context to Docker daemon 18.92MB [2022-07-19T23:19:53.989Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T23:19:53.989Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-19T23:19:53.989Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-19T23:19:53.989Z] 2408cc74d12b: Pulling fs layer [2022-07-19T23:19:53.989Z] ea60b727a1ce: Pulling fs layer [2022-07-19T23:19:53.989Z] 30c4a7721957: Pulling fs layer [2022-07-19T23:19:53.989Z] 370296b7ddb6: Pulling fs layer [2022-07-19T23:19:53.989Z] 7c6cee850709: Pulling fs layer [2022-07-19T23:19:53.989Z] 39a5fcdaea64: Pulling fs layer [2022-07-19T23:19:53.989Z] d94ebbe4e438: Pulling fs layer [2022-07-19T23:19:53.989Z] bcfd1f05c69d: Pulling fs layer [2022-07-19T23:19:53.989Z] 59ccb84bbe0f: Pulling fs layer [2022-07-19T23:19:53.989Z] 39a5fcdaea64: Waiting [2022-07-19T23:19:53.989Z] d94ebbe4e438: Waiting [2022-07-19T23:19:53.989Z] bcfd1f05c69d: Waiting [2022-07-19T23:19:53.989Z] 59ccb84bbe0f: Waiting [2022-07-19T23:19:53.989Z] 370296b7ddb6: Waiting [2022-07-19T23:19:53.989Z] 7c6cee850709: Waiting [2022-07-19T23:19:54.253Z] 30c4a7721957: Download complete [2022-07-19T23:19:54.253Z] ea60b727a1ce: Download complete [2022-07-19T23:19:54.253Z] 7c6cee850709: Verifying Checksum [2022-07-19T23:19:54.253Z] 7c6cee850709: Download complete [2022-07-19T23:19:54.253Z] 39a5fcdaea64: Verifying Checksum [2022-07-19T23:19:54.253Z] 39a5fcdaea64: Download complete [2022-07-19T23:19:54.253Z] 2408cc74d12b: Verifying Checksum [2022-07-19T23:19:54.253Z] 2408cc74d12b: Download complete [2022-07-19T23:19:54.253Z] d94ebbe4e438: Verifying Checksum [2022-07-19T23:19:54.253Z] d94ebbe4e438: Download complete [2022-07-19T23:19:54.253Z] 2408cc74d12b: Pull complete [2022-07-19T23:19:54.526Z] ea60b727a1ce: Pull complete [2022-07-19T23:19:54.526Z] 30c4a7721957: Pull complete [2022-07-19T23:19:54.526Z] 59ccb84bbe0f: Verifying Checksum [2022-07-19T23:19:54.526Z] 59ccb84bbe0f: Download complete [2022-07-19T23:19:55.112Z] 370296b7ddb6: Download complete [2022-07-19T23:19:55.112Z] bcfd1f05c69d: Verifying Checksum [2022-07-19T23:19:55.112Z] bcfd1f05c69d: Download complete [2022-07-19T23:19:59.319Z] 370296b7ddb6: Pull complete [2022-07-19T23:19:59.319Z] 7c6cee850709: Pull complete [2022-07-19T23:19:59.319Z] 39a5fcdaea64: Pull complete [2022-07-19T23:19:59.319Z] d94ebbe4e438: Pull complete [2022-07-19T23:20:01.232Z] bcfd1f05c69d: Pull complete [2022-07-19T23:20:02.174Z] 59ccb84bbe0f: Pull complete [2022-07-19T23:20:02.174Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-19T23:20:02.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-19T23:20:02.174Z] ---> a4fb48ad2a94 [2022-07-19T23:20:02.174Z] Step 3/13 : ARG MAKE="make build" [2022-07-19T23:20:03.558Z] ---> Running in 593da10d3553 [2022-07-19T23:20:03.558Z] Removing intermediate container 593da10d3553 [2022-07-19T23:20:03.558Z] ---> 632af0a980c1 [2022-07-19T23:20:03.558Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T23:20:03.558Z] ---> Running in fc515bbda3a3 [2022-07-19T23:20:03.558Z] Removing intermediate container fc515bbda3a3 [2022-07-19T23:20:03.558Z] ---> c00abccd5a47 [2022-07-19T23:20:03.558Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T23:20:03.558Z] ---> Running in ee3de3f61a65 [2022-07-19T23:20:03.558Z] Removing intermediate container ee3de3f61a65 [2022-07-19T23:20:03.558Z] ---> e065da4eb6f6 [2022-07-19T23:20:03.558Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-19T23:20:03.558Z] ---> Running in cd9a822d098e [2022-07-19T23:20:03.819Z] Removing intermediate container cd9a822d098e [2022-07-19T23:20:03.819Z] ---> 45822bba88a0 [2022-07-19T23:20:03.819Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T23:20:03.819Z] ---> Running in e39f7451a510 [2022-07-19T23:20:04.388Z] Removing intermediate container e39f7451a510 [2022-07-19T23:20:04.388Z] ---> 34d53edc57ab [2022-07-19T23:20:04.388Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T23:20:04.388Z] ---> Running in ed98e7d05b73 [2022-07-19T23:20:04.648Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-19T23:20:07.189Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-19T23:20:07.403Z] Still waiting to schedule task [2022-07-19T23:20:07.403Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20531’ is offline [2022-07-19T23:20:11.390Z] OK: 211 MiB in 51 packages [2022-07-19T23:20:11.651Z] Removing intermediate container ed98e7d05b73 [2022-07-19T23:20:11.651Z] ---> 08f1533f00b5 [2022-07-19T23:20:11.651Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-19T23:20:11.651Z] ---> Running in fb11e9e5e797 [2022-07-19T23:20:11.651Z] Removing intermediate container fb11e9e5e797 [2022-07-19T23:20:11.651Z] ---> 93e18c458c18 [2022-07-19T23:20:11.651Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-19T23:20:11.912Z] ---> 95d3c31fae98 [2022-07-19T23:20:11.912Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T23:20:11.912Z] ---> Running in 810f6a8c9f69 [2022-07-19T23:20:33.882Z] Removing intermediate container 810f6a8c9f69 [2022-07-19T23:20:33.882Z] ---> 32d68a71443f [2022-07-19T23:20:33.882Z] Step 12/13 : COPY . . [2022-07-19T23:20:33.882Z] ---> 1668f9926b4f [2022-07-19T23:20:33.882Z] Step 13/13 : RUN ${MAKE} [2022-07-19T23:20:33.882Z] ---> Running in ac3bc3cd9f05 [2022-07-19T23:20:33.882Z] noop [2022-07-19T23:20:33.882Z] Removing intermediate container ac3bc3cd9f05 [2022-07-19T23:20:33.882Z] ---> 941bed8a1013 [2022-07-19T23:20:33.882Z] Successfully built 941bed8a1013 [2022-07-19T23:20:33.882Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:20:34.201Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-19T23:20:34.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:20:34.280Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:20:34.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-19T23:20:34.683Z] $ docker top f918e87e808a960ff5e27f8507df88d9d8c328eb2dd5cf37a9ea65314cc26c0d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T23:20:35.039Z] + go version [2022-07-19T23:20:35.039Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-19T23:20:35.056Z] $ docker stop --time=1 f918e87e808a960ff5e27f8507df88d9d8c328eb2dd5cf37a9ea65314cc26c0d [2022-07-19T23:20:36.317Z] $ docker rm -f f918e87e808a960ff5e27f8507df88d9d8c328eb2dd5cf37a9ea65314cc26c0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:20:36.732Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-19T23:20:36.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:20:36.875Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:20:36.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-19T23:20:37.248Z] $ docker top 51bf94105b4210e9046808654d7bab1667b8756c2f697f9e6a26dc56b05bb90a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T23:20:37.606Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2022-07-19T23:20:37.905Z] + make test [2022-07-19T23:20:37.905Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-19T23:20:38.165Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-19T23:20:48.154Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-19T23:20:49.094Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 7.0% of statements [2022-07-19T23:20:49.094Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-19T23:20:53.294Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.473s coverage: 13.8% of statements [2022-07-19T23:21:01.423Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-19T23:21:03.956Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-19T23:21:03.956Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-19T23:21:03.956Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-19T23:21:04.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-19T23:21:04.552Z] $ docker stop --time=1 51bf94105b4210e9046808654d7bab1667b8756c2f697f9e6a26dc56b05bb90a [2022-07-19T23:21:06.266Z] $ docker rm -f 51bf94105b4210e9046808654d7bab1667b8756c2f697f9e6a26dc56b05bb90a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T23:21:06.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-19T23:21:06.766Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-19T23:21:07.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-19T23:21:07.545Z] + ls -al . [2022-07-19T23:21:07.545Z] total 228 [2022-07-19T23:21:07.545Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 23:21 . [2022-07-19T23:21:07.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:19 .. [2022-07-19T23:21:07.545Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 23:20 .git [2022-07-19T23:21:07.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 23:19 .github [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 23:19 .gitignore [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 23:19 .golangci.yml [2022-07-19T23:21:07.545Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 23:19 .semver [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 23:19 Attribution.txt [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 23:19 CHANGELOG.md [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 23:19 Dockerfile [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 23:19 GOVERNANCE.md [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 23:19 Jenkinsfile [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 23:19 LICENSE [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 23:19 Makefile [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 23:19 OWNERS.md [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 19 23:19 README.md [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 19 23:19 VERSION [2022-07-19T23:21:07.545Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 23:19 bin [2022-07-19T23:21:07.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 23:19 cmd [2022-07-19T23:21:07.545Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 23:20 coverage.out [2022-07-19T23:21:07.545Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 23:19 doc [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 23:19 go.mod [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 23:19 go.sum [2022-07-19T23:21:07.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:19 internal [2022-07-19T23:21:07.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:19 snap [2022-07-19T23:21:07.545Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:21:07.854Z] + 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=a761beb27065a69935e8288e1ea85e5d9ee20b97 --label arch=amd64 --label version=0.0.1-dev.27 . [2022-07-19T23:21:07.854Z] Sending build context to Docker daemon 18.99MB [2022-07-19T23:21:07.855Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T23:21:07.855Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-19T23:21:07.855Z] ---> 941bed8a1013 [2022-07-19T23:21:07.855Z] Step 3/26 : ARG MAKE="make build" [2022-07-19T23:21:08.120Z] ---> Running in 3ac108894e78 [2022-07-19T23:21:08.120Z] Removing intermediate container 3ac108894e78 [2022-07-19T23:21:08.120Z] ---> 294a97c35fb5 [2022-07-19T23:21:08.120Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T23:21:08.120Z] ---> Running in 1b846765fa2d [2022-07-19T23:21:08.120Z] Removing intermediate container 1b846765fa2d [2022-07-19T23:21:08.120Z] ---> a3ae722137cb [2022-07-19T23:21:08.120Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T23:21:08.120Z] ---> Running in 5e48d0679f2a [2022-07-19T23:21:08.382Z] Removing intermediate container 5e48d0679f2a [2022-07-19T23:21:08.382Z] ---> 0842f046ec83 [2022-07-19T23:21:08.382Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-19T23:21:08.382Z] ---> Running in 6e2437731d07 [2022-07-19T23:21:08.382Z] Removing intermediate container 6e2437731d07 [2022-07-19T23:21:08.382Z] ---> 28988c86620a [2022-07-19T23:21:08.382Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T23:21:08.382Z] ---> Running in d0bd271753b8 [2022-07-19T23:21:08.953Z] Removing intermediate container d0bd271753b8 [2022-07-19T23:21:08.953Z] ---> ef1b3a50b3ea [2022-07-19T23:21:08.953Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T23:21:08.953Z] ---> Running in a994546f2df9 [2022-07-19T23:21:09.213Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-19T23:21:47.961Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-19T23:22:41.051Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20532 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-07-19T23:22:41.064Z] Running in /w/workspace/device-onvif-camera/30 [Pipeline] { [Pipeline] checkout [2022-07-19T23:22:41.126Z] Selected Git installation does not exist. Using Default [2022-07-19T23:22:41.126Z] The recommended git tool is: NONE [2022-07-19T23:22:47.901Z] using credential edgex-jenkins-ssh [2022-07-19T23:22:47.919Z] Cloning the remote Git repository [2022-07-19T23:22:47.990Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T23:22:48.069Z] > git init /w/workspace/device-onvif-camera/30 # timeout=10 [2022-07-19T23:22:48.154Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T23:22:48.155Z] > git --version # timeout=10 [2022-07-19T23:22:48.182Z] > git --version # 'git version 2.25.1' [2022-07-19T23:22:48.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T23:22:49.378Z] Avoid second fetch [2022-07-19T23:22:49.379Z] Checking out Revision a761beb27065a69935e8288e1ea85e5d9ee20b97 (main) [2022-07-19T23:22:48.261Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-19T23:22:49.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-19T23:22:49.358Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-19T23:22:49.397Z] > git config core.sparsecheckout # timeout=10 [2022-07-19T23:22:49.412Z] > git checkout -f a761beb27065a69935e8288e1ea85e5d9ee20b97 # timeout=10 [2022-07-19T23:22:53.947Z] Commit message: "Documentation update (#110)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T23:22:54.842Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-19T23:22:54.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-19T23:22:54.843Z] Dload Upload Total Spent Left Speed [2022-07-19T23:22:54.843Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2022-07-19T23:22:55.572Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-19T23:22:55.922Z] + + sudo tee /etc/docker/daemon.new [2022-07-19T23:22:55.923Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-19T23:22:55.923Z] { [2022-07-19T23:22:55.923Z] "registry-mirrors": [ [2022-07-19T23:22:55.923Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-19T23:22:55.923Z] ], [2022-07-19T23:22:55.923Z] "bip": "10.250.0.254/24", [2022-07-19T23:22:55.923Z] "hosts": [ [2022-07-19T23:22:55.923Z] "tcp://0.0.0.0:5555", [2022-07-19T23:22:55.923Z] "unix:///var/run/docker.sock" [2022-07-19T23:22:55.923Z] ], [2022-07-19T23:22:55.923Z] "mtu": 1458, [2022-07-19T23:22:55.923Z] "selinux-enabled": true, [2022-07-19T23:22:55.923Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-19T23:22:55.923Z] } [Pipeline] sh [2022-07-19T23:22:56.274Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-19T23:22:56.630Z] + sudo service docker restart [2022-07-19T23:23:09.445Z] OK: 211 MiB in 51 packages [2022-07-19T23:23:09.445Z] Removing intermediate container a994546f2df9 [2022-07-19T23:23:09.445Z] ---> a3acced5c8c8 [2022-07-19T23:23:09.445Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-19T23:23:09.445Z] ---> Running in cbe0bca691b6 [2022-07-19T23:23:09.445Z] Removing intermediate container cbe0bca691b6 [2022-07-19T23:23:09.445Z] ---> 0562c0f4468c [2022-07-19T23:23:09.445Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-19T23:23:09.445Z] ---> 1c2906d07bcf [2022-07-19T23:23:09.445Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T23:23:09.445Z] ---> Running in 2bc49cba7bb0 [2022-07-19T23:23:09.445Z] Removing intermediate container 2bc49cba7bb0 [2022-07-19T23:23:09.445Z] ---> 5228b9d53d2d [2022-07-19T23:23:09.445Z] Step 12/26 : COPY . . [2022-07-19T23:23:09.445Z] ---> e4dfc36da006 [2022-07-19T23:23:09.445Z] Step 13/26 : RUN ${MAKE} [2022-07-19T23:23:09.445Z] ---> Running in b2aed0755f17 [2022-07-19T23:23:09.445Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.27 -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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T23:23:14.972Z] provisioning config files... [2022-07-19T23:23:14.996Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/30@tmp/config8012949546326467388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:23:15.361Z] ---> docker-login.sh [2022-07-19T23:23:15.361Z] nexus3.edgexfoundry.org:10001 [2022-07-19T23:23:15.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:16.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:16.236Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:16.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:16.236Z] [2022-07-19T23:23:16.236Z] Login Succeeded [2022-07-19T23:23:16.236Z] nexus3.edgexfoundry.org:10002 [2022-07-19T23:23:16.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:16.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:16.793Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:16.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:16.793Z] [2022-07-19T23:23:16.793Z] Login Succeeded [2022-07-19T23:23:16.793Z] nexus3.edgexfoundry.org:10003 [2022-07-19T23:23:17.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:17.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:17.354Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:17.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:17.354Z] [2022-07-19T23:23:17.354Z] Login Succeeded [2022-07-19T23:23:17.354Z] nexus3.edgexfoundry.org:10004 [2022-07-19T23:23:17.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:17.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:17.632Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:17.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:17.632Z] [2022-07-19T23:23:17.632Z] Login Succeeded [2022-07-19T23:23:17.632Z] docker.io [2022-07-19T23:23:18.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:18.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:18.511Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:18.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:18.511Z] [2022-07-19T23:23:18.511Z] Login Succeeded [2022-07-19T23:23:18.511Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T23:23:18.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-19T23:23:19.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T23:23:19.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T23:23:19.120Z] ========================================================= [2022-07-19T23:23:19.120Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-19T23:23:19.120Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:19.485Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-19T23:23:20.090Z] Sending build context to Docker daemon 12.88MB [2022-07-19T23:23:20.090Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T23:23:20.090Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-19T23:23:20.090Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-19T23:23:20.090Z] b3c136eddcbf: Pulling fs layer [2022-07-19T23:23:20.090Z] c0a3192eca97: Pulling fs layer [2022-07-19T23:23:20.090Z] a050256f5b6f: Pulling fs layer [2022-07-19T23:23:20.090Z] 656be50a0ddc: Pulling fs layer [2022-07-19T23:23:20.090Z] 2bbca73fdf42: Pulling fs layer [2022-07-19T23:23:20.090Z] 46d945488cbd: Pulling fs layer [2022-07-19T23:23:20.090Z] 8a5474983e97: Pulling fs layer [2022-07-19T23:23:20.090Z] 329c88fbcd65: Pulling fs layer [2022-07-19T23:23:20.090Z] 46d945488cbd: Waiting [2022-07-19T23:23:20.090Z] 656be50a0ddc: Waiting [2022-07-19T23:23:20.090Z] 8a5474983e97: Waiting [2022-07-19T23:23:20.090Z] 2bbca73fdf42: Waiting [2022-07-19T23:23:20.090Z] 329c88fbcd65: Waiting [2022-07-19T23:23:20.373Z] a050256f5b6f: Verifying Checksum [2022-07-19T23:23:20.373Z] a050256f5b6f: Download complete [2022-07-19T23:23:20.373Z] c0a3192eca97: Verifying Checksum [2022-07-19T23:23:20.373Z] c0a3192eca97: Download complete [2022-07-19T23:23:20.373Z] 2bbca73fdf42: Verifying Checksum [2022-07-19T23:23:20.373Z] 2bbca73fdf42: Download complete [2022-07-19T23:23:20.373Z] 46d945488cbd: Verifying Checksum [2022-07-19T23:23:20.373Z] 46d945488cbd: Download complete [2022-07-19T23:23:20.373Z] b3c136eddcbf: Verifying Checksum [2022-07-19T23:23:21.363Z] b3c136eddcbf: Pull complete [2022-07-19T23:23:21.363Z] 329c88fbcd65: Verifying Checksum [2022-07-19T23:23:21.363Z] 329c88fbcd65: Download complete [2022-07-19T23:23:21.969Z] c0a3192eca97: Pull complete [2022-07-19T23:23:22.244Z] a050256f5b6f: Pull complete [2022-07-19T23:23:22.520Z] 8a5474983e97: Download complete [2022-07-19T23:23:23.498Z] 656be50a0ddc: Verifying Checksum [2022-07-19T23:23:23.498Z] 656be50a0ddc: Download complete [2022-07-19T23:23:27.546Z] Removing intermediate container b2aed0755f17 [2022-07-19T23:23:27.546Z] ---> 8bf3aad5f9c1 [2022-07-19T23:23:27.546Z] Step 14/26 : FROM alpine:3.15 [2022-07-19T23:23:27.546Z] 3.15: Pulling from library/alpine [2022-07-19T23:23:27.546Z] ab6db1bc80d0: Pulling fs layer [2022-07-19T23:23:27.546Z] ab6db1bc80d0: Verifying Checksum [2022-07-19T23:23:27.546Z] ab6db1bc80d0: Download complete [2022-07-19T23:23:27.546Z] ab6db1bc80d0: Pull complete [2022-07-19T23:23:27.546Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-19T23:23:27.546Z] Status: Downloaded newer image for alpine:3.15 [2022-07-19T23:23:27.546Z] ---> 2720e26172a0 [2022-07-19T23:23:27.546Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-19T23:23:27.546Z] ---> Running in 142da0b5b0e1 [2022-07-19T23:23:27.546Z] Removing intermediate container 142da0b5b0e1 [2022-07-19T23:23:27.546Z] ---> a4059f35a7ec [2022-07-19T23:23:27.546Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-19T23:23:27.546Z] ---> Running in 1114377f0f76 [2022-07-19T23:23:27.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-19T23:23:27.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-19T23:23:27.546Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-19T23:23:27.546Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-19T23:23:27.546Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-19T23:23:27.546Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-19T23:23:27.546Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-19T23:23:27.546Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-19T23:23:27.546Z] Executing busybox-1.34.1-r7.trigger [2022-07-19T23:23:27.546Z] OK: 8 MiB in 20 packages [2022-07-19T23:23:27.807Z] Removing intermediate container 1114377f0f76 [2022-07-19T23:23:27.807Z] ---> ed774416c7e9 [2022-07-19T23:23:27.807Z] Step 17/26 : WORKDIR / [2022-07-19T23:23:28.066Z] ---> Running in 1cad18484fa5 [2022-07-19T23:23:28.066Z] Removing intermediate container 1cad18484fa5 [2022-07-19T23:23:28.066Z] ---> 92019c2aac60 [2022-07-19T23:23:28.066Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-19T23:23:28.637Z] ---> 6cc38c179f2a [2022-07-19T23:23:28.637Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-19T23:23:28.637Z] ---> 9b69b0c3f051 [2022-07-19T23:23:28.637Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-19T23:23:28.898Z] ---> 1c96ee16af63 [2022-07-19T23:23:28.898Z] Step 21/26 : EXPOSE 59984 [2022-07-19T23:23:28.898Z] ---> Running in 41ad6b53060c [2022-07-19T23:23:28.898Z] Removing intermediate container 41ad6b53060c [2022-07-19T23:23:28.898Z] ---> ccc4b2902946 [2022-07-19T23:23:28.898Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-19T23:23:28.898Z] ---> Running in afa37d89ade0 [2022-07-19T23:23:28.898Z] Removing intermediate container afa37d89ade0 [2022-07-19T23:23:28.898Z] ---> 86a1a5173389 [2022-07-19T23:23:28.898Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-19T23:23:29.161Z] ---> Running in 7243cc4e8849 [2022-07-19T23:23:29.161Z] Removing intermediate container 7243cc4e8849 [2022-07-19T23:23:29.161Z] ---> 52d6a942003f [2022-07-19T23:23:29.161Z] Step 24/26 : LABEL arch=amd64 [2022-07-19T23:23:29.161Z] ---> Running in 45b69d7be66f [2022-07-19T23:23:29.161Z] Removing intermediate container 45b69d7be66f [2022-07-19T23:23:29.161Z] ---> 5abcd809868a [2022-07-19T23:23:29.161Z] Step 25/26 : LABEL git_sha=a761beb27065a69935e8288e1ea85e5d9ee20b97 [2022-07-19T23:23:29.161Z] ---> Running in e3c8214b0218 [2022-07-19T23:23:29.421Z] Removing intermediate container e3c8214b0218 [2022-07-19T23:23:29.421Z] ---> 914af64e0f33 [2022-07-19T23:23:29.421Z] Step 26/26 : LABEL version=0.0.1-dev.27 [2022-07-19T23:23:29.421Z] ---> Running in ee962142b1f2 [2022-07-19T23:23:29.421Z] Removing intermediate container ee962142b1f2 [2022-07-19T23:23:29.421Z] ---> 05ef7634712a [2022-07-19T23:23:29.421Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-19T23:23:29.421Z] Successfully built 05ef7634712a [2022-07-19T23:23:29.421Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T23:23:29.520Z] provisioning config files... [2022-07-19T23:23:29.530Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9170541395226172403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:23:29.830Z] ---> docker-login.sh [2022-07-19T23:23:29.830Z] nexus3.edgexfoundry.org:10001 [2022-07-19T23:23:29.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:29.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:29.830Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:29.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:29.830Z] [2022-07-19T23:23:29.830Z] Login Succeeded [2022-07-19T23:23:29.830Z] nexus3.edgexfoundry.org:10002 [2022-07-19T23:23:29.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:30.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:30.091Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:30.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:30.091Z] [2022-07-19T23:23:30.091Z] Login Succeeded [2022-07-19T23:23:30.091Z] nexus3.edgexfoundry.org:10003 [2022-07-19T23:23:30.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:30.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:30.091Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:30.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:30.091Z] [2022-07-19T23:23:30.091Z] Login Succeeded [2022-07-19T23:23:30.091Z] nexus3.edgexfoundry.org:10004 [2022-07-19T23:23:30.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:30.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:30.352Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:30.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:30.352Z] [2022-07-19T23:23:30.352Z] Login Succeeded [2022-07-19T23:23:30.352Z] docker.io [2022-07-19T23:23:30.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:23:30.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:23:30.614Z] Configure a credential helper to remove this warning. See [2022-07-19T23:23:30.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:23:30.614Z] [2022-07-19T23:23:30.614Z] Login Succeeded [2022-07-19T23:23:30.614Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T23:23:30.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-19T23:23:30.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T23:23:30.674Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-07-19T23:23:30.674Z] a761beb27065a69935e8288e1ea85e5d9ee20b97 [2022-07-19T23:23:30.674Z] latest [2022-07-19T23:23:30.674Z] 0.0.1-dev.27 [2022-07-19T23:23:30.674Z] a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27 [2022-07-19T23:23:30.674Z] main [2022-07-19T23:23:30.674Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:30.983Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a761beb27065a69935e8288e1ea85e5d9ee20b97 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:31.302Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a761beb27065a69935e8288e1ea85e5d9ee20b97 [2022-07-19T23:23:31.302Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-19T23:23:31.302Z] 03ae110ba006: Preparing [2022-07-19T23:23:31.302Z] 1c1aae3eab6d: Preparing [2022-07-19T23:23:31.302Z] 57e8d67facc4: Preparing [2022-07-19T23:23:31.302Z] 4123096fa7f4: Preparing [2022-07-19T23:23:31.302Z] ad543cd673bd: Preparing [2022-07-19T23:23:31.302Z] 1c1aae3eab6d: Pushed [2022-07-19T23:23:31.302Z] 03ae110ba006: Pushed [2022-07-19T23:23:31.561Z] 4123096fa7f4: Pushed [2022-07-19T23:23:32.140Z] ad543cd673bd: Pushed [2022-07-19T23:23:34.684Z] 57e8d67facc4: Pushed [2022-07-19T23:23:34.684Z] a761beb27065a69935e8288e1ea85e5d9ee20b97: digest: sha256:aaa643b03139eaa5532302c4c343bfb73778c1db5a387f7a9528134fff995531 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:35.002Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:35.320Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-07-19T23:23:35.320Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-19T23:23:35.320Z] 03ae110ba006: Preparing [2022-07-19T23:23:35.320Z] 1c1aae3eab6d: Preparing [2022-07-19T23:23:35.320Z] 57e8d67facc4: Preparing [2022-07-19T23:23:35.320Z] 4123096fa7f4: Preparing [2022-07-19T23:23:35.320Z] ad543cd673bd: Preparing [2022-07-19T23:23:35.320Z] 03ae110ba006: Layer already exists [2022-07-19T23:23:35.320Z] 4123096fa7f4: Layer already exists [2022-07-19T23:23:35.320Z] 1c1aae3eab6d: Layer already exists [2022-07-19T23:23:35.320Z] ad543cd673bd: Layer already exists [2022-07-19T23:23:35.320Z] 57e8d67facc4: Layer already exists [2022-07-19T23:23:35.320Z] latest: digest: sha256:aaa643b03139eaa5532302c4c343bfb73778c1db5a387f7a9528134fff995531 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:35.639Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:35.956Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.27 [2022-07-19T23:23:35.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-19T23:23:35.956Z] 03ae110ba006: Preparing [2022-07-19T23:23:35.956Z] 1c1aae3eab6d: Preparing [2022-07-19T23:23:35.956Z] 57e8d67facc4: Preparing [2022-07-19T23:23:35.956Z] 4123096fa7f4: Preparing [2022-07-19T23:23:35.956Z] ad543cd673bd: Preparing [2022-07-19T23:23:35.956Z] ad543cd673bd: Layer already exists [2022-07-19T23:23:35.956Z] 03ae110ba006: Layer already exists [2022-07-19T23:23:35.956Z] 4123096fa7f4: Layer already exists [2022-07-19T23:23:35.956Z] 1c1aae3eab6d: Layer already exists [2022-07-19T23:23:35.956Z] 57e8d67facc4: Layer already exists [2022-07-19T23:23:35.956Z] 0.0.1-dev.27: digest: sha256:aaa643b03139eaa5532302c4c343bfb73778c1db5a387f7a9528134fff995531 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:36.355Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:36.700Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27 [2022-07-19T23:23:36.700Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-19T23:23:36.700Z] 03ae110ba006: Preparing [2022-07-19T23:23:36.700Z] 1c1aae3eab6d: Preparing [2022-07-19T23:23:36.700Z] 57e8d67facc4: Preparing [2022-07-19T23:23:36.700Z] 4123096fa7f4: Preparing [2022-07-19T23:23:36.700Z] ad543cd673bd: Preparing [2022-07-19T23:23:36.700Z] 1c1aae3eab6d: Layer already exists [2022-07-19T23:23:36.700Z] 57e8d67facc4: Layer already exists [2022-07-19T23:23:36.700Z] 4123096fa7f4: Layer already exists [2022-07-19T23:23:36.700Z] ad543cd673bd: Layer already exists [2022-07-19T23:23:36.700Z] 03ae110ba006: Layer already exists [2022-07-19T23:23:36.700Z] a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27: digest: sha256:aaa643b03139eaa5532302c4c343bfb73778c1db5a387f7a9528134fff995531 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:37.019Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:37.340Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-07-19T23:23:37.340Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-07-19T23:23:37.340Z] 03ae110ba006: Preparing [2022-07-19T23:23:37.340Z] 1c1aae3eab6d: Preparing [2022-07-19T23:23:37.340Z] 57e8d67facc4: Preparing [2022-07-19T23:23:37.340Z] 4123096fa7f4: Preparing [2022-07-19T23:23:37.340Z] ad543cd673bd: Preparing [2022-07-19T23:23:37.340Z] 57e8d67facc4: Layer already exists [2022-07-19T23:23:37.340Z] ad543cd673bd: Layer already exists [2022-07-19T23:23:37.340Z] 03ae110ba006: Layer already exists [2022-07-19T23:23:37.340Z] 1c1aae3eab6d: Layer already exists [2022-07-19T23:23:37.340Z] 4123096fa7f4: Layer already exists [2022-07-19T23:23:37.340Z] main: digest: sha256:aaa643b03139eaa5532302c4c343bfb73778c1db5a387f7a9528134fff995531 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-19T23:23:37.386Z] ===================================================== [Pipeline] echo [2022-07-19T23:23:37.392Z] taggedImages: [2022-07-19T23:23:37.392Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:a761beb27065a69935e8288e1ea85e5d9ee20b97 [2022-07-19T23:23:37.392Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-07-19T23:23:37.392Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.27 [2022-07-19T23:23:37.392Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27 [2022-07-19T23:23:37.392Z] - 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-07-19T23:23:37.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T23:23:37.780Z] [2022-07-19T23:23:37.780Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:23:38.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T23:23:38.097Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-19T23:23:38.097Z] 5eb5b503b376: Pulling fs layer [2022-07-19T23:23:38.097Z] 5c69ac0246d0: Pulling fs layer [2022-07-19T23:23:38.097Z] ec43610c2a17: Pulling fs layer [2022-07-19T23:23:38.097Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-19T23:23:38.097Z] 33b1e0a273af: Pulling fs layer [2022-07-19T23:23:38.097Z] 5d3b04190fa2: Pulling fs layer [2022-07-19T23:23:38.097Z] 2f39f015ded8: Pulling fs layer [2022-07-19T23:23:38.097Z] 3a2ae6a8a46f: Waiting [2022-07-19T23:23:38.097Z] 33b1e0a273af: Waiting [2022-07-19T23:23:38.097Z] 2f39f015ded8: Waiting [2022-07-19T23:23:38.097Z] 5d3b04190fa2: Waiting [2022-07-19T23:23:38.097Z] 5c69ac0246d0: Download complete [2022-07-19T23:23:38.097Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-19T23:23:38.097Z] 3a2ae6a8a46f: Download complete [2022-07-19T23:23:38.097Z] 33b1e0a273af: Verifying Checksum [2022-07-19T23:23:38.097Z] 33b1e0a273af: Download complete [2022-07-19T23:23:38.097Z] 5d3b04190fa2: Verifying Checksum [2022-07-19T23:23:38.097Z] 5d3b04190fa2: Download complete [2022-07-19T23:23:38.097Z] ec43610c2a17: Verifying Checksum [2022-07-19T23:23:38.097Z] ec43610c2a17: Download complete [2022-07-19T23:23:38.357Z] 5eb5b503b376: Verifying Checksum [2022-07-19T23:23:38.357Z] 5eb5b503b376: Download complete [2022-07-19T23:23:38.598Z] 656be50a0ddc: Pull complete [2022-07-19T23:23:38.598Z] 2bbca73fdf42: Pull complete [2022-07-19T23:23:38.598Z] 46d945488cbd: Pull complete [2022-07-19T23:23:38.929Z] 2f39f015ded8: Download complete [2022-07-19T23:23:39.868Z] 5eb5b503b376: Pull complete [2022-07-19T23:23:39.868Z] 5c69ac0246d0: Pull complete [2022-07-19T23:23:40.436Z] ec43610c2a17: Pull complete [2022-07-19T23:23:40.436Z] 3a2ae6a8a46f: Pull complete [2022-07-19T23:23:40.699Z] 33b1e0a273af: Pull complete [2022-07-19T23:23:40.699Z] 5d3b04190fa2: Pull complete [2022-07-19T23:23:42.926Z] 8a5474983e97: Pull complete [2022-07-19T23:23:44.913Z] 329c88fbcd65: Pull complete [2022-07-19T23:23:44.913Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-19T23:23:44.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-19T23:23:44.913Z] ---> ff4287adb874 [2022-07-19T23:23:44.913Z] Step 3/13 : ARG MAKE="make build" [2022-07-19T23:23:45.977Z] 2f39f015ded8: Pull complete [2022-07-19T23:23:45.977Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-19T23:23:45.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T23:23:45.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:23:46.064Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:23:46.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-19T23:23:46.904Z] ---> Running in f220f5f8ef66 [2022-07-19T23:23:47.178Z] Removing intermediate container f220f5f8ef66 [2022-07-19T23:23:47.178Z] ---> 4fc5ed351841 [2022-07-19T23:23:47.178Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T23:23:47.178Z] ---> Running in 4cfafce5e15a [2022-07-19T23:23:47.450Z] $ docker top 49ab73d3a265b6a010aeeaf9de0ce06202dc313cbcc8ca339762cf7318676f7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:23:47.778Z] Removing intermediate container 4cfafce5e15a [2022-07-19T23:23:47.778Z] ---> c2f4f0c16d23 [2022-07-19T23:23:47.778Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T23:23:47.778Z] ---> Running in 1415e63a0532 [2022-07-19T23:23:47.832Z] ---> job-cost.sh [2022-07-19T23:23:47.832Z] lf-activate-venv: SKIPPING [2022-07-19T23:23:47.832Z] INFO: No Stack... [2022-07-19T23:23:48.403Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-19T23:23:48.976Z] INFO: Archiving Costs [Pipeline] sh [2022-07-19T23:23:49.219Z] Removing intermediate container 1415e63a0532 [2022-07-19T23:23:49.219Z] ---> 952500a9eecd [2022-07-19T23:23:49.219Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-19T23:23:49.219Z] ---> Running in 946ded5d62c5 [2022-07-19T23:23:49.269Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-07-19T23:23:49.269Z] + cut -d, -f6 [Pipeline] lock [2022-07-19T23:23:49.290Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-30-stack-cost] [2022-07-19T23:23:49.296Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-30-stack-cost] did not exist. Created. [2022-07-19T23:23:49.296Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T23:23:49.492Z] Removing intermediate container 946ded5d62c5 [2022-07-19T23:23:49.492Z] ---> d7ebc4d94576 [2022-07-19T23:23:49.492Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T23:23:49.492Z] ---> Running in 5b68d3bb71c0 [2022-07-19T23:23:49.597Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-19T23:23:49.633Z] Stashed 1 file(s) [Pipeline] } [2022-07-19T23:23:49.642Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-19T23:23:49.665Z] $ docker stop --time=1 49ab73d3a265b6a010aeeaf9de0ce06202dc313cbcc8ca339762cf7318676f7b [2022-07-19T23:23:50.835Z] $ docker rm -f 49ab73d3a265b6a010aeeaf9de0ce06202dc313cbcc8ca339762cf7318676f7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-19T23:23:51.186Z] Removing intermediate container 5b68d3bb71c0 [2022-07-19T23:23:51.186Z] ---> 921740fddf26 [2022-07-19T23:23:51.186Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T23:23:51.186Z] ---> Running in 50a00edc3781 [2022-07-19T23:23:52.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-19T23:23:56.466Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-19T23:25:04.448Z] OK: 221 MiB in 51 packages [2022-07-19T23:25:04.448Z] Removing intermediate container 50a00edc3781 [2022-07-19T23:25:04.448Z] ---> 17cd9b3c8757 [2022-07-19T23:25:04.448Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-19T23:25:04.448Z] ---> Running in ff9c6a330599 [2022-07-19T23:25:04.448Z] Removing intermediate container ff9c6a330599 [2022-07-19T23:25:04.448Z] ---> 6ad245b04a7b [2022-07-19T23:25:04.448Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-19T23:25:04.448Z] ---> 4e2c86033910 [2022-07-19T23:25:04.448Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T23:25:04.448Z] ---> Running in a76c5f8ec5a8 [2022-07-19T23:25:51.452Z] Removing intermediate container a76c5f8ec5a8 [2022-07-19T23:25:51.452Z] ---> 3baf103ceecb [2022-07-19T23:25:51.452Z] Step 12/13 : COPY . . [2022-07-19T23:25:51.452Z] ---> 4d1f9762bbae [2022-07-19T23:25:51.452Z] Step 13/13 : RUN ${MAKE} [2022-07-19T23:25:51.452Z] ---> Running in f03a04a191dd [2022-07-19T23:25:51.452Z] noop [2022-07-19T23:25:51.452Z] Removing intermediate container f03a04a191dd [2022-07-19T23:25:51.452Z] ---> 76948c45168a [2022-07-19T23:25:51.452Z] Successfully built 76948c45168a [2022-07-19T23:25:51.452Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:25:51.824Z] + docker inspect -f . ci-base-image-arm64 [2022-07-19T23:25:51.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:25:52.054Z] prd-ubuntu20.04-docker-arm64-4c-16g-20532 does not seem to be running inside a container [2022-07-19T23:25:52.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/30 -v /w/workspace/device-onvif-camera/30:/w/workspace/device-onvif-camera/30:rw,z -v /w/workspace/device-onvif-camera/30@tmp:/w/workspace/device-onvif-camera/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-19T23:25:53.376Z] $ docker top 94ff79ca33f58166471ca8acdfc8bfd3f9a8f65756bb9a46b0fe1d4d0ce97582 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T23:25:54.255Z] + go version [2022-07-19T23:25:54.255Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-19T23:25:54.280Z] $ docker stop --time=1 94ff79ca33f58166471ca8acdfc8bfd3f9a8f65756bb9a46b0fe1d4d0ce97582 [2022-07-19T23:25:55.877Z] $ docker rm -f 94ff79ca33f58166471ca8acdfc8bfd3f9a8f65756bb9a46b0fe1d4d0ce97582 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:25:56.484Z] + docker inspect -f . ci-base-image-arm64 [2022-07-19T23:25:56.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:25:56.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-20532 does not seem to be running inside a container [2022-07-19T23:25:56.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/30 -v /w/workspace/device-onvif-camera/30:/w/workspace/device-onvif-camera/30:rw,z -v /w/workspace/device-onvif-camera/30@tmp:/w/workspace/device-onvif-camera/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-19T23:25:57.995Z] $ docker top 536c3e555d98964ef1a5d915a49d51e43be76b14079b69a0c1096ebbd20b16e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T23:25:58.882Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/30 [Pipeline] fileExists [Pipeline] sh [2022-07-19T23:25:59.555Z] + make test [2022-07-19T23:25:59.555Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-19T23:26:00.990Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-19T23:27:37.888Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-19T23:27:37.888Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.092s coverage: 7.0% of statements [2022-07-19T23:27:37.888Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-19T23:27:53.003Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.763s coverage: 13.8% of statements [2022-07-19T23:27:53.003Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-19T23:27:53.003Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-19T23:28:15.477Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-19T23:28:15.477Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-19T23:28:15.477Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-19T23:28:18.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-19T23:28:18.893Z] $ docker stop --time=1 536c3e555d98964ef1a5d915a49d51e43be76b14079b69a0c1096ebbd20b16e9 [2022-07-19T23:28:20.715Z] $ docker rm -f 536c3e555d98964ef1a5d915a49d51e43be76b14079b69a0c1096ebbd20b16e9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T23:28:21.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-19T23:28:21.759Z] Warning: overwriting stash ‘coverage-report’ [2022-07-19T23:28:22.393Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T23:28:22.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-19T23:28:23.120Z] + ls -al . [2022-07-19T23:28:23.120Z] total 224 [2022-07-19T23:28:23.120Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 23:28 . [2022-07-19T23:28:23.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:22 .. [2022-07-19T23:28:23.120Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 23:22 .git [2022-07-19T23:28:23.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 23:22 .github [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 23:22 .gitignore [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 23:22 .golangci.yml [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 23:22 Attribution.txt [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 23:22 CHANGELOG.md [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 23:22 Dockerfile [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 23:22 GOVERNANCE.md [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 23:22 Jenkinsfile [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 23:22 LICENSE [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 23:22 Makefile [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 23:22 OWNERS.md [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 5796 Jul 19 23:22 README.md [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 19 23:19 VERSION [2022-07-19T23:28:23.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 23:22 bin [2022-07-19T23:28:23.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 23:22 cmd [2022-07-19T23:28:23.120Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 23:27 coverage.out [2022-07-19T23:28:23.120Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 23:22 doc [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 23:22 go.mod [2022-07-19T23:28:23.120Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 23:22 go.sum [2022-07-19T23:28:23.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:22 internal [2022-07-19T23:28:23.121Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 23:22 snap [2022-07-19T23:28:23.121Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 23:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:28:23.479Z] + 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=a761beb27065a69935e8288e1ea85e5d9ee20b97 --label arch=arm64 --label version=0.0.1-dev.27 . [2022-07-19T23:28:24.074Z] Sending build context to Docker daemon 12.96MB [2022-07-19T23:28:24.074Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T23:28:24.074Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-19T23:28:24.074Z] ---> 76948c45168a [2022-07-19T23:28:24.074Z] Step 3/26 : ARG MAKE="make build" [2022-07-19T23:28:24.074Z] ---> Running in 769c5e372444 [2022-07-19T23:28:24.669Z] Removing intermediate container 769c5e372444 [2022-07-19T23:28:24.669Z] ---> b65903bb16f8 [2022-07-19T23:28:24.669Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T23:28:24.669Z] ---> Running in 0b325d47dfb1 [2022-07-19T23:28:24.943Z] Removing intermediate container 0b325d47dfb1 [2022-07-19T23:28:24.943Z] ---> a1fa7766abc5 [2022-07-19T23:28:24.943Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T23:28:24.943Z] ---> Running in 0e0961858767 [2022-07-19T23:28:25.537Z] Removing intermediate container 0e0961858767 [2022-07-19T23:28:25.537Z] ---> aa8eec5a815e [2022-07-19T23:28:25.537Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-19T23:28:25.537Z] ---> Running in ee1b9365d658 [2022-07-19T23:28:25.817Z] Removing intermediate container ee1b9365d658 [2022-07-19T23:28:25.817Z] ---> 3f467c61f925 [2022-07-19T23:28:25.817Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T23:28:25.817Z] ---> Running in fb318aed861a [2022-07-19T23:28:27.795Z] Removing intermediate container fb318aed861a [2022-07-19T23:28:27.795Z] ---> 695340c75369 [2022-07-19T23:28:27.795Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T23:28:27.795Z] ---> Running in 7248d073a24d [2022-07-19T23:28:28.775Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-19T23:28:29.752Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-19T23:28:30.737Z] OK: 221 MiB in 51 packages [2022-07-19T23:28:31.713Z] Removing intermediate container 7248d073a24d [2022-07-19T23:28:31.713Z] ---> dc3df550090d [2022-07-19T23:28:31.713Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-19T23:28:31.713Z] ---> Running in fc7c4e425e5b [2022-07-19T23:28:31.986Z] Removing intermediate container fc7c4e425e5b [2022-07-19T23:28:31.986Z] ---> f8ab11d29e8b [2022-07-19T23:28:31.986Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-19T23:28:32.582Z] ---> 18906e64cda3 [2022-07-19T23:28:32.582Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T23:28:32.860Z] ---> Running in 6c580e0335cc [2022-07-19T23:28:34.838Z] Removing intermediate container 6c580e0335cc [2022-07-19T23:28:34.838Z] ---> 749193aaa014 [2022-07-19T23:28:34.838Z] Step 12/26 : COPY . . [2022-07-19T23:28:36.272Z] ---> 1b2ff2db142f [2022-07-19T23:28:36.272Z] Step 13/26 : RUN ${MAKE} [2022-07-19T23:28:36.545Z] ---> Running in 552b99818280 [2022-07-19T23:28:37.525Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.27 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-19T23:30:59.394Z] Removing intermediate container 552b99818280 [2022-07-19T23:30:59.394Z] ---> 252a8025c94c [2022-07-19T23:30:59.394Z] Step 14/26 : FROM alpine:3.15 [2022-07-19T23:30:59.394Z] 3.15: Pulling from library/alpine [2022-07-19T23:30:59.394Z] e0295fd11fe2: Pulling fs layer [2022-07-19T23:30:59.394Z] e0295fd11fe2: Verifying Checksum [2022-07-19T23:30:59.394Z] e0295fd11fe2: Download complete [2022-07-19T23:30:59.394Z] e0295fd11fe2: Pull complete [2022-07-19T23:30:59.394Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-19T23:30:59.394Z] Status: Downloaded newer image for alpine:3.15 [2022-07-19T23:30:59.394Z] ---> 60f2846fe774 [2022-07-19T23:30:59.394Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-19T23:30:59.394Z] ---> Running in 1fe2bb188db8 [2022-07-19T23:30:59.394Z] Removing intermediate container 1fe2bb188db8 [2022-07-19T23:30:59.394Z] ---> 0de3d07d7c2a [2022-07-19T23:30:59.394Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-19T23:30:59.394Z] ---> Running in cacabdce3076 [2022-07-19T23:30:59.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-19T23:30:59.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-19T23:30:59.394Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-19T23:30:59.394Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-19T23:30:59.394Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-19T23:30:59.394Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-19T23:30:59.394Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-19T23:30:59.394Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-19T23:30:59.394Z] Executing busybox-1.34.1-r7.trigger [2022-07-19T23:30:59.394Z] OK: 8 MiB in 20 packages [2022-07-19T23:30:59.394Z] Removing intermediate container cacabdce3076 [2022-07-19T23:30:59.394Z] ---> 05c030d3823d [2022-07-19T23:30:59.394Z] Step 17/26 : WORKDIR / [2022-07-19T23:30:59.394Z] ---> Running in aef53fbffd64 [2022-07-19T23:30:59.394Z] Removing intermediate container aef53fbffd64 [2022-07-19T23:30:59.394Z] ---> c9d2d75cf0cc [2022-07-19T23:30:59.394Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-19T23:30:59.394Z] ---> bdab0121253a [2022-07-19T23:30:59.394Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-19T23:30:59.394Z] ---> 22bac3b569ab [2022-07-19T23:30:59.394Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-19T23:30:59.394Z] ---> ec6c17dfb3d5 [2022-07-19T23:30:59.394Z] Step 21/26 : EXPOSE 59984 [2022-07-19T23:30:59.394Z] ---> Running in d8a4a4a753ba [2022-07-19T23:30:59.394Z] Removing intermediate container d8a4a4a753ba [2022-07-19T23:30:59.394Z] ---> 608b2174b3cb [2022-07-19T23:30:59.394Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-19T23:30:59.394Z] ---> Running in c0fab4435718 [2022-07-19T23:30:59.394Z] Removing intermediate container c0fab4435718 [2022-07-19T23:30:59.394Z] ---> 60beaac63c8b [2022-07-19T23:30:59.394Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-19T23:30:59.394Z] ---> Running in 0811bc1b40f2 [2022-07-19T23:30:59.394Z] Removing intermediate container 0811bc1b40f2 [2022-07-19T23:30:59.394Z] ---> 38443287c252 [2022-07-19T23:30:59.394Z] Step 24/26 : LABEL arch=arm64 [2022-07-19T23:30:59.394Z] ---> Running in 6d92164c9b1b [2022-07-19T23:30:59.394Z] Removing intermediate container 6d92164c9b1b [2022-07-19T23:30:59.394Z] ---> 62564d9b1076 [2022-07-19T23:30:59.394Z] Step 25/26 : LABEL git_sha=a761beb27065a69935e8288e1ea85e5d9ee20b97 [2022-07-19T23:30:59.394Z] ---> Running in 2c457b61a54d [2022-07-19T23:30:59.394Z] Removing intermediate container 2c457b61a54d [2022-07-19T23:30:59.394Z] ---> b7fd66ed1bc1 [2022-07-19T23:30:59.394Z] Step 26/26 : LABEL version=0.0.1-dev.27 [2022-07-19T23:30:59.394Z] ---> Running in 2e43fa86bb87 [2022-07-19T23:30:59.394Z] Removing intermediate container 2e43fa86bb87 [2022-07-19T23:30:59.394Z] ---> 01a34037aace [2022-07-19T23:30:59.394Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-19T23:30:59.394Z] Successfully built 01a34037aace [2022-07-19T23:30:59.394Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T23:30:59.489Z] provisioning config files... [2022-07-19T23:30:59.508Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/30@tmp/config7025593844194575538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:30:59.858Z] ---> docker-login.sh [2022-07-19T23:30:59.858Z] nexus3.edgexfoundry.org:10001 [2022-07-19T23:31:00.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:31:00.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:31:00.137Z] Configure a credential helper to remove this warning. See [2022-07-19T23:31:00.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:31:00.137Z] [2022-07-19T23:31:00.137Z] Login Succeeded [2022-07-19T23:31:00.137Z] nexus3.edgexfoundry.org:10002 [2022-07-19T23:31:00.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:31:00.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:31:00.732Z] Configure a credential helper to remove this warning. See [2022-07-19T23:31:00.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:31:00.732Z] [2022-07-19T23:31:00.732Z] Login Succeeded [2022-07-19T23:31:00.732Z] nexus3.edgexfoundry.org:10003 [2022-07-19T23:31:01.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:31:01.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:31:01.277Z] Configure a credential helper to remove this warning. See [2022-07-19T23:31:01.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:31:01.277Z] [2022-07-19T23:31:01.277Z] Login Succeeded [2022-07-19T23:31:01.277Z] nexus3.edgexfoundry.org:10004 [2022-07-19T23:31:01.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:31:01.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:31:01.550Z] Configure a credential helper to remove this warning. See [2022-07-19T23:31:01.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:31:01.550Z] [2022-07-19T23:31:01.550Z] Login Succeeded [2022-07-19T23:31:01.822Z] docker.io [2022-07-19T23:31:02.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T23:31:02.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T23:31:02.365Z] Configure a credential helper to remove this warning. See [2022-07-19T23:31:02.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T23:31:02.365Z] [2022-07-19T23:31:02.365Z] Login Succeeded [2022-07-19T23:31:02.365Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T23:31:02.383Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-19T23:31:02.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T23:31:02.427Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-07-19T23:31:02.427Z] a761beb27065a69935e8288e1ea85e5d9ee20b97 [2022-07-19T23:31:02.427Z] latest [2022-07-19T23:31:02.427Z] 0.0.1-dev.27 [2022-07-19T23:31:02.427Z] a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27 [2022-07-19T23:31:02.427Z] main [2022-07-19T23:31:02.427Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:02.767Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a761beb27065a69935e8288e1ea85e5d9ee20b97 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:03.124Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a761beb27065a69935e8288e1ea85e5d9ee20b97 [2022-07-19T23:31:03.124Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-19T23:31:03.124Z] fab0d7459b33: Preparing [2022-07-19T23:31:03.124Z] b83829cad994: Preparing [2022-07-19T23:31:03.124Z] 2185a8d9eb97: Preparing [2022-07-19T23:31:03.124Z] d61bf51b6f24: Preparing [2022-07-19T23:31:03.124Z] eb54b7b7991f: Preparing [2022-07-19T23:31:03.401Z] fab0d7459b33: Pushed [2022-07-19T23:31:03.401Z] b83829cad994: Pushed [2022-07-19T23:31:03.996Z] d61bf51b6f24: Pushed [2022-07-19T23:31:04.973Z] eb54b7b7991f: Pushed [2022-07-19T23:31:09.268Z] 2185a8d9eb97: Pushed [2022-07-19T23:31:09.268Z] a761beb27065a69935e8288e1ea85e5d9ee20b97: digest: sha256:5c66983b8d44f6e8e2e941940a8d44c9478f68cdeb4c538501f36628f91504aa size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:09.641Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:09.995Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-07-19T23:31:09.995Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-19T23:31:09.995Z] fab0d7459b33: Preparing [2022-07-19T23:31:09.995Z] b83829cad994: Preparing [2022-07-19T23:31:09.995Z] 2185a8d9eb97: Preparing [2022-07-19T23:31:09.995Z] d61bf51b6f24: Preparing [2022-07-19T23:31:09.995Z] eb54b7b7991f: Preparing [2022-07-19T23:31:09.995Z] d61bf51b6f24: Layer already exists [2022-07-19T23:31:09.995Z] eb54b7b7991f: Layer already exists [2022-07-19T23:31:09.995Z] b83829cad994: Layer already exists [2022-07-19T23:31:09.995Z] fab0d7459b33: Layer already exists [2022-07-19T23:31:09.995Z] 2185a8d9eb97: Layer already exists [2022-07-19T23:31:10.268Z] latest: digest: sha256:5c66983b8d44f6e8e2e941940a8d44c9478f68cdeb4c538501f36628f91504aa size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:10.626Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:10.981Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.27 [2022-07-19T23:31:10.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-19T23:31:10.981Z] fab0d7459b33: Preparing [2022-07-19T23:31:10.981Z] b83829cad994: Preparing [2022-07-19T23:31:10.981Z] 2185a8d9eb97: Preparing [2022-07-19T23:31:10.981Z] d61bf51b6f24: Preparing [2022-07-19T23:31:10.981Z] eb54b7b7991f: Preparing [2022-07-19T23:31:10.981Z] b83829cad994: Layer already exists [2022-07-19T23:31:10.981Z] eb54b7b7991f: Layer already exists [2022-07-19T23:31:10.981Z] fab0d7459b33: Layer already exists [2022-07-19T23:31:10.981Z] 2185a8d9eb97: Layer already exists [2022-07-19T23:31:10.981Z] d61bf51b6f24: Layer already exists [2022-07-19T23:31:11.283Z] 0.0.1-dev.27: digest: sha256:5c66983b8d44f6e8e2e941940a8d44c9478f68cdeb4c538501f36628f91504aa size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:11.666Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:12.057Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27 [2022-07-19T23:31:12.057Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-19T23:31:12.057Z] fab0d7459b33: Preparing [2022-07-19T23:31:12.057Z] b83829cad994: Preparing [2022-07-19T23:31:12.057Z] 2185a8d9eb97: Preparing [2022-07-19T23:31:12.057Z] d61bf51b6f24: Preparing [2022-07-19T23:31:12.057Z] eb54b7b7991f: Preparing [2022-07-19T23:31:12.057Z] b83829cad994: Layer already exists [2022-07-19T23:31:12.057Z] d61bf51b6f24: Layer already exists [2022-07-19T23:31:12.057Z] 2185a8d9eb97: Layer already exists [2022-07-19T23:31:12.057Z] eb54b7b7991f: Layer already exists [2022-07-19T23:31:12.057Z] fab0d7459b33: Layer already exists [2022-07-19T23:31:12.332Z] a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27: digest: sha256:5c66983b8d44f6e8e2e941940a8d44c9478f68cdeb4c538501f36628f91504aa size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:12.735Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:13.153Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-07-19T23:31:13.153Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-07-19T23:31:13.153Z] fab0d7459b33: Preparing [2022-07-19T23:31:13.153Z] b83829cad994: Preparing [2022-07-19T23:31:13.153Z] 2185a8d9eb97: Preparing [2022-07-19T23:31:13.153Z] d61bf51b6f24: Preparing [2022-07-19T23:31:13.153Z] eb54b7b7991f: Preparing [2022-07-19T23:31:13.153Z] eb54b7b7991f: Layer already exists [2022-07-19T23:31:13.153Z] fab0d7459b33: Layer already exists [2022-07-19T23:31:13.153Z] b83829cad994: Layer already exists [2022-07-19T23:31:13.153Z] 2185a8d9eb97: Layer already exists [2022-07-19T23:31:13.153Z] d61bf51b6f24: Layer already exists [2022-07-19T23:31:13.425Z] main: digest: sha256:5c66983b8d44f6e8e2e941940a8d44c9478f68cdeb4c538501f36628f91504aa size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-19T23:31:13.490Z] ===================================================== [Pipeline] echo [2022-07-19T23:31:13.500Z] taggedImages: [2022-07-19T23:31:13.500Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a761beb27065a69935e8288e1ea85e5d9ee20b97 [2022-07-19T23:31:13.500Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-07-19T23:31:13.500Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.27 [2022-07-19T23:31:13.500Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:a761beb27065a69935e8288e1ea85e5d9ee20b97-0.0.1-dev.27 [2022-07-19T23:31:13.500Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:13.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T23:31:13.877Z] [2022-07-19T23:31:13.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:14.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T23:31:14.503Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-19T23:31:14.503Z] 8998bd30e6a1: Pulling fs layer [2022-07-19T23:31:14.503Z] 04944245beec: Pulling fs layer [2022-07-19T23:31:14.503Z] 699f458cf7ca: Pulling fs layer [2022-07-19T23:31:14.503Z] 765212b225bb: Pulling fs layer [2022-07-19T23:31:14.503Z] f23df028b6ca: Pulling fs layer [2022-07-19T23:31:14.503Z] d65c8cfc05b1: Pulling fs layer [2022-07-19T23:31:14.503Z] 2437ff75d9bd: Pulling fs layer [2022-07-19T23:31:14.503Z] 765212b225bb: Waiting [2022-07-19T23:31:14.503Z] f23df028b6ca: Waiting [2022-07-19T23:31:14.503Z] d65c8cfc05b1: Waiting [2022-07-19T23:31:14.503Z] 2437ff75d9bd: Waiting [2022-07-19T23:31:14.503Z] 04944245beec: Verifying Checksum [2022-07-19T23:31:14.503Z] 04944245beec: Download complete [2022-07-19T23:31:14.503Z] 765212b225bb: Verifying Checksum [2022-07-19T23:31:14.503Z] 765212b225bb: Download complete [2022-07-19T23:31:14.503Z] f23df028b6ca: Verifying Checksum [2022-07-19T23:31:14.503Z] f23df028b6ca: Download complete [2022-07-19T23:31:14.503Z] d65c8cfc05b1: Verifying Checksum [2022-07-19T23:31:14.503Z] d65c8cfc05b1: Download complete [2022-07-19T23:31:14.777Z] 699f458cf7ca: Verifying Checksum [2022-07-19T23:31:14.777Z] 699f458cf7ca: Download complete [2022-07-19T23:31:15.054Z] 8998bd30e6a1: Verifying Checksum [2022-07-19T23:31:15.054Z] 8998bd30e6a1: Download complete [2022-07-19T23:31:17.688Z] 2437ff75d9bd: Verifying Checksum [2022-07-19T23:31:17.689Z] 2437ff75d9bd: Download complete [2022-07-19T23:31:19.694Z] 8998bd30e6a1: Pull complete [2022-07-19T23:31:19.968Z] 04944245beec: Pull complete [2022-07-19T23:31:21.401Z] 699f458cf7ca: Pull complete [2022-07-19T23:31:21.679Z] 765212b225bb: Pull complete [2022-07-19T23:31:22.277Z] f23df028b6ca: Pull complete [2022-07-19T23:31:22.551Z] d65c8cfc05b1: Pull complete [2022-07-19T23:31:37.648Z] 2437ff75d9bd: Pull complete [2022-07-19T23:31:37.648Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-19T23:31:37.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T23:31:37.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:31:37.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-20532 does not seem to be running inside a container [2022-07-19T23:31:37.990Z] $ 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/30 -v /w/workspace/device-onvif-camera/30:/w/workspace/device-onvif-camera/30:rw,z -v /w/workspace/device-onvif-camera/30@tmp:/w/workspace/device-onvif-camera/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-19T23:31:40.454Z] $ docker top 394b45b3e71e17eedc520ca89aceb37b74edd5f28c2f32c8ddd063639aa880f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:31:41.349Z] ---> job-cost.sh [2022-07-19T23:31:41.349Z] lf-activate-venv: SKIPPING [2022-07-19T23:31:41.349Z] INFO: No Stack... [2022-07-19T23:31:41.940Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-19T23:31:42.532Z] INFO: Archiving Costs [Pipeline] sh [2022-07-19T23:31:43.191Z] + cat /w/workspace/device-onvif-camera/30/archives/cost.csv [2022-07-19T23:31:43.191Z] + cut -d, -f6 [Pipeline] lock [2022-07-19T23:31:43.246Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-30-stack-cost] [2022-07-19T23:31:43.256Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-30-stack-cost] did not exist. Created. [2022-07-19T23:31:43.256Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T23:31:43.923Z] /w/workspace/device-onvif-camera/30@tmp/durable-9168747a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-19T23:31:44.589Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-19T23:31:44.613Z] Warning: overwriting stash ‘stack-cost’ [2022-07-19T23:31:44.662Z] Stashed 1 file(s) [Pipeline] } [2022-07-19T23:31:44.672Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-19T23:31:44.691Z] $ docker stop --time=1 394b45b3e71e17eedc520ca89aceb37b74edd5f28c2f32c8ddd063639aa880f7 [2022-07-19T23:31:46.179Z] $ docker rm -f 394b45b3e71e17eedc520ca89aceb37b74edd5f28c2f32c8ddd063639aa880f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-19T23:31:46.602Z] provisioning config files... [2022-07-19T23:31:46.613Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config175604290192463162tmp [Pipeline] { [Pipeline] sh [2022-07-19T23:31:46.910Z] + set +x [2022-07-19T23:31:46.910Z] + curl -s https://codecov.io/bash [2022-07-19T23:31:46.910Z] + bash -s -- [2022-07-19T23:31:46.910Z] [2022-07-19T23:31:46.910Z] _____ _ [2022-07-19T23:31:46.910Z] / ____| | | [2022-07-19T23:31:46.910Z] | | ___ __| | ___ ___ _____ __ [2022-07-19T23:31:46.910Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-19T23:31:46.910Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-19T23:31:46.910Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-19T23:31:46.910Z] Bash-1.0.6 [2022-07-19T23:31:46.910Z] [2022-07-19T23:31:46.910Z] [2022-07-19T23:31:46.910Z] ==> git version 2.25.1 found [2022-07-19T23:31:46.910Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-19T23:31:46.910Z] Release-Date: 2020-01-08 [2022-07-19T23:31:46.910Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-19T23:31:46.910Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-19T23:31:46.910Z] ==> Jenkins CI detected. [2022-07-19T23:31:46.910Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-07-19T23:31:46.910Z] project root: . [2022-07-19T23:31:46.910Z] --> token set from env [2022-07-19T23:31:46.910Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-19T23:31:46.910Z] ==> Running gcov in . (disable via -X gcov) [2022-07-19T23:31:46.910Z] ==> Python coveragepy not found [2022-07-19T23:31:46.910Z] ==> Searching for coverage reports in: [2022-07-19T23:31:46.910Z] + . [2022-07-19T23:31:46.910Z] -> Found 1 reports [2022-07-19T23:31:46.910Z] ==> Detecting git/mercurial file structure [2022-07-19T23:31:46.910Z] ==> Reading reports [2022-07-19T23:31:46.910Z] + ./coverage.out bytes=70262 [2022-07-19T23:31:46.910Z] ==> Appending adjustments [2022-07-19T23:31:46.910Z] https://docs.codecov.io/docs/fixing-reports [2022-07-19T23:31:47.170Z] + Found adjustments [2022-07-19T23:31:47.170Z] ==> Gzipping contents [2022-07-19T23:31:47.170Z] 12K /tmp/codecov.5hSENT.gz [2022-07-19T23:31:47.170Z] ==> Uploading reports [2022-07-19T23:31:47.170Z] url: https://codecov.io [2022-07-19T23:31:47.170Z] query: branch=main&commit=a761beb27065a69935e8288e1ea85e5d9ee20b97&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-19T23:31:47.170Z] -> Pinging Codecov [2022-07-19T23:31:47.170Z] 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=a761beb27065a69935e8288e1ea85e5d9ee20b97&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-19T23:31:47.430Z] -> Uploading to [2022-07-19T23:31:47.430Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-19/F29A59C45E3A92E06B3E522C9905F8EF/a761beb27065a69935e8288e1ea85e5d9ee20b97/3bdeef55-878e-458c-b71e-e27ef87da3ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220719T233147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43c81becf45bf5e98c87ea070e54905d1f658339f5f07e1de40eae9cda4246aa [2022-07-19T23:31:47.430Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-19T23:31:47.430Z] Dload Upload Total Spent Left Speed [2022-07-19T23:31:47.690Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9467 0 0 100 9467 0 46635 --:--:-- --:--:-- --:--:-- 46406 100 9467 0 0 100 9467 0 44867 --:--:-- --:--:-- --:--:-- 44655 [2022-07-19T23:31:47.690Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/a761beb27065a69935e8288e1ea85e5d9ee20b97 [Pipeline] } [2022-07-19T23:31:47.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-19T23:31:47.822Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-19T23:31:47.834Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:48.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-19T23:31:48.128Z] [2022-07-19T23:31:48.128Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:31:48.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-19T23:31:48.429Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-19T23:31:48.429Z] df9b9388f04a: Pulling fs layer [2022-07-19T23:31:48.429Z] 52dc419b0ee2: Pulling fs layer [2022-07-19T23:31:48.429Z] 25bc292e5bac: Pulling fs layer [2022-07-19T23:31:48.429Z] 114826534d7a: Pulling fs layer [2022-07-19T23:31:48.429Z] 4657fd5d0bcf: Pulling fs layer [2022-07-19T23:31:48.429Z] 6ad1cebc031e: Pulling fs layer [2022-07-19T23:31:48.429Z] 8a3aa393b2d8: Pulling fs layer [2022-07-19T23:31:48.429Z] 4657fd5d0bcf: Waiting [2022-07-19T23:31:48.429Z] 6ad1cebc031e: Waiting [2022-07-19T23:31:48.429Z] 114826534d7a: Waiting [2022-07-19T23:31:48.429Z] 25bc292e5bac: Verifying Checksum [2022-07-19T23:31:48.429Z] 52dc419b0ee2: Verifying Checksum [2022-07-19T23:31:48.429Z] 52dc419b0ee2: Download complete [2022-07-19T23:31:48.429Z] 4657fd5d0bcf: Verifying Checksum [2022-07-19T23:31:48.429Z] 4657fd5d0bcf: Download complete [2022-07-19T23:31:48.429Z] df9b9388f04a: Download complete [2022-07-19T23:31:48.688Z] df9b9388f04a: Pull complete [2022-07-19T23:31:48.688Z] 6ad1cebc031e: Verifying Checksum [2022-07-19T23:31:48.688Z] 6ad1cebc031e: Download complete [2022-07-19T23:31:48.688Z] 52dc419b0ee2: Pull complete [2022-07-19T23:31:48.688Z] 25bc292e5bac: Pull complete [2022-07-19T23:31:49.255Z] 114826534d7a: Verifying Checksum [2022-07-19T23:31:49.255Z] 114826534d7a: Download complete [2022-07-19T23:31:49.513Z] 8a3aa393b2d8: Verifying Checksum [2022-07-19T23:31:49.513Z] 8a3aa393b2d8: Download complete [2022-07-19T23:31:52.802Z] 114826534d7a: Pull complete [2022-07-19T23:31:52.802Z] 4657fd5d0bcf: Pull complete [2022-07-19T23:31:53.061Z] 6ad1cebc031e: Pull complete [2022-07-19T23:31:55.596Z] 8a3aa393b2d8: Pull complete [2022-07-19T23:31:55.596Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-19T23:31:55.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-19T23:31:55.596Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:31:55.688Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:31:55.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-07-19T23:31:57.391Z] $ docker top cb4d50828c1b8d74abfc4d25859156f60a35a503f02242739249d86f71f2f9c9 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-19T23:31:57.460Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh [2022-07-19T23:31:57.742Z] + set -o pipefail [2022-07-19T23:31:57.742Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' [2022-07-19T23:32:03.063Z] [2022-07-19T23:32:03.063Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-07-19T23:32:03.063Z] [2022-07-19T23:32:03.063Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/b56ca610-eee6-4034-9ac7-0b16447fc99a [2022-07-19T23:32:03.063Z] [2022-07-19T23:32:03.063Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-19T23:32:03.063Z] [2022-07-19T23:32:03.063Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-19T23:32:03.063Z] [2022-07-19T23:32:03.063Z] [Pipeline] } [2022-07-19T23:32:03.086Z] $ docker stop --time=1 cb4d50828c1b8d74abfc4d25859156f60a35a503f02242739249d86f71f2f9c9 [2022-07-19T23:32:05.010Z] $ docker rm -f cb4d50828c1b8d74abfc4d25859156f60a35a503f02242739249d86f71f2f9c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T23:32:05.721Z] + git log --format=format:%s -1 a761beb27065a69935e8288e1ea85e5d9ee20b97 [Pipeline] sh [2022-07-19T23:32:06.015Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-19T23:32:06.015Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:32:06.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T23:32:06.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:32:06.395Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:32:06.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-19T23:32:06.822Z] $ docker top 2ee7ab75740c8667236ec3357ffd90aa2302af56bf5501e24512adf946f66840 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-19T23:32:06.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T23:32:06.908Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T23:32:07.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T23:32:07.027Z] $ docker exec 2ee7ab75740c8667236ec3357ffd90aa2302af56bf5501e24512adf946f66840 ssh-agent [2022-07-19T23:32:07.129Z] SSH_AUTH_SOCK=/tmp/ssh-LigQLEadOxqv/agent.34 [2022-07-19T23:32:07.129Z] SSH_AGENT_PID=40 [2022-07-19T23:32:07.134Z] Running ssh-add (command line suppressed) [2022-07-19T23:32:07.264Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5916293131969741870.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5916293131969741870.key) [2022-07-19T23:32:07.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T23:32:07.555Z] + git semver tag [2022-07-19T23:32:07.815Z] 2022-07-19 23:32:07,746 [run_tag] DEBUG tag force:False [2022-07-19T23:32:07.815Z] 2022-07-19 23:32:07,746 [check_head_tag] DEBUG check head tag [2022-07-19T23:32:07.815Z] 2022-07-19 23:32:07,747 [execute] INFO git cat-file --batch-check [2022-07-19T23:32:07.815Z] 2022-07-19 23:32:07,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-07-19T23:32:07.816Z] 2022-07-19 23:32:07,750 [execute] INFO git cat-file --batch [2022-07-19T23:32:07.816Z] 2022-07-19 23:32:07,750 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) [2022-07-19T23:32:07.816Z] 2022-07-19 23:32:07,759 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-19T23:32:07.816Z] 2022-07-19 23:32:07,759 [execute] INFO git tag -a v0.0.1-dev.27 -m v0.0.1-dev.27 [2022-07-19T23:32:07.816Z] 2022-07-19 23:32:07,759 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.27', '-m', 'v0.0.1-dev.27'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-07-19T23:32:07.816Z] 2022-07-19 23:32:07,764 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-19T23:32:07.816Z] 0.0.1-dev.27 [Pipeline] } [2022-07-19T23:32:07.835Z] $ docker exec --env ******** --env ******** 2ee7ab75740c8667236ec3357ffd90aa2302af56bf5501e24512adf946f66840 ssh-agent -k [2022-07-19T23:32:07.942Z] unset SSH_AUTH_SOCK; [2022-07-19T23:32:07.943Z] unset SSH_AGENT_PID; [2022-07-19T23:32:07.943Z] echo Agent pid 40 killed; [2022-07-19T23:32:07.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-19T23:32:08.245Z] + git semver [Pipeline] } [2022-07-19T23:32:08.531Z] $ docker stop --time=1 2ee7ab75740c8667236ec3357ffd90aa2302af56bf5501e24512adf946f66840 [2022-07-19T23:32:09.795Z] $ docker rm -f 2ee7ab75740c8667236ec3357ffd90aa2302af56bf5501e24512adf946f66840 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:32:10.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-19T23:32:10.175Z] [2022-07-19T23:32:10.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:32:10.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-19T23:32:10.477Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-19T23:32:10.477Z] ab5ef0e58194: Pulling fs layer [2022-07-19T23:32:10.477Z] 9712f1f96733: Pulling fs layer [2022-07-19T23:32:10.477Z] 63f879dbbcfc: Pulling fs layer [2022-07-19T23:32:10.477Z] 0d9ebad4ef96: Pulling fs layer [2022-07-19T23:32:10.477Z] e9a5061849ea: Pulling fs layer [2022-07-19T23:32:10.477Z] d747dcd14b5f: Pulling fs layer [2022-07-19T23:32:10.477Z] 2de7ff778b66: Pulling fs layer [2022-07-19T23:32:10.477Z] 0d9ebad4ef96: Waiting [2022-07-19T23:32:10.477Z] e9a5061849ea: Waiting [2022-07-19T23:32:10.477Z] d747dcd14b5f: Waiting [2022-07-19T23:32:10.477Z] 2de7ff778b66: Waiting [2022-07-19T23:32:10.477Z] 9712f1f96733: Verifying Checksum [2022-07-19T23:32:10.477Z] 9712f1f96733: Download complete [2022-07-19T23:32:10.741Z] 63f879dbbcfc: Verifying Checksum [2022-07-19T23:32:10.741Z] 63f879dbbcfc: Download complete [2022-07-19T23:32:10.741Z] e9a5061849ea: Verifying Checksum [2022-07-19T23:32:10.741Z] e9a5061849ea: Download complete [2022-07-19T23:32:11.002Z] d747dcd14b5f: Verifying Checksum [2022-07-19T23:32:11.002Z] d747dcd14b5f: Download complete [2022-07-19T23:32:11.002Z] 0d9ebad4ef96: Download complete [2022-07-19T23:32:11.002Z] 2de7ff778b66: Verifying Checksum [2022-07-19T23:32:11.002Z] 2de7ff778b66: Download complete [2022-07-19T23:32:11.002Z] ab5ef0e58194: Verifying Checksum [2022-07-19T23:32:11.002Z] ab5ef0e58194: Download complete [2022-07-19T23:32:13.535Z] ab5ef0e58194: Pull complete [2022-07-19T23:32:13.535Z] 9712f1f96733: Pull complete [2022-07-19T23:32:14.472Z] 63f879dbbcfc: Pull complete [2022-07-19T23:32:17.761Z] 0d9ebad4ef96: Pull complete [2022-07-19T23:32:18.020Z] e9a5061849ea: Pull complete [2022-07-19T23:32:18.020Z] d747dcd14b5f: Pull complete [2022-07-19T23:32:19.400Z] 2de7ff778b66: Pull complete [2022-07-19T23:32:19.400Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-19T23:32:19.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-19T23:32:19.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:32:19.491Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:32:19.532Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-19T23:32:21.262Z] $ docker top 3698f9faed465760a1ea7a33eec35d9c557729786fe2bac39cd1f3065f6e1146 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-19T23:32:21.330Z] provisioning config files... [2022-07-19T23:32:21.337Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config703733437953866773tmp [2022-07-19T23:32:21.347Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9137992092565665053tmp [2022-07-19T23:32:21.355Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9000027545460301832tmp [Pipeline] { [Pipeline] echo [2022-07-19T23:32:21.370Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:21.648Z] ---> sigul-configuration.sh [2022-07-19T23:32:21.648Z] gpg: directory `/root/.gnupg' created [2022-07-19T23:32:21.648Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-19T23:32:21.648Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-19T23:32:21.648Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-19T23:32:21.648Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-19T23:32:21.648Z] gpg: CAST5 encrypted data [2022-07-19T23:32:21.648Z] gpg: encrypted with 1 passphrase [2022-07-19T23:32:21.648Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-19T23:32:21.931Z] + mkdir /home/jenkins [2022-07-19T23:32:21.931Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-19T23:32:22.218Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-07-19T23:32:22.227Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:22.519Z] ---> sigul-install.sh [2022-07-19T23:32:22.519Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-19T23:32:22.802Z] + git tag --list [2022-07-19T23:32:22.803Z] v0.0.0 [2022-07-19T23:32:22.803Z] v0.0.1-dev.1 [2022-07-19T23:32:22.803Z] v0.0.1-dev.10 [2022-07-19T23:32:22.803Z] v0.0.1-dev.11 [2022-07-19T23:32:22.803Z] v0.0.1-dev.12 [2022-07-19T23:32:22.803Z] v0.0.1-dev.13 [2022-07-19T23:32:22.803Z] v0.0.1-dev.14 [2022-07-19T23:32:22.803Z] v0.0.1-dev.15 [2022-07-19T23:32:22.803Z] v0.0.1-dev.16 [2022-07-19T23:32:22.803Z] v0.0.1-dev.17 [2022-07-19T23:32:22.803Z] v0.0.1-dev.18 [2022-07-19T23:32:22.803Z] v0.0.1-dev.19 [2022-07-19T23:32:22.803Z] v0.0.1-dev.2 [2022-07-19T23:32:22.803Z] v0.0.1-dev.20 [2022-07-19T23:32:22.803Z] v0.0.1-dev.21 [2022-07-19T23:32:22.803Z] v0.0.1-dev.22 [2022-07-19T23:32:22.803Z] v0.0.1-dev.23 [2022-07-19T23:32:22.803Z] v0.0.1-dev.24 [2022-07-19T23:32:22.803Z] v0.0.1-dev.25 [2022-07-19T23:32:22.803Z] v0.0.1-dev.26 [2022-07-19T23:32:22.803Z] v0.0.1-dev.27 [2022-07-19T23:32:22.803Z] v0.0.1-dev.3 [2022-07-19T23:32:22.803Z] v0.0.1-dev.4 [2022-07-19T23:32:22.803Z] v0.0.1-dev.5 [2022-07-19T23:32:22.803Z] v0.0.1-dev.6 [2022-07-19T23:32:22.803Z] v0.0.1-dev.7 [2022-07-19T23:32:22.803Z] v0.0.1-dev.8 [2022-07-19T23:32:22.803Z] v0.0.1-dev.9 [Pipeline] sh [2022-07-19T23:32:23.090Z] + lftools sign git-tag v0.0.1-dev.27 [2022-07-19T23:32:23.658Z] Signing Git tag with Sigul... [2022-07-19T23:32:23.658Z] Signing v0.0.1-dev.27 [Pipeline] echo [2022-07-19T23:32:23.926Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:24.209Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-19T23:32:24.218Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-19T23:32:24.247Z] $ docker stop --time=1 3698f9faed465760a1ea7a33eec35d9c557729786fe2bac39cd1f3065f6e1146 [2022-07-19T23:32:25.509Z] $ docker rm -f 3698f9faed465760a1ea7a33eec35d9c557729786fe2bac39cd1f3065f6e1146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-19T23:32:25.923Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-19T23:32:25.923Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:32:26.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T23:32:26.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:32:26.303Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:32:26.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-19T23:32:26.663Z] $ docker top 1fcd67074b0552a7a9dc5ac59a49252b82cf46ebba0998b6c667bdcb477dcd66 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-19T23:32:26.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T23:32:26.747Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T23:32:26.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T23:32:26.875Z] $ docker exec 1fcd67074b0552a7a9dc5ac59a49252b82cf46ebba0998b6c667bdcb477dcd66 ssh-agent [2022-07-19T23:32:26.976Z] SSH_AUTH_SOCK=/tmp/ssh-NDV8oVW7c8Ku/agent.34 [2022-07-19T23:32:26.976Z] SSH_AGENT_PID=40 [2022-07-19T23:32:26.981Z] Running ssh-add (command line suppressed) [2022-07-19T23:32:27.086Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8518714583111358807.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8518714583111358807.key) [2022-07-19T23:32:27.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T23:32:27.378Z] + git semver bump pre [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,569 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,569 [bump_version] DEBUG bumping version:0.0.1-dev.27 on axis:pre with prefix:dev [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,570 [bump_version] DEBUG bumped version:0.0.1-dev.28 [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,570 [write_version] DEBUG write version:0.0.1-dev.28 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,570 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,570 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,572 [execute] INFO git cat-file --batch-check [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,577 [execute] INFO git cat-file --batch [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-19T23:32:27.638Z] 2022-07-19 23:32:27,582 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-19T23:32:27.638Z] 0.0.1-dev.28 [Pipeline] } [2022-07-19T23:32:27.659Z] $ docker exec --env ******** --env ******** 1fcd67074b0552a7a9dc5ac59a49252b82cf46ebba0998b6c667bdcb477dcd66 ssh-agent -k [2022-07-19T23:32:27.765Z] unset SSH_AUTH_SOCK; [2022-07-19T23:32:27.765Z] unset SSH_AGENT_PID; [2022-07-19T23:32:27.765Z] echo Agent pid 40 killed; [2022-07-19T23:32:27.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-19T23:32:28.069Z] + git semver [Pipeline] } [2022-07-19T23:32:28.353Z] $ docker stop --time=1 1fcd67074b0552a7a9dc5ac59a49252b82cf46ebba0998b6c667bdcb477dcd66 [2022-07-19T23:32:29.611Z] $ docker rm -f 1fcd67074b0552a7a9dc5ac59a49252b82cf46ebba0998b6c667bdcb477dcd66 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T23:32:29.980Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-19T23:32:29.980Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:32:30.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T23:32:30.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:32:30.371Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:32:30.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-19T23:32:30.775Z] $ docker top 98cdecf9bcfbd584bfdaa9234aa27e692a49fbdd55f4ba8cdf2019b8fcde92c0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-19T23:32:30.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T23:32:30.869Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T23:32:30.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T23:32:30.997Z] $ docker exec 98cdecf9bcfbd584bfdaa9234aa27e692a49fbdd55f4ba8cdf2019b8fcde92c0 ssh-agent [2022-07-19T23:32:31.110Z] SSH_AUTH_SOCK=/tmp/ssh-G3HNAV1ilLu2/agent.32 [2022-07-19T23:32:31.110Z] SSH_AGENT_PID=38 [2022-07-19T23:32:31.115Z] Running ssh-add (command line suppressed) [2022-07-19T23:32:31.243Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2050420859303934956.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2050420859303934956.key) [2022-07-19T23:32:31.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T23:32:31.532Z] + git semver push [2022-07-19T23:32:31.793Z] 2022-07-19 23:32:31,715 [run_push] DEBUG push [2022-07-19T23:32:31.793Z] 2022-07-19 23:32:31,716 [execute] INFO git cat-file --batch-check [2022-07-19T23:32:31.793Z] 2022-07-19 23:32:31,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-19T23:32:31.793Z] 2022-07-19 23:32:31,719 [execute] INFO git rev-list 7aae0e85669c6e8b12ee2075cd503298d8f0995c -- [2022-07-19T23:32:31.793Z] 2022-07-19 23:32:31,719 [execute] DEBUG Popen(['git', 'rev-list', '7aae0e85669c6e8b12ee2075cd503298d8f0995c', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-19T23:32:31.793Z] 2022-07-19 23:32:31,724 [execute] INFO git fetch -v origin [2022-07-19T23:32:31.793Z] 2022-07-19 23:32:31,725 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-19T23:32:32.363Z] 2022-07-19 23:32:32,195 [run_push] DEBUG no remote changes detected [2022-07-19T23:32:32.363Z] 2022-07-19 23:32:32,196 [execute] INFO git push origin semver [2022-07-19T23:32:32.363Z] 2022-07-19 23:32:32,196 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-19T23:32:33.303Z] 2022-07-19 23:32:33,007 [run_push] DEBUG push all version tags [2022-07-19T23:32:33.303Z] 2022-07-19 23:32:33,008 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-19T23:32:33.303Z] 2022-07-19 23:32:33,008 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2022-07-19T23:32:33.873Z] 2022-07-19 23:32:33,658 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-07-19T23:32:33.873Z] 0.0.1-dev.28 [Pipeline] } [2022-07-19T23:32:33.891Z] $ docker exec --env ******** --env ******** 98cdecf9bcfbd584bfdaa9234aa27e692a49fbdd55f4ba8cdf2019b8fcde92c0 ssh-agent -k [2022-07-19T23:32:34.014Z] unset SSH_AUTH_SOCK; [2022-07-19T23:32:34.015Z] unset SSH_AGENT_PID; [2022-07-19T23:32:34.015Z] echo Agent pid 38 killed; [2022-07-19T23:32:34.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-19T23:32:34.320Z] + git semver [Pipeline] } [2022-07-19T23:32:34.604Z] $ docker stop --time=1 98cdecf9bcfbd584bfdaa9234aa27e692a49fbdd55f4ba8cdf2019b8fcde92c0 [2022-07-19T23:32:35.881Z] $ docker rm -f 98cdecf9bcfbd584bfdaa9234aa27e692a49fbdd55f4ba8cdf2019b8fcde92c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-19T23:32:36.399Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-07-19T23:32:36.399Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-19T23:32:36.399Z] total 16 [2022-07-19T23:32:36.399Z] drwxr-xr-x 3 root root 4096 Jul 19 23:23 . [2022-07-19T23:32:36.399Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 23:32 .. [2022-07-19T23:32:36.399Z] drwxr-xr-x 2 root root 4096 Jul 19 23:23 cost [2022-07-19T23:32:36.399Z] -rw-r--r-- 1 root root 89 Jul 19 23:23 cost.csv [2022-07-19T23:32:36.399Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-19T23:32:36.399Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-07-19T23:32:36.399Z] total 16 [2022-07-19T23:32:36.399Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 23:23 . [2022-07-19T23:32:36.399Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 23:32 .. [2022-07-19T23:32:36.399Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 23:23 cost [2022-07-19T23:32:36.399Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 19 23:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:36.691Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:37.560Z] ---> package-listing.sh [2022-07-19T23:32:37.560Z] ++ facter osfamily [2022-07-19T23:32:37.560Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-19T23:32:37.820Z] + OS_FAMILY=debian [2022-07-19T23:32:37.820Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-07-19T23:32:37.820Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-19T23:32:37.820Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-19T23:32:37.820Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-19T23:32:37.820Z] + PACKAGES=/tmp/packages_start.txt [2022-07-19T23:32:37.820Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-07-19T23:32:37.820Z] + PACKAGES=/tmp/packages_end.txt [2022-07-19T23:32:37.820Z] + case "${OS_FAMILY}" in [2022-07-19T23:32:37.820Z] + dpkg -l [2022-07-19T23:32:37.820Z] + grep '^ii' [2022-07-19T23:32:37.820Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-19T23:32:37.820Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-19T23:32:37.820Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-19T23:32:37.820Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-07-19T23:32:37.820Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-07-19T23:32:37.820Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2022-07-19T23:32:37.832Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-19T23:32:38.110Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T23:32:38.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T23:32:38.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T23:32:38.755Z] prd-ubuntu20.04-docker-8c-8g-20530 does not seem to be running inside a container [2022-07-19T23:32:38.793Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-19T23:32:38.995Z] $ docker top b36d2fbeb0ebd119373560dcc3e5f87f400ee24ee63fe92cd6c59e1c6699fb70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T23:32:39.338Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-19T23:32:39.624Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-19T23:32:39.913Z] + ls /var/log/sa-host [2022-07-19T23:32:39.913Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T23:32:40.007Z] provisioning config files... [2022-07-19T23:32:40.017Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5733476333515683799tmp [Pipeline] { [Pipeline] echo [2022-07-19T23:32:40.030Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:40.314Z] ---> create-netrc.sh [Pipeline] } [2022-07-19T23:32:40.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:40.663Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-19T23:32:40.673Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:40.957Z] ---> sudo-logs.sh [2022-07-19T23:32:40.957Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-19T23:32:40.976Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:41.255Z] ---> job-cost.sh [2022-07-19T23:32:41.255Z] lf-activate-venv: SKIPPING [2022-07-19T23:32:41.255Z] DEBUG: total: 0.2199999988079071 [2022-07-19T23:32:41.255Z] INFO: Retrieving Stack Cost... [2022-07-19T23:32:41.827Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-19T23:32:42.087Z] INFO: Archiving Costs [Pipeline] echo [2022-07-19T23:32:42.099Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T23:32:42.383Z] ---> logs-deploy.sh [2022-07-19T23:32:42.383Z] lf-activate-venv: SKIPPING [2022-07-19T23:32:42.383Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/30 [2022-07-19T23:32:42.383Z] INFO: archiving workspace using pattern(s): [2022-07-19T23:32:43.323Z] Archives upload complete. [2022-07-19T23:32:43.323Z] INFO: archiving logs to Nexus