Pull request #149 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b7cedde85df3692c69591f25206326ca90501e4e rather than d2d421d18f7b89754383afb9c4681e757fad5480 Obtained Jenkinsfile from b7cedde85df3692c69591f25206326ca90501e4e 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-ssh12383995636726122737.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15797888374387559101.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh503898510550312143.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh16016246782167451956.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7246972857032718158.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23965 in /w/workspace/undry_device-onvif-camera_PR-149 [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/undry_device-onvif-camera_PR-149 # 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 Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit d2d421d18f7b89754383afb9c4681e757fad5480 Merge succeeded, producing d2d421d18f7b89754383afb9c4681e757fad5480 Checking out Revision d2d421d18f7b89754383afb9c4681e757fad5480 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2d421d18f7b89754383afb9c4681e757fad5480 # 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 b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2d421d18f7b89754383afb9c4681e757fad5480 # timeout=10 Commit message: "test: removeDevice test" > git rev-list --no-walk 9e5205592c4c39f0b4002286ec4f1ac9ccb60637 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-30T17:59:52.544Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-30T17:59:52.586Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-30T17:59:52.600Z] ========================================================= [2022-08-30T17:59:52.600Z] EdgeX Global Pipelines Version Info [2022-08-30T17:59:52.600Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:59:53.349Z] ------------------- [2022-08-30T17:59:53.349Z] stable info: [2022-08-30T17:59:53.349Z] ------------------- [2022-08-30T17:59:53.349Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-30T17:59:53.349Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T17:59:53.349Z] Message: update stable to v1.0.239 [2022-08-30T17:59:53.920Z] ------------------- [2022-08-30T17:59:53.920Z] experimental info: [2022-08-30T17:59:53.920Z] ------------------- [2022-08-30T17:59:53.920Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-30T17:59:53.920Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T17:59:53.920Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-30T17:59:54.197Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-30T17:59:54.212Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-30T17:59:54.228Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-30T17:59:54.243Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-30T17:59:54.255Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-30T17:59:54.267Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-30T17:59:54.279Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-30T17:59:54.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-30T17:59:54.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-30T17:59:54.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-30T17:59:54.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-30T17:59:54.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-30T17:59:54.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-30T17:59:54.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-30T17:59:54.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T17:59:54.392Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T17:59:54.412Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T17:59:54.429Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T17:59:54.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-30T17:59:54.455Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-30T17:59:54.469Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-30T17:59:54.484Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-30T17:59:54.501Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-30T17:59:54.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-30T17:59:54.534Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-30T17:59:54.549Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-30T17:59:54.560Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-30T17:59:54.574Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-30T17:59:54.589Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-30T17:59:54.605Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-30T17:59:54.623Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2d421d18f7b89754383afb9c4681e757fad5480 [Pipeline] echo [2022-08-30T17:59:54.637Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2d421d [Pipeline] echo [2022-08-30T17:59:54.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T17:59:54.706Z] provisioning config files... [2022-08-30T17:59:54.724Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1249508587972947610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:59:55.036Z] ---> docker-login.sh [2022-08-30T17:59:55.036Z] nexus3.edgexfoundry.org:10001 [2022-08-30T17:59:55.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:59:55.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:59:55.297Z] Configure a credential helper to remove this warning. See [2022-08-30T17:59:55.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:59:55.297Z] [2022-08-30T17:59:55.297Z] Login Succeeded [2022-08-30T17:59:55.297Z] nexus3.edgexfoundry.org:10002 [2022-08-30T17:59:55.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:59:55.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:59:55.556Z] Configure a credential helper to remove this warning. See [2022-08-30T17:59:55.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:59:55.556Z] [2022-08-30T17:59:55.556Z] Login Succeeded [2022-08-30T17:59:55.556Z] nexus3.edgexfoundry.org:10003 [2022-08-30T17:59:55.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:59:55.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:59:55.556Z] Configure a credential helper to remove this warning. See [2022-08-30T17:59:55.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:59:55.556Z] [2022-08-30T17:59:55.556Z] Login Succeeded [2022-08-30T17:59:55.556Z] nexus3.edgexfoundry.org:10004 [2022-08-30T17:59:55.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:59:55.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:59:55.817Z] Configure a credential helper to remove this warning. See [2022-08-30T17:59:55.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:59:55.817Z] [2022-08-30T17:59:55.817Z] Login Succeeded [2022-08-30T17:59:55.817Z] docker.io [2022-08-30T17:59:55.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:59:56.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:59:56.078Z] Configure a credential helper to remove this warning. See [2022-08-30T17:59:56.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:59:56.078Z] [2022-08-30T17:59:56.078Z] Login Succeeded [2022-08-30T17:59:56.078Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T17:59:56.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-30T17:59:56.469Z] + git rev-list -1 --merges d2d421d18f7b89754383afb9c4681e757fad5480~1..d2d421d18f7b89754383afb9c4681e757fad5480 [Pipeline] echo [2022-08-30T17:59:56.518Z] -----------> git rev-list -1 --merges d2d421d18f7b89754383afb9c4681e757fad5480~1..d2d421d18f7b89754383afb9c4681e757fad5480 d2d421d18f7b89754383afb9c4681e757fad5480 [false] [Pipeline] sh [2022-08-30T17:59:56.826Z] + git log --format=format:%s -1 d2d421d18f7b89754383afb9c4681e757fad5480 [Pipeline] echo [2022-08-30T17:59:56.843Z] ========================================================= [2022-08-30T17:59:56.843Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-30T17:59:56.843Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T17:59:57.192Z] + git log --format=format:%s -1 d2d421d18f7b89754383afb9c4681e757fad5480 [Pipeline] echo [2022-08-30T17:59:57.204Z] [semverPrep] GIT_COMMIT: d2d421d18f7b89754383afb9c4681e757fad5480, Commit Message: test: removeDevice test [Pipeline] echo [2022-08-30T17:59:57.213Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-30T17:59:57.593Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-30T17:59:57.593Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-30T17:59:57.593Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-30T17:59:57.593Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-30T17:59:57.593Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-08-30T17:59:57.593Z] -a /etc/ssh/ssh_known_hosts [2022-08-30T17:59:57.593Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:59:57.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T17:59:57.957Z] [2022-08-30T17:59:57.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:59:58.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T17:59:58.527Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-30T17:59:58.528Z] b85a868b505f: Pulling fs layer [2022-08-30T17:59:58.528Z] e2be974225ed: Pulling fs layer [2022-08-30T17:59:58.528Z] 339a4e72a1f5: Pulling fs layer [2022-08-30T17:59:58.528Z] 988bab9f4d93: Pulling fs layer [2022-08-30T17:59:58.528Z] 1469e6f7b9e6: Pulling fs layer [2022-08-30T17:59:58.528Z] eaf3925da568: Pulling fs layer [2022-08-30T17:59:58.528Z] bab4dde63d76: Pulling fs layer [2022-08-30T17:59:58.528Z] bde34c3a00c8: Pulling fs layer [2022-08-30T17:59:58.528Z] b352a97aabf1: Pulling fs layer [2022-08-30T17:59:58.528Z] 4872d77fe225: Pulling fs layer [2022-08-30T17:59:58.528Z] 5851b861e8e6: Pulling fs layer [2022-08-30T17:59:58.528Z] bde34c3a00c8: Waiting [2022-08-30T17:59:58.528Z] 988bab9f4d93: Waiting [2022-08-30T17:59:58.528Z] eaf3925da568: Waiting [2022-08-30T17:59:58.528Z] b352a97aabf1: Waiting [2022-08-30T17:59:58.528Z] 1469e6f7b9e6: Waiting [2022-08-30T17:59:58.528Z] 4872d77fe225: Waiting [2022-08-30T17:59:58.528Z] bab4dde63d76: Waiting [2022-08-30T17:59:58.528Z] 5851b861e8e6: Waiting [2022-08-30T17:59:58.528Z] e2be974225ed: Verifying Checksum [2022-08-30T17:59:58.528Z] e2be974225ed: Download complete [2022-08-30T17:59:58.528Z] 988bab9f4d93: Download complete [2022-08-30T17:59:58.528Z] 1469e6f7b9e6: Verifying Checksum [2022-08-30T17:59:58.528Z] 1469e6f7b9e6: Download complete [2022-08-30T17:59:58.528Z] eaf3925da568: Download complete [2022-08-30T17:59:58.528Z] 339a4e72a1f5: Verifying Checksum [2022-08-30T17:59:58.528Z] 339a4e72a1f5: Download complete [2022-08-30T17:59:58.528Z] bde34c3a00c8: Verifying Checksum [2022-08-30T17:59:58.528Z] bde34c3a00c8: Download complete [2022-08-30T17:59:58.528Z] b352a97aabf1: Verifying Checksum [2022-08-30T17:59:58.528Z] b352a97aabf1: Download complete [2022-08-30T17:59:58.528Z] 4872d77fe225: Verifying Checksum [2022-08-30T17:59:58.528Z] 4872d77fe225: Download complete [2022-08-30T17:59:58.787Z] 5851b861e8e6: Verifying Checksum [2022-08-30T17:59:58.787Z] 5851b861e8e6: Download complete [2022-08-30T17:59:58.787Z] b85a868b505f: Download complete [2022-08-30T17:59:59.046Z] bab4dde63d76: Verifying Checksum [2022-08-30T17:59:59.046Z] bab4dde63d76: Download complete [2022-08-30T18:00:00.430Z] b85a868b505f: Pull complete [2022-08-30T18:00:00.430Z] e2be974225ed: Pull complete [2022-08-30T18:00:01.004Z] 339a4e72a1f5: Pull complete [2022-08-30T18:00:01.005Z] 988bab9f4d93: Pull complete [2022-08-30T18:00:01.264Z] 1469e6f7b9e6: Pull complete [2022-08-30T18:00:01.264Z] eaf3925da568: Pull complete [2022-08-30T18:00:03.179Z] bab4dde63d76: Pull complete [2022-08-30T18:00:03.439Z] bde34c3a00c8: Pull complete [2022-08-30T18:00:03.439Z] b352a97aabf1: Pull complete [2022-08-30T18:00:03.704Z] 4872d77fe225: Pull complete [2022-08-30T18:00:03.967Z] 5851b861e8e6: Pull complete [2022-08-30T18:00:03.967Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-30T18:00:03.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T18:00:04.230Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T18:00:04.342Z] prd-ubuntu20.04-docker-8c-8g-23965 does not seem to be running inside a container [2022-08-30T18:00:04.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-30T18:00:06.622Z] $ docker top c34acd4479c1513762a88bed7e09996933d77d27014e215039bbeb3acc288daa -eo pid,comm [2022-08-30T18:00:06.691Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-30T18:00:06.691Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-30T18:00:06.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T18:00:06.730Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T18:00:06.855Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T18:00:06.860Z] $ docker exec c34acd4479c1513762a88bed7e09996933d77d27014e215039bbeb3acc288daa ssh-agent [2022-08-30T18:00:06.984Z] SSH_AUTH_SOCK=/tmp/ssh-3ZzUoErrNTAt/agent.32 [2022-08-30T18:00:06.984Z] SSH_AGENT_PID=38 [2022-08-30T18:00:06.990Z] Running ssh-add (command line suppressed) [2022-08-30T18:00:07.111Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3529845449843786037.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3529845449843786037.key) [2022-08-30T18:00:07.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T18:00:07.418Z] + git tag --points-at HEAD [Pipeline] } [2022-08-30T18:00:07.434Z] $ docker exec --env ******** --env ******** c34acd4479c1513762a88bed7e09996933d77d27014e215039bbeb3acc288daa ssh-agent -k [2022-08-30T18:00:07.555Z] unset SSH_AUTH_SOCK; [2022-08-30T18:00:07.556Z] unset SSH_AGENT_PID; [2022-08-30T18:00:07.556Z] echo Agent pid 38 killed; [2022-08-30T18:00:07.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-30T18:00:07.596Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T18:00:07.596Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T18:00:07.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T18:00:07.745Z] $ docker exec c34acd4479c1513762a88bed7e09996933d77d27014e215039bbeb3acc288daa ssh-agent [2022-08-30T18:00:07.884Z] SSH_AUTH_SOCK=/tmp/ssh-AytgIT5mRTXk/agent.70 [2022-08-30T18:00:07.884Z] SSH_AGENT_PID=76 [2022-08-30T18:00:07.890Z] Running ssh-add (command line suppressed) [2022-08-30T18:00:08.017Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_6868274170583249682.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_6868274170583249682.key) [2022-08-30T18:00:08.032Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T18:00:08.325Z] + git semver init [2022-08-30T18:00:08.587Z] 2022-08-30 18:00:08,561 [run_init] DEBUG init version:0.0.0 force:False [2022-08-30T18:00:08.587Z] 2022-08-30 18:00:08,562 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T18:00:08.587Z] 2022-08-30 18:00:08,563 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T18:00:08.587Z] 2022-08-30 18:00:08,564 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) [2022-08-30T18:00:09.531Z] 2022-08-30 18:00:09,309 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-30T18:00:09.531Z] 2022-08-30 18:00:09,309 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False [2022-08-30T18:00:09.531Z] 2022-08-30 18:00:09,309 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T18:00:09.531Z] 2022-08-30 18:00:09,313 [execute] INFO git cat-file --batch-check [2022-08-30T18:00:09.531Z] 2022-08-30 18:00:09,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T18:00:09.531Z] 2022-08-30 18:00:09,319 [execute] INFO git cat-file --batch [2022-08-30T18:00:09.531Z] 2022-08-30 18:00:09,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T18:00:09.531Z] 2022-08-30 18:00:09,325 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T18:00:09.531Z] 0.0.0 [Pipeline] } [2022-08-30T18:00:09.544Z] $ docker exec --env ******** --env ******** c34acd4479c1513762a88bed7e09996933d77d27014e215039bbeb3acc288daa ssh-agent -k [2022-08-30T18:00:09.666Z] unset SSH_AUTH_SOCK; [2022-08-30T18:00:09.671Z] unset SSH_AGENT_PID; [2022-08-30T18:00:09.671Z] echo Agent pid 76 killed; [2022-08-30T18:00:09.676Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-30T18:00:09.986Z] + git semver [Pipeline] } [2022-08-30T18:00:10.264Z] $ docker stop --time=1 c34acd4479c1513762a88bed7e09996933d77d27014e215039bbeb3acc288daa [2022-08-30T18:00:11.595Z] $ docker rm -f c34acd4479c1513762a88bed7e09996933d77d27014e215039bbeb3acc288daa [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T18:00:11.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-30T18:00:12.201Z] Stashed 1 file(s) [Pipeline] echo [2022-08-30T18:00:12.204Z] [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-08-30T18:00:12.338Z] provisioning config files... [2022-08-30T18:00:12.348Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1029853848795363769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:00:12.650Z] ---> docker-login.sh [2022-08-30T18:00:12.650Z] nexus3.edgexfoundry.org:10001 [2022-08-30T18:00:12.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:00:12.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:00:12.650Z] Configure a credential helper to remove this warning. See [2022-08-30T18:00:12.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:00:12.651Z] [2022-08-30T18:00:12.651Z] Login Succeeded [2022-08-30T18:00:12.651Z] nexus3.edgexfoundry.org:10002 [2022-08-30T18:00:12.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:00:12.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:00:12.911Z] Configure a credential helper to remove this warning. See [2022-08-30T18:00:12.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:00:12.911Z] [2022-08-30T18:00:12.911Z] Login Succeeded [2022-08-30T18:00:12.911Z] nexus3.edgexfoundry.org:10003 [2022-08-30T18:00:12.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:00:12.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:00:12.911Z] Configure a credential helper to remove this warning. See [2022-08-30T18:00:12.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:00:12.911Z] [2022-08-30T18:00:12.911Z] Login Succeeded [2022-08-30T18:00:12.911Z] nexus3.edgexfoundry.org:10004 [2022-08-30T18:00:13.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:00:13.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:00:13.173Z] Configure a credential helper to remove this warning. See [2022-08-30T18:00:13.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:00:13.173Z] [2022-08-30T18:00:13.173Z] Login Succeeded [2022-08-30T18:00:13.173Z] docker.io [2022-08-30T18:00:13.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:00:13.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:00:13.434Z] Configure a credential helper to remove this warning. See [2022-08-30T18:00:13.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:00:13.434Z] [2022-08-30T18:00:13.434Z] Login Succeeded [2022-08-30T18:00:13.434Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T18:00:13.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T18:00:13.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T18:00:13.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T18:00:13.540Z] ========================================================= [2022-08-30T18:00:13.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-30T18:00:13.540Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:00:13.866Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-30T18:00:13.866Z] Sending build context to Docker daemon 20.62MB [2022-08-30T18:00:13.866Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T18:00:13.866Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T18:00:14.126Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-30T18:00:14.126Z] 2408cc74d12b: Pulling fs layer [2022-08-30T18:00:14.126Z] ea60b727a1ce: Pulling fs layer [2022-08-30T18:00:14.126Z] 30c4a7721957: Pulling fs layer [2022-08-30T18:00:14.126Z] 370296b7ddb6: Pulling fs layer [2022-08-30T18:00:14.126Z] 7c6cee850709: Pulling fs layer [2022-08-30T18:00:14.126Z] 39a5fcdaea64: Pulling fs layer [2022-08-30T18:00:14.126Z] d94ebbe4e438: Pulling fs layer [2022-08-30T18:00:14.126Z] 370296b7ddb6: Waiting [2022-08-30T18:00:14.126Z] 7c6cee850709: Waiting [2022-08-30T18:00:14.126Z] 39a5fcdaea64: Waiting [2022-08-30T18:00:14.126Z] bcfd1f05c69d: Pulling fs layer [2022-08-30T18:00:14.126Z] 59ccb84bbe0f: Pulling fs layer [2022-08-30T18:00:14.126Z] d94ebbe4e438: Waiting [2022-08-30T18:00:14.126Z] bcfd1f05c69d: Waiting [2022-08-30T18:00:14.126Z] 59ccb84bbe0f: Waiting [2022-08-30T18:00:14.126Z] 30c4a7721957: Download complete [2022-08-30T18:00:14.126Z] ea60b727a1ce: Download complete [2022-08-30T18:00:14.126Z] 7c6cee850709: Verifying Checksum [2022-08-30T18:00:14.126Z] 7c6cee850709: Download complete [2022-08-30T18:00:14.126Z] 39a5fcdaea64: Verifying Checksum [2022-08-30T18:00:14.126Z] 39a5fcdaea64: Download complete [2022-08-30T18:00:14.126Z] 2408cc74d12b: Verifying Checksum [2022-08-30T18:00:14.126Z] 2408cc74d12b: Download complete [2022-08-30T18:00:14.126Z] d94ebbe4e438: Verifying Checksum [2022-08-30T18:00:14.126Z] d94ebbe4e438: Download complete [2022-08-30T18:00:14.388Z] 2408cc74d12b: Pull complete [2022-08-30T18:00:14.388Z] ea60b727a1ce: Pull complete [2022-08-30T18:00:14.649Z] 59ccb84bbe0f: Verifying Checksum [2022-08-30T18:00:14.649Z] 59ccb84bbe0f: Download complete [2022-08-30T18:00:14.649Z] 30c4a7721957: Pull complete [2022-08-30T18:00:14.909Z] bcfd1f05c69d: Verifying Checksum [2022-08-30T18:00:14.909Z] bcfd1f05c69d: Download complete [2022-08-30T18:00:15.167Z] 370296b7ddb6: Verifying Checksum [2022-08-30T18:00:15.167Z] 370296b7ddb6: Download complete [2022-08-30T18:00:19.372Z] 370296b7ddb6: Pull complete [2022-08-30T18:00:19.372Z] 7c6cee850709: Pull complete [2022-08-30T18:00:19.632Z] 39a5fcdaea64: Pull complete [2022-08-30T18:00:19.632Z] d94ebbe4e438: Pull complete [2022-08-30T18:00:22.171Z] bcfd1f05c69d: Pull complete [2022-08-30T18:00:22.738Z] 59ccb84bbe0f: Pull complete [2022-08-30T18:00:22.738Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-30T18:00:22.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-30T18:00:22.738Z] ---> a4fb48ad2a94 [2022-08-30T18:00:22.738Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T18:00:26.034Z] ---> Running in 674ca9ebc114 [2022-08-30T18:00:26.035Z] Removing intermediate container 674ca9ebc114 [2022-08-30T18:00:26.035Z] ---> 5c8e33a30b94 [2022-08-30T18:00:26.035Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T18:00:26.035Z] ---> Running in 4631b404c5b2 [2022-08-30T18:00:26.294Z] Removing intermediate container 4631b404c5b2 [2022-08-30T18:00:26.294Z] ---> 34f70b7380cf [2022-08-30T18:00:26.294Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T18:00:26.294Z] ---> Running in d2529043a500 [2022-08-30T18:00:26.294Z] Removing intermediate container d2529043a500 [2022-08-30T18:00:26.294Z] ---> 03852b39e8af [2022-08-30T18:00:26.294Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T18:00:26.294Z] ---> Running in 05f95a822d39 [2022-08-30T18:00:26.294Z] Removing intermediate container 05f95a822d39 [2022-08-30T18:00:26.294Z] ---> b2228c42dd35 [2022-08-30T18:00:26.294Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T18:00:26.554Z] ---> Running in 113ee44790af [2022-08-30T18:00:27.126Z] Removing intermediate container 113ee44790af [2022-08-30T18:00:27.126Z] ---> 832892281d26 [2022-08-30T18:00:27.126Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T18:00:27.126Z] ---> Running in f233ecb6816f [2022-08-30T18:00:27.126Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T18:00:27.290Z] Still waiting to schedule task [2022-08-30T18:00:27.290Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-30T18:00:28.069Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T18:00:28.331Z] OK: 211 MiB in 51 packages [2022-08-30T18:00:28.592Z] Removing intermediate container f233ecb6816f [2022-08-30T18:00:28.592Z] ---> d3263ae863e6 [2022-08-30T18:00:28.592Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T18:00:28.592Z] ---> Running in 07532bfbc352 [2022-08-30T18:00:28.851Z] Removing intermediate container 07532bfbc352 [2022-08-30T18:00:28.851Z] ---> 13c5f451e609 [2022-08-30T18:00:28.851Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T18:00:28.851Z] ---> 90db1a4fd64e [2022-08-30T18:00:28.851Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T18:00:28.851Z] ---> Running in e089f57bc0b3 [2022-08-30T18:00:50.826Z] Removing intermediate container e089f57bc0b3 [2022-08-30T18:00:50.826Z] ---> bb482cddaf8b [2022-08-30T18:00:50.826Z] Step 12/13 : COPY . . [2022-08-30T18:00:50.826Z] ---> 8a2bd14517e7 [2022-08-30T18:00:50.826Z] Step 13/13 : RUN ${MAKE} [2022-08-30T18:00:50.826Z] ---> Running in f704a3daab15 [2022-08-30T18:00:50.826Z] noop [2022-08-30T18:00:50.826Z] Removing intermediate container f704a3daab15 [2022-08-30T18:00:50.826Z] ---> f6949cc936b6 [2022-08-30T18:00:50.826Z] Successfully built f6949cc936b6 [2022-08-30T18:00:50.826Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:00:51.152Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T18:00:51.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T18:00:51.236Z] prd-ubuntu20.04-docker-8c-8g-23965 does not seem to be running inside a container [2022-08-30T18:00:51.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** ci-base-image-x86_64 cat [2022-08-30T18:00:51.681Z] $ docker top a174d7b80caded9dab35c3d48aaa20f611a464696a3ffd81d07677bab1a10729 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T18:00:52.056Z] + go version [2022-08-30T18:00:52.056Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-30T18:00:52.070Z] $ docker stop --time=1 a174d7b80caded9dab35c3d48aaa20f611a464696a3ffd81d07677bab1a10729 [2022-08-30T18:00:53.386Z] $ docker rm -f a174d7b80caded9dab35c3d48aaa20f611a464696a3ffd81d07677bab1a10729 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:00:53.805Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T18:00:53.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T18:00:53.893Z] prd-ubuntu20.04-docker-8c-8g-23965 does not seem to be running inside a container [2022-08-30T18:00:53.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** ci-base-image-x86_64 cat [2022-08-30T18:00:54.275Z] $ docker top 1a5762deff2d4ba9f493faf61a91ca6115d5a7ba0e44a3a7f05c4fea6832b542 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T18:00:54.637Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-30T18:00:54.941Z] + make test [2022-08-30T18:00:54.941Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T18:00:55.200Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T18:01:05.184Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T18:01:06.127Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.026s coverage: 24.0% of statements [2022-08-30T18:01:10.330Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.814s coverage: 13.8% of statements [2022-08-30T18:01:18.464Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-30T18:01:18.464Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T18:01:22.665Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T18:01:22.666Z] ./internal/driver/driver_test.go [2022-08-30T18:01:22.666Z] ./internal/driver/driver.go [2022-08-30T18:01:22.666Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T18:01:22.666Z] make: *** [Makefile:63: test] Error 1 [Pipeline] } [2022-08-30T18:01:22.684Z] $ docker stop --time=1 1a5762deff2d4ba9f493faf61a91ca6115d5a7ba0e44a3a7f05c4fea6832b542 [2022-08-30T18:01:24.871Z] $ docker rm -f 1a5762deff2d4ba9f493faf61a91ca6115d5a7ba0e44a3a7f05c4fea6832b542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:01:25.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T18:01:25.516Z] [2022-08-30T18:01:25.516Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:01:25.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T18:01:25.823Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-30T18:01:25.823Z] 5eb5b503b376: Pulling fs layer [2022-08-30T18:01:25.823Z] 5c69ac0246d0: Pulling fs layer [2022-08-30T18:01:25.823Z] ec43610c2a17: Pulling fs layer [2022-08-30T18:01:25.823Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-30T18:01:25.823Z] 33b1e0a273af: Pulling fs layer [2022-08-30T18:01:25.823Z] 5d3b04190fa2: Pulling fs layer [2022-08-30T18:01:25.823Z] 2f39f015ded8: Pulling fs layer [2022-08-30T18:01:25.823Z] 3a2ae6a8a46f: Waiting [2022-08-30T18:01:25.823Z] 33b1e0a273af: Waiting [2022-08-30T18:01:25.823Z] 2f39f015ded8: Waiting [2022-08-30T18:01:25.823Z] 5d3b04190fa2: Waiting [2022-08-30T18:01:26.084Z] 5c69ac0246d0: Download complete [2022-08-30T18:01:26.084Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-30T18:01:26.084Z] 3a2ae6a8a46f: Download complete [2022-08-30T18:01:26.084Z] 33b1e0a273af: Verifying Checksum [2022-08-30T18:01:26.084Z] 33b1e0a273af: Download complete [2022-08-30T18:01:26.084Z] 5d3b04190fa2: Download complete [2022-08-30T18:01:26.084Z] ec43610c2a17: Verifying Checksum [2022-08-30T18:01:26.084Z] ec43610c2a17: Download complete [2022-08-30T18:01:26.348Z] 5eb5b503b376: Download complete [2022-08-30T18:01:26.919Z] 2f39f015ded8: Download complete [2022-08-30T18:01:27.489Z] 5eb5b503b376: Pull complete [2022-08-30T18:01:27.758Z] 5c69ac0246d0: Pull complete [2022-08-30T18:01:28.336Z] ec43610c2a17: Pull complete [2022-08-30T18:01:28.336Z] 3a2ae6a8a46f: Pull complete [2022-08-30T18:01:28.597Z] 33b1e0a273af: Pull complete [2022-08-30T18:01:28.597Z] 5d3b04190fa2: Pull complete [2022-08-30T18:01:33.880Z] 2f39f015ded8: Pull complete [2022-08-30T18:01:33.880Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-30T18:01:33.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T18:01:33.881Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T18:01:33.980Z] prd-ubuntu20.04-docker-8c-8g-23965 does not seem to be running inside a container [2022-08-30T18:01:34.015Z] $ 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/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-lftools-log-publisher:latest cat [2022-08-30T18:01:36.206Z] $ docker top d3be41cb38b9d3009fdac1367f63a1471df2c530f763859be2ed4b9679dd4665 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:01:36.621Z] ---> job-cost.sh [2022-08-30T18:01:36.621Z] lf-activate-venv: SKIPPING [2022-08-30T18:01:36.621Z] INFO: No Stack... [2022-08-30T18:01:36.883Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T18:01:37.453Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T18:01:37.752Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-30T18:01:37.752Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T18:01:37.767Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-8-stack-cost] [2022-08-30T18:01:37.772Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-8-stack-cost] did not exist. Created. [2022-08-30T18:01:37.772Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T18:01:38.080Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-30T18:01:38.124Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T18:01:38.130Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T18:01:38.152Z] $ docker stop --time=1 d3be41cb38b9d3009fdac1367f63a1471df2c530f763859be2ed4b9679dd4665 [2022-08-30T18:01:39.314Z] $ docker rm -f d3be41cb38b9d3009fdac1367f63a1471df2c530f763859be2ed4b9679dd4665 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T18:01:39.438Z] Failed in branch amd64 [2022-08-30T18:02:12.667Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23966 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-30T18:02:12.684Z] Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout [2022-08-30T18:02:12.749Z] Selected Git installation does not exist. Using Default [2022-08-30T18:02:12.749Z] The recommended git tool is: NONE [2022-08-30T18:02:19.642Z] using credential edgex-jenkins-ssh [2022-08-30T18:02:19.664Z] Cloning the remote Git repository [2022-08-30T18:02:19.750Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T18:02:19.855Z] > git init /w/workspace/device-onvif-camera/8 # timeout=10 [2022-08-30T18:02:19.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T18:02:19.959Z] > git --version # timeout=10 [2022-08-30T18:02:19.983Z] > git --version # 'git version 2.25.1' [2022-08-30T18:02:19.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T18:02:20.099Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T18:02:21.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T18:02:21.246Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T18:02:21.272Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T18:02:21.353Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T18:02:21.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T18:02:21.378Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-30T18:02:21.975Z] Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit d2d421d18f7b89754383afb9c4681e757fad5480 [2022-08-30T18:02:22.317Z] Merge succeeded, producing d2d421d18f7b89754383afb9c4681e757fad5480 [2022-08-30T18:02:22.318Z] Checking out Revision d2d421d18f7b89754383afb9c4681e757fad5480 (PR-149) [2022-08-30T18:02:21.995Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T18:02:22.014Z] > git checkout -f d2d421d18f7b89754383afb9c4681e757fad5480 # timeout=10 [2022-08-30T18:02:22.235Z] > git remote # timeout=10 [2022-08-30T18:02:22.250Z] > git config --get remote.origin.url # timeout=10 [2022-08-30T18:02:22.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T18:02:22.275Z] > git merge b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 [2022-08-30T18:02:22.302Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-30T18:02:22.325Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T18:02:22.335Z] > git checkout -f d2d421d18f7b89754383afb9c4681e757fad5480 # timeout=10 [2022-08-30T18:02:26.680Z] Commit message: "test: removeDevice test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T18:02:27.545Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-30T18:02:27.545Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T18:02:27.545Z] Dload Upload Total Spent Left Speed [2022-08-30T18:02:27.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 72843 0 --:--:-- --:--:-- --:--:-- 72843 [Pipeline] sh [2022-08-30T18:02:28.184Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-30T18:02:28.529Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-08-30T18:02:28.529Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-30T18:02:28.529Z] { [2022-08-30T18:02:28.529Z] "registry-mirrors": [ [2022-08-30T18:02:28.529Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-30T18:02:28.529Z] ], [2022-08-30T18:02:28.529Z] "bip": "10.250.0.254/24", [2022-08-30T18:02:28.529Z] "hosts": [ [2022-08-30T18:02:28.529Z] "tcp://0.0.0.0:5555", [2022-08-30T18:02:28.529Z] "unix:///var/run/docker.sock" [2022-08-30T18:02:28.529Z] ], [2022-08-30T18:02:28.529Z] "mtu": 1458, [2022-08-30T18:02:28.529Z] "selinux-enabled": true, [2022-08-30T18:02:28.529Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-30T18:02:28.529Z] } [Pipeline] sh [2022-08-30T18:02:28.979Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-30T18:02:29.322Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T18:02:47.661Z] provisioning config files... [2022-08-30T18:02:47.685Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config8112873229725234895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:02:48.194Z] ---> docker-login.sh [2022-08-30T18:02:48.194Z] nexus3.edgexfoundry.org:10001 [2022-08-30T18:02:48.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:02:49.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:02:49.067Z] Configure a credential helper to remove this warning. See [2022-08-30T18:02:49.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:02:49.067Z] [2022-08-30T18:02:49.067Z] Login Succeeded [2022-08-30T18:02:49.067Z] nexus3.edgexfoundry.org:10002 [2022-08-30T18:02:49.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:02:49.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:02:49.669Z] Configure a credential helper to remove this warning. See [2022-08-30T18:02:49.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:02:49.669Z] [2022-08-30T18:02:49.669Z] Login Succeeded [2022-08-30T18:02:49.669Z] nexus3.edgexfoundry.org:10003 [2022-08-30T18:02:49.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:02:49.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:02:49.940Z] Configure a credential helper to remove this warning. See [2022-08-30T18:02:49.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:02:49.940Z] [2022-08-30T18:02:49.940Z] Login Succeeded [2022-08-30T18:02:50.217Z] nexus3.edgexfoundry.org:10004 [2022-08-30T18:02:50.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:02:50.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:02:50.489Z] Configure a credential helper to remove this warning. See [2022-08-30T18:02:50.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:02:50.489Z] [2022-08-30T18:02:50.489Z] Login Succeeded [2022-08-30T18:02:50.489Z] docker.io [2022-08-30T18:02:50.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T18:02:51.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T18:02:51.355Z] Configure a credential helper to remove this warning. See [2022-08-30T18:02:51.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T18:02:51.355Z] [2022-08-30T18:02:51.355Z] Login Succeeded [2022-08-30T18:02:51.355Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T18:02:51.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T18:02:51.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T18:02:51.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T18:02:51.659Z] ========================================================= [2022-08-30T18:02:51.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-30T18:02:51.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:02:52.024Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-30T18:02:52.618Z] Sending build context to Docker daemon 14.14MB [2022-08-30T18:02:52.618Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T18:02:52.618Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T18:02:52.618Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-30T18:02:52.618Z] b3c136eddcbf: Pulling fs layer [2022-08-30T18:02:52.618Z] c0a3192eca97: Pulling fs layer [2022-08-30T18:02:52.618Z] a050256f5b6f: Pulling fs layer [2022-08-30T18:02:52.618Z] 656be50a0ddc: Pulling fs layer [2022-08-30T18:02:52.618Z] 2bbca73fdf42: Pulling fs layer [2022-08-30T18:02:52.618Z] 46d945488cbd: Pulling fs layer [2022-08-30T18:02:52.618Z] 8a5474983e97: Pulling fs layer [2022-08-30T18:02:52.618Z] 329c88fbcd65: Pulling fs layer [2022-08-30T18:02:52.618Z] 46d945488cbd: Waiting [2022-08-30T18:02:52.618Z] 8a5474983e97: Waiting [2022-08-30T18:02:52.618Z] 329c88fbcd65: Waiting [2022-08-30T18:02:52.618Z] 656be50a0ddc: Waiting [2022-08-30T18:02:52.618Z] 2bbca73fdf42: Waiting [2022-08-30T18:02:52.618Z] a050256f5b6f: Download complete [2022-08-30T18:02:52.618Z] c0a3192eca97: Verifying Checksum [2022-08-30T18:02:52.618Z] c0a3192eca97: Download complete [2022-08-30T18:02:52.902Z] 2bbca73fdf42: Verifying Checksum [2022-08-30T18:02:52.902Z] 2bbca73fdf42: Download complete [2022-08-30T18:02:52.902Z] 46d945488cbd: Verifying Checksum [2022-08-30T18:02:52.902Z] 46d945488cbd: Download complete [2022-08-30T18:02:52.902Z] b3c136eddcbf: Download complete [2022-08-30T18:02:53.896Z] b3c136eddcbf: Pull complete [2022-08-30T18:02:53.896Z] 329c88fbcd65: Verifying Checksum [2022-08-30T18:02:53.896Z] 329c88fbcd65: Download complete [2022-08-30T18:02:54.502Z] c0a3192eca97: Pull complete [2022-08-30T18:02:54.780Z] a050256f5b6f: Pull complete [2022-08-30T18:02:55.056Z] 8a5474983e97: Verifying Checksum [2022-08-30T18:02:55.056Z] 8a5474983e97: Download complete [2022-08-30T18:02:55.652Z] 656be50a0ddc: Verifying Checksum [2022-08-30T18:02:55.652Z] 656be50a0ddc: Download complete [2022-08-30T18:03:10.746Z] 656be50a0ddc: Pull complete [2022-08-30T18:03:10.746Z] 2bbca73fdf42: Pull complete [2022-08-30T18:03:10.746Z] 46d945488cbd: Pull complete [2022-08-30T18:03:15.066Z] 8a5474983e97: Pull complete [2022-08-30T18:03:17.061Z] 329c88fbcd65: Pull complete [2022-08-30T18:03:17.061Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-30T18:03:17.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-30T18:03:17.061Z] ---> ff4287adb874 [2022-08-30T18:03:17.061Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T18:03:19.056Z] ---> Running in 8224ffd54e92 [2022-08-30T18:03:19.334Z] Removing intermediate container 8224ffd54e92 [2022-08-30T18:03:19.334Z] ---> 373fb3660a8c [2022-08-30T18:03:19.334Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T18:03:19.615Z] ---> Running in 3b18b510cf24 [2022-08-30T18:03:19.890Z] Removing intermediate container 3b18b510cf24 [2022-08-30T18:03:19.890Z] ---> 7c0fa4d01277 [2022-08-30T18:03:19.890Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T18:03:19.890Z] ---> Running in c4133966b2dc [2022-08-30T18:03:20.171Z] Removing intermediate container c4133966b2dc [2022-08-30T18:03:20.171Z] ---> 3277bd349c56 [2022-08-30T18:03:20.171Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T18:03:20.171Z] ---> Running in 1dd20e0c94ef [2022-08-30T18:03:20.449Z] Removing intermediate container 1dd20e0c94ef [2022-08-30T18:03:20.449Z] ---> 7a8f65bd68a8 [2022-08-30T18:03:20.449Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T18:03:20.724Z] ---> Running in dc9f536ec2e8 [2022-08-30T18:03:24.175Z] Removing intermediate container dc9f536ec2e8 [2022-08-30T18:03:24.175Z] ---> 55e96100efc9 [2022-08-30T18:03:24.175Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T18:03:24.175Z] ---> Running in 97b5bd8329ab [2022-08-30T18:03:24.779Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T18:03:25.777Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T18:03:26.761Z] OK: 221 MiB in 51 packages [2022-08-30T18:03:27.385Z] Removing intermediate container 97b5bd8329ab [2022-08-30T18:03:27.385Z] ---> 14b09340f68b [2022-08-30T18:03:27.385Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T18:03:27.666Z] ---> Running in b09b5a9c3b7d [2022-08-30T18:03:27.958Z] Removing intermediate container b09b5a9c3b7d [2022-08-30T18:03:27.958Z] ---> e4784d1e071e [2022-08-30T18:03:27.958Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T18:03:28.562Z] ---> 3569d18a9a88 [2022-08-30T18:03:28.562Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T18:03:28.562Z] ---> Running in 8392621b9ba5 [2022-08-30T18:04:25.158Z] Removing intermediate container 8392621b9ba5 [2022-08-30T18:04:25.158Z] ---> 5e3c1b50d067 [2022-08-30T18:04:25.158Z] Step 12/13 : COPY . . [2022-08-30T18:04:25.158Z] ---> 409144bd16f2 [2022-08-30T18:04:25.158Z] Step 13/13 : RUN ${MAKE} [2022-08-30T18:04:25.158Z] ---> Running in 632cfa63a364 [2022-08-30T18:04:25.158Z] noop [2022-08-30T18:04:25.158Z] Removing intermediate container 632cfa63a364 [2022-08-30T18:04:25.158Z] ---> 8c7ca03ae7fe [2022-08-30T18:04:25.158Z] Successfully built 8c7ca03ae7fe [2022-08-30T18:04:25.158Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:04:25.533Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T18:04:25.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T18:04:25.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-23966 does not seem to be running inside a container [2022-08-30T18:04:25.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-30T18:04:27.217Z] $ docker top 54f45ef7aec037360989c3a0127606af1087dad7331df2f0131fee5f7df4cb7a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T18:04:28.156Z] + go version [2022-08-30T18:04:28.156Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-30T18:04:28.194Z] $ docker stop --time=1 54f45ef7aec037360989c3a0127606af1087dad7331df2f0131fee5f7df4cb7a [2022-08-30T18:04:29.863Z] $ docker rm -f 54f45ef7aec037360989c3a0127606af1087dad7331df2f0131fee5f7df4cb7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:04:30.486Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T18:04:30.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T18:04:30.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-23966 does not seem to be running inside a container [2022-08-30T18:04:30.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-30T18:04:32.105Z] $ docker top 69a40e2c2dbc69f3ec29f233646f40c214f9b4659a36713ed6525dea5113076c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T18:04:33.010Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh [2022-08-30T18:04:33.684Z] + make test [2022-08-30T18:04:33.684Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T18:04:35.678Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T18:06:12.534Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T18:06:12.534Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.180s coverage: 24.0% of statements [2022-08-30T18:06:34.711Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 33.439s coverage: 13.8% of statements [2022-08-30T18:06:34.711Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-30T18:06:34.711Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T18:06:56.914Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T18:06:56.914Z] ./internal/driver/driver_test.go [2022-08-30T18:06:56.914Z] ./internal/driver/driver.go [2022-08-30T18:06:57.188Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T18:06:57.188Z] make: *** [Makefile:63: test] Error 1 [Pipeline] } [2022-08-30T18:06:57.222Z] $ docker stop --time=1 69a40e2c2dbc69f3ec29f233646f40c214f9b4659a36713ed6525dea5113076c [2022-08-30T18:06:59.010Z] $ docker rm -f 69a40e2c2dbc69f3ec29f233646f40c214f9b4659a36713ed6525dea5113076c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:07:00.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T18:07:00.091Z] [2022-08-30T18:07:00.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:07:00.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T18:07:00.713Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-30T18:07:00.713Z] 8998bd30e6a1: Pulling fs layer [2022-08-30T18:07:00.713Z] 04944245beec: Pulling fs layer [2022-08-30T18:07:00.713Z] 699f458cf7ca: Pulling fs layer [2022-08-30T18:07:00.713Z] 765212b225bb: Pulling fs layer [2022-08-30T18:07:00.713Z] f23df028b6ca: Pulling fs layer [2022-08-30T18:07:00.713Z] d65c8cfc05b1: Pulling fs layer [2022-08-30T18:07:00.713Z] 2437ff75d9bd: Pulling fs layer [2022-08-30T18:07:00.713Z] 765212b225bb: Waiting [2022-08-30T18:07:00.713Z] d65c8cfc05b1: Waiting [2022-08-30T18:07:00.713Z] 2437ff75d9bd: Waiting [2022-08-30T18:07:00.713Z] f23df028b6ca: Waiting [2022-08-30T18:07:00.713Z] 04944245beec: Verifying Checksum [2022-08-30T18:07:00.713Z] 04944245beec: Download complete [2022-08-30T18:07:00.713Z] 765212b225bb: Verifying Checksum [2022-08-30T18:07:00.713Z] 765212b225bb: Download complete [2022-08-30T18:07:01.044Z] f23df028b6ca: Verifying Checksum [2022-08-30T18:07:01.044Z] f23df028b6ca: Download complete [2022-08-30T18:07:01.044Z] d65c8cfc05b1: Verifying Checksum [2022-08-30T18:07:01.044Z] d65c8cfc05b1: Download complete [2022-08-30T18:07:01.044Z] 699f458cf7ca: Verifying Checksum [2022-08-30T18:07:01.044Z] 699f458cf7ca: Download complete [2022-08-30T18:07:01.675Z] 8998bd30e6a1: Verifying Checksum [2022-08-30T18:07:01.675Z] 8998bd30e6a1: Download complete [2022-08-30T18:07:04.347Z] 2437ff75d9bd: Verifying Checksum [2022-08-30T18:07:04.347Z] 2437ff75d9bd: Download complete [2022-08-30T18:07:06.976Z] 8998bd30e6a1: Pull complete [2022-08-30T18:07:07.266Z] 04944245beec: Pull complete [2022-08-30T18:07:08.711Z] 699f458cf7ca: Pull complete [2022-08-30T18:07:08.985Z] 765212b225bb: Pull complete [2022-08-30T18:07:09.965Z] f23df028b6ca: Pull complete [2022-08-30T18:07:10.241Z] d65c8cfc05b1: Pull complete [2022-08-30T18:07:25.332Z] 2437ff75d9bd: Pull complete [2022-08-30T18:07:25.332Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-30T18:07:25.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T18:07:25.333Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T18:07:25.609Z] prd-ubuntu20.04-docker-arm64-4c-16g-23966 does not seem to be running inside a container [2022-08-30T18:07:25.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-30T18:07:28.404Z] $ docker top 32bef641a2a783537b8934d90f8a277869f15ebeabaa0a3457fa031d40e13b95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:07:29.310Z] ---> job-cost.sh [2022-08-30T18:07:29.310Z] lf-activate-venv: SKIPPING [2022-08-30T18:07:29.310Z] INFO: No Stack... [2022-08-30T18:07:29.908Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-30T18:07:30.505Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T18:07:31.164Z] + cut -d, -f6 [2022-08-30T18:07:31.164Z] + cat /w/workspace/device-onvif-camera/8/archives/cost.csv [Pipeline] lock [2022-08-30T18:07:31.226Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-8-stack-cost] [2022-08-30T18:07:31.235Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-8-stack-cost] did not exist. Created. [2022-08-30T18:07:31.235Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T18:07:31.913Z] /w/workspace/device-onvif-camera/8@tmp/durable-b8ec37bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-30T18:07:32.601Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-30T18:07:32.631Z] Warning: overwriting stash ‘stack-cost’ [2022-08-30T18:07:33.114Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T18:07:33.121Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T18:07:33.152Z] $ docker stop --time=1 32bef641a2a783537b8934d90f8a277869f15ebeabaa0a3457fa031d40e13b95 [2022-08-30T18:07:34.671Z] $ docker rm -f 32bef641a2a783537b8934d90f8a277869f15ebeabaa0a3457fa031d40e13b95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T18:07:35.003Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-08-30T18:07:35.686Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-30T18:07:35.686Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T18:07:35.686Z] total 16 [2022-08-30T18:07:35.686Z] drwxr-xr-x 3 root root 4096 Aug 30 18:01 . [2022-08-30T18:07:35.686Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 18:01 .. [2022-08-30T18:07:35.686Z] drwxr-xr-x 2 root root 4096 Aug 30 18:01 cost [2022-08-30T18:07:35.686Z] -rw-r--r-- 1 root root 91 Aug 30 18:01 cost.csv [2022-08-30T18:07:35.686Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T18:07:35.686Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T18:07:35.686Z] total 16 [2022-08-30T18:07:35.686Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 18:01 . [2022-08-30T18:07:35.686Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 18:01 .. [2022-08-30T18:07:35.686Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 18:01 cost [2022-08-30T18:07:35.686Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 30 18:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:07:35.985Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:07:36.947Z] ---> package-listing.sh [2022-08-30T18:07:36.947Z] ++ facter osfamily [2022-08-30T18:07:36.947Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-30T18:07:37.216Z] + OS_FAMILY=debian [2022-08-30T18:07:37.216Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T18:07:37.216Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-30T18:07:37.216Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-30T18:07:37.216Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-30T18:07:37.216Z] + PACKAGES=/tmp/packages_start.txt [2022-08-30T18:07:37.216Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T18:07:37.216Z] + PACKAGES=/tmp/packages_end.txt [2022-08-30T18:07:37.216Z] + case "${OS_FAMILY}" in [2022-08-30T18:07:37.216Z] + grep '^ii' [2022-08-30T18:07:37.216Z] + dpkg -l [2022-08-30T18:07:37.216Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-30T18:07:37.216Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-30T18:07:37.216Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-30T18:07:37.216Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T18:07:37.216Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-30T18:07:37.216Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo [2022-08-30T18:07:37.229Z] 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/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-30T18:07:37.508Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T18:07:38.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T18:07:38.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T18:07:38.155Z] prd-ubuntu20.04-docker-8c-8g-23965 does not seem to be running inside a container [2022-08-30T18:07:38.199Z] $ 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/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-30T18:07:38.390Z] $ docker top b9ec75e16552167cafa75f6b7c0ec60c6f84adef466ff3ac60b4f82646352e41 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T18:07:38.740Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-30T18:07:39.028Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-30T18:07:39.316Z] + ls /var/log/sa-host [2022-08-30T18:07:39.316Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T18:07:39.388Z] provisioning config files... [2022-08-30T18:07:39.397Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config2612929584251516518tmp [Pipeline] { [Pipeline] echo [2022-08-30T18:07:39.410Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:07:39.697Z] ---> create-netrc.sh [Pipeline] } [2022-08-30T18:07:39.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:07:40.034Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-30T18:07:40.044Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:07:40.328Z] ---> sudo-logs.sh [2022-08-30T18:07:40.328Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-30T18:07:40.360Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:07:40.650Z] ---> job-cost.sh [2022-08-30T18:07:40.650Z] lf-activate-venv: SKIPPING [2022-08-30T18:07:40.650Z] DEBUG: total: 0.2199999988079071 [2022-08-30T18:07:40.650Z] INFO: Retrieving Stack Cost... [2022-08-30T18:07:41.222Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T18:07:41.482Z] INFO: Archiving Costs [Pipeline] echo [2022-08-30T18:07:41.490Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T18:07:41.773Z] ---> logs-deploy.sh [2022-08-30T18:07:41.773Z] lf-activate-venv: SKIPPING [2022-08-30T18:07:41.773Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/8 [2022-08-30T18:07:41.773Z] INFO: archiving workspace using pattern(s): [2022-08-30T18:07:42.712Z] Archives upload complete. [2022-08-30T18:07:42.712Z] INFO: archiving logs to Nexus