Pull request #65 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 18118626ca0893b728531bfc2ef8f97357a298a2 rather than 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d Obtained Jenkinsfile from 18118626ca0893b728531bfc2ef8f97357a298a2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17489286489449063395.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7294535845950528998.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/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/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1142654454039348242.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11685562937566384476.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/PR-65/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/PR-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11247741525337020415.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-557 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-65 # 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 remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d Merge succeeded, producing 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 Checking out Revision 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 (PR-65) > git config core.sparsecheckout # timeout=10 > git checkout -f 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 # timeout=10 Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-01T17:10:35.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-01T17:10:35.697Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-01T17:10:35.711Z] ========================================================= [2022-06-01T17:10:35.711Z] EdgeX Global Pipelines Version Info [2022-06-01T17:10:35.711Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1bc959af3b2f4ed1c5a5dafd835fda38af882d4f # timeout=10 [2022-06-01T17:10:36.450Z] ------------------- [2022-06-01T17:10:36.450Z] stable info: [2022-06-01T17:10:36.450Z] ------------------- [2022-06-01T17:10:36.450Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T17:10:36.450Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-01T17:10:36.450Z] Message: update stable to v1.0.230 [2022-06-01T17:10:37.020Z] ------------------- [2022-06-01T17:10:37.020Z] experimental info: [2022-06-01T17:10:37.020Z] ------------------- [2022-06-01T17:10:37.020Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T17:10:37.020Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-01T17:10:37.020Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-01T17:10:37.221Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-01T17:10:37.231Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-01T17:10:37.244Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-01T17:10:37.255Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-01T17:10:37.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-01T17:10:37.278Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-01T17:10:37.289Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-01T17:10:37.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-01T17:10:37.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-01T17:10:37.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-01T17:10:37.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-01T17:10:37.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-01T17:10:37.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-01T17:10:37.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-01T17:10:37.392Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T17:10:37.404Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T17:10:37.416Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T17:10:37.427Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T17:10:37.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-01T17:10:37.451Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-01T17:10:37.462Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-01T17:10:37.472Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-01T17:10:37.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-01T17:10:37.500Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-01T17:10:37.514Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-01T17:10:37.524Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-01T17:10:37.535Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo [2022-06-01T17:10:37.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo [2022-06-01T17:10:37.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo [2022-06-01T17:10:37.576Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] echo [2022-06-01T17:10:37.596Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25dd83f [Pipeline] echo [2022-06-01T17:10:37.613Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T17:10:37.664Z] provisioning config files... [2022-06-01T17:10:37.681Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config6083678151180109293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:10:37.985Z] ---> docker-login.sh [2022-06-01T17:10:37.986Z] nexus3.edgexfoundry.org:10001 [2022-06-01T17:10:38.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:38.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:38.246Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:38.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:38.246Z] [2022-06-01T17:10:38.246Z] Login Succeeded [2022-06-01T17:10:38.246Z] nexus3.edgexfoundry.org:10002 [2022-06-01T17:10:38.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:38.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:38.507Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:38.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:38.507Z] [2022-06-01T17:10:38.507Z] Login Succeeded [2022-06-01T17:10:38.508Z] nexus3.edgexfoundry.org:10003 [2022-06-01T17:10:38.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:38.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:38.508Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:38.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:38.508Z] [2022-06-01T17:10:38.508Z] Login Succeeded [2022-06-01T17:10:38.508Z] nexus3.edgexfoundry.org:10004 [2022-06-01T17:10:38.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:38.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:38.769Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:38.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:38.769Z] [2022-06-01T17:10:38.769Z] Login Succeeded [2022-06-01T17:10:38.769Z] docker.io [2022-06-01T17:10:38.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:39.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:39.031Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:39.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:39.031Z] [2022-06-01T17:10:39.031Z] Login Succeeded [2022-06-01T17:10:39.031Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T17:10:39.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-01T17:10:39.423Z] + git rev-list -1 --merges 25dd83f2b48c0aff3804ab2ce152b73d998f45b1~1..25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] echo [2022-06-01T17:10:39.450Z] -----------> git rev-list -1 --merges 25dd83f2b48c0aff3804ab2ce152b73d998f45b1~1..25dd83f2b48c0aff3804ab2ce152b73d998f45b1 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [2022-06-01T17:10:39.450Z] 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [false] [Pipeline] sh [2022-06-01T17:10:39.745Z] + git log --format=format:%s -1 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] echo [2022-06-01T17:10:39.759Z] ========================================================= [2022-06-01T17:10:39.759Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-01T17:10:39.759Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T17:10:40.097Z] + git log --format=format:%s -1 25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] echo [2022-06-01T17:10:40.109Z] [semverPrep] GIT_COMMIT: 25dd83f2b48c0aff3804ab2ce152b73d998f45b1, Commit Message: Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD [Pipeline] echo [2022-06-01T17:10:40.117Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-01T17:10:40.483Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T17:10:40.483Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-01T17:10:40.483Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-01T17:10:40.483Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-01T17:10:40.483Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-01T17:10:40.483Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-01T17:10:40.483Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:10:40.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T17:10:40.907Z] [2022-06-01T17:10:40.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:10:41.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T17:10:41.211Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-01T17:10:41.211Z] 1fe172e4850f: Pulling fs layer [2022-06-01T17:10:41.211Z] caf521ccaac6: Pulling fs layer [2022-06-01T17:10:41.211Z] 3ead6fa29328: Pulling fs layer [2022-06-01T17:10:41.211Z] 5c2a1cbceb83: Pulling fs layer [2022-06-01T17:10:41.211Z] a8d5f1318db7: Pulling fs layer [2022-06-01T17:10:41.211Z] c427282e49a2: Pulling fs layer [2022-06-01T17:10:41.211Z] 1827001aaf11: Pulling fs layer [2022-06-01T17:10:41.211Z] 0714d37db230: Pulling fs layer [2022-06-01T17:10:41.211Z] ac28cf19c067: Pulling fs layer [2022-06-01T17:10:41.211Z] ca983d60f3e2: Pulling fs layer [2022-06-01T17:10:41.211Z] 9f894cec8388: Pulling fs layer [2022-06-01T17:10:41.211Z] c427282e49a2: Waiting [2022-06-01T17:10:41.211Z] ca983d60f3e2: Waiting [2022-06-01T17:10:41.211Z] 9f894cec8388: Waiting [2022-06-01T17:10:41.211Z] 1827001aaf11: Waiting [2022-06-01T17:10:41.211Z] 0714d37db230: Waiting [2022-06-01T17:10:41.211Z] ac28cf19c067: Waiting [2022-06-01T17:10:41.211Z] 5c2a1cbceb83: Waiting [2022-06-01T17:10:41.211Z] a8d5f1318db7: Waiting [2022-06-01T17:10:41.211Z] caf521ccaac6: Download complete [2022-06-01T17:10:41.211Z] 5c2a1cbceb83: Verifying Checksum [2022-06-01T17:10:41.211Z] 5c2a1cbceb83: Download complete [2022-06-01T17:10:41.470Z] a8d5f1318db7: Verifying Checksum [2022-06-01T17:10:41.470Z] a8d5f1318db7: Download complete [2022-06-01T17:10:41.470Z] c427282e49a2: Verifying Checksum [2022-06-01T17:10:41.470Z] 3ead6fa29328: Verifying Checksum [2022-06-01T17:10:41.470Z] 3ead6fa29328: Download complete [2022-06-01T17:10:41.470Z] 0714d37db230: Download complete [2022-06-01T17:10:41.470Z] ac28cf19c067: Download complete [2022-06-01T17:10:41.470Z] ca983d60f3e2: Verifying Checksum [2022-06-01T17:10:41.470Z] ca983d60f3e2: Download complete [2022-06-01T17:10:41.470Z] 9f894cec8388: Verifying Checksum [2022-06-01T17:10:41.470Z] 9f894cec8388: Download complete [2022-06-01T17:10:41.470Z] 1fe172e4850f: Verifying Checksum [2022-06-01T17:10:41.470Z] 1fe172e4850f: Download complete [2022-06-01T17:10:41.730Z] 1827001aaf11: Verifying Checksum [2022-06-01T17:10:41.730Z] 1827001aaf11: Download complete [2022-06-01T17:10:42.671Z] 1fe172e4850f: Pull complete [2022-06-01T17:10:42.930Z] caf521ccaac6: Pull complete [2022-06-01T17:10:43.500Z] 3ead6fa29328: Pull complete [2022-06-01T17:10:43.500Z] 5c2a1cbceb83: Pull complete [2022-06-01T17:10:43.761Z] a8d5f1318db7: Pull complete [2022-06-01T17:10:43.761Z] c427282e49a2: Pull complete [2022-06-01T17:10:45.672Z] 1827001aaf11: Pull complete [2022-06-01T17:10:45.672Z] 0714d37db230: Pull complete [2022-06-01T17:10:45.932Z] ac28cf19c067: Pull complete [2022-06-01T17:10:45.932Z] ca983d60f3e2: Pull complete [2022-06-01T17:10:45.932Z] 9f894cec8388: Pull complete [2022-06-01T17:10:45.932Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-01T17:10:45.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T17:10:45.932Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T17:10:46.299Z] prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container [2022-06-01T17:10:46.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T17:10:47.472Z] $ docker top c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T17:10:47.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T17:10:47.570Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T17:10:47.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T17:10:47.710Z] $ docker exec c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 ssh-agent [2022-06-01T17:10:47.822Z] SSH_AUTH_SOCK=/tmp/ssh-4H0B9AgqxjVU/agent.35 [2022-06-01T17:10:47.822Z] SSH_AGENT_PID=41 [2022-06-01T17:10:47.828Z] Running ssh-add (command line suppressed) [2022-06-01T17:10:47.937Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3927188840054960778.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_3927188840054960778.key) [2022-06-01T17:10:47.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T17:10:48.229Z] + git tag --points-at HEAD [Pipeline] } [2022-06-01T17:10:48.255Z] $ docker exec --env ******** --env ******** c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 ssh-agent -k [2022-06-01T17:10:48.352Z] unset SSH_AUTH_SOCK; [2022-06-01T17:10:48.352Z] unset SSH_AGENT_PID; [2022-06-01T17:10:48.352Z] echo Agent pid 41 killed; [2022-06-01T17:10:48.356Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-01T17:10:48.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T17:10:48.381Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T17:10:48.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T17:10:48.505Z] $ docker exec c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 ssh-agent [2022-06-01T17:10:48.613Z] SSH_AUTH_SOCK=/tmp/ssh-jD2eD0Jk6igg/agent.75 [2022-06-01T17:10:48.613Z] SSH_AGENT_PID=82 [2022-06-01T17:10:48.617Z] Running ssh-add (command line suppressed) [2022-06-01T17:10:48.723Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1686299753820555055.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_1686299753820555055.key) [2022-06-01T17:10:48.731Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T17:10:49.017Z] + git semver init [2022-06-01T17:10:49.279Z] 2022-06-01 17:10:49,230 [run_init] DEBUG init version:0.0.0 force:False [2022-06-01T17:10:49.279Z] 2022-06-01 17:10:49,230 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver [2022-06-01T17:10:49.279Z] 2022-06-01 17:10:49,231 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver [2022-06-01T17:10:49.279Z] 2022-06-01 17:10:49,231 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-65/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-65, universal_newlines=False, shell=None, istream=None) [2022-06-01T17:10:50.226Z] 2022-06-01 17:10:49,875 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude [2022-06-01T17:10:50.226Z] 2022-06-01 17:10:49,876 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 with force:False [2022-06-01T17:10:50.226Z] 2022-06-01 17:10:49,876 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 [2022-06-01T17:10:50.226Z] 2022-06-01 17:10:49,876 [write_version] DEBUG version is same as current version 0.0.0 [2022-06-01T17:10:50.226Z] 2022-06-01 17:10:49,876 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 [2022-06-01T17:10:50.226Z] 0.0.0 [Pipeline] } [2022-06-01T17:10:50.243Z] $ docker exec --env ******** --env ******** c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 ssh-agent -k [2022-06-01T17:10:50.354Z] unset SSH_AUTH_SOCK; [2022-06-01T17:10:50.354Z] unset SSH_AGENT_PID; [2022-06-01T17:10:50.355Z] echo Agent pid 82 killed; [2022-06-01T17:10:50.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T17:10:50.662Z] + git semver [Pipeline] } [2022-06-01T17:10:51.255Z] $ docker stop --time=1 c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 [2022-06-01T17:10:52.546Z] $ docker rm -f c61ecc56643f34c53ac5c17704f843af72720127852fbe1c232549a3d4ef1bc2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T17:10:52.882Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-01T17:10:53.111Z] Stashed 1 file(s) [Pipeline] echo [2022-06-01T17:10:53.113Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T17:10:53.205Z] provisioning config files... [2022-06-01T17:10:53.215Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config8064022194061296375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:10:53.517Z] ---> docker-login.sh [2022-06-01T17:10:53.517Z] nexus3.edgexfoundry.org:10001 [2022-06-01T17:10:53.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:53.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:53.517Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:53.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:53.517Z] [2022-06-01T17:10:53.517Z] Login Succeeded [2022-06-01T17:10:53.517Z] nexus3.edgexfoundry.org:10002 [2022-06-01T17:10:53.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:53.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:53.778Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:53.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:53.778Z] [2022-06-01T17:10:53.778Z] Login Succeeded [2022-06-01T17:10:53.778Z] nexus3.edgexfoundry.org:10003 [2022-06-01T17:10:53.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:53.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:53.778Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:53.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:53.778Z] [2022-06-01T17:10:53.778Z] Login Succeeded [2022-06-01T17:10:53.778Z] nexus3.edgexfoundry.org:10004 [2022-06-01T17:10:53.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:54.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:54.039Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:54.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:54.039Z] [2022-06-01T17:10:54.039Z] Login Succeeded [2022-06-01T17:10:54.039Z] docker.io [2022-06-01T17:10:54.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:10:54.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:10:54.301Z] Configure a credential helper to remove this warning. See [2022-06-01T17:10:54.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:10:54.301Z] [2022-06-01T17:10:54.301Z] Login Succeeded [2022-06-01T17:10:54.301Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T17:10:54.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T17:10:54.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T17:10:54.382Z] ========================================================= [2022-06-01T17:10:54.382Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-01T17:10:54.382Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:10:54.695Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-01T17:10:54.696Z] Sending build context to Docker daemon 8.773MB [2022-06-01T17:10:54.696Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T17:10:54.696Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T17:10:54.696Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-01T17:10:54.696Z] 59bf1c3509f3: Pulling fs layer [2022-06-01T17:10:54.696Z] 666ba61612fd: Pulling fs layer [2022-06-01T17:10:54.696Z] 8ed8ca486205: Pulling fs layer [2022-06-01T17:10:54.696Z] 4fe6c5a15a65: Pulling fs layer [2022-06-01T17:10:54.696Z] 22a0e8bec74d: Pulling fs layer [2022-06-01T17:10:54.696Z] ca2b28591e48: Pulling fs layer [2022-06-01T17:10:54.696Z] a51346096db8: Pulling fs layer [2022-06-01T17:10:54.696Z] daebc70d1ce1: Pulling fs layer [2022-06-01T17:10:54.696Z] 0e18a0eac166: Pulling fs layer [2022-06-01T17:10:54.696Z] a51346096db8: Waiting [2022-06-01T17:10:54.696Z] daebc70d1ce1: Waiting [2022-06-01T17:10:54.696Z] 4fe6c5a15a65: Waiting [2022-06-01T17:10:54.696Z] 22a0e8bec74d: Waiting [2022-06-01T17:10:54.696Z] ca2b28591e48: Waiting [2022-06-01T17:10:54.696Z] 0e18a0eac166: Waiting [2022-06-01T17:10:54.696Z] 8ed8ca486205: Download complete [2022-06-01T17:10:54.696Z] 666ba61612fd: Download complete [2022-06-01T17:10:54.696Z] 22a0e8bec74d: Verifying Checksum [2022-06-01T17:10:54.696Z] 22a0e8bec74d: Download complete [2022-06-01T17:10:54.957Z] ca2b28591e48: Download complete [2022-06-01T17:10:54.957Z] a51346096db8: Verifying Checksum [2022-06-01T17:10:54.957Z] a51346096db8: Download complete [2022-06-01T17:10:54.957Z] 59bf1c3509f3: Verifying Checksum [2022-06-01T17:10:54.957Z] 59bf1c3509f3: Download complete [2022-06-01T17:10:54.957Z] daebc70d1ce1: Verifying Checksum [2022-06-01T17:10:54.957Z] daebc70d1ce1: Download complete [2022-06-01T17:10:54.957Z] 59bf1c3509f3: Pull complete [2022-06-01T17:10:55.226Z] 666ba61612fd: Pull complete [2022-06-01T17:10:55.226Z] 8ed8ca486205: Pull complete [2022-06-01T17:10:55.487Z] 0e18a0eac166: Download complete [2022-06-01T17:10:55.749Z] 4fe6c5a15a65: Download complete [2022-06-01T17:10:59.039Z] 4fe6c5a15a65: Pull complete [2022-06-01T17:10:59.039Z] 22a0e8bec74d: Pull complete [2022-06-01T17:10:59.299Z] ca2b28591e48: Pull complete [2022-06-01T17:10:59.299Z] a51346096db8: Pull complete [2022-06-01T17:10:59.299Z] daebc70d1ce1: Pull complete [2022-06-01T17:11:01.834Z] 0e18a0eac166: Pull complete [2022-06-01T17:11:01.834Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-01T17:11:01.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-01T17:11:01.834Z] ---> f018257e8ee9 [2022-06-01T17:11:01.834Z] Step 3/12 : ARG MAKE="make build" [2022-06-01T17:11:02.403Z] ---> Running in 2ebcb1468002 [2022-06-01T17:11:02.403Z] Removing intermediate container 2ebcb1468002 [2022-06-01T17:11:02.403Z] ---> 3645bff52aae [2022-06-01T17:11:02.403Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T17:11:02.661Z] ---> Running in b702a07e4d4f [2022-06-01T17:11:02.661Z] Removing intermediate container b702a07e4d4f [2022-06-01T17:11:02.661Z] ---> 5445733ca7de [2022-06-01T17:11:02.661Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T17:11:02.661Z] ---> Running in 4ebc5d63efb0 [2022-06-01T17:11:02.661Z] Removing intermediate container 4ebc5d63efb0 [2022-06-01T17:11:02.661Z] ---> dceaad1cb01a [2022-06-01T17:11:02.661Z] Step 6/12 : LABEL Name=edgex-device-onvif-camera [2022-06-01T17:11:02.661Z] ---> Running in eb3f4e5586ac [2022-06-01T17:11:02.922Z] Removing intermediate container eb3f4e5586ac [2022-06-01T17:11:02.922Z] ---> e56b36bb21f0 [2022-06-01T17:11:02.922Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T17:11:02.922Z] ---> Running in 21d4c7dac20b [2022-06-01T17:11:03.493Z] Removing intermediate container 21d4c7dac20b [2022-06-01T17:11:03.493Z] ---> 0786ac6ed7e7 [2022-06-01T17:11:03.493Z] Step 8/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T17:11:03.493Z] ---> Running in 95def06b8199 [2022-06-01T17:11:03.752Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T17:11:04.695Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T17:11:04.695Z] OK: 221 MiB in 52 packages [2022-06-01T17:11:04.955Z] Removing intermediate container 95def06b8199 [2022-06-01T17:11:04.955Z] ---> ca5c0ea45c4a [2022-06-01T17:11:04.955Z] Step 9/12 : WORKDIR /device-onvif-camera [2022-06-01T17:11:05.215Z] ---> Running in e747d9a67597 [2022-06-01T17:11:05.215Z] Removing intermediate container e747d9a67597 [2022-06-01T17:11:05.215Z] ---> 2008d6c7f76f [2022-06-01T17:11:05.215Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T17:11:05.215Z] ---> Running in e671fe22cd80 [2022-06-01T17:11:05.475Z] go: cannot match "all": go.mod file not found in current directory or any parent directory; see 'go help modules' [2022-06-01T17:11:05.475Z] skipping... [2022-06-01T17:11:05.735Z] Removing intermediate container e671fe22cd80 [2022-06-01T17:11:05.735Z] ---> 1371a4625884 [2022-06-01T17:11:05.735Z] Step 11/12 : COPY . . [2022-06-01T17:11:05.994Z] ---> 77deb25fa829 [2022-06-01T17:11:05.994Z] Step 12/12 : RUN ${MAKE} [2022-06-01T17:11:05.994Z] ---> Running in 7eece5c65765 [2022-06-01T17:11:06.255Z] noop [2022-06-01T17:11:06.514Z] Removing intermediate container 7eece5c65765 [2022-06-01T17:11:06.514Z] ---> 823764d5b2d0 [2022-06-01T17:11:06.514Z] Successfully built 823764d5b2d0 [2022-06-01T17:11:06.514Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:11:06.826Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T17:11:06.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T17:11:06.904Z] prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container [2022-06-01T17:11:06.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-01T17:11:07.278Z] $ docker top ae80499b5f8549e5f8bee14cec25ee711afeb169d49336192688a6ba2c8fb227 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T17:11:07.627Z] + go version [2022-06-01T17:11:07.628Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-01T17:11:07.645Z] $ docker stop --time=1 ae80499b5f8549e5f8bee14cec25ee711afeb169d49336192688a6ba2c8fb227 [2022-06-01T17:11:08.180Z] Still waiting to schedule task [2022-06-01T17:11:08.180Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-01T17:11:08.921Z] $ docker rm -f ae80499b5f8549e5f8bee14cec25ee711afeb169d49336192688a6ba2c8fb227 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:11:09.319Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T17:11:09.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T17:11:09.393Z] prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container [2022-06-01T17:11:09.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-01T17:11:09.770Z] $ docker top a97fffcd308e45dc2aac810dd7e861b68de57a6a48e8275e5fe7d3ddbc324526 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T17:11:10.140Z] + make test [2022-06-01T17:11:10.140Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-01T17:11:10.140Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-06-01T17:11:10.140Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-06-01T17:11:10.140Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-06-01T17:11:10.140Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-06-01T17:11:12.118Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-06-01T17:11:12.118Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-01T17:11:12.118Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-01T17:11:12.118Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-01T17:11:12.118Z] go: downloading github.com/go-kit/log v0.2.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/beevik/etree v1.1.0 [2022-06-01T17:11:12.118Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-06-01T17:11:12.118Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-06-01T17:11:12.118Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-06-01T17:11:12.118Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-06-01T17:11:12.118Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-06-01T17:11:12.118Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-01T17:11:12.118Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-01T17:11:12.118Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-06-01T17:11:12.118Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-01T17:11:12.118Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-06-01T17:11:12.118Z] go: downloading golang.org/x/text v0.3.7 [2022-06-01T17:11:12.118Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-06-01T17:11:12.118Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-01T17:11:12.118Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-06-01T17:11:12.118Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-06-01T17:11:12.378Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-06-01T17:11:12.378Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-06-01T17:11:12.378Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-01T17:11:12.378Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-01T17:11:12.378Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-01T17:11:12.378Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-01T17:11:12.378Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-01T17:11:12.378Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-01T17:11:12.636Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-06-01T17:11:12.636Z] go: downloading google.golang.org/grpc v1.42.0 [2022-06-01T17:11:12.636Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-01T17:11:12.636Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-01T17:11:12.636Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-01T17:11:12.636Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-01T17:11:12.636Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-01T17:11:12.893Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-06-01T17:11:12.893Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-06-01T17:11:12.893Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-01T17:11:12.893Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-01T17:11:12.893Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-01T17:11:12.893Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-01T17:11:12.893Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-01T17:11:13.152Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-01T17:11:13.152Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-06-01T17:11:13.152Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-01T17:11:13.152Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-01T17:11:13.152Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-01T17:11:13.152Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-06-01T17:11:13.152Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-01T17:11:15.691Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-01T17:11:25.681Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-01T17:11:25.681Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.011s coverage: 0.9% of statements [2022-06-01T17:11:29.878Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.656s coverage: 13.8% of statements [2022-06-01T17:11:36.448Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T17:11:41.724Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T17:11:41.724Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T17:11:41.724Z] ./bin/test-attribution-txt.sh [2022-06-01T17:11:41.724Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo [2022-06-01T17:11:41.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-01T17:11:41.756Z] $ docker stop --time=1 a97fffcd308e45dc2aac810dd7e861b68de57a6a48e8275e5fe7d3ddbc324526 [2022-06-01T17:11:43.953Z] $ docker rm -f a97fffcd308e45dc2aac810dd7e861b68de57a6a48e8275e5fe7d3ddbc324526 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T17:11:44.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T17:11:44.681Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-01T17:11:45.178Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T17:11:45.465Z] + ls -al . [2022-06-01T17:11:45.465Z] total 228 [2022-06-01T17:11:45.465Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 17:11 . [2022-06-01T17:11:45.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:10 .. [2022-06-01T17:11:45.465Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 17:10 .git [2022-06-01T17:11:45.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 17:10 .github [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 1 17:10 .gitignore [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 1 17:10 .golangci.yml [2022-06-01T17:11:45.465Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 17:10 .semver [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 9210 Jun 1 17:10 Attribution.txt [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 1 17:10 CHANGELOG.md [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 1644 Jun 1 17:10 Dockerfile [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 17:10 GOVERNANCE.md [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 1 17:10 Jenkinsfile [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 1 17:10 LICENSE [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 1 17:10 Makefile [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 1 17:10 OWNERS.md [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 28742 Jun 1 17:10 README.md [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 17:10 VERSION [2022-06-01T17:11:45.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 17:10 bin [2022-06-01T17:11:45.465Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 17:10 cmd [2022-06-01T17:11:45.465Z] -rw-r--r-- 1 jenkins jenkins 49507 Jun 1 17:11 coverage.out [2022-06-01T17:11:45.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:10 doc [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 3576 Jun 1 17:11 go.mod [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 1 17:10 go.sum [2022-06-01T17:11:45.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:10 internal [2022-06-01T17:11:45.465Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 1 17:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:11:45.773Z] + 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=25dd83f2b48c0aff3804ab2ce152b73d998f45b1 --label arch=amd64 --label version=0.0.0 . [2022-06-01T17:11:45.774Z] Sending build context to Docker daemon 8.823MB [2022-06-01T17:11:45.774Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T17:11:45.774Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-01T17:11:45.774Z] ---> 823764d5b2d0 [2022-06-01T17:11:45.774Z] Step 3/25 : ARG MAKE="make build" [2022-06-01T17:11:45.774Z] ---> Running in 99475f4866ab [2022-06-01T17:11:46.032Z] Removing intermediate container 99475f4866ab [2022-06-01T17:11:46.032Z] ---> 5c9c450dcdfb [2022-06-01T17:11:46.032Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T17:11:46.032Z] ---> Running in 5acefb23e493 [2022-06-01T17:11:46.032Z] Removing intermediate container 5acefb23e493 [2022-06-01T17:11:46.032Z] ---> ca0d0ebde725 [2022-06-01T17:11:46.032Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T17:11:46.032Z] ---> Running in bd6f7d24a400 [2022-06-01T17:11:46.032Z] Removing intermediate container bd6f7d24a400 [2022-06-01T17:11:46.032Z] ---> 6d9c30122a0d [2022-06-01T17:11:46.032Z] Step 6/25 : LABEL Name=edgex-device-onvif-camera [2022-06-01T17:11:46.032Z] ---> Running in 10c7cbe35d8e [2022-06-01T17:11:46.292Z] Removing intermediate container 10c7cbe35d8e [2022-06-01T17:11:46.292Z] ---> 5a3eb5f08de0 [2022-06-01T17:11:46.292Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T17:11:46.292Z] ---> Running in d28362bffd05 [2022-06-01T17:11:46.861Z] Removing intermediate container d28362bffd05 [2022-06-01T17:11:46.861Z] ---> ebe621d0c611 [2022-06-01T17:11:46.861Z] Step 8/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T17:11:46.861Z] ---> Running in fc182e370180 [2022-06-01T17:11:47.122Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T17:11:48.066Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T17:11:48.333Z] OK: 221 MiB in 52 packages [2022-06-01T17:11:48.594Z] Removing intermediate container fc182e370180 [2022-06-01T17:11:48.594Z] ---> 4318a85f3f08 [2022-06-01T17:11:48.594Z] Step 9/25 : WORKDIR /device-onvif-camera [2022-06-01T17:11:48.594Z] ---> Running in e6e48e4e3e19 [2022-06-01T17:11:48.594Z] Removing intermediate container e6e48e4e3e19 [2022-06-01T17:11:48.594Z] ---> 2e692562ae75 [2022-06-01T17:11:48.594Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T17:11:48.594Z] ---> Running in 2c315c797d21 [2022-06-01T17:12:03.489Z] Removing intermediate container 2c315c797d21 [2022-06-01T17:12:03.489Z] ---> 927f365e3284 [2022-06-01T17:12:03.489Z] Step 11/25 : COPY . . [2022-06-01T17:12:03.489Z] ---> 3aee0f2e6f8c [2022-06-01T17:12:03.489Z] Step 12/25 : RUN ${MAKE} [2022-06-01T17:12:03.489Z] ---> Running in 0c7529acc82b [2022-06-01T17:12:03.489Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-01T17:12:25.425Z] Removing intermediate container 0c7529acc82b [2022-06-01T17:12:25.425Z] ---> 9bb9bf6ea341 [2022-06-01T17:12:25.425Z] Step 13/25 : FROM alpine:3.15 [2022-06-01T17:12:25.425Z] 3.15: Pulling from library/alpine [2022-06-01T17:12:25.425Z] df9b9388f04a: Pulling fs layer [2022-06-01T17:12:25.425Z] df9b9388f04a: Verifying Checksum [2022-06-01T17:12:25.425Z] df9b9388f04a: Download complete [2022-06-01T17:12:25.425Z] df9b9388f04a: Pull complete [2022-06-01T17:12:25.425Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-01T17:12:25.425Z] Status: Downloaded newer image for alpine:3.15 [2022-06-01T17:12:25.425Z] ---> 0ac33e5f5afa [2022-06-01T17:12:25.425Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-01T17:12:25.425Z] ---> Running in 0f15e3219b85 [2022-06-01T17:12:25.425Z] Removing intermediate container 0f15e3219b85 [2022-06-01T17:12:25.425Z] ---> bef4bd878ded [2022-06-01T17:12:25.425Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T17:12:25.425Z] ---> Running in 8c166f9074fc [2022-06-01T17:12:25.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T17:12:25.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T17:12:25.425Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T17:12:25.425Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-01T17:12:25.425Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T17:12:25.425Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-01T17:12:25.425Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T17:12:25.425Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T17:12:25.425Z] Executing busybox-1.34.1-r5.trigger [2022-06-01T17:12:25.425Z] OK: 8 MiB in 20 packages [2022-06-01T17:12:25.425Z] Removing intermediate container 8c166f9074fc [2022-06-01T17:12:25.425Z] ---> 2b6c7d125b06 [2022-06-01T17:12:25.425Z] Step 16/25 : WORKDIR / [2022-06-01T17:12:25.425Z] ---> Running in bda3405e6949 [2022-06-01T17:12:25.425Z] Removing intermediate container bda3405e6949 [2022-06-01T17:12:25.425Z] ---> e5db9717b34f [2022-06-01T17:12:25.425Z] Step 17/25 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-01T17:12:25.425Z] ---> aa2e385216da [2022-06-01T17:12:25.425Z] Step 18/25 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-01T17:12:25.425Z] ---> ccb78606863a [2022-06-01T17:12:25.425Z] Step 19/25 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-01T17:12:25.425Z] ---> a7d5c0c3668c [2022-06-01T17:12:25.425Z] Step 20/25 : EXPOSE 59984 [2022-06-01T17:12:25.425Z] ---> Running in d5b80164acaa [2022-06-01T17:12:25.425Z] Removing intermediate container d5b80164acaa [2022-06-01T17:12:25.425Z] ---> d784e49a18cc [2022-06-01T17:12:25.425Z] Step 21/25 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-01T17:12:25.425Z] ---> Running in fbff36ca7a83 [2022-06-01T17:12:25.425Z] Removing intermediate container fbff36ca7a83 [2022-06-01T17:12:25.425Z] ---> be254ceee8c2 [2022-06-01T17:12:25.425Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-01T17:12:25.425Z] ---> Running in b5c01effa953 [2022-06-01T17:12:25.425Z] Removing intermediate container b5c01effa953 [2022-06-01T17:12:25.425Z] ---> 2222de70cb15 [2022-06-01T17:12:25.425Z] Step 23/25 : LABEL arch=amd64 [2022-06-01T17:12:25.425Z] ---> Running in b6f0babba55b [2022-06-01T17:12:25.425Z] Removing intermediate container b6f0babba55b [2022-06-01T17:12:25.425Z] ---> 2febc7d99afc [2022-06-01T17:12:25.425Z] Step 24/25 : LABEL git_sha=25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [2022-06-01T17:12:25.425Z] ---> Running in a28a530cceea [2022-06-01T17:12:25.425Z] Removing intermediate container a28a530cceea [2022-06-01T17:12:25.425Z] ---> 42eebeb058aa [2022-06-01T17:12:25.425Z] Step 25/25 : LABEL version=0.0.0 [2022-06-01T17:12:25.425Z] ---> Running in cb2b0de48a57 [2022-06-01T17:12:25.425Z] Removing intermediate container cb2b0de48a57 [2022-06-01T17:12:25.425Z] ---> 1745a98c8ff8 [2022-06-01T17:12:25.425Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T17:12:25.683Z] Successfully built 1745a98c8ff8 [2022-06-01T17:12:25.683Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:12:26.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T17:12:26.097Z] [2022-06-01T17:12:26.097Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:12:26.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T17:12:26.397Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-01T17:12:26.397Z] 5eb5b503b376: Pulling fs layer [2022-06-01T17:12:26.397Z] 5c69ac0246d0: Pulling fs layer [2022-06-01T17:12:26.397Z] ec43610c2a17: Pulling fs layer [2022-06-01T17:12:26.397Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-01T17:12:26.397Z] 33b1e0a273af: Pulling fs layer [2022-06-01T17:12:26.397Z] 5d3b04190fa2: Pulling fs layer [2022-06-01T17:12:26.397Z] 2f39f015ded8: Pulling fs layer [2022-06-01T17:12:26.397Z] 33b1e0a273af: Waiting [2022-06-01T17:12:26.397Z] 5d3b04190fa2: Waiting [2022-06-01T17:12:26.397Z] 3a2ae6a8a46f: Waiting [2022-06-01T17:12:26.397Z] 2f39f015ded8: Waiting [2022-06-01T17:12:26.397Z] 5c69ac0246d0: Verifying Checksum [2022-06-01T17:12:26.397Z] 5c69ac0246d0: Download complete [2022-06-01T17:12:26.397Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-01T17:12:26.397Z] 3a2ae6a8a46f: Download complete [2022-06-01T17:12:26.397Z] 33b1e0a273af: Verifying Checksum [2022-06-01T17:12:26.397Z] 33b1e0a273af: Download complete [2022-06-01T17:12:26.397Z] 5d3b04190fa2: Verifying Checksum [2022-06-01T17:12:26.397Z] 5d3b04190fa2: Download complete [2022-06-01T17:12:26.397Z] ec43610c2a17: Download complete [2022-06-01T17:12:26.659Z] 5eb5b503b376: Verifying Checksum [2022-06-01T17:12:26.659Z] 5eb5b503b376: Download complete [2022-06-01T17:12:27.226Z] 2f39f015ded8: Download complete [2022-06-01T17:12:27.794Z] 5eb5b503b376: Pull complete [2022-06-01T17:12:28.055Z] 5c69ac0246d0: Pull complete [2022-06-01T17:12:28.627Z] ec43610c2a17: Pull complete [2022-06-01T17:12:28.627Z] 3a2ae6a8a46f: Pull complete [2022-06-01T17:12:28.887Z] 33b1e0a273af: Pull complete [2022-06-01T17:12:28.887Z] 5d3b04190fa2: Pull complete [2022-06-01T17:12:33.080Z] 2f39f015ded8: Pull complete [2022-06-01T17:12:33.080Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-01T17:12:33.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T17:12:33.080Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T17:12:33.180Z] prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container [2022-06-01T17:12:33.221Z] $ 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/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T17:12:35.495Z] $ docker top a56db6c80a29c0283267bc423718a1f52f1e6df74690fedd0148f9a089fcde68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:12:35.895Z] ---> job-cost.sh [2022-06-01T17:12:35.896Z] lf-activate-venv: SKIPPING [2022-06-01T17:12:35.896Z] INFO: No Stack... [2022-06-01T17:12:36.160Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T17:12:36.734Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T17:12:37.028Z] + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv [2022-06-01T17:12:37.028Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T17:12:37.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [2022-06-01T17:12:37.051Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] did not exist. Created. [2022-06-01T17:12:37.051Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T17:12:37.357Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-01T17:12:37.389Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T17:12:37.396Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T17:12:37.420Z] $ docker stop --time=1 a56db6c80a29c0283267bc423718a1f52f1e6df74690fedd0148f9a089fcde68 [2022-06-01T17:12:38.580Z] $ docker rm -f a56db6c80a29c0283267bc423718a1f52f1e6df74690fedd0148f9a089fcde68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T17:12:46.069Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-559 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws [2022-06-01T17:12:46.082Z] Running in /w/workspace/device-onvif-camera/15 [Pipeline] { [Pipeline] checkout [2022-06-01T17:12:46.124Z] Selected Git installation does not exist. Using Default [2022-06-01T17:12:46.124Z] The recommended git tool is: NONE [2022-06-01T17:12:52.596Z] using credential edgex-jenkins-ssh [2022-06-01T17:12:52.617Z] Cloning the remote Git repository [2022-06-01T17:12:52.680Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-01T17:12:52.758Z] > git init /w/workspace/device-onvif-camera/15 # timeout=10 [2022-06-01T17:12:52.841Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-01T17:12:52.842Z] > git --version # timeout=10 [2022-06-01T17:12:52.865Z] > git --version # 'git version 2.25.1' [2022-06-01T17:12:52.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T17:12:52.934Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T17:12:53.659Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-01T17:12:53.730Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T17:12:53.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-01T17:12:53.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-01T17:12:53.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T17:12:53.853Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-01T17:12:54.421Z] Merging remotes/origin/main commit 18118626ca0893b728531bfc2ef8f97357a298a2 into PR head commit 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d [2022-06-01T17:12:54.846Z] Merge succeeded, producing 98190250be04db0b004c72245e1b668a46d461ce [2022-06-01T17:12:54.847Z] Checking out Revision 98190250be04db0b004c72245e1b668a46d461ce (PR-65) [2022-06-01T17:12:54.445Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T17:12:54.475Z] > git checkout -f 51a331000b1d0a8c886d6590c4e9edbbc7b7b55d # timeout=10 [2022-06-01T17:12:54.611Z] > git remote # timeout=10 [2022-06-01T17:12:54.632Z] > git config --get remote.origin.url # timeout=10 [2022-06-01T17:12:54.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T17:12:54.655Z] > git merge 18118626ca0893b728531bfc2ef8f97357a298a2 # timeout=10 [2022-06-01T17:12:54.824Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-01T17:12:54.857Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T17:12:54.872Z] > git checkout -f 98190250be04db0b004c72245e1b668a46d461ce # timeout=10 [2022-06-01T17:12:59.061Z] Commit message: "Merge commit '18118626ca0893b728531bfc2ef8f97357a298a2' into HEAD" [2022-06-01T17:12:59.086Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T17:12:59.074Z] > git rev-list --no-walk 1bc959af3b2f4ed1c5a5dafd835fda38af882d4f # timeout=10 [2022-06-01T17:12:59.963Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-01T17:12:59.963Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T17:12:59.963Z] Dload Upload Total Spent Left Speed [2022-06-01T17:13:00.240Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 39912 0 --:--:-- --:--:-- --:--:-- 39912 [Pipeline] sh [2022-06-01T17:13:00.963Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-01T17:13:01.344Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-01T17:13:01.344Z] + sudo tee /etc/docker/daemon.new [2022-06-01T17:13:01.344Z] { [2022-06-01T17:13:01.344Z] "registry-mirrors": [ [2022-06-01T17:13:01.344Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-01T17:13:01.344Z] ], [2022-06-01T17:13:01.344Z] "bip": "10.250.0.254/24", [2022-06-01T17:13:01.344Z] "hosts": [ [2022-06-01T17:13:01.344Z] "tcp://0.0.0.0:5555", [2022-06-01T17:13:01.344Z] "unix:///var/run/docker.sock" [2022-06-01T17:13:01.344Z] ], [2022-06-01T17:13:01.344Z] "mtu": 1458, [2022-06-01T17:13:01.344Z] "selinux-enabled": true, [2022-06-01T17:13:01.344Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-01T17:13:01.344Z] } [Pipeline] sh [2022-06-01T17:13:01.685Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-01T17:13:02.022Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T17:13:20.386Z] provisioning config files... [2022-06-01T17:13:20.413Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/15@tmp/config8503660668868647687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:13:20.774Z] ---> docker-login.sh [2022-06-01T17:13:20.774Z] nexus3.edgexfoundry.org:10001 [2022-06-01T17:13:21.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:13:21.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:13:21.649Z] Configure a credential helper to remove this warning. See [2022-06-01T17:13:21.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:13:21.649Z] [2022-06-01T17:13:21.649Z] Login Succeeded [2022-06-01T17:13:21.649Z] nexus3.edgexfoundry.org:10002 [2022-06-01T17:13:21.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:13:22.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:13:22.198Z] Configure a credential helper to remove this warning. See [2022-06-01T17:13:22.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:13:22.198Z] [2022-06-01T17:13:22.198Z] Login Succeeded [2022-06-01T17:13:22.198Z] nexus3.edgexfoundry.org:10003 [2022-06-01T17:13:22.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:13:22.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:13:22.478Z] Configure a credential helper to remove this warning. See [2022-06-01T17:13:22.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:13:22.478Z] [2022-06-01T17:13:22.478Z] Login Succeeded [2022-06-01T17:13:22.478Z] nexus3.edgexfoundry.org:10004 [2022-06-01T17:13:23.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:13:23.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:13:23.073Z] Configure a credential helper to remove this warning. See [2022-06-01T17:13:23.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:13:23.073Z] [2022-06-01T17:13:23.073Z] Login Succeeded [2022-06-01T17:13:23.073Z] docker.io [2022-06-01T17:13:23.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T17:13:23.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T17:13:23.941Z] Configure a credential helper to remove this warning. See [2022-06-01T17:13:23.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T17:13:23.941Z] [2022-06-01T17:13:23.941Z] Login Succeeded [2022-06-01T17:13:23.941Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T17:13:23.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T17:13:24.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T17:13:24.582Z] ========================================================= [2022-06-01T17:13:24.582Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-01T17:13:24.582Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:13:25.187Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-01T17:13:25.477Z] Sending build context to Docker daemon 6.062MB [2022-06-01T17:13:25.477Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T17:13:25.477Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T17:13:25.754Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-01T17:13:25.754Z] 9b3977197b4f: Pulling fs layer [2022-06-01T17:13:25.754Z] 1a89e8eeedd5: Pulling fs layer [2022-06-01T17:13:25.754Z] 94645a83ff95: Pulling fs layer [2022-06-01T17:13:25.754Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-01T17:13:25.754Z] 0c92f367c5e7: Pulling fs layer [2022-06-01T17:13:25.754Z] 3096ccb668a1: Pulling fs layer [2022-06-01T17:13:25.754Z] e8cf19c19ddd: Pulling fs layer [2022-06-01T17:13:25.754Z] a4caa8a26152: Pulling fs layer [2022-06-01T17:13:25.754Z] 3f3a8bcf1eab: Waiting [2022-06-01T17:13:25.754Z] 0c92f367c5e7: Waiting [2022-06-01T17:13:25.754Z] 3096ccb668a1: Waiting [2022-06-01T17:13:25.754Z] e8cf19c19ddd: Waiting [2022-06-01T17:13:25.754Z] a4caa8a26152: Waiting [2022-06-01T17:13:25.754Z] 94645a83ff95: Download complete [2022-06-01T17:13:25.754Z] 1a89e8eeedd5: Verifying Checksum [2022-06-01T17:13:25.754Z] 1a89e8eeedd5: Download complete [2022-06-01T17:13:25.754Z] 0c92f367c5e7: Verifying Checksum [2022-06-01T17:13:25.754Z] 0c92f367c5e7: Download complete [2022-06-01T17:13:25.754Z] 3096ccb668a1: Verifying Checksum [2022-06-01T17:13:25.754Z] 3096ccb668a1: Download complete [2022-06-01T17:13:25.754Z] 9b3977197b4f: Verifying Checksum [2022-06-01T17:13:25.754Z] 9b3977197b4f: Download complete [2022-06-01T17:13:26.036Z] e8cf19c19ddd: Verifying Checksum [2022-06-01T17:13:26.036Z] e8cf19c19ddd: Download complete [2022-06-01T17:13:26.648Z] 9b3977197b4f: Pull complete [2022-06-01T17:13:27.247Z] 1a89e8eeedd5: Pull complete [2022-06-01T17:13:27.526Z] 94645a83ff95: Pull complete [2022-06-01T17:13:28.130Z] a4caa8a26152: Verifying Checksum [2022-06-01T17:13:28.130Z] a4caa8a26152: Download complete [2022-06-01T17:13:28.404Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-01T17:13:28.404Z] 3f3a8bcf1eab: Download complete [2022-06-01T17:13:40.816Z] 3f3a8bcf1eab: Pull complete [2022-06-01T17:13:41.091Z] 0c92f367c5e7: Pull complete [2022-06-01T17:13:41.368Z] 3096ccb668a1: Pull complete [2022-06-01T17:13:41.643Z] e8cf19c19ddd: Pull complete [2022-06-01T17:13:48.395Z] a4caa8a26152: Pull complete [2022-06-01T17:13:48.395Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-01T17:13:48.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-01T17:13:48.395Z] ---> 725f1c02e7f9 [2022-06-01T17:13:48.395Z] Step 3/12 : ARG MAKE="make build" [2022-06-01T17:13:49.392Z] ---> Running in faa893e4f219 [2022-06-01T17:13:49.666Z] Removing intermediate container faa893e4f219 [2022-06-01T17:13:49.666Z] ---> 93e5d3595751 [2022-06-01T17:13:49.666Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T17:13:49.666Z] ---> Running in 5a16b3be5d23 [2022-06-01T17:13:49.941Z] Removing intermediate container 5a16b3be5d23 [2022-06-01T17:13:49.941Z] ---> 04c22a932a04 [2022-06-01T17:13:49.941Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T17:13:49.941Z] ---> Running in 137206c81016 [2022-06-01T17:13:50.224Z] Removing intermediate container 137206c81016 [2022-06-01T17:13:50.224Z] ---> efd0e47c39a3 [2022-06-01T17:13:50.224Z] Step 6/12 : LABEL Name=edgex-device-onvif-camera [2022-06-01T17:13:50.224Z] ---> Running in 0edc85225cbe [2022-06-01T17:13:50.831Z] Removing intermediate container 0edc85225cbe [2022-06-01T17:13:50.831Z] ---> 0ee0a56f9033 [2022-06-01T17:13:50.831Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T17:13:50.831Z] ---> Running in fb7afcea5515 [2022-06-01T17:13:54.236Z] Removing intermediate container fb7afcea5515 [2022-06-01T17:13:54.236Z] ---> 50c149d9899f [2022-06-01T17:13:54.236Z] Step 8/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T17:13:54.236Z] ---> Running in 355a94d91843 [2022-06-01T17:13:55.220Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T17:13:55.816Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T17:13:56.801Z] OK: 220 MiB in 52 packages [2022-06-01T17:13:57.785Z] Removing intermediate container 355a94d91843 [2022-06-01T17:13:57.785Z] ---> c7a08f40bda8 [2022-06-01T17:13:57.785Z] Step 9/12 : WORKDIR /device-onvif-camera [2022-06-01T17:13:57.785Z] ---> Running in 84afd1192daf [2022-06-01T17:13:58.059Z] Removing intermediate container 84afd1192daf [2022-06-01T17:13:58.059Z] ---> 671c8d6f3f8e [2022-06-01T17:13:58.059Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T17:13:58.059Z] ---> Running in ec7ec0fff24f [2022-06-01T17:13:59.052Z] go: cannot match "all": go.mod file not found in current directory or any parent directory; see 'go help modules' [2022-06-01T17:13:59.052Z] skipping... [2022-06-01T17:13:59.658Z] Removing intermediate container ec7ec0fff24f [2022-06-01T17:13:59.658Z] ---> 7bc881a68d58 [2022-06-01T17:13:59.658Z] Step 11/12 : COPY . . [2022-06-01T17:14:00.656Z] ---> 70064c0972d9 [2022-06-01T17:14:00.656Z] Step 12/12 : RUN ${MAKE} [2022-06-01T17:14:00.656Z] ---> Running in 404e9866ca86 [2022-06-01T17:14:01.657Z] noop [2022-06-01T17:14:02.255Z] Removing intermediate container 404e9866ca86 [2022-06-01T17:14:02.255Z] ---> b816d9215ce2 [2022-06-01T17:14:02.255Z] Successfully built b816d9215ce2 [2022-06-01T17:14:02.255Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:14:02.623Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T17:14:02.623Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T17:14:02.882Z] prd-ubuntu20.04-docker-arm64-4c-16g-559 does not seem to be running inside a container [2022-06-01T17:14:02.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-01T17:14:04.301Z] $ docker top fcda93b4b29363528741e80df3f15e012719cc1b45a1f4756dcb2ed28fe5d430 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T17:14:05.216Z] + go version [2022-06-01T17:14:05.216Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-01T17:14:05.253Z] $ docker stop --time=1 fcda93b4b29363528741e80df3f15e012719cc1b45a1f4756dcb2ed28fe5d430 [2022-06-01T17:14:06.876Z] $ docker rm -f fcda93b4b29363528741e80df3f15e012719cc1b45a1f4756dcb2ed28fe5d430 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:14:07.479Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T17:14:07.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T17:14:07.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-559 does not seem to be running inside a container [2022-06-01T17:14:07.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-01T17:14:09.156Z] $ docker top 9c2b488fefb9c68f1f4bf41c013527febd8f12e99ebd0d04224a0a90d359ca5d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T17:14:10.106Z] + make test [2022-06-01T17:14:10.106Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-01T17:14:10.106Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 [2022-06-01T17:14:10.106Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-06-01T17:14:10.384Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-06-01T17:14:10.384Z] go: downloading github.com/IOTechSystems/onvif v0.1.1 [2022-06-01T17:14:10.983Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-06-01T17:14:10.983Z] go: downloading github.com/gofrs/uuid v3.2.0+incompatible [2022-06-01T17:14:10.983Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-01T17:14:10.983Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-01T17:14:10.983Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-01T17:14:10.983Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-01T17:14:10.983Z] go: downloading github.com/go-kit/log v0.2.0 [2022-06-01T17:14:11.262Z] go: downloading github.com/clbanning/mxj/v2 v2.3.2 [2022-06-01T17:14:11.262Z] go: downloading github.com/beevik/etree v1.1.0 [2022-06-01T17:14:11.262Z] go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae [2022-06-01T17:14:11.262Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-06-01T17:14:11.262Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-06-01T17:14:11.262Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-01T17:14:11.262Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-06-01T17:14:11.262Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-06-01T17:14:11.545Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-06-01T17:14:11.545Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-06-01T17:14:11.545Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-01T17:14:11.545Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-06-01T17:14:11.545Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-01T17:14:11.545Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-06-01T17:14:11.821Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-06-01T17:14:11.821Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-06-01T17:14:11.821Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-06-01T17:14:11.821Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-01T17:14:12.107Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-01T17:14:12.107Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-01T17:14:12.107Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-06-01T17:14:12.107Z] go: downloading golang.org/x/text v0.3.7 [2022-06-01T17:14:12.387Z] go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 [2022-06-01T17:14:12.387Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-01T17:14:12.670Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-01T17:14:12.671Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-06-01T17:14:12.671Z] go: downloading google.golang.org/grpc v1.42.0 [2022-06-01T17:14:13.658Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-06-01T17:14:13.658Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-01T17:14:13.658Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-01T17:14:13.658Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-01T17:14:13.935Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-01T17:14:13.935Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-06-01T17:14:13.935Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-06-01T17:14:13.935Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-06-01T17:14:15.392Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-01T17:14:15.392Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-01T17:14:15.392Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-01T17:14:15.392Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-01T17:14:15.392Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-01T17:14:15.392Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-06-01T17:14:15.671Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-01T17:14:15.949Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-01T17:14:15.949Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-01T17:14:15.949Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-01T17:14:15.949Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-01T17:14:15.949Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-01T17:14:15.949Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-06-01T17:14:16.225Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-01T17:14:16.225Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-01T17:14:16.225Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-01T17:14:16.225Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-01T17:14:22.942Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-01T17:15:59.821Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-01T17:15:59.821Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.076s coverage: 0.9% of statements [2022-06-01T17:16:14.934Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.200s coverage: 13.8% of statements [2022-06-01T17:16:14.934Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-01T17:16:14.934Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T17:16:41.743Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T17:16:41.743Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T17:16:41.743Z] ./bin/test-attribution-txt.sh [2022-06-01T17:16:41.743Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo [2022-06-01T17:16:45.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-01T17:16:45.177Z] $ docker stop --time=1 9c2b488fefb9c68f1f4bf41c013527febd8f12e99ebd0d04224a0a90d359ca5d [2022-06-01T17:16:47.088Z] $ docker rm -f 9c2b488fefb9c68f1f4bf41c013527febd8f12e99ebd0d04224a0a90d359ca5d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T17:16:49.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T17:16:49.897Z] Warning: overwriting stash ‘coverage-report’ [2022-06-01T17:16:50.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T17:16:50.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T17:16:51.167Z] + ls -al . [2022-06-01T17:16:51.167Z] total 224 [2022-06-01T17:16:51.167Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 17:16 . [2022-06-01T17:16:51.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:12 .. [2022-06-01T17:16:51.167Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 17:12 .git [2022-06-01T17:16:51.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 17:12 .github [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 1 17:12 .gitignore [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 1 17:12 .golangci.yml [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 9210 Jun 1 17:12 Attribution.txt [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 1 17:12 CHANGELOG.md [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 1644 Jun 1 17:12 Dockerfile [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 17:12 GOVERNANCE.md [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 1 17:12 Jenkinsfile [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 1 17:12 LICENSE [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 1 17:12 Makefile [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 1 17:12 OWNERS.md [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 28742 Jun 1 17:12 README.md [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 17:10 VERSION [2022-06-01T17:16:51.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 17:12 bin [2022-06-01T17:16:51.167Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 17:12 cmd [2022-06-01T17:16:51.167Z] -rw-r--r-- 1 jenkins jenkins 49507 Jun 1 17:16 coverage.out [2022-06-01T17:16:51.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:12 doc [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 3576 Jun 1 17:16 go.mod [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 1 17:12 go.sum [2022-06-01T17:16:51.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 17:12 internal [2022-06-01T17:16:51.167Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 1 17:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:16:51.527Z] + 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=98190250be04db0b004c72245e1b668a46d461ce --label arch=arm64 --label version=0.0.0 . [2022-06-01T17:16:51.801Z] Sending build context to Docker daemon 6.112MB [2022-06-01T17:16:52.073Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T17:16:52.073Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-01T17:16:52.073Z] ---> b816d9215ce2 [2022-06-01T17:16:52.073Z] Step 3/25 : ARG MAKE="make build" [2022-06-01T17:16:52.073Z] ---> Running in 123415f9d5f7 [2022-06-01T17:16:52.351Z] Removing intermediate container 123415f9d5f7 [2022-06-01T17:16:52.351Z] ---> 31b84481ef72 [2022-06-01T17:16:52.351Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T17:16:52.625Z] ---> Running in 094a022e9c27 [2022-06-01T17:16:52.901Z] Removing intermediate container 094a022e9c27 [2022-06-01T17:16:52.901Z] ---> c31143ec2b5c [2022-06-01T17:16:52.901Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T17:16:52.902Z] ---> Running in 12b40913813a [2022-06-01T17:16:53.178Z] Removing intermediate container 12b40913813a [2022-06-01T17:16:53.178Z] ---> 3abc5daf85ba [2022-06-01T17:16:53.178Z] Step 6/25 : LABEL Name=edgex-device-onvif-camera [2022-06-01T17:16:53.453Z] ---> Running in c50ae4dbb699 [2022-06-01T17:16:53.729Z] Removing intermediate container c50ae4dbb699 [2022-06-01T17:16:53.729Z] ---> 1b844d9e2fca [2022-06-01T17:16:53.729Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T17:16:53.729Z] ---> Running in 07f45c8c8faf [2022-06-01T17:16:55.725Z] Removing intermediate container 07f45c8c8faf [2022-06-01T17:16:55.725Z] ---> 7621af727fe2 [2022-06-01T17:16:55.725Z] Step 8/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T17:16:55.725Z] ---> Running in c5ed4f1cfa47 [2022-06-01T17:16:56.705Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T17:16:57.691Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T17:16:58.292Z] OK: 220 MiB in 52 packages [2022-06-01T17:16:59.278Z] Removing intermediate container c5ed4f1cfa47 [2022-06-01T17:16:59.278Z] ---> 3928d038bcc8 [2022-06-01T17:16:59.278Z] Step 9/25 : WORKDIR /device-onvif-camera [2022-06-01T17:16:59.278Z] ---> Running in 0f17146af4ad [2022-06-01T17:16:59.552Z] Removing intermediate container 0f17146af4ad [2022-06-01T17:16:59.552Z] ---> d3df1d43e846 [2022-06-01T17:16:59.552Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T17:16:59.833Z] ---> Running in 6b04a9411a3d [2022-06-01T17:17:46.850Z] Removing intermediate container 6b04a9411a3d [2022-06-01T17:17:46.850Z] ---> a65ee20c1a3c [2022-06-01T17:17:46.850Z] Step 11/25 : COPY . . [2022-06-01T17:17:48.287Z] ---> 7a22ed2503d9 [2022-06-01T17:17:48.287Z] Step 12/25 : RUN ${MAKE} [2022-06-01T17:17:48.287Z] ---> Running in 3578b3af0724 [2022-06-01T17:17:49.277Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-01T17:19:56.143Z] Removing intermediate container 3578b3af0724 [2022-06-01T17:19:56.143Z] ---> 544303393cd3 [2022-06-01T17:19:56.143Z] Step 13/25 : FROM alpine:3.15 [2022-06-01T17:19:56.143Z] 3.15: Pulling from library/alpine [2022-06-01T17:19:56.143Z] 9981e73032c8: Pulling fs layer [2022-06-01T17:19:56.143Z] 9981e73032c8: Verifying Checksum [2022-06-01T17:19:56.143Z] 9981e73032c8: Download complete [2022-06-01T17:19:56.143Z] 9981e73032c8: Pull complete [2022-06-01T17:19:56.143Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-01T17:19:56.143Z] Status: Downloaded newer image for alpine:3.15 [2022-06-01T17:19:56.143Z] ---> 3fb3c9af89a9 [2022-06-01T17:19:56.143Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-01T17:19:56.143Z] ---> Running in af374423560d [2022-06-01T17:19:56.143Z] Removing intermediate container af374423560d [2022-06-01T17:19:56.143Z] ---> 3a079bcef124 [2022-06-01T17:19:56.143Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T17:19:56.143Z] ---> Running in ebece40b1b67 [2022-06-01T17:19:56.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T17:19:56.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T17:19:56.143Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T17:19:56.143Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-01T17:19:56.143Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T17:19:56.143Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-01T17:19:56.143Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T17:19:56.143Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T17:19:56.143Z] Executing busybox-1.34.1-r5.trigger [2022-06-01T17:19:56.143Z] OK: 8 MiB in 20 packages [2022-06-01T17:19:56.416Z] Removing intermediate container ebece40b1b67 [2022-06-01T17:19:56.416Z] ---> 7401052bb395 [2022-06-01T17:19:56.416Z] Step 16/25 : WORKDIR / [2022-06-01T17:19:56.416Z] ---> Running in 0a044cdcd3c2 [2022-06-01T17:19:56.689Z] Removing intermediate container 0a044cdcd3c2 [2022-06-01T17:19:56.689Z] ---> d5b725c8e4ca [2022-06-01T17:19:56.689Z] Step 17/25 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-01T17:19:58.127Z] ---> 0eb3e3f2cbae [2022-06-01T17:19:58.127Z] Step 18/25 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-01T17:19:58.726Z] ---> 5c2e6ecf2e16 [2022-06-01T17:19:58.726Z] Step 19/25 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-01T17:19:59.326Z] ---> 53eb4d1fa85b [2022-06-01T17:19:59.326Z] Step 20/25 : EXPOSE 59984 [2022-06-01T17:19:59.326Z] ---> Running in bfeb261eb115 [2022-06-01T17:19:59.603Z] Removing intermediate container bfeb261eb115 [2022-06-01T17:19:59.603Z] ---> d7f3d784dcc2 [2022-06-01T17:19:59.603Z] Step 21/25 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-01T17:19:59.875Z] ---> Running in 209f74e1110d [2022-06-01T17:20:00.148Z] Removing intermediate container 209f74e1110d [2022-06-01T17:20:00.148Z] ---> 889e53cf4a60 [2022-06-01T17:20:00.148Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-01T17:20:00.148Z] ---> Running in 1fc20b477ac7 [2022-06-01T17:20:00.425Z] Removing intermediate container 1fc20b477ac7 [2022-06-01T17:20:00.425Z] ---> 364f008401bd [2022-06-01T17:20:00.425Z] Step 23/25 : LABEL arch=arm64 [2022-06-01T17:20:00.425Z] ---> Running in 88155037a405 [2022-06-01T17:20:00.699Z] Removing intermediate container 88155037a405 [2022-06-01T17:20:00.699Z] ---> 1bd4a0978313 [2022-06-01T17:20:00.699Z] Step 24/25 : LABEL git_sha=98190250be04db0b004c72245e1b668a46d461ce [2022-06-01T17:20:00.975Z] ---> Running in 023d6a7a0d15 [2022-06-01T17:20:01.250Z] Removing intermediate container 023d6a7a0d15 [2022-06-01T17:20:01.250Z] ---> 0ba040c60c86 [2022-06-01T17:20:01.250Z] Step 25/25 : LABEL version=0.0.0 [2022-06-01T17:20:01.250Z] ---> Running in 49214b7d2527 [2022-06-01T17:20:01.523Z] Removing intermediate container 49214b7d2527 [2022-06-01T17:20:01.523Z] ---> a1817473bfd5 [2022-06-01T17:20:01.523Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T17:20:01.523Z] Successfully built a1817473bfd5 [2022-06-01T17:20:01.523Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:20:01.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T17:20:01.966Z] [2022-06-01T17:20:01.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:20:02.314Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T17:20:02.595Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-01T17:20:02.595Z] 8998bd30e6a1: Pulling fs layer [2022-06-01T17:20:02.595Z] 04944245beec: Pulling fs layer [2022-06-01T17:20:02.595Z] 699f458cf7ca: Pulling fs layer [2022-06-01T17:20:02.595Z] 765212b225bb: Pulling fs layer [2022-06-01T17:20:02.595Z] f23df028b6ca: Pulling fs layer [2022-06-01T17:20:02.595Z] d65c8cfc05b1: Pulling fs layer [2022-06-01T17:20:02.595Z] 2437ff75d9bd: Pulling fs layer [2022-06-01T17:20:02.595Z] f23df028b6ca: Waiting [2022-06-01T17:20:02.595Z] d65c8cfc05b1: Waiting [2022-06-01T17:20:02.595Z] 765212b225bb: Waiting [2022-06-01T17:20:02.595Z] 2437ff75d9bd: Waiting [2022-06-01T17:20:02.595Z] 04944245beec: Verifying Checksum [2022-06-01T17:20:02.595Z] 04944245beec: Download complete [2022-06-01T17:20:02.595Z] 765212b225bb: Download complete [2022-06-01T17:20:02.595Z] f23df028b6ca: Download complete [2022-06-01T17:20:02.595Z] d65c8cfc05b1: Verifying Checksum [2022-06-01T17:20:02.595Z] d65c8cfc05b1: Download complete [2022-06-01T17:20:02.873Z] 699f458cf7ca: Verifying Checksum [2022-06-01T17:20:02.873Z] 699f458cf7ca: Download complete [2022-06-01T17:20:03.144Z] 8998bd30e6a1: Verifying Checksum [2022-06-01T17:20:03.144Z] 8998bd30e6a1: Download complete [2022-06-01T17:20:05.121Z] 2437ff75d9bd: Verifying Checksum [2022-06-01T17:20:05.121Z] 2437ff75d9bd: Download complete [2022-06-01T17:20:07.099Z] 8998bd30e6a1: Pull complete [2022-06-01T17:20:07.695Z] 04944245beec: Pull complete [2022-06-01T17:20:09.128Z] 699f458cf7ca: Pull complete [2022-06-01T17:20:09.399Z] 765212b225bb: Pull complete [2022-06-01T17:20:09.999Z] f23df028b6ca: Pull complete [2022-06-01T17:20:10.274Z] d65c8cfc05b1: Pull complete [2022-06-01T17:20:25.378Z] 2437ff75d9bd: Pull complete [2022-06-01T17:20:25.378Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-01T17:20:25.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T17:20:25.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T17:20:25.645Z] prd-ubuntu20.04-docker-arm64-4c-16g-559 does not seem to be running inside a container [2022-06-01T17:20:25.739Z] $ 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/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-01T17:20:28.259Z] $ docker top 8a0f5fd56e809378a3db44984254e9641a027daafa7dba322f969fc920c1d0dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:20:29.170Z] ---> job-cost.sh [2022-06-01T17:20:29.170Z] lf-activate-venv: SKIPPING [2022-06-01T17:20:29.170Z] INFO: No Stack... [2022-06-01T17:20:29.766Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-01T17:20:30.752Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T17:20:31.421Z] + cat /w/workspace/device-onvif-camera/15/archives/cost.csv [2022-06-01T17:20:31.421Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T17:20:31.483Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [2022-06-01T17:20:31.491Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] did not exist. Created. [2022-06-01T17:20:31.491Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T17:20:32.165Z] /w/workspace/device-onvif-camera/15@tmp/durable-d5bdd816/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-01T17:20:32.845Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-01T17:20:32.866Z] Warning: overwriting stash ‘stack-cost’ [2022-06-01T17:20:32.915Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T17:20:32.924Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T17:20:32.955Z] $ docker stop --time=1 8a0f5fd56e809378a3db44984254e9641a027daafa7dba322f969fc920c1d0dc [2022-06-01T17:20:34.440Z] $ docker rm -f 8a0f5fd56e809378a3db44984254e9641a027daafa7dba322f969fc920c1d0dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-01T17:20:34.835Z] provisioning config files... [2022-06-01T17:20:34.843Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4000580242918744697tmp [Pipeline] { [Pipeline] sh [2022-06-01T17:20:35.130Z] + set +x [2022-06-01T17:20:35.130Z] + curl -s https://codecov.io/bash [2022-06-01T17:20:35.130Z] + bash -s -- [2022-06-01T17:20:35.130Z] [2022-06-01T17:20:35.130Z] _____ _ [2022-06-01T17:20:35.130Z] / ____| | | [2022-06-01T17:20:35.130Z] | | ___ __| | ___ ___ _____ __ [2022-06-01T17:20:35.130Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-01T17:20:35.130Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-01T17:20:35.130Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-01T17:20:35.130Z] Bash-1.0.6 [2022-06-01T17:20:35.130Z] [2022-06-01T17:20:35.130Z] [2022-06-01T17:20:35.130Z] ==> git version 2.25.1 found [2022-06-01T17:20:35.130Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-01T17:20:35.130Z] Release-Date: 2020-01-08 [2022-06-01T17:20:35.130Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-01T17:20:35.130Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-01T17:20:35.130Z] ==> Jenkins CI detected. [2022-06-01T17:20:35.130Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 [2022-06-01T17:20:35.130Z] project root: . [2022-06-01T17:20:35.130Z] --> token set from env [2022-06-01T17:20:35.130Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-01T17:20:35.131Z] ==> Running gcov in . (disable via -X gcov) [2022-06-01T17:20:35.131Z] ==> Python coveragepy not found [2022-06-01T17:20:35.131Z] ==> Searching for coverage reports in: [2022-06-01T17:20:35.131Z] + . [2022-06-01T17:20:35.131Z] -> Found 1 reports [2022-06-01T17:20:35.131Z] ==> Detecting git/mercurial file structure [2022-06-01T17:20:35.131Z] ==> Reading reports [2022-06-01T17:20:35.131Z] + ./coverage.out bytes=49507 [2022-06-01T17:20:35.131Z] ==> Appending adjustments [2022-06-01T17:20:35.131Z] https://docs.codecov.io/docs/fixing-reports [2022-06-01T17:20:35.392Z] + Found adjustments [2022-06-01T17:20:35.392Z] ==> Gzipping contents [2022-06-01T17:20:35.392Z] 8.0K /tmp/codecov.6RLsqw.gz [2022-06-01T17:20:35.392Z] ==> Uploading reports [2022-06-01T17:20:35.392Z] url: https://codecov.io [2022-06-01T17:20:35.392Z] query: branch=PR-65&commit=25dd83f2b48c0aff3804ab2ce152b73d998f45b1&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= [2022-06-01T17:20:35.392Z] -> Pinging Codecov [2022-06-01T17:20:35.392Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-65&commit=25dd83f2b48c0aff3804ab2ce152b73d998f45b1&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= [2022-06-01T17:20:35.653Z] -> Uploading to [2022-06-01T17:20:35.653Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-01/F29A59C45E3A92E06B3E522C9905F8EF/25dd83f2b48c0aff3804ab2ce152b73d998f45b1/77235783-e801-4dfd-b852-72ff47b5cad2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T172035Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd596d9548dd9d5dd72af96dddd48d6f6df2a5458347752887bd72de299bdd5e [2022-06-01T17:20:35.653Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T17:20:35.653Z] Dload Upload Total Spent Left Speed [2022-06-01T17:20:35.915Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6166 0 0 100 6166 0 29084 --:--:-- --:--:-- --:--:-- 29084 [2022-06-01T17:20:35.915Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/25dd83f2b48c0aff3804ab2ce152b73d998f45b1 [Pipeline] } [2022-06-01T17:20:35.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-01T17:20:36.591Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] [2022-06-01T17:20:36.591Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives [2022-06-01T17:20:36.591Z] total 16 [2022-06-01T17:20:36.591Z] drwxr-xr-x 3 root root 4096 Jun 1 17:12 . [2022-06-01T17:20:36.591Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 17:12 .. [2022-06-01T17:20:36.591Z] drwxr-xr-x 2 root root 4096 Jun 1 17:12 cost [2022-06-01T17:20:36.591Z] -rw-r--r-- 1 root root 90 Jun 1 17:12 cost.csv [2022-06-01T17:20:36.591Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives [2022-06-01T17:20:36.591Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives [2022-06-01T17:20:36.591Z] total 16 [2022-06-01T17:20:36.591Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 17:12 . [2022-06-01T17:20:36.591Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 17:12 .. [2022-06-01T17:20:36.591Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 17:12 cost [2022-06-01T17:20:36.591Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 1 17:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:20:36.888Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:20:37.757Z] ---> package-listing.sh [2022-06-01T17:20:37.757Z] ++ facter osfamily [2022-06-01T17:20:37.757Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-01T17:20:38.019Z] + OS_FAMILY=debian [2022-06-01T17:20:38.019Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 [2022-06-01T17:20:38.019Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-01T17:20:38.019Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-01T17:20:38.019Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-01T17:20:38.019Z] + PACKAGES=/tmp/packages_start.txt [2022-06-01T17:20:38.019Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' [2022-06-01T17:20:38.019Z] + PACKAGES=/tmp/packages_end.txt [2022-06-01T17:20:38.019Z] + case "${OS_FAMILY}" in [2022-06-01T17:20:38.019Z] + dpkg -l [2022-06-01T17:20:38.019Z] + grep '^ii' [2022-06-01T17:20:38.019Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-01T17:20:38.019Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-01T17:20:38.019Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-01T17:20:38.019Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' [2022-06-01T17:20:38.019Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [2022-06-01T17:20:38.019Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [Pipeline] echo [2022-06-01T17:20:38.032Z] 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-01T17:20:38.313Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T17:20:38.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T17:20:38.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T17:20:38.986Z] prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container [2022-06-01T17:20:39.027Z] $ 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T17:20:39.237Z] $ docker top b7268658d92e5032cc518a4fdb55e8ffec73c63c92b901ce4b32bbc902381df7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T17:20:39.581Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-01T17:20:39.872Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-01T17:20:40.160Z] + ls /var/log/sa-host [2022-06-01T17:20:40.160Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T17:20:40.220Z] provisioning config files... [2022-06-01T17:20:40.229Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config2535420377061085368tmp [Pipeline] { [Pipeline] echo [2022-06-01T17:20:40.240Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:20:40.521Z] ---> create-netrc.sh [Pipeline] } [2022-06-01T17:20:40.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:20:40.855Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-01T17:20:40.863Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:20:41.147Z] ---> sudo-logs.sh [2022-06-01T17:20:41.147Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-01T17:20:41.182Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:20:41.476Z] ---> job-cost.sh [2022-06-01T17:20:41.476Z] lf-activate-venv: SKIPPING [2022-06-01T17:20:41.476Z] DEBUG: total: 0.2199999988079071 [2022-06-01T17:20:41.476Z] INFO: Retrieving Stack Cost... [2022-06-01T17:20:41.734Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T17:20:42.305Z] INFO: Archiving Costs [Pipeline] echo [2022-06-01T17:20:42.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T17:20:42.599Z] ---> logs-deploy.sh [2022-06-01T17:20:42.600Z] lf-activate-venv: SKIPPING [2022-06-01T17:20:42.600Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/15 [2022-06-01T17:20:42.600Z] INFO: archiving workspace using pattern(s): [2022-06-01T17:20:43.540Z] Archives upload complete. [2022-06-01T17:20:43.800Z] INFO: archiving logs to Nexus