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 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 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-ssh2532683909186287668.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-ssh8787609334436800886.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-ssh15194187975805281687.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-ssh4614471394156154634.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-ssh13132908150756184192.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23954 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 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 Merge succeeded, producing 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 Checking out Revision 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 (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 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 # 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 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 # timeout=10 Commit message: "test: removed spaces" > git rev-list --no-walk 2cef749898c88682ef5cf2f6abfbb17959305e53 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-30T16:55:01.998Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-30T16:55:02.049Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-30T16:55:02.062Z] ========================================================= [2022-08-30T16:55:02.062Z] EdgeX Global Pipelines Version Info [2022-08-30T16:55:02.062Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-30T16:55:02.804Z] ------------------- [2022-08-30T16:55:02.804Z] stable info: [2022-08-30T16:55:02.804Z] ------------------- [2022-08-30T16:55:02.804Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-30T16:55:02.804Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T16:55:02.804Z] Message: update stable to v1.0.239 [2022-08-30T16:55:03.378Z] ------------------- [2022-08-30T16:55:03.378Z] experimental info: [2022-08-30T16:55:03.378Z] ------------------- [2022-08-30T16:55:03.378Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-30T16:55:03.378Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T16:55:03.378Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-30T16:55:03.638Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-30T16:55:03.651Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-30T16:55:03.659Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-30T16:55:03.668Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-30T16:55:03.676Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-30T16:55:03.685Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-30T16:55:03.694Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-30T16:55:03.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-30T16:55:03.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-30T16:55:03.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-30T16:55:03.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-30T16:55:03.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-30T16:55:03.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-30T16:55:03.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-30T16:55:03.832Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T16:55:03.851Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T16:55:03.869Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T16:55:03.883Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T16:55:03.894Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-30T16:55:03.911Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-30T16:55:03.921Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-30T16:55:03.933Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-30T16:55:03.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-30T16:55:03.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-30T16:55:03.977Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-30T16:55:03.985Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-30T16:55:03.994Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-30T16:55:04.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-30T16:55:04.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-30T16:55:04.032Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-30T16:55:04.040Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [Pipeline] echo [2022-08-30T16:55:04.052Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cd9dd1 [Pipeline] echo [2022-08-30T16:55:04.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T16:55:04.112Z] provisioning config files... [2022-08-30T16:55:04.127Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1868431243816159749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T16:55:04.432Z] ---> docker-login.sh [2022-08-30T16:55:04.432Z] nexus3.edgexfoundry.org:10001 [2022-08-30T16:55:04.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:04.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:04.693Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:04.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:04.693Z] [2022-08-30T16:55:04.693Z] Login Succeeded [2022-08-30T16:55:04.954Z] nexus3.edgexfoundry.org:10002 [2022-08-30T16:55:04.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:04.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:04.954Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:04.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:04.954Z] [2022-08-30T16:55:04.954Z] Login Succeeded [2022-08-30T16:55:04.954Z] nexus3.edgexfoundry.org:10003 [2022-08-30T16:55:04.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:05.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:05.215Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:05.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:05.215Z] [2022-08-30T16:55:05.215Z] Login Succeeded [2022-08-30T16:55:05.215Z] nexus3.edgexfoundry.org:10004 [2022-08-30T16:55:05.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:05.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:05.215Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:05.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:05.215Z] [2022-08-30T16:55:05.215Z] Login Succeeded [2022-08-30T16:55:05.215Z] docker.io [2022-08-30T16:55:05.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:05.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:05.738Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:05.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:05.738Z] [2022-08-30T16:55:05.738Z] Login Succeeded [2022-08-30T16:55:05.738Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T16:55:05.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-30T16:55:06.138Z] + git rev-list -1 --merges 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1~1..7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [Pipeline] echo [2022-08-30T16:55:06.171Z] -----------> git rev-list -1 --merges 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1~1..7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [false] [Pipeline] sh [2022-08-30T16:55:06.465Z] + git log --format=format:%s -1 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [Pipeline] echo [2022-08-30T16:55:06.480Z] ========================================================= [2022-08-30T16:55:06.481Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-30T16:55:06.481Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T16:55:06.819Z] + git log --format=format:%s -1 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [Pipeline] echo [2022-08-30T16:55:06.831Z] [semverPrep] GIT_COMMIT: 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1, Commit Message: test: removed spaces [Pipeline] echo [2022-08-30T16:55:06.842Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-30T16:55:07.208Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-30T16:55:07.208Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-30T16:55:07.208Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-30T16:55:07.208Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-30T16:55:07.208Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-30T16:55:07.208Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-30T16:55:07.208Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T16:55:07.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T16:55:07.639Z] [2022-08-30T16:55:07.639Z] 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-30T16:55:07.953Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T16:55:07.953Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-30T16:55:07.953Z] b85a868b505f: Pulling fs layer [2022-08-30T16:55:07.953Z] e2be974225ed: Pulling fs layer [2022-08-30T16:55:07.953Z] 339a4e72a1f5: Pulling fs layer [2022-08-30T16:55:07.953Z] 988bab9f4d93: Pulling fs layer [2022-08-30T16:55:07.953Z] 1469e6f7b9e6: Pulling fs layer [2022-08-30T16:55:07.953Z] eaf3925da568: Pulling fs layer [2022-08-30T16:55:07.953Z] 988bab9f4d93: Waiting [2022-08-30T16:55:07.953Z] 1469e6f7b9e6: Waiting [2022-08-30T16:55:07.953Z] bab4dde63d76: Pulling fs layer [2022-08-30T16:55:07.953Z] bde34c3a00c8: Pulling fs layer [2022-08-30T16:55:07.953Z] bab4dde63d76: Waiting [2022-08-30T16:55:07.953Z] bde34c3a00c8: Waiting [2022-08-30T16:55:07.953Z] b352a97aabf1: Pulling fs layer [2022-08-30T16:55:07.953Z] 4872d77fe225: Pulling fs layer [2022-08-30T16:55:07.953Z] 5851b861e8e6: Pulling fs layer [2022-08-30T16:55:07.953Z] 5851b861e8e6: Waiting [2022-08-30T16:55:07.953Z] e2be974225ed: Verifying Checksum [2022-08-30T16:55:07.953Z] e2be974225ed: Download complete [2022-08-30T16:55:07.953Z] 988bab9f4d93: Verifying Checksum [2022-08-30T16:55:07.953Z] 988bab9f4d93: Download complete [2022-08-30T16:55:08.213Z] 1469e6f7b9e6: Verifying Checksum [2022-08-30T16:55:08.213Z] 1469e6f7b9e6: Download complete [2022-08-30T16:55:08.213Z] 339a4e72a1f5: Verifying Checksum [2022-08-30T16:55:08.213Z] 339a4e72a1f5: Download complete [2022-08-30T16:55:08.213Z] eaf3925da568: Verifying Checksum [2022-08-30T16:55:08.213Z] eaf3925da568: Download complete [2022-08-30T16:55:08.213Z] bde34c3a00c8: Verifying Checksum [2022-08-30T16:55:08.213Z] bde34c3a00c8: Download complete [2022-08-30T16:55:08.213Z] b352a97aabf1: Verifying Checksum [2022-08-30T16:55:08.213Z] b352a97aabf1: Download complete [2022-08-30T16:55:08.213Z] 4872d77fe225: Download complete [2022-08-30T16:55:08.213Z] 5851b861e8e6: Verifying Checksum [2022-08-30T16:55:08.213Z] 5851b861e8e6: Download complete [2022-08-30T16:55:08.213Z] b85a868b505f: Verifying Checksum [2022-08-30T16:55:08.213Z] b85a868b505f: Download complete [2022-08-30T16:55:08.474Z] bab4dde63d76: Verifying Checksum [2022-08-30T16:55:08.474Z] bab4dde63d76: Download complete [2022-08-30T16:55:09.855Z] b85a868b505f: Pull complete [2022-08-30T16:55:09.855Z] e2be974225ed: Pull complete [2022-08-30T16:55:10.428Z] 339a4e72a1f5: Pull complete [2022-08-30T16:55:10.428Z] 988bab9f4d93: Pull complete [2022-08-30T16:55:10.689Z] 1469e6f7b9e6: Pull complete [2022-08-30T16:55:10.689Z] eaf3925da568: Pull complete [2022-08-30T16:55:12.604Z] bab4dde63d76: Pull complete [2022-08-30T16:55:12.864Z] bde34c3a00c8: Pull complete [2022-08-30T16:55:12.864Z] b352a97aabf1: Pull complete [2022-08-30T16:55:13.125Z] 4872d77fe225: Pull complete [2022-08-30T16:55:13.125Z] 5851b861e8e6: Pull complete [2022-08-30T16:55:13.125Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-30T16:55:13.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T16:55:13.125Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T16:55:13.228Z] prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container [2022-08-30T16:55:13.265Z] $ 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-30T16:55:15.924Z] $ docker top fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e -eo pid,comm [2022-08-30T16:55:15.980Z] 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-30T16:55:15.980Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-30T16:55:16.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T16:55:16.021Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T16:55:16.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T16:55:16.155Z] $ docker exec fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e ssh-agent [2022-08-30T16:55:16.274Z] SSH_AUTH_SOCK=/tmp/ssh-Gj0tsM60P62i/agent.33 [2022-08-30T16:55:16.274Z] SSH_AGENT_PID=40 [2022-08-30T16:55:16.280Z] Running ssh-add (command line suppressed) [2022-08-30T16:55:16.392Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8766622053346168387.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8766622053346168387.key) [2022-08-30T16:55:16.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T16:55:16.688Z] + git tag --points-at HEAD [Pipeline] } [2022-08-30T16:55:16.703Z] $ docker exec --env ******** --env ******** fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e ssh-agent -k [2022-08-30T16:55:16.805Z] unset SSH_AUTH_SOCK; [2022-08-30T16:55:16.806Z] unset SSH_AGENT_PID; [2022-08-30T16:55:16.806Z] echo Agent pid 40 killed; [2022-08-30T16:55:16.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-30T16:55:16.841Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T16:55:16.841Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T16:55:16.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T16:55:16.966Z] $ docker exec fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e ssh-agent [2022-08-30T16:55:17.079Z] SSH_AUTH_SOCK=/tmp/ssh-u7bl2eSBw1tn/agent.72 [2022-08-30T16:55:17.079Z] SSH_AGENT_PID=78 [2022-08-30T16:55:17.085Z] Running ssh-add (command line suppressed) [2022-08-30T16:55:17.197Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_318618178513558442.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_318618178513558442.key) [2022-08-30T16:55:17.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T16:55:17.498Z] + git semver init [2022-08-30T16:55:17.759Z] 2022-08-30 16:55:17,700 [run_init] DEBUG init version:0.0.0 force:False [2022-08-30T16:55:17.759Z] 2022-08-30 16:55:17,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T16:55:17.759Z] 2022-08-30 16:55:17,701 [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-30T16:55:17.759Z] 2022-08-30 16:55:17,702 [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-30T16:55:18.707Z] 2022-08-30 16:55:18,501 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-30T16:55:18.707Z] 2022-08-30 16:55:18,502 [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-30T16:55:18.707Z] 2022-08-30 16:55:18,502 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T16:55:18.707Z] 2022-08-30 16:55:18,506 [execute] INFO git cat-file --batch-check [2022-08-30T16:55:18.707Z] 2022-08-30 16:55:18,507 [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-30T16:55:18.707Z] 2022-08-30 16:55:18,515 [execute] INFO git cat-file --batch [2022-08-30T16:55:18.707Z] 2022-08-30 16:55:18,515 [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-30T16:55:18.707Z] 2022-08-30 16:55:18,521 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T16:55:18.707Z] 0.0.0 [Pipeline] } [2022-08-30T16:55:18.724Z] $ docker exec --env ******** --env ******** fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e ssh-agent -k [2022-08-30T16:55:18.828Z] unset SSH_AUTH_SOCK; [2022-08-30T16:55:18.828Z] unset SSH_AGENT_PID; [2022-08-30T16:55:18.829Z] echo Agent pid 78 killed; [2022-08-30T16:55:18.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-30T16:55:19.148Z] + git semver [Pipeline] } [2022-08-30T16:55:19.429Z] $ docker stop --time=1 fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e [2022-08-30T16:55:20.714Z] $ docker rm -f fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T16:55:21.070Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-30T16:55:21.336Z] Stashed 1 file(s) [Pipeline] echo [2022-08-30T16:55:21.338Z] [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-30T16:55:21.484Z] provisioning config files... [2022-08-30T16:55:21.493Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6184185414662486201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T16:55:21.791Z] ---> docker-login.sh [2022-08-30T16:55:21.792Z] nexus3.edgexfoundry.org:10001 [2022-08-30T16:55:21.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:21.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:21.792Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:21.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:21.792Z] [2022-08-30T16:55:21.792Z] Login Succeeded [2022-08-30T16:55:21.792Z] nexus3.edgexfoundry.org:10002 [2022-08-30T16:55:21.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:22.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:22.051Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:22.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:22.051Z] [2022-08-30T16:55:22.051Z] Login Succeeded [2022-08-30T16:55:22.051Z] nexus3.edgexfoundry.org:10003 [2022-08-30T16:55:22.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:22.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:22.051Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:22.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:22.051Z] [2022-08-30T16:55:22.051Z] Login Succeeded [2022-08-30T16:55:22.051Z] nexus3.edgexfoundry.org:10004 [2022-08-30T16:55:22.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:22.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:22.312Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:22.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:22.312Z] [2022-08-30T16:55:22.312Z] Login Succeeded [2022-08-30T16:55:22.312Z] docker.io [2022-08-30T16:55:22.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T16:55:22.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T16:55:22.572Z] Configure a credential helper to remove this warning. See [2022-08-30T16:55:22.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T16:55:22.572Z] [2022-08-30T16:55:22.572Z] Login Succeeded [2022-08-30T16:55:22.572Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T16:55:22.581Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T16:55:22.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T16:55:22.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T16:55:22.676Z] ========================================================= [2022-08-30T16:55:22.676Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-30T16:55:22.676Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T16:55:22.999Z] + 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-30T16:55:22.999Z] Sending build context to Docker daemon 20.61MB [2022-08-30T16:55:23.000Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T16:55:23.000Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T16:55:23.261Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-30T16:55:23.261Z] 2408cc74d12b: Pulling fs layer [2022-08-30T16:55:23.261Z] ea60b727a1ce: Pulling fs layer [2022-08-30T16:55:23.261Z] 30c4a7721957: Pulling fs layer [2022-08-30T16:55:23.261Z] 370296b7ddb6: Pulling fs layer [2022-08-30T16:55:23.261Z] 7c6cee850709: Pulling fs layer [2022-08-30T16:55:23.261Z] 39a5fcdaea64: Pulling fs layer [2022-08-30T16:55:23.261Z] d94ebbe4e438: Pulling fs layer [2022-08-30T16:55:23.261Z] bcfd1f05c69d: Pulling fs layer [2022-08-30T16:55:23.262Z] 59ccb84bbe0f: Pulling fs layer [2022-08-30T16:55:23.262Z] 370296b7ddb6: Waiting [2022-08-30T16:55:23.262Z] 7c6cee850709: Waiting [2022-08-30T16:55:23.262Z] 39a5fcdaea64: Waiting [2022-08-30T16:55:23.262Z] d94ebbe4e438: Waiting [2022-08-30T16:55:23.262Z] bcfd1f05c69d: Waiting [2022-08-30T16:55:23.262Z] 59ccb84bbe0f: Waiting [2022-08-30T16:55:23.262Z] 30c4a7721957: Verifying Checksum [2022-08-30T16:55:23.262Z] 30c4a7721957: Download complete [2022-08-30T16:55:23.262Z] ea60b727a1ce: Verifying Checksum [2022-08-30T16:55:23.262Z] ea60b727a1ce: Download complete [2022-08-30T16:55:23.262Z] 7c6cee850709: Verifying Checksum [2022-08-30T16:55:23.262Z] 39a5fcdaea64: Verifying Checksum [2022-08-30T16:55:23.262Z] 39a5fcdaea64: Download complete [2022-08-30T16:55:23.262Z] 2408cc74d12b: Verifying Checksum [2022-08-30T16:55:23.262Z] 2408cc74d12b: Download complete [2022-08-30T16:55:23.262Z] d94ebbe4e438: Verifying Checksum [2022-08-30T16:55:23.262Z] d94ebbe4e438: Download complete [2022-08-30T16:55:23.526Z] 2408cc74d12b: Pull complete [2022-08-30T16:55:23.526Z] ea60b727a1ce: Pull complete [2022-08-30T16:55:23.788Z] 30c4a7721957: Pull complete [2022-08-30T16:55:23.788Z] 59ccb84bbe0f: Verifying Checksum [2022-08-30T16:55:23.788Z] 59ccb84bbe0f: Download complete [2022-08-30T16:55:23.788Z] bcfd1f05c69d: Verifying Checksum [2022-08-30T16:55:23.788Z] bcfd1f05c69d: Download complete [2022-08-30T16:55:24.056Z] 370296b7ddb6: Verifying Checksum [2022-08-30T16:55:24.056Z] 370296b7ddb6: Download complete [2022-08-30T16:55:28.251Z] 370296b7ddb6: Pull complete [2022-08-30T16:55:28.251Z] 7c6cee850709: Pull complete [2022-08-30T16:55:28.251Z] 39a5fcdaea64: Pull complete [2022-08-30T16:55:28.251Z] d94ebbe4e438: Pull complete [2022-08-30T16:55:30.156Z] bcfd1f05c69d: Pull complete [2022-08-30T16:55:31.091Z] 59ccb84bbe0f: Pull complete [2022-08-30T16:55:31.091Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-30T16:55:31.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-30T16:55:31.091Z] ---> a4fb48ad2a94 [2022-08-30T16:55:31.091Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T16:55:35.309Z] ---> Running in 5bfe7cd5d620 [2022-08-30T16:55:35.309Z] Removing intermediate container 5bfe7cd5d620 [2022-08-30T16:55:35.309Z] ---> 56f7c6dc5686 [2022-08-30T16:55:35.309Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T16:55:35.309Z] ---> Running in 3aaa04bfbbcd [2022-08-30T16:55:35.309Z] Removing intermediate container 3aaa04bfbbcd [2022-08-30T16:55:35.309Z] ---> 14d35913a790 [2022-08-30T16:55:35.309Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T16:55:35.309Z] ---> Running in 9ee92a6ef878 [2022-08-30T16:55:35.309Z] Removing intermediate container 9ee92a6ef878 [2022-08-30T16:55:35.309Z] ---> 3477e55c27ca [2022-08-30T16:55:35.309Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T16:55:35.309Z] ---> Running in 7dff58166e60 [2022-08-30T16:55:35.309Z] Removing intermediate container 7dff58166e60 [2022-08-30T16:55:35.309Z] ---> 742e6ca6e411 [2022-08-30T16:55:35.309Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T16:55:35.309Z] ---> Running in 5762f8645fc3 [2022-08-30T16:55:35.879Z] Removing intermediate container 5762f8645fc3 [2022-08-30T16:55:35.879Z] ---> 372b2c4f3fe7 [2022-08-30T16:55:35.879Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T16:55:35.879Z] ---> Running in c1ec5920156e [2022-08-30T16:55:36.140Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T16:55:36.449Z] Still waiting to schedule task [2022-08-30T16:55:36.450Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-30T16:55:37.087Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T16:55:37.087Z] OK: 211 MiB in 51 packages [2022-08-30T16:55:37.658Z] Removing intermediate container c1ec5920156e [2022-08-30T16:55:37.658Z] ---> 0147976fa48a [2022-08-30T16:55:37.658Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T16:55:37.658Z] ---> Running in 4b703463ca82 [2022-08-30T16:55:37.658Z] Removing intermediate container 4b703463ca82 [2022-08-30T16:55:37.658Z] ---> 9fc4811b1990 [2022-08-30T16:55:37.658Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T16:55:37.658Z] ---> 4098a0a30091 [2022-08-30T16:55:37.658Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T16:55:37.658Z] ---> Running in 9b1bd88e291b [2022-08-30T16:55:59.626Z] Removing intermediate container 9b1bd88e291b [2022-08-30T16:55:59.626Z] ---> 202a10796933 [2022-08-30T16:55:59.626Z] Step 12/13 : COPY . . [2022-08-30T16:55:59.626Z] ---> 84e1f3de1ef8 [2022-08-30T16:55:59.626Z] Step 13/13 : RUN ${MAKE} [2022-08-30T16:55:59.626Z] ---> Running in a066d1e3fefa [2022-08-30T16:55:59.626Z] noop [2022-08-30T16:55:59.626Z] Removing intermediate container a066d1e3fefa [2022-08-30T16:55:59.626Z] ---> 852236ad4f6c [2022-08-30T16:55:59.626Z] Successfully built 852236ad4f6c [2022-08-30T16:55:59.626Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T16:55:59.949Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T16:55:59.949Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T16:56:00.030Z] prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container [2022-08-30T16:56:00.135Z] $ 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-30T16:56:00.498Z] $ docker top 9f0e802a145048583c0260f0843cb5c663728711c741263ceb77affde7fb63a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T16:56:00.861Z] + go version [2022-08-30T16:56:00.861Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-30T16:56:00.875Z] $ docker stop --time=1 9f0e802a145048583c0260f0843cb5c663728711c741263ceb77affde7fb63a8 [2022-08-30T16:56:02.133Z] $ docker rm -f 9f0e802a145048583c0260f0843cb5c663728711c741263ceb77affde7fb63a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T16:56:02.556Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T16:56:02.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T16:56:02.651Z] prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container [2022-08-30T16:56:02.690Z] $ 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-30T16:56:03.119Z] $ docker top 4d04dc7ca4eeade8953515ac16c66cf10cd1848482cb5129c7bc3f2aed6250fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T16:56:03.479Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-30T16:56:03.777Z] + make test [2022-08-30T16:56:03.778Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T16:56:04.037Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T16:56:14.019Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T16:56:14.956Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.024s coverage: 23.1% of statements [2022-08-30T16:56:19.155Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.207s coverage: 13.8% of statements [2022-08-30T16:56:25.731Z] 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-30T16:56:25.731Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T16:56:29.025Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T16:56:29.025Z] ./internal/driver/driver_test.go [2022-08-30T16:56:29.025Z] ./internal/driver/driver.go [2022-08-30T16:56:29.025Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T16:56:29.025Z] make: *** [Makefile:63: test] Error 1 [Pipeline] } [2022-08-30T16:56:29.039Z] $ docker stop --time=1 4d04dc7ca4eeade8953515ac16c66cf10cd1848482cb5129c7bc3f2aed6250fa [2022-08-30T16:56:31.230Z] $ docker rm -f 4d04dc7ca4eeade8953515ac16c66cf10cd1848482cb5129c7bc3f2aed6250fa [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-30T16:56:31.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T16:56:31.840Z] [2022-08-30T16:56:31.840Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T16:56:32.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T16:56:32.146Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-30T16:56:32.146Z] 5eb5b503b376: Pulling fs layer [2022-08-30T16:56:32.146Z] 5c69ac0246d0: Pulling fs layer [2022-08-30T16:56:32.146Z] ec43610c2a17: Pulling fs layer [2022-08-30T16:56:32.146Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-30T16:56:32.146Z] 33b1e0a273af: Pulling fs layer [2022-08-30T16:56:32.146Z] 5d3b04190fa2: Pulling fs layer [2022-08-30T16:56:32.146Z] 2f39f015ded8: Pulling fs layer [2022-08-30T16:56:32.146Z] 3a2ae6a8a46f: Waiting [2022-08-30T16:56:32.146Z] 33b1e0a273af: Waiting [2022-08-30T16:56:32.146Z] 5d3b04190fa2: Waiting [2022-08-30T16:56:32.146Z] 2f39f015ded8: Waiting [2022-08-30T16:56:32.406Z] 5c69ac0246d0: Download complete [2022-08-30T16:56:32.406Z] 3a2ae6a8a46f: Download complete [2022-08-30T16:56:32.406Z] ec43610c2a17: Verifying Checksum [2022-08-30T16:56:32.406Z] ec43610c2a17: Download complete [2022-08-30T16:56:32.406Z] 33b1e0a273af: Verifying Checksum [2022-08-30T16:56:32.406Z] 33b1e0a273af: Download complete [2022-08-30T16:56:32.406Z] 5d3b04190fa2: Verifying Checksum [2022-08-30T16:56:32.406Z] 5d3b04190fa2: Download complete [2022-08-30T16:56:32.406Z] 5eb5b503b376: Verifying Checksum [2022-08-30T16:56:32.406Z] 5eb5b503b376: Download complete [2022-08-30T16:56:33.347Z] 2f39f015ded8: Download complete [2022-08-30T16:56:33.610Z] 5eb5b503b376: Pull complete [2022-08-30T16:56:33.868Z] 5c69ac0246d0: Pull complete [2022-08-30T16:56:34.437Z] ec43610c2a17: Pull complete [2022-08-30T16:56:34.437Z] 3a2ae6a8a46f: Pull complete [2022-08-30T16:56:34.437Z] 33b1e0a273af: Pull complete [2022-08-30T16:56:34.696Z] 5d3b04190fa2: Pull complete [2022-08-30T16:56:38.889Z] 2f39f015ded8: Pull complete [2022-08-30T16:56:38.889Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-30T16:56:38.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T16:56:38.889Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T16:56:38.983Z] prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container [2022-08-30T16:56:39.022Z] $ 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-30T16:56:41.363Z] $ docker top cb4d24281e591205dc2b31a4e39d94691a95ee61ad41f0555dc11752e5637ab4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T16:56:41.762Z] ---> job-cost.sh [2022-08-30T16:56:41.762Z] lf-activate-venv: SKIPPING [2022-08-30T16:56:41.762Z] INFO: No Stack... [2022-08-30T16:56:42.021Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T16:56:42.589Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T16:56:42.880Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-30T16:56:42.880Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T16:56:42.895Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [2022-08-30T16:56:42.901Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] did not exist. Created. [2022-08-30T16:56:42.901Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T16:56:43.203Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-30T16:56:43.242Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T16:56:43.251Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T16:56:43.272Z] $ docker stop --time=1 cb4d24281e591205dc2b31a4e39d94691a95ee61ad41f0555dc11752e5637ab4 [2022-08-30T16:56:44.419Z] $ docker rm -f cb4d24281e591205dc2b31a4e39d94691a95ee61ad41f0555dc11752e5637ab4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T16:56:44.520Z] Failed in branch amd64 [2022-08-30T17:00:03.259Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23955 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-30T17:00:03.273Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-08-30T17:00:03.313Z] Selected Git installation does not exist. Using Default [2022-08-30T17:00:03.313Z] The recommended git tool is: NONE [2022-08-30T17:00:10.341Z] using credential edgex-jenkins-ssh [2022-08-30T17:00:10.361Z] Cloning the remote Git repository [2022-08-30T17:00:10.429Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T17:00:10.522Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-08-30T17:00:10.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T17:00:10.631Z] > git --version # timeout=10 [2022-08-30T17:00:10.655Z] > git --version # 'git version 2.25.1' [2022-08-30T17:00:10.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T17:00:10.739Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T17:00:11.914Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T17:00:11.938Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T17:00:11.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T17:00:12.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T17:00:12.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T17:00:12.035Z] > 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-30T17:00:12.695Z] Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [2022-08-30T17:00:13.089Z] Merge succeeded, producing 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [2022-08-30T17:00:13.090Z] Checking out Revision 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 (PR-149) [2022-08-30T17:00:12.719Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T17:00:12.743Z] > git checkout -f 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 # timeout=10 [2022-08-30T17:00:12.988Z] > git remote # timeout=10 [2022-08-30T17:00:13.006Z] > git config --get remote.origin.url # timeout=10 [2022-08-30T17:00:13.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T17:00:13.035Z] > git merge b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 [2022-08-30T17:00:13.063Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-30T17:00:13.101Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T17:00:13.119Z] > git checkout -f 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 # timeout=10 [2022-08-30T17:00:17.664Z] Commit message: "test: removed spaces" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T17:00:18.696Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-30T17:00:18.696Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T17:00:18.696Z] Dload Upload Total Spent Left Speed [2022-08-30T17:00:18.696Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 68489 0 --:--:-- --:--:-- --:--:-- 68489 [Pipeline] sh [2022-08-30T17:00:19.464Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-30T17:00:19.822Z] + sudo tee /etc/docker/daemon.new [2022-08-30T17:00:19.822Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-30T17:00:19.822Z] { [2022-08-30T17:00:19.822Z] "registry-mirrors": [ [2022-08-30T17:00:19.822Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-30T17:00:19.822Z] ], [2022-08-30T17:00:19.822Z] "bip": "10.250.0.254/24", [2022-08-30T17:00:19.822Z] "hosts": [ [2022-08-30T17:00:19.822Z] "tcp://0.0.0.0:5555", [2022-08-30T17:00:19.822Z] "unix:///var/run/docker.sock" [2022-08-30T17:00:19.822Z] ], [2022-08-30T17:00:19.822Z] "mtu": 1458, [2022-08-30T17:00:19.822Z] "selinux-enabled": true, [2022-08-30T17:00:19.822Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-30T17:00:19.822Z] } [Pipeline] sh [2022-08-30T17:00:20.186Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-30T17:00:20.589Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T17:00:38.984Z] provisioning config files... [2022-08-30T17:00:39.012Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config7148923280100236119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:00:39.522Z] ---> docker-login.sh [2022-08-30T17:00:39.522Z] nexus3.edgexfoundry.org:10001 [2022-08-30T17:00:40.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:00:40.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:00:40.735Z] Configure a credential helper to remove this warning. See [2022-08-30T17:00:40.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:00:40.735Z] [2022-08-30T17:00:40.735Z] Login Succeeded [2022-08-30T17:00:40.735Z] nexus3.edgexfoundry.org:10002 [2022-08-30T17:00:41.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:00:41.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:00:41.286Z] Configure a credential helper to remove this warning. See [2022-08-30T17:00:41.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:00:41.286Z] [2022-08-30T17:00:41.286Z] Login Succeeded [2022-08-30T17:00:41.286Z] nexus3.edgexfoundry.org:10003 [2022-08-30T17:00:41.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:00:41.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:00:41.854Z] Configure a credential helper to remove this warning. See [2022-08-30T17:00:41.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:00:41.854Z] [2022-08-30T17:00:41.854Z] Login Succeeded [2022-08-30T17:00:41.854Z] nexus3.edgexfoundry.org:10004 [2022-08-30T17:00:42.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:00:42.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:00:42.404Z] Configure a credential helper to remove this warning. See [2022-08-30T17:00:42.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:00:42.404Z] [2022-08-30T17:00:42.404Z] Login Succeeded [2022-08-30T17:00:42.404Z] docker.io [2022-08-30T17:00:42.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T17:00:43.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T17:00:43.283Z] Configure a credential helper to remove this warning. See [2022-08-30T17:00:43.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T17:00:43.283Z] [2022-08-30T17:00:43.283Z] Login Succeeded [2022-08-30T17:00:43.283Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T17:00:43.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T17:00:43.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T17:00:43.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T17:00:43.655Z] ========================================================= [2022-08-30T17:00:43.655Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-30T17:00:43.655Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:00:44.027Z] + 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-30T17:00:44.640Z] Sending build context to Docker daemon 14.13MB [2022-08-30T17:00:44.640Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T17:00:44.640Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T17:00:44.918Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-30T17:00:44.918Z] b3c136eddcbf: Pulling fs layer [2022-08-30T17:00:44.918Z] c0a3192eca97: Pulling fs layer [2022-08-30T17:00:44.918Z] a050256f5b6f: Pulling fs layer [2022-08-30T17:00:44.918Z] 656be50a0ddc: Pulling fs layer [2022-08-30T17:00:44.918Z] 2bbca73fdf42: Pulling fs layer [2022-08-30T17:00:44.918Z] 46d945488cbd: Pulling fs layer [2022-08-30T17:00:44.918Z] 8a5474983e97: Pulling fs layer [2022-08-30T17:00:44.918Z] 329c88fbcd65: Pulling fs layer [2022-08-30T17:00:44.918Z] 46d945488cbd: Waiting [2022-08-30T17:00:44.918Z] 8a5474983e97: Waiting [2022-08-30T17:00:44.918Z] 329c88fbcd65: Waiting [2022-08-30T17:00:44.918Z] 656be50a0ddc: Waiting [2022-08-30T17:00:44.918Z] 2bbca73fdf42: Waiting [2022-08-30T17:00:44.918Z] a050256f5b6f: Verifying Checksum [2022-08-30T17:00:44.918Z] a050256f5b6f: Download complete [2022-08-30T17:00:44.918Z] c0a3192eca97: Download complete [2022-08-30T17:00:44.918Z] 2bbca73fdf42: Verifying Checksum [2022-08-30T17:00:44.918Z] 2bbca73fdf42: Download complete [2022-08-30T17:00:44.918Z] 46d945488cbd: Verifying Checksum [2022-08-30T17:00:44.918Z] 46d945488cbd: Download complete [2022-08-30T17:00:44.918Z] b3c136eddcbf: Verifying Checksum [2022-08-30T17:00:44.918Z] b3c136eddcbf: Download complete [2022-08-30T17:00:45.928Z] b3c136eddcbf: Pull complete [2022-08-30T17:00:46.205Z] 329c88fbcd65: Verifying Checksum [2022-08-30T17:00:46.205Z] 329c88fbcd65: Download complete [2022-08-30T17:00:46.486Z] c0a3192eca97: Pull complete [2022-08-30T17:00:46.763Z] a050256f5b6f: Pull complete [2022-08-30T17:00:47.377Z] 8a5474983e97: Verifying Checksum [2022-08-30T17:00:47.377Z] 8a5474983e97: Download complete [2022-08-30T17:00:48.363Z] 656be50a0ddc: Verifying Checksum [2022-08-30T17:00:48.364Z] 656be50a0ddc: Download complete [2022-08-30T17:01:03.481Z] 656be50a0ddc: Pull complete [2022-08-30T17:01:03.482Z] 2bbca73fdf42: Pull complete [2022-08-30T17:01:03.482Z] 46d945488cbd: Pull complete [2022-08-30T17:01:10.256Z] 8a5474983e97: Pull complete [2022-08-30T17:01:12.893Z] 329c88fbcd65: Pull complete [2022-08-30T17:01:12.893Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-30T17:01:12.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-30T17:01:12.893Z] ---> ff4287adb874 [2022-08-30T17:01:12.893Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T17:01:14.900Z] ---> Running in 674addfe4504 [2022-08-30T17:01:15.508Z] Removing intermediate container 674addfe4504 [2022-08-30T17:01:15.508Z] ---> 34ce2382129d [2022-08-30T17:01:15.508Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T17:01:15.508Z] ---> Running in b9618e9aa414 [2022-08-30T17:01:15.787Z] Removing intermediate container b9618e9aa414 [2022-08-30T17:01:15.787Z] ---> 5275192bb910 [2022-08-30T17:01:15.787Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T17:01:15.787Z] ---> Running in 722a5eef290a [2022-08-30T17:01:16.392Z] Removing intermediate container 722a5eef290a [2022-08-30T17:01:16.392Z] ---> de878889962f [2022-08-30T17:01:16.392Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T17:01:16.392Z] ---> Running in d578f8cf1932 [2022-08-30T17:01:16.686Z] Removing intermediate container d578f8cf1932 [2022-08-30T17:01:16.686Z] ---> 5b1f71fc7f54 [2022-08-30T17:01:16.686Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T17:01:16.686Z] ---> Running in 4a134457dc62 [2022-08-30T17:01:19.351Z] Removing intermediate container 4a134457dc62 [2022-08-30T17:01:19.351Z] ---> 3077a0fa62e5 [2022-08-30T17:01:19.351Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T17:01:19.351Z] ---> Running in ebdbfa5b5107 [2022-08-30T17:01:20.343Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T17:01:20.941Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T17:01:22.394Z] OK: 221 MiB in 51 packages [2022-08-30T17:01:22.998Z] Removing intermediate container ebdbfa5b5107 [2022-08-30T17:01:22.998Z] ---> d4370c81ec77 [2022-08-30T17:01:22.998Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T17:01:23.273Z] ---> Running in 2d9b70699a07 [2022-08-30T17:01:23.550Z] Removing intermediate container 2d9b70699a07 [2022-08-30T17:01:23.550Z] ---> 312caa2aec68 [2022-08-30T17:01:23.550Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T17:01:24.143Z] ---> eb3efa6a9845 [2022-08-30T17:01:24.143Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T17:01:24.143Z] ---> Running in d53c4c16b4ba [2022-08-30T17:02:20.709Z] Removing intermediate container d53c4c16b4ba [2022-08-30T17:02:20.709Z] ---> f16e963cecfd [2022-08-30T17:02:20.709Z] Step 12/13 : COPY . . [2022-08-30T17:02:20.709Z] ---> aa2a860ea699 [2022-08-30T17:02:20.709Z] Step 13/13 : RUN ${MAKE} [2022-08-30T17:02:20.709Z] ---> Running in ed3b0fe4b4b8 [2022-08-30T17:02:20.984Z] noop [2022-08-30T17:02:21.970Z] Removing intermediate container ed3b0fe4b4b8 [2022-08-30T17:02:21.970Z] ---> d121452a5b48 [2022-08-30T17:02:21.970Z] Successfully built d121452a5b48 [2022-08-30T17:02:21.970Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:02:22.368Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T17:02:22.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:02:22.651Z] prd-ubuntu20.04-docker-arm64-4c-16g-23955 does not seem to be running inside a container [2022-08-30T17:02:22.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-30T17:02:24.222Z] $ docker top 5073efb2f6c61865e09defe0aa68db36c113cf38b3aafc40c7ea5a1b9077e32d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T17:02:25.192Z] + go version [2022-08-30T17:02:25.192Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-30T17:02:25.227Z] $ docker stop --time=1 5073efb2f6c61865e09defe0aa68db36c113cf38b3aafc40c7ea5a1b9077e32d [2022-08-30T17:02:26.942Z] $ docker rm -f 5073efb2f6c61865e09defe0aa68db36c113cf38b3aafc40c7ea5a1b9077e32d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:02:27.571Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T17:02:27.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:02:27.852Z] prd-ubuntu20.04-docker-arm64-4c-16g-23955 does not seem to be running inside a container [2022-08-30T17:02:27.953Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-30T17:02:29.328Z] $ docker top 1f6bfabe0fcdd78c02600dbb92369216c2b6348620024885cbe12133586e4640 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T17:02:30.284Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-08-30T17:02:30.968Z] + make test [2022-08-30T17:02:30.968Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T17:02:32.966Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T17:04:24.918Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T17:04:24.918Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.190s coverage: 23.1% of statements [2022-08-30T17:04:51.735Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 33.667s coverage: 13.8% of statements [2022-08-30T17:04:51.735Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-30T17:04:51.735Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T17:05:18.739Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T17:05:18.739Z] ./internal/driver/driver_test.go [2022-08-30T17:05:18.739Z] ./internal/driver/driver.go [2022-08-30T17:05:18.739Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T17:05:18.739Z] make: *** [Makefile:63: test] Error 1 [Pipeline] } [2022-08-30T17:05:18.775Z] $ docker stop --time=1 1f6bfabe0fcdd78c02600dbb92369216c2b6348620024885cbe12133586e4640 [2022-08-30T17:05:20.730Z] $ docker rm -f 1f6bfabe0fcdd78c02600dbb92369216c2b6348620024885cbe12133586e4640 [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-30T17:05:21.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T17:05:21.981Z] [2022-08-30T17:05:21.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:05:22.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T17:05:22.618Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-30T17:05:22.618Z] 8998bd30e6a1: Pulling fs layer [2022-08-30T17:05:22.618Z] 04944245beec: Pulling fs layer [2022-08-30T17:05:22.618Z] 699f458cf7ca: Pulling fs layer [2022-08-30T17:05:22.618Z] 765212b225bb: Pulling fs layer [2022-08-30T17:05:22.618Z] f23df028b6ca: Pulling fs layer [2022-08-30T17:05:22.618Z] 765212b225bb: Waiting [2022-08-30T17:05:22.618Z] d65c8cfc05b1: Pulling fs layer [2022-08-30T17:05:22.618Z] 2437ff75d9bd: Pulling fs layer [2022-08-30T17:05:22.618Z] f23df028b6ca: Waiting [2022-08-30T17:05:22.618Z] d65c8cfc05b1: Waiting [2022-08-30T17:05:22.618Z] 2437ff75d9bd: Waiting [2022-08-30T17:05:22.618Z] 04944245beec: Verifying Checksum [2022-08-30T17:05:22.618Z] 04944245beec: Download complete [2022-08-30T17:05:22.618Z] 765212b225bb: Verifying Checksum [2022-08-30T17:05:22.618Z] 765212b225bb: Download complete [2022-08-30T17:05:22.894Z] f23df028b6ca: Verifying Checksum [2022-08-30T17:05:22.894Z] f23df028b6ca: Download complete [2022-08-30T17:05:22.894Z] d65c8cfc05b1: Verifying Checksum [2022-08-30T17:05:22.894Z] d65c8cfc05b1: Download complete [2022-08-30T17:05:22.894Z] 699f458cf7ca: Verifying Checksum [2022-08-30T17:05:22.894Z] 699f458cf7ca: Download complete [2022-08-30T17:05:23.495Z] 8998bd30e6a1: Download complete [2022-08-30T17:05:26.130Z] 2437ff75d9bd: Verifying Checksum [2022-08-30T17:05:28.116Z] 8998bd30e6a1: Pull complete [2022-08-30T17:05:28.393Z] 04944245beec: Pull complete [2022-08-30T17:05:29.838Z] 699f458cf7ca: Pull complete [2022-08-30T17:05:30.112Z] 765212b225bb: Pull complete [2022-08-30T17:05:31.095Z] f23df028b6ca: Pull complete [2022-08-30T17:05:31.368Z] d65c8cfc05b1: Pull complete [2022-08-30T17:05:49.715Z] 2437ff75d9bd: Pull complete [2022-08-30T17:05:49.715Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-30T17:05:49.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T17:05:49.715Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:05:50.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-23955 does not seem to be running inside a container [2022-08-30T17:05:50.123Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-30T17:05:53.071Z] $ docker top c230ac90704bf51611ac3e111dd492efddca8e84b5899275d53ccabb18272677 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:05:54.012Z] ---> job-cost.sh [2022-08-30T17:05:54.013Z] lf-activate-venv: SKIPPING [2022-08-30T17:05:54.013Z] INFO: No Stack... [2022-08-30T17:05:54.619Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-30T17:05:55.600Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T17:05:56.270Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-08-30T17:05:56.270Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T17:05:56.354Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [2022-08-30T17:05:56.361Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] did not exist. Created. [2022-08-30T17:05:56.361Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T17:05:57.048Z] /w/workspace/device-onvif-camera/5@tmp/durable-ef718e95/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-30T17:05:57.749Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-30T17:05:57.781Z] Warning: overwriting stash ‘stack-cost’ [2022-08-30T17:05:58.330Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T17:05:58.337Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T17:05:58.366Z] $ docker stop --time=1 c230ac90704bf51611ac3e111dd492efddca8e84b5899275d53ccabb18272677 [2022-08-30T17:05:59.939Z] $ docker rm -f c230ac90704bf51611ac3e111dd492efddca8e84b5899275d53ccabb18272677 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T17:06:00.276Z] 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-30T17:06:00.958Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-30T17:06:00.958Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T17:06:00.958Z] total 16 [2022-08-30T17:06:00.958Z] drwxr-xr-x 3 root root 4096 Aug 30 16:56 . [2022-08-30T17:06:00.958Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 16:56 .. [2022-08-30T17:06:00.958Z] drwxr-xr-x 2 root root 4096 Aug 30 16:56 cost [2022-08-30T17:06:00.958Z] -rw-r--r-- 1 root root 91 Aug 30 16:56 cost.csv [2022-08-30T17:06:00.958Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T17:06:00.958Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T17:06:00.958Z] total 16 [2022-08-30T17:06:00.958Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 16:56 . [2022-08-30T17:06:00.958Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 16:56 .. [2022-08-30T17:06:00.958Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 16:56 cost [2022-08-30T17:06:00.958Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 30 16:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:06:01.255Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:06:02.130Z] ---> package-listing.sh [2022-08-30T17:06:02.131Z] ++ facter osfamily [2022-08-30T17:06:02.131Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-30T17:06:02.393Z] + OS_FAMILY=debian [2022-08-30T17:06:02.393Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T17:06:02.393Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-30T17:06:02.393Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-30T17:06:02.393Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-30T17:06:02.393Z] + PACKAGES=/tmp/packages_start.txt [2022-08-30T17:06:02.393Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T17:06:02.393Z] + PACKAGES=/tmp/packages_end.txt [2022-08-30T17:06:02.393Z] + case "${OS_FAMILY}" in [2022-08-30T17:06:02.393Z] + dpkg -l [2022-08-30T17:06:02.393Z] + grep '^ii' [2022-08-30T17:06:02.393Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-30T17:06:02.393Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-30T17:06:02.393Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-30T17:06:02.393Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T17:06:02.393Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-30T17:06:02.393Z] + 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-30T17:06:02.404Z] 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-30T17:06:02.682Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T17:06:03.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T17:06:03.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T17:06:03.328Z] prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container [2022-08-30T17:06:03.361Z] $ 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-30T17:06:03.564Z] $ docker top 4977986f5ab8f757d7a6a7456c533c8606d06846cca55b0843917e1b8d6bdfe8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T17:06:03.936Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-30T17:06:04.222Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-30T17:06:04.513Z] + ls /var/log/sa-host [2022-08-30T17:06:04.513Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T17:06:04.618Z] provisioning config files... [2022-08-30T17:06:04.627Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config5826065084880953284tmp [Pipeline] { [Pipeline] echo [2022-08-30T17:06:04.642Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:06:04.926Z] ---> create-netrc.sh [Pipeline] } [2022-08-30T17:06:04.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:06:05.264Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-30T17:06:05.272Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:06:05.561Z] ---> sudo-logs.sh [2022-08-30T17:06:05.561Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-30T17:06:05.584Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:06:05.870Z] ---> job-cost.sh [2022-08-30T17:06:05.870Z] lf-activate-venv: SKIPPING [2022-08-30T17:06:05.870Z] DEBUG: total: 0.2199999988079071 [2022-08-30T17:06:05.870Z] INFO: Retrieving Stack Cost... [2022-08-30T17:06:06.131Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T17:06:06.702Z] INFO: Archiving Costs [Pipeline] echo [2022-08-30T17:06:06.715Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T17:06:07.001Z] ---> logs-deploy.sh [2022-08-30T17:06:07.001Z] lf-activate-venv: SKIPPING [2022-08-30T17:06:07.001Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/5 [2022-08-30T17:06:07.001Z] INFO: archiving workspace using pattern(s): [2022-08-30T17:06:07.944Z] Archives upload complete. [2022-08-30T17:06:08.206Z] INFO: archiving logs to Nexus