Pull request #87 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 ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0a79c5a718067479237195976121108915350925 rather than 2d9285f46b0f0f949c771c176fb53b80af9bd0e2 Obtained Jenkinsfile from 0a79c5a718067479237195976121108915350925 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-ssh5760421807157152837.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh7485096735356634944.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh306879616821684105.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh16354918594431542366.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10910534432475103140.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15241’ Running on prd-ubuntu20.04-docker-8c-8g-15243 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-87 # 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 0a79c5a718067479237195976121108915350925 into PR head commit 2d9285f46b0f0f949c771c176fb53b80af9bd0e2 Merge succeeded, producing 675691d12cbb300131c43c106d3b63f26a762768 Checking out Revision 675691d12cbb300131c43c106d3b63f26a762768 (PR-87) > 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/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d9285f46b0f0f949c771c176fb53b80af9bd0e2 # 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 0a79c5a718067479237195976121108915350925 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 675691d12cbb300131c43c106d3b63f26a762768 # timeout=10 Commit message: "Merge commit '0a79c5a718067479237195976121108915350925' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-21T19:31:30.466Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 6ce84dc63a2b0ab121ec840889da5d1ad093e98c # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-21T19:31:30.533Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-21T19:31:30.555Z] ========================================================= [2022-06-21T19:31:30.555Z] EdgeX Global Pipelines Version Info [2022-06-21T19:31:30.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:31:31.321Z] ------------------- [2022-06-21T19:31:31.321Z] stable info: [2022-06-21T19:31:31.321Z] ------------------- [2022-06-21T19:31:31.321Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-21T19:31:31.321Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-21T19:31:31.321Z] Message: update stable to v1.0.234 [2022-06-21T19:31:31.895Z] ------------------- [2022-06-21T19:31:31.895Z] experimental info: [2022-06-21T19:31:31.895Z] ------------------- [2022-06-21T19:31:31.895Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-21T19:31:31.895Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-21T19:31:31.895Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-21T19:31:32.113Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-21T19:31:32.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-21T19:31:32.143Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-21T19:31:32.154Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-21T19:31:32.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-21T19:31:32.182Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-21T19:31:32.196Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-21T19:31:32.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-21T19:31:32.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-21T19:31:32.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-21T19:31:32.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-21T19:31:32.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-21T19:31:32.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-21T19:31:32.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-21T19:31:32.305Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-21T19:31:32.317Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-21T19:31:32.331Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-21T19:31:32.342Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-21T19:31:32.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-21T19:31:32.360Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-21T19:31:32.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-21T19:31:32.391Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-21T19:31:32.403Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-21T19:31:32.415Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-21T19:31:32.429Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-21T19:31:32.442Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-21T19:31:32.457Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-21T19:31:32.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2022-06-21T19:31:32.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2022-06-21T19:31:32.499Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2022-06-21T19:31:32.515Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 675691d12cbb300131c43c106d3b63f26a762768 [Pipeline] echo [2022-06-21T19:31:32.530Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 675691d [Pipeline] echo [2022-06-21T19:31:32.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T19:31:32.606Z] provisioning config files... [2022-06-21T19:31:32.623Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config5956222721567403371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:31:32.932Z] ---> docker-login.sh [2022-06-21T19:31:32.932Z] nexus3.edgexfoundry.org:10001 [2022-06-21T19:31:33.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:33.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:33.195Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:33.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:33.195Z] [2022-06-21T19:31:33.195Z] Login Succeeded [2022-06-21T19:31:33.195Z] nexus3.edgexfoundry.org:10002 [2022-06-21T19:31:33.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:33.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:33.459Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:33.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:33.459Z] [2022-06-21T19:31:33.459Z] Login Succeeded [2022-06-21T19:31:33.459Z] nexus3.edgexfoundry.org:10003 [2022-06-21T19:31:33.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:33.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:33.459Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:33.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:33.459Z] [2022-06-21T19:31:33.459Z] Login Succeeded [2022-06-21T19:31:33.459Z] nexus3.edgexfoundry.org:10004 [2022-06-21T19:31:33.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:33.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:33.721Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:33.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:33.721Z] [2022-06-21T19:31:33.721Z] Login Succeeded [2022-06-21T19:31:33.721Z] docker.io [2022-06-21T19:31:33.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:33.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:33.982Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:33.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:33.982Z] [2022-06-21T19:31:33.982Z] Login Succeeded [2022-06-21T19:31:33.982Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T19:31:33.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-21T19:31:34.378Z] + git rev-list -1 --merges 675691d12cbb300131c43c106d3b63f26a762768~1..675691d12cbb300131c43c106d3b63f26a762768 [Pipeline] echo [2022-06-21T19:31:34.497Z] -----------> git rev-list -1 --merges 675691d12cbb300131c43c106d3b63f26a762768~1..675691d12cbb300131c43c106d3b63f26a762768 675691d12cbb300131c43c106d3b63f26a762768 [2022-06-21T19:31:34.497Z] 675691d12cbb300131c43c106d3b63f26a762768 [false] [Pipeline] sh [2022-06-21T19:31:34.788Z] + git log --format=format:%s -1 675691d12cbb300131c43c106d3b63f26a762768 [Pipeline] echo [2022-06-21T19:31:34.804Z] ========================================================= [2022-06-21T19:31:34.804Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-21T19:31:34.804Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T19:31:35.154Z] + git log --format=format:%s -1 675691d12cbb300131c43c106d3b63f26a762768 [Pipeline] echo [2022-06-21T19:31:35.171Z] [semverPrep] GIT_COMMIT: 675691d12cbb300131c43c106d3b63f26a762768, Commit Message: Merge commit '0a79c5a718067479237195976121108915350925' into HEAD [Pipeline] echo [2022-06-21T19:31:35.182Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-21T19:31:35.560Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-21T19:31:35.560Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-21T19:31:35.560Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-21T19:31:35.560Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-21T19:31:35.560Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-21T19:31:35.560Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-21T19:31:35.560Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:31:35.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T19:31:35.986Z] [2022-06-21T19:31:35.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:31:36.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T19:31:36.290Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-21T19:31:36.290Z] 42c077c10790: Pulling fs layer [2022-06-21T19:31:36.290Z] f63e77b7563a: Pulling fs layer [2022-06-21T19:31:36.290Z] bd5fdadae976: Pulling fs layer [2022-06-21T19:31:36.290Z] 205491f53016: Pulling fs layer [2022-06-21T19:31:36.290Z] df18705c85c3: Pulling fs layer [2022-06-21T19:31:36.290Z] bdb3f477010e: Pulling fs layer [2022-06-21T19:31:36.290Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-21T19:31:36.290Z] 2c6e9b1d212d: Pulling fs layer [2022-06-21T19:31:36.290Z] bdb8f0575790: Pulling fs layer [2022-06-21T19:31:36.290Z] 386e3cb2ff24: Pulling fs layer [2022-06-21T19:31:36.290Z] 2343380bae48: Pulling fs layer [2022-06-21T19:31:36.290Z] 205491f53016: Waiting [2022-06-21T19:31:36.290Z] df18705c85c3: Waiting [2022-06-21T19:31:36.290Z] bdb3f477010e: Waiting [2022-06-21T19:31:36.290Z] c8a8fc8e1c8f: Waiting [2022-06-21T19:31:36.290Z] 2c6e9b1d212d: Waiting [2022-06-21T19:31:36.290Z] bdb8f0575790: Waiting [2022-06-21T19:31:36.290Z] 2343380bae48: Waiting [2022-06-21T19:31:36.290Z] 386e3cb2ff24: Waiting [2022-06-21T19:31:36.290Z] f63e77b7563a: Download complete [2022-06-21T19:31:36.290Z] 205491f53016: Verifying Checksum [2022-06-21T19:31:36.290Z] 205491f53016: Download complete [2022-06-21T19:31:36.290Z] df18705c85c3: Verifying Checksum [2022-06-21T19:31:36.290Z] df18705c85c3: Download complete [2022-06-21T19:31:36.551Z] bdb3f477010e: Download complete [2022-06-21T19:31:36.551Z] bd5fdadae976: Verifying Checksum [2022-06-21T19:31:36.551Z] bd5fdadae976: Download complete [2022-06-21T19:31:36.551Z] 2c6e9b1d212d: Verifying Checksum [2022-06-21T19:31:36.551Z] 2c6e9b1d212d: Download complete [2022-06-21T19:31:36.551Z] bdb8f0575790: Download complete [2022-06-21T19:31:36.551Z] 386e3cb2ff24: Download complete [2022-06-21T19:31:36.551Z] 2343380bae48: Download complete [2022-06-21T19:31:36.551Z] 42c077c10790: Verifying Checksum [2022-06-21T19:31:36.551Z] 42c077c10790: Download complete [2022-06-21T19:31:36.812Z] c8a8fc8e1c8f: Download complete [2022-06-21T19:31:37.757Z] 42c077c10790: Pull complete [2022-06-21T19:31:38.018Z] f63e77b7563a: Pull complete [2022-06-21T19:31:38.588Z] bd5fdadae976: Pull complete [2022-06-21T19:31:38.588Z] 205491f53016: Pull complete [2022-06-21T19:31:38.848Z] df18705c85c3: Pull complete [2022-06-21T19:31:38.848Z] bdb3f477010e: Pull complete [2022-06-21T19:31:40.759Z] c8a8fc8e1c8f: Pull complete [2022-06-21T19:31:40.759Z] 2c6e9b1d212d: Pull complete [2022-06-21T19:31:41.020Z] bdb8f0575790: Pull complete [2022-06-21T19:31:41.020Z] 386e3cb2ff24: Pull complete [2022-06-21T19:31:41.020Z] 2343380bae48: Pull complete [2022-06-21T19:31:41.020Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-21T19:31:41.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T19:31:41.282Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:31:41.400Z] prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container [2022-06-21T19:31:41.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-21T19:31:42.896Z] $ docker top b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e -eo pid,comm [2022-06-21T19:31:42.957Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-21T19:31:42.957Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-21T19:31:42.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T19:31:42.995Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T19:31:43.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T19:31:43.135Z] $ docker exec b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e ssh-agent [2022-06-21T19:31:43.254Z] SSH_AUTH_SOCK=/tmp/ssh-VYtuIMyhZtij/agent.33 [2022-06-21T19:31:43.254Z] SSH_AGENT_PID=40 [2022-06-21T19:31:43.260Z] Running ssh-add (command line suppressed) [2022-06-21T19:31:43.393Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_2066306136807590899.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_2066306136807590899.key) [2022-06-21T19:31:43.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T19:31:43.698Z] + git tag --points-at HEAD [Pipeline] } [2022-06-21T19:31:43.723Z] $ docker exec --env ******** --env ******** b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e ssh-agent -k [2022-06-21T19:31:43.836Z] unset SSH_AUTH_SOCK; [2022-06-21T19:31:43.836Z] unset SSH_AGENT_PID; [2022-06-21T19:31:43.836Z] echo Agent pid 40 killed; [2022-06-21T19:31:43.840Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-21T19:31:43.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T19:31:43.866Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T19:31:44.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T19:31:44.014Z] $ docker exec b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e ssh-agent [2022-06-21T19:31:44.136Z] SSH_AUTH_SOCK=/tmp/ssh-RUhgKv1YpzRR/agent.72 [2022-06-21T19:31:44.136Z] SSH_AGENT_PID=79 [2022-06-21T19:31:44.141Z] Running ssh-add (command line suppressed) [2022-06-21T19:31:44.260Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_4390198488519802081.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_4390198488519802081.key) [2022-06-21T19:31:44.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T19:31:44.563Z] + git semver init [2022-06-21T19:31:44.824Z] 2022-06-21 19:31:44,788 [run_init] DEBUG init version:0.0.0 force:False [2022-06-21T19:31:44.824Z] 2022-06-21 19:31:44,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-21T19:31:44.824Z] 2022-06-21 19:31:44,789 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-21T19:31:44.825Z] 2022-06-21 19:31:44,789 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-87/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87, universal_newlines=False, shell=None, istream=None) [2022-06-21T19:31:45.767Z] 2022-06-21 19:31:45,546 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude [2022-06-21T19:31:45.767Z] 2022-06-21 19:31:45,546 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 with force:False [2022-06-21T19:31:45.767Z] 2022-06-21 19:31:45,547 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-21T19:31:45.767Z] 2022-06-21 19:31:45,551 [execute] INFO git cat-file --batch-check [2022-06-21T19:31:45.767Z] 2022-06-21 19:31:45,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-21T19:31:45.767Z] 2022-06-21 19:31:45,556 [execute] INFO git cat-file --batch [2022-06-21T19:31:45.767Z] 2022-06-21 19:31:45,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-21T19:31:45.767Z] 2022-06-21 19:31:45,563 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-21T19:31:45.767Z] 0.0.0 [Pipeline] } [2022-06-21T19:31:45.785Z] $ docker exec --env ******** --env ******** b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e ssh-agent -k [2022-06-21T19:31:45.900Z] unset SSH_AUTH_SOCK; [2022-06-21T19:31:45.900Z] unset SSH_AGENT_PID; [2022-06-21T19:31:45.901Z] echo Agent pid 79 killed; [2022-06-21T19:31:45.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-21T19:31:46.214Z] + git semver [Pipeline] } [2022-06-21T19:31:46.497Z] $ docker stop --time=1 b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e [2022-06-21T19:31:47.993Z] $ docker rm -f b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T19:31:48.368Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-21T19:31:48.612Z] Stashed 1 file(s) [Pipeline] echo [2022-06-21T19:31:48.615Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T19:31:48.759Z] provisioning config files... [2022-06-21T19:31:48.769Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config5811240551996766545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:31:49.064Z] ---> docker-login.sh [2022-06-21T19:31:49.065Z] nexus3.edgexfoundry.org:10001 [2022-06-21T19:31:49.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:49.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:49.065Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:49.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:49.065Z] [2022-06-21T19:31:49.065Z] Login Succeeded [2022-06-21T19:31:49.065Z] nexus3.edgexfoundry.org:10002 [2022-06-21T19:31:49.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:49.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:49.327Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:49.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:49.327Z] [2022-06-21T19:31:49.327Z] Login Succeeded [2022-06-21T19:31:49.327Z] nexus3.edgexfoundry.org:10003 [2022-06-21T19:31:49.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:49.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:49.327Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:49.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:49.327Z] [2022-06-21T19:31:49.327Z] Login Succeeded [2022-06-21T19:31:49.327Z] nexus3.edgexfoundry.org:10004 [2022-06-21T19:31:49.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:49.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:49.588Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:49.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:49.588Z] [2022-06-21T19:31:49.588Z] Login Succeeded [2022-06-21T19:31:49.588Z] docker.io [2022-06-21T19:31:49.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:31:49.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:31:49.849Z] Configure a credential helper to remove this warning. See [2022-06-21T19:31:49.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:31:49.849Z] [2022-06-21T19:31:49.849Z] Login Succeeded [2022-06-21T19:31:49.849Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T19:31:49.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-21T19:31:49.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T19:31:49.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T19:31:49.935Z] ========================================================= [2022-06-21T19:31:49.935Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-21T19:31:49.935Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:31:50.255Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-21T19:31:50.255Z] Sending build context to Docker daemon 8.815MB [2022-06-21T19:31:50.255Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T19:31:50.255Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-21T19:31:50.255Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-21T19:31:50.255Z] 59bf1c3509f3: Pulling fs layer [2022-06-21T19:31:50.255Z] 666ba61612fd: Pulling fs layer [2022-06-21T19:31:50.255Z] 8ed8ca486205: Pulling fs layer [2022-06-21T19:31:50.255Z] cc1cd167ecdc: Pulling fs layer [2022-06-21T19:31:50.255Z] c516ae0d96e1: Pulling fs layer [2022-06-21T19:31:50.255Z] 684cea983483: Pulling fs layer [2022-06-21T19:31:50.255Z] dd3240ac7de5: Pulling fs layer [2022-06-21T19:31:50.255Z] b1e948a4e11c: Pulling fs layer [2022-06-21T19:31:50.255Z] a8fd76ee1af6: Pulling fs layer [2022-06-21T19:31:50.255Z] 646ad004c059: Pulling fs layer [2022-06-21T19:31:50.255Z] b1e948a4e11c: Waiting [2022-06-21T19:31:50.255Z] c516ae0d96e1: Waiting [2022-06-21T19:31:50.255Z] dd3240ac7de5: Waiting [2022-06-21T19:31:50.255Z] 684cea983483: Waiting [2022-06-21T19:31:50.255Z] 646ad004c059: Waiting [2022-06-21T19:31:50.255Z] a8fd76ee1af6: Waiting [2022-06-21T19:31:50.255Z] cc1cd167ecdc: Waiting [2022-06-21T19:31:50.255Z] 8ed8ca486205: Verifying Checksum [2022-06-21T19:31:50.255Z] 8ed8ca486205: Download complete [2022-06-21T19:31:50.514Z] 666ba61612fd: Verifying Checksum [2022-06-21T19:31:50.514Z] 666ba61612fd: Download complete [2022-06-21T19:31:50.514Z] c516ae0d96e1: Verifying Checksum [2022-06-21T19:31:50.514Z] c516ae0d96e1: Download complete [2022-06-21T19:31:50.514Z] 684cea983483: Verifying Checksum [2022-06-21T19:31:50.514Z] 684cea983483: Download complete [2022-06-21T19:31:50.514Z] dd3240ac7de5: Verifying Checksum [2022-06-21T19:31:50.514Z] dd3240ac7de5: Download complete [2022-06-21T19:31:50.514Z] 59bf1c3509f3: Verifying Checksum [2022-06-21T19:31:50.514Z] 59bf1c3509f3: Download complete [2022-06-21T19:31:50.514Z] b1e948a4e11c: Verifying Checksum [2022-06-21T19:31:50.514Z] b1e948a4e11c: Download complete [2022-06-21T19:31:50.514Z] 59bf1c3509f3: Pull complete [2022-06-21T19:31:50.775Z] 666ba61612fd: Pull complete [2022-06-21T19:31:50.775Z] 8ed8ca486205: Pull complete [2022-06-21T19:31:50.775Z] 646ad004c059: Verifying Checksum [2022-06-21T19:31:50.775Z] 646ad004c059: Download complete [2022-06-21T19:31:51.036Z] a8fd76ee1af6: Verifying Checksum [2022-06-21T19:31:51.036Z] a8fd76ee1af6: Download complete [2022-06-21T19:31:51.036Z] cc1cd167ecdc: Verifying Checksum [2022-06-21T19:31:51.036Z] cc1cd167ecdc: Download complete [2022-06-21T19:31:55.236Z] cc1cd167ecdc: Pull complete [2022-06-21T19:31:55.236Z] c516ae0d96e1: Pull complete [2022-06-21T19:31:55.236Z] 684cea983483: Pull complete [2022-06-21T19:31:55.236Z] dd3240ac7de5: Pull complete [2022-06-21T19:31:55.236Z] b1e948a4e11c: Pull complete [2022-06-21T19:31:57.143Z] a8fd76ee1af6: Pull complete [2022-06-21T19:31:58.080Z] 646ad004c059: Pull complete [2022-06-21T19:31:58.080Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-21T19:31:58.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-21T19:31:58.080Z] ---> 8f69c11f6b0c [2022-06-21T19:31:58.080Z] Step 3/13 : ARG MAKE="make build" [2022-06-21T19:31:59.465Z] ---> Running in 65bb8148345e [2022-06-21T19:31:59.725Z] Removing intermediate container 65bb8148345e [2022-06-21T19:31:59.725Z] ---> 22379dda0cd0 [2022-06-21T19:31:59.725Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-21T19:31:59.725Z] ---> Running in 1f79739f1b2b [2022-06-21T19:31:59.725Z] Removing intermediate container 1f79739f1b2b [2022-06-21T19:31:59.725Z] ---> 5b9bbacfa647 [2022-06-21T19:31:59.725Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-21T19:31:59.725Z] ---> Running in 9dd51eb1648e [2022-06-21T19:31:59.987Z] Removing intermediate container 9dd51eb1648e [2022-06-21T19:31:59.987Z] ---> e6c4a3d17f22 [2022-06-21T19:31:59.987Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-21T19:31:59.987Z] ---> Running in 00f46b8f72a5 [2022-06-21T19:31:59.987Z] Removing intermediate container 00f46b8f72a5 [2022-06-21T19:31:59.987Z] ---> 9dcd922e9815 [2022-06-21T19:31:59.987Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T19:32:00.249Z] ---> Running in b42dd96ba0de [2022-06-21T19:32:00.820Z] Removing intermediate container b42dd96ba0de [2022-06-21T19:32:00.820Z] ---> c5f0810399de [2022-06-21T19:32:00.820Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-21T19:32:00.820Z] ---> Running in f7d3392eb911 [2022-06-21T19:32:01.081Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T19:32:02.025Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-21T19:32:02.286Z] OK: 221 MiB in 52 packages [2022-06-21T19:32:02.547Z] Removing intermediate container f7d3392eb911 [2022-06-21T19:32:02.547Z] ---> 784f0a65a20e [2022-06-21T19:32:02.547Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-21T19:32:02.547Z] ---> Running in 645f4f24f8cd [2022-06-21T19:32:02.807Z] Removing intermediate container 645f4f24f8cd [2022-06-21T19:32:02.807Z] ---> 8c473fdfb518 [2022-06-21T19:32:02.807Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-21T19:32:02.807Z] ---> e4fe207e47ec [2022-06-21T19:32:02.807Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T19:32:02.807Z] ---> Running in d2d173b873b7 [2022-06-21T19:32:03.719Z] Still waiting to schedule task [2022-06-21T19:32:03.719Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15242’ [2022-06-21T19:32:20.929Z] Removing intermediate container d2d173b873b7 [2022-06-21T19:32:20.929Z] ---> bdded4802c2d [2022-06-21T19:32:20.929Z] Step 12/13 : COPY . . [2022-06-21T19:32:20.929Z] ---> 410ba7617a9d [2022-06-21T19:32:20.929Z] Step 13/13 : RUN ${MAKE} [2022-06-21T19:32:20.929Z] ---> Running in 3c12f4eb1f4e [2022-06-21T19:32:20.929Z] noop [2022-06-21T19:32:20.929Z] Removing intermediate container 3c12f4eb1f4e [2022-06-21T19:32:20.929Z] ---> 67b2432fb3a4 [2022-06-21T19:32:20.929Z] Successfully built 67b2432fb3a4 [2022-06-21T19:32:20.929Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:32:21.252Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-21T19:32:21.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:32:21.330Z] prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container [2022-06-21T19:32:21.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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-x86_64 cat [2022-06-21T19:32:21.785Z] $ docker top fa94e6f770206d29fc176c363373248f74d2f8a56cbca3d9fec9affa68391453 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T19:32:22.135Z] + go version [2022-06-21T19:32:22.135Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-21T19:32:22.153Z] $ docker stop --time=1 fa94e6f770206d29fc176c363373248f74d2f8a56cbca3d9fec9affa68391453 [2022-06-21T19:32:23.445Z] $ docker rm -f fa94e6f770206d29fc176c363373248f74d2f8a56cbca3d9fec9affa68391453 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:32:23.866Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-21T19:32:23.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:32:23.959Z] prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container [2022-06-21T19:32:23.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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-x86_64 cat [2022-06-21T19:32:24.391Z] $ docker top 9543a8ef15d649564ef1d69a617d9940cb2a05a128ecafdf17fbfbc52f14add3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-21T19:32:24.747Z] + make test [2022-06-21T19:32:24.747Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-21T19:32:25.006Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-21T19:32:35.148Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-21T19:32:35.149Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 4.3% of statements [2022-06-21T19:32:38.443Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.469s coverage: 13.8% of statements [2022-06-21T19:32:45.025Z] internal/driver/onvifclient.go:200:36: Error return value of `` is not checked (errcheck) [2022-06-21T19:32:45.025Z] sdk.RunningService().UpdateDevice(updatedDevice) [2022-06-21T19:32:45.025Z] ^ [2022-06-21T19:32:45.025Z] make: *** [Makefile:52: lint] Error 1 [Pipeline] } [2022-06-21T19:32:45.043Z] $ docker stop --time=1 9543a8ef15d649564ef1d69a617d9940cb2a05a128ecafdf17fbfbc52f14add3 [2022-06-21T19:32:46.846Z] $ docker rm -f 9543a8ef15d649564ef1d69a617d9940cb2a05a128ecafdf17fbfbc52f14add3 [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-06-21T19:32:47.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T19:32:47.432Z] [2022-06-21T19:32:47.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:32:47.734Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T19:32:47.734Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-21T19:32:47.734Z] 5eb5b503b376: Pulling fs layer [2022-06-21T19:32:47.734Z] 5c69ac0246d0: Pulling fs layer [2022-06-21T19:32:47.734Z] ec43610c2a17: Pulling fs layer [2022-06-21T19:32:47.734Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-21T19:32:47.734Z] 33b1e0a273af: Pulling fs layer [2022-06-21T19:32:47.734Z] 5d3b04190fa2: Pulling fs layer [2022-06-21T19:32:47.734Z] 2f39f015ded8: Pulling fs layer [2022-06-21T19:32:47.734Z] 33b1e0a273af: Waiting [2022-06-21T19:32:47.734Z] 3a2ae6a8a46f: Waiting [2022-06-21T19:32:47.734Z] 2f39f015ded8: Waiting [2022-06-21T19:32:47.734Z] 5c69ac0246d0: Verifying Checksum [2022-06-21T19:32:47.734Z] 5c69ac0246d0: Download complete [2022-06-21T19:32:47.734Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-21T19:32:47.734Z] 3a2ae6a8a46f: Download complete [2022-06-21T19:32:47.995Z] 33b1e0a273af: Verifying Checksum [2022-06-21T19:32:47.995Z] 33b1e0a273af: Download complete [2022-06-21T19:32:47.995Z] 5d3b04190fa2: Download complete [2022-06-21T19:32:47.995Z] ec43610c2a17: Verifying Checksum [2022-06-21T19:32:47.995Z] ec43610c2a17: Download complete [2022-06-21T19:32:47.995Z] 5eb5b503b376: Verifying Checksum [2022-06-21T19:32:47.995Z] 5eb5b503b376: Download complete [2022-06-21T19:32:48.565Z] 2f39f015ded8: Download complete [2022-06-21T19:32:49.134Z] 5eb5b503b376: Pull complete [2022-06-21T19:32:49.393Z] 5c69ac0246d0: Pull complete [2022-06-21T19:32:49.962Z] ec43610c2a17: Pull complete [2022-06-21T19:32:49.962Z] 3a2ae6a8a46f: Pull complete [2022-06-21T19:32:50.222Z] 33b1e0a273af: Pull complete [2022-06-21T19:32:50.222Z] 5d3b04190fa2: Pull complete [2022-06-21T19:32:54.418Z] 2f39f015ded8: Pull complete [2022-06-21T19:32:54.418Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-21T19:32:54.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T19:32:54.418Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:32:54.514Z] prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container [2022-06-21T19:32:54.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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:latest cat [2022-06-21T19:32:56.362Z] $ docker top 96b82dab00635c206615dd32d285f4833174183cbe81be821f800195884ff1f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:32:56.773Z] ---> job-cost.sh [2022-06-21T19:32:56.773Z] lf-activate-venv: SKIPPING [2022-06-21T19:32:56.773Z] INFO: No Stack... [2022-06-21T19:32:57.345Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-21T19:32:57.605Z] INFO: Archiving Costs [Pipeline] sh [2022-06-21T19:32:57.898Z] + cat+ /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv [2022-06-21T19:32:57.898Z] cut -d, -f6 [Pipeline] lock [2022-06-21T19:32:57.914Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [2022-06-21T19:32:57.923Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] did not exist. Created. [2022-06-21T19:32:57.923Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-21T19:32:58.238Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-21T19:32:58.274Z] Stashed 1 file(s) [Pipeline] } [2022-06-21T19:32:58.280Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-21T19:32:58.302Z] $ docker stop --time=1 96b82dab00635c206615dd32d285f4833174183cbe81be821f800195884ff1f9 [2022-06-21T19:32:59.479Z] $ docker rm -f 96b82dab00635c206615dd32d285f4833174183cbe81be821f800195884ff1f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-21T19:32:59.600Z] Failed in branch amd64 [2022-06-21T19:35:43.762Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15244 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws [2022-06-21T19:35:43.775Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-06-21T19:35:43.805Z] Selected Git installation does not exist. Using Default [2022-06-21T19:35:43.805Z] The recommended git tool is: NONE [2022-06-21T19:35:50.430Z] using credential edgex-jenkins-ssh [2022-06-21T19:35:50.446Z] Cloning the remote Git repository [2022-06-21T19:35:50.513Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-21T19:35:50.629Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-06-21T19:35:50.773Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-21T19:35:50.774Z] > git --version # timeout=10 [2022-06-21T19:35:50.829Z] > git --version # 'git version 2.25.1' [2022-06-21T19:35:50.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T19:35:50.958Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-21T19:35:51.816Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-21T19:35:51.841Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-21T19:35:51.879Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-21T19:35:52.454Z] Merging remotes/origin/main commit 0a79c5a718067479237195976121108915350925 into PR head commit 2d9285f46b0f0f949c771c176fb53b80af9bd0e2 [2022-06-21T19:35:52.953Z] Merge succeeded, producing c1952e6ebd99cbcfabfe88f8fb3cbd4ef2f917ce [2022-06-21T19:35:52.953Z] Checking out Revision c1952e6ebd99cbcfabfe88f8fb3cbd4ef2f917ce (PR-87) [2022-06-21T19:35:51.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-21T19:35:51.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T19:35:51.946Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-21T19:35:52.478Z] > git config core.sparsecheckout # timeout=10 [2022-06-21T19:35:52.512Z] > git checkout -f 2d9285f46b0f0f949c771c176fb53b80af9bd0e2 # timeout=10 [2022-06-21T19:35:52.664Z] > git remote # timeout=10 [2022-06-21T19:35:52.684Z] > git config --get remote.origin.url # timeout=10 [2022-06-21T19:35:52.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T19:35:52.747Z] > git merge 0a79c5a718067479237195976121108915350925 # timeout=10 [2022-06-21T19:35:52.932Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-21T19:35:52.965Z] > git config core.sparsecheckout # timeout=10 [2022-06-21T19:35:52.992Z] > git checkout -f c1952e6ebd99cbcfabfe88f8fb3cbd4ef2f917ce # timeout=10 [2022-06-21T19:35:57.257Z] Commit message: "Merge commit '0a79c5a718067479237195976121108915350925' into HEAD" [2022-06-21T19:35:57.283Z] First time build. Skipping changelog. [2022-06-21T19:35:57.271Z] > git rev-list --no-walk 6ce84dc63a2b0ab121ec840889da5d1ad093e98c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T19:35:58.255Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-21T19:35:58.255Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-21T19:35:58.255Z] Dload Upload Total Spent Left Speed [2022-06-21T19:35:58.255Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 97246 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh [2022-06-21T19:35:59.041Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-21T19:35:59.389Z] + sudo tee /etc/docker/daemon.new [2022-06-21T19:35:59.389Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-21T19:35:59.389Z] { [2022-06-21T19:35:59.389Z] "registry-mirrors": [ [2022-06-21T19:35:59.389Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-21T19:35:59.389Z] ], [2022-06-21T19:35:59.389Z] "bip": "10.250.0.254/24", [2022-06-21T19:35:59.389Z] "hosts": [ [2022-06-21T19:35:59.389Z] "tcp://0.0.0.0:5555", [2022-06-21T19:35:59.389Z] "unix:///var/run/docker.sock" [2022-06-21T19:35:59.389Z] ], [2022-06-21T19:35:59.389Z] "mtu": 1458, [2022-06-21T19:35:59.389Z] "selinux-enabled": true, [2022-06-21T19:35:59.389Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-21T19:35:59.389Z] } [Pipeline] sh [2022-06-21T19:35:59.735Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-21T19:36:00.073Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T19:36:18.412Z] provisioning config files... [2022-06-21T19:36:18.438Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2964687501315058104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:36:18.816Z] ---> docker-login.sh [2022-06-21T19:36:18.816Z] nexus3.edgexfoundry.org:10001 [2022-06-21T19:36:19.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:36:19.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:36:19.690Z] Configure a credential helper to remove this warning. See [2022-06-21T19:36:19.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:36:19.690Z] [2022-06-21T19:36:19.690Z] Login Succeeded [2022-06-21T19:36:19.690Z] nexus3.edgexfoundry.org:10002 [2022-06-21T19:36:19.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:36:20.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:36:20.244Z] Configure a credential helper to remove this warning. See [2022-06-21T19:36:20.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:36:20.244Z] [2022-06-21T19:36:20.244Z] Login Succeeded [2022-06-21T19:36:20.244Z] nexus3.edgexfoundry.org:10003 [2022-06-21T19:36:20.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:36:20.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:36:20.824Z] Configure a credential helper to remove this warning. See [2022-06-21T19:36:20.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:36:20.824Z] [2022-06-21T19:36:20.824Z] Login Succeeded [2022-06-21T19:36:20.824Z] nexus3.edgexfoundry.org:10004 [2022-06-21T19:36:21.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:36:21.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:36:21.389Z] Configure a credential helper to remove this warning. See [2022-06-21T19:36:21.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:36:21.389Z] [2022-06-21T19:36:21.389Z] Login Succeeded [2022-06-21T19:36:21.389Z] docker.io [2022-06-21T19:36:21.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T19:36:21.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T19:36:21.941Z] Configure a credential helper to remove this warning. See [2022-06-21T19:36:21.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T19:36:21.941Z] [2022-06-21T19:36:21.941Z] Login Succeeded [2022-06-21T19:36:21.941Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T19:36:21.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-21T19:36:22.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T19:36:22.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T19:36:22.595Z] ========================================================= [2022-06-21T19:36:22.595Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-21T19:36:22.595Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:36:22.989Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-21T19:36:23.268Z] Sending build context to Docker daemon 6.028MB [2022-06-21T19:36:23.552Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T19:36:23.552Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-21T19:36:23.552Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-21T19:36:23.552Z] 9b3977197b4f: Pulling fs layer [2022-06-21T19:36:23.552Z] 1a89e8eeedd5: Pulling fs layer [2022-06-21T19:36:23.552Z] 94645a83ff95: Pulling fs layer [2022-06-21T19:36:23.552Z] e6fb740bc735: Pulling fs layer [2022-06-21T19:36:23.552Z] 3a77bd46dcc9: Pulling fs layer [2022-06-21T19:36:23.552Z] 355e64cbe906: Pulling fs layer [2022-06-21T19:36:23.552Z] 63ab81a10011: Pulling fs layer [2022-06-21T19:36:23.552Z] 555d1d1c4555: Pulling fs layer [2022-06-21T19:36:23.552Z] 7d9057610161: Pulling fs layer [2022-06-21T19:36:23.552Z] 355e64cbe906: Waiting [2022-06-21T19:36:23.552Z] 63ab81a10011: Waiting [2022-06-21T19:36:23.552Z] e6fb740bc735: Waiting [2022-06-21T19:36:23.552Z] 555d1d1c4555: Waiting [2022-06-21T19:36:23.552Z] 7d9057610161: Waiting [2022-06-21T19:36:23.552Z] 3a77bd46dcc9: Waiting [2022-06-21T19:36:23.552Z] 94645a83ff95: Verifying Checksum [2022-06-21T19:36:23.552Z] 94645a83ff95: Download complete [2022-06-21T19:36:23.552Z] 1a89e8eeedd5: Download complete [2022-06-21T19:36:23.552Z] 3a77bd46dcc9: Verifying Checksum [2022-06-21T19:36:23.552Z] 3a77bd46dcc9: Download complete [2022-06-21T19:36:23.552Z] 355e64cbe906: Verifying Checksum [2022-06-21T19:36:23.552Z] 355e64cbe906: Download complete [2022-06-21T19:36:23.832Z] 9b3977197b4f: Download complete [2022-06-21T19:36:23.832Z] 63ab81a10011: Verifying Checksum [2022-06-21T19:36:23.832Z] 63ab81a10011: Download complete [2022-06-21T19:36:24.830Z] 9b3977197b4f: Pull complete [2022-06-21T19:36:24.830Z] 7d9057610161: Verifying Checksum [2022-06-21T19:36:24.830Z] 7d9057610161: Download complete [2022-06-21T19:36:25.437Z] 1a89e8eeedd5: Pull complete [2022-06-21T19:36:25.713Z] 94645a83ff95: Pull complete [2022-06-21T19:36:25.986Z] 555d1d1c4555: Verifying Checksum [2022-06-21T19:36:25.986Z] 555d1d1c4555: Download complete [2022-06-21T19:36:26.599Z] e6fb740bc735: Verifying Checksum [2022-06-21T19:36:26.599Z] e6fb740bc735: Download complete [2022-06-21T19:36:39.016Z] e6fb740bc735: Pull complete [2022-06-21T19:36:39.016Z] 3a77bd46dcc9: Pull complete [2022-06-21T19:36:39.291Z] 355e64cbe906: Pull complete [2022-06-21T19:36:39.565Z] 63ab81a10011: Pull complete [2022-06-21T19:36:46.316Z] 555d1d1c4555: Pull complete [2022-06-21T19:36:48.302Z] 7d9057610161: Pull complete [2022-06-21T19:36:48.576Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-21T19:36:48.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-21T19:36:48.576Z] ---> 819e984ddca1 [2022-06-21T19:36:48.576Z] Step 3/13 : ARG MAKE="make build" [2022-06-21T19:36:49.557Z] ---> Running in 7aae6ebe15d3 [2022-06-21T19:36:49.834Z] Removing intermediate container 7aae6ebe15d3 [2022-06-21T19:36:49.834Z] ---> 232a66cd41e4 [2022-06-21T19:36:49.834Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-21T19:36:49.834Z] ---> Running in f96a408f1ae4 [2022-06-21T19:36:50.114Z] Removing intermediate container f96a408f1ae4 [2022-06-21T19:36:50.114Z] ---> afcf653dc473 [2022-06-21T19:36:50.114Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-21T19:36:50.393Z] ---> Running in 966a26458e9b [2022-06-21T19:36:51.834Z] Removing intermediate container 966a26458e9b [2022-06-21T19:36:51.834Z] ---> deb7aa473d02 [2022-06-21T19:36:51.834Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-21T19:36:51.834Z] ---> Running in f9575755d26d [2022-06-21T19:36:52.109Z] Removing intermediate container f9575755d26d [2022-06-21T19:36:52.109Z] ---> 91b979b91da9 [2022-06-21T19:36:52.109Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T19:36:52.109Z] ---> Running in 99a9280d07c0 [2022-06-21T19:36:54.100Z] Removing intermediate container 99a9280d07c0 [2022-06-21T19:36:54.100Z] ---> 9dc963533aca [2022-06-21T19:36:54.100Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-21T19:36:54.100Z] ---> Running in 6919126d82f2 [2022-06-21T19:36:55.083Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T19:36:56.067Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T19:36:57.050Z] OK: 220 MiB in 52 packages [2022-06-21T19:36:57.655Z] Removing intermediate container 6919126d82f2 [2022-06-21T19:36:57.655Z] ---> 578c5b7e939d [2022-06-21T19:36:57.655Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-21T19:36:57.930Z] ---> Running in f9373d924e0e [2022-06-21T19:36:58.205Z] Removing intermediate container f9373d924e0e [2022-06-21T19:36:58.205Z] ---> f3ccfc17ad29 [2022-06-21T19:36:58.205Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-21T19:36:58.812Z] ---> ffd3e0c20528 [2022-06-21T19:36:58.813Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T19:36:58.813Z] ---> Running in fecf2bc502c9 [2022-06-21T19:37:55.385Z] Removing intermediate container fecf2bc502c9 [2022-06-21T19:37:55.385Z] ---> 39c9425a2d8f [2022-06-21T19:37:55.385Z] Step 12/13 : COPY . . [2022-06-21T19:37:55.385Z] ---> 2da05b233873 [2022-06-21T19:37:55.385Z] Step 13/13 : RUN ${MAKE} [2022-06-21T19:37:55.385Z] ---> Running in 73f1d42a3560 [2022-06-21T19:37:55.385Z] noop [2022-06-21T19:37:55.385Z] Removing intermediate container 73f1d42a3560 [2022-06-21T19:37:55.385Z] ---> f50bd9a59966 [2022-06-21T19:37:55.385Z] Successfully built f50bd9a59966 [2022-06-21T19:37:55.386Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:37:55.744Z] + docker inspect -f . ci-base-image-arm64 [2022-06-21T19:37:55.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:37:55.983Z] prd-ubuntu20.04-docker-arm64-4c-16g-15244 does not seem to be running inside a container [2022-06-21T19:37:56.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-21T19:37:57.378Z] $ docker top 78a6c78bcf44f7e99953434939c0149a992ec38f6db2839ac5e30a9891273a96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T19:37:58.294Z] + go version [2022-06-21T19:37:58.294Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-21T19:37:58.325Z] $ docker stop --time=1 78a6c78bcf44f7e99953434939c0149a992ec38f6db2839ac5e30a9891273a96 [2022-06-21T19:37:59.975Z] $ docker rm -f 78a6c78bcf44f7e99953434939c0149a992ec38f6db2839ac5e30a9891273a96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:38:00.601Z] + docker inspect -f . ci-base-image-arm64 [2022-06-21T19:38:00.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:38:00.845Z] prd-ubuntu20.04-docker-arm64-4c-16g-15244 does not seem to be running inside a container [2022-06-21T19:38:00.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-21T19:38:02.235Z] $ docker top 20836af6b8ac63a9c0a5eb71319556ca56189bc4f82f532f3ef4cd0bfdf662e2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-21T19:38:03.171Z] + make test [2022-06-21T19:38:03.171Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-21T19:38:05.173Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-21T19:39:27.387Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-21T19:39:27.387Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.098s coverage: 4.3% of statements [2022-06-21T19:39:49.561Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.937s coverage: 13.8% of statements [2022-06-21T19:39:49.561Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-21T19:39:49.561Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-21T19:40:16.435Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-21T19:40:16.435Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-21T19:40:16.435Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-21T19:40:18.469Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-21T19:40:18.495Z] $ docker stop --time=1 20836af6b8ac63a9c0a5eb71319556ca56189bc4f82f532f3ef4cd0bfdf662e2 [2022-06-21T19:40:20.318Z] $ docker rm -f 20836af6b8ac63a9c0a5eb71319556ca56189bc4f82f532f3ef4cd0bfdf662e2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T19:40:21.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-21T19:40:22.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T19:40:22.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-21T19:40:22.962Z] + ls -al . [2022-06-21T19:40:22.962Z] total 236 [2022-06-21T19:40:22.962Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 19:40 . [2022-06-21T19:40:22.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 19:35 .. [2022-06-21T19:40:22.962Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 19:35 .git [2022-06-21T19:40:22.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 19:35 .github [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 21 19:35 .gitignore [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 19:35 .golangci.yml [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 9227 Jun 21 19:35 Attribution.txt [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 21 19:35 CHANGELOG.md [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 21 19:35 Dockerfile [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 19:35 GOVERNANCE.md [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 21 19:35 Jenkinsfile [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 21 19:35 LICENSE [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 21 19:35 Makefile [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 21 19:35 OWNERS.md [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 21 19:35 README.md [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 19:31 VERSION [2022-06-21T19:40:22.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 19:35 bin [2022-06-21T19:40:22.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 19:35 cmd [2022-06-21T19:40:22.962Z] -rw-r--r-- 1 jenkins jenkins 62643 Jun 21 19:39 coverage.out [2022-06-21T19:40:22.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 19:35 doc [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jun 21 19:35 go.mod [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 37933 Jun 21 19:35 go.sum [2022-06-21T19:40:22.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 19:35 internal [2022-06-21T19:40:22.962Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 21 19:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:40:23.324Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c1952e6ebd99cbcfabfe88f8fb3cbd4ef2f917ce --label arch=arm64 --label version=0.0.0 . [2022-06-21T19:40:23.596Z] Sending build context to Docker daemon 6.091MB [2022-06-21T19:40:23.596Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T19:40:23.596Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-21T19:40:23.596Z] ---> f50bd9a59966 [2022-06-21T19:40:23.596Z] Step 3/26 : ARG MAKE="make build" [2022-06-21T19:40:23.871Z] ---> Running in 07c7edb2282a [2022-06-21T19:40:24.145Z] Removing intermediate container 07c7edb2282a [2022-06-21T19:40:24.145Z] ---> 8a294cec6d1d [2022-06-21T19:40:24.145Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-21T19:40:24.145Z] ---> Running in e201c99760f1 [2022-06-21T19:40:24.417Z] Removing intermediate container e201c99760f1 [2022-06-21T19:40:24.417Z] ---> 123016f834d8 [2022-06-21T19:40:24.418Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-21T19:40:24.691Z] ---> Running in 8a1b2215386d [2022-06-21T19:40:24.964Z] Removing intermediate container 8a1b2215386d [2022-06-21T19:40:24.964Z] ---> 08b438474cc2 [2022-06-21T19:40:24.964Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-21T19:40:24.964Z] ---> Running in db61573d7282 [2022-06-21T19:40:25.246Z] Removing intermediate container db61573d7282 [2022-06-21T19:40:25.246Z] ---> e56998222efe [2022-06-21T19:40:25.246Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T19:40:25.246Z] ---> Running in ab97a7296e40 [2022-06-21T19:40:27.227Z] Removing intermediate container ab97a7296e40 [2022-06-21T19:40:27.227Z] ---> f5757f4d1f76 [2022-06-21T19:40:27.227Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-21T19:40:27.227Z] ---> Running in bd5e37c8d3c6 [2022-06-21T19:40:28.208Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T19:40:28.803Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T19:40:29.787Z] OK: 220 MiB in 52 packages [2022-06-21T19:40:30.389Z] Removing intermediate container bd5e37c8d3c6 [2022-06-21T19:40:30.389Z] ---> 374ec4561dc5 [2022-06-21T19:40:30.389Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-21T19:40:30.389Z] ---> Running in 3ed95bff3f93 [2022-06-21T19:40:30.992Z] Removing intermediate container 3ed95bff3f93 [2022-06-21T19:40:30.992Z] ---> e9b9d20dca19 [2022-06-21T19:40:30.992Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-21T19:40:31.265Z] ---> 275a641923d7 [2022-06-21T19:40:31.265Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T19:40:31.543Z] ---> Running in 788576cad7d8 [2022-06-21T19:40:33.530Z] Removing intermediate container 788576cad7d8 [2022-06-21T19:40:33.530Z] ---> 3d5d0f544885 [2022-06-21T19:40:33.530Z] Step 12/26 : COPY . . [2022-06-21T19:40:34.525Z] ---> 0f547b1d9546 [2022-06-21T19:40:34.525Z] Step 13/26 : RUN ${MAKE} [2022-06-21T19:40:34.525Z] ---> Running in 275bd024e377 [2022-06-21T19:40:35.519Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-21T19:42:42.373Z] Removing intermediate container 275bd024e377 [2022-06-21T19:42:42.373Z] ---> e0cb26f59a83 [2022-06-21T19:42:42.373Z] Step 14/26 : FROM alpine:3.15 [2022-06-21T19:42:42.373Z] 3.15: Pulling from library/alpine [2022-06-21T19:42:42.373Z] 9981e73032c8: Pulling fs layer [2022-06-21T19:42:42.373Z] 9981e73032c8: Verifying Checksum [2022-06-21T19:42:42.373Z] 9981e73032c8: Download complete [2022-06-21T19:42:42.373Z] 9981e73032c8: Pull complete [2022-06-21T19:42:42.373Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-21T19:42:42.373Z] Status: Downloaded newer image for alpine:3.15 [2022-06-21T19:42:42.373Z] ---> 3fb3c9af89a9 [2022-06-21T19:42:42.373Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-21T19:42:42.373Z] ---> Running in d3460e921c1c [2022-06-21T19:42:42.373Z] Removing intermediate container d3460e921c1c [2022-06-21T19:42:42.373Z] ---> 311108bb697c [2022-06-21T19:42:42.373Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-21T19:42:42.373Z] ---> Running in 1916ee368168 [2022-06-21T19:42:42.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T19:42:42.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T19:42:42.373Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-21T19:42:42.373Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-21T19:42:42.373Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-21T19:42:42.373Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-21T19:42:42.373Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-21T19:42:42.373Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-21T19:42:42.373Z] Executing busybox-1.34.1-r5.trigger [2022-06-21T19:42:42.373Z] OK: 8 MiB in 20 packages [2022-06-21T19:42:42.373Z] Removing intermediate container 1916ee368168 [2022-06-21T19:42:42.373Z] ---> 93ad301059ab [2022-06-21T19:42:42.373Z] Step 17/26 : WORKDIR / [2022-06-21T19:42:42.373Z] ---> Running in 8ceeedcb8946 [2022-06-21T19:42:42.373Z] Removing intermediate container 8ceeedcb8946 [2022-06-21T19:42:42.373Z] ---> 0f7a6a02be1a [2022-06-21T19:42:42.373Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-21T19:42:42.373Z] ---> b00bb8cd5fa8 [2022-06-21T19:42:42.373Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-21T19:42:42.373Z] ---> 9e4284663057 [2022-06-21T19:42:42.373Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-21T19:42:42.373Z] ---> c2953dc3bb61 [2022-06-21T19:42:42.373Z] Step 21/26 : EXPOSE 59984 [2022-06-21T19:42:42.373Z] ---> Running in d26eecf7e39f [2022-06-21T19:42:42.373Z] Removing intermediate container d26eecf7e39f [2022-06-21T19:42:42.373Z] ---> caa05c1ad835 [2022-06-21T19:42:42.373Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-21T19:42:42.373Z] ---> Running in 390225002b39 [2022-06-21T19:42:42.373Z] Removing intermediate container 390225002b39 [2022-06-21T19:42:42.373Z] ---> fbe663d2fda4 [2022-06-21T19:42:42.373Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-21T19:42:42.373Z] ---> Running in 1f82ff5f5468 [2022-06-21T19:42:42.648Z] Removing intermediate container 1f82ff5f5468 [2022-06-21T19:42:42.648Z] ---> 56430134fef9 [2022-06-21T19:42:42.648Z] Step 24/26 : LABEL arch=arm64 [2022-06-21T19:42:42.648Z] ---> Running in 7875fbf6da50 [2022-06-21T19:42:42.924Z] Removing intermediate container 7875fbf6da50 [2022-06-21T19:42:42.924Z] ---> 92bb5deba7c6 [2022-06-21T19:42:42.924Z] Step 25/26 : LABEL git_sha=c1952e6ebd99cbcfabfe88f8fb3cbd4ef2f917ce [2022-06-21T19:42:43.198Z] ---> Running in 1e4257c06e14 [2022-06-21T19:42:43.473Z] Removing intermediate container 1e4257c06e14 [2022-06-21T19:42:43.473Z] ---> bfefe374de40 [2022-06-21T19:42:43.473Z] Step 26/26 : LABEL version=0.0.0 [2022-06-21T19:42:43.473Z] ---> Running in 7603be204ba1 [2022-06-21T19:42:43.745Z] Removing intermediate container 7603be204ba1 [2022-06-21T19:42:43.745Z] ---> bbd27158ce42 [2022-06-21T19:42:43.745Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-21T19:42:43.745Z] Successfully built bbd27158ce42 [2022-06-21T19:42:43.745Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:42:44.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T19:42:44.202Z] [2022-06-21T19:42:44.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:42:44.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T19:42:44.826Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-21T19:42:44.826Z] 8998bd30e6a1: Pulling fs layer [2022-06-21T19:42:44.826Z] 04944245beec: Pulling fs layer [2022-06-21T19:42:44.826Z] 699f458cf7ca: Pulling fs layer [2022-06-21T19:42:44.826Z] 765212b225bb: Pulling fs layer [2022-06-21T19:42:44.826Z] f23df028b6ca: Pulling fs layer [2022-06-21T19:42:44.826Z] d65c8cfc05b1: Pulling fs layer [2022-06-21T19:42:44.826Z] 2437ff75d9bd: Pulling fs layer [2022-06-21T19:42:44.826Z] 765212b225bb: Waiting [2022-06-21T19:42:44.826Z] f23df028b6ca: Waiting [2022-06-21T19:42:44.826Z] d65c8cfc05b1: Waiting [2022-06-21T19:42:44.826Z] 2437ff75d9bd: Waiting [2022-06-21T19:42:44.826Z] 04944245beec: Verifying Checksum [2022-06-21T19:42:44.826Z] 04944245beec: Download complete [2022-06-21T19:42:44.826Z] 765212b225bb: Verifying Checksum [2022-06-21T19:42:44.826Z] 765212b225bb: Download complete [2022-06-21T19:42:44.826Z] f23df028b6ca: Verifying Checksum [2022-06-21T19:42:44.826Z] f23df028b6ca: Download complete [2022-06-21T19:42:44.826Z] d65c8cfc05b1: Verifying Checksum [2022-06-21T19:42:44.826Z] d65c8cfc05b1: Download complete [2022-06-21T19:42:45.100Z] 699f458cf7ca: Verifying Checksum [2022-06-21T19:42:45.100Z] 699f458cf7ca: Download complete [2022-06-21T19:42:45.373Z] 8998bd30e6a1: Verifying Checksum [2022-06-21T19:42:45.373Z] 8998bd30e6a1: Download complete [2022-06-21T19:42:47.997Z] 2437ff75d9bd: Verifying Checksum [2022-06-21T19:42:47.997Z] 2437ff75d9bd: Download complete [2022-06-21T19:42:49.977Z] 8998bd30e6a1: Pull complete [2022-06-21T19:42:50.249Z] 04944245beec: Pull complete [2022-06-21T19:42:51.689Z] 699f458cf7ca: Pull complete [2022-06-21T19:42:51.965Z] 765212b225bb: Pull complete [2022-06-21T19:42:52.947Z] f23df028b6ca: Pull complete [2022-06-21T19:42:52.947Z] d65c8cfc05b1: Pull complete [2022-06-21T19:43:08.056Z] 2437ff75d9bd: Pull complete [2022-06-21T19:43:08.056Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-21T19:43:08.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T19:43:08.056Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:43:08.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-15244 does not seem to be running inside a container [2022-06-21T19:43:08.403Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-21T19:43:10.923Z] $ docker top c71bccb1fd71c4d31a1424f71297ce96b8465c5c15617af6932f8e8343b834f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:43:11.840Z] ---> job-cost.sh [2022-06-21T19:43:11.840Z] lf-activate-venv: SKIPPING [2022-06-21T19:43:11.840Z] INFO: No Stack... [2022-06-21T19:43:12.431Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-21T19:43:13.025Z] INFO: Archiving Costs [Pipeline] sh [2022-06-21T19:43:13.691Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-06-21T19:43:13.691Z] + cut -d, -f6 [Pipeline] lock [2022-06-21T19:43:13.775Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [2022-06-21T19:43:13.781Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] did not exist. Created. [2022-06-21T19:43:13.781Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-21T19:43:14.502Z] /w/workspace/device-onvif-camera/2@tmp/durable-8c669f01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-21T19:43:15.225Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-21T19:43:15.249Z] Warning: overwriting stash ‘stack-cost’ [2022-06-21T19:43:15.314Z] Stashed 1 file(s) [Pipeline] } [2022-06-21T19:43:15.323Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-21T19:43:15.357Z] $ docker stop --time=1 c71bccb1fd71c4d31a1424f71297ce96b8465c5c15617af6932f8e8343b834f9 [2022-06-21T19:43:16.911Z] $ docker rm -f c71bccb1fd71c4d31a1424f71297ce96b8465c5c15617af6932f8e8343b834f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) 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-06-21T19:43:17.878Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] [2022-06-21T19:43:17.878Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-21T19:43:17.878Z] total 16 [2022-06-21T19:43:17.878Z] drwxr-xr-x 3 root root 4096 Jun 21 19:32 . [2022-06-21T19:43:17.878Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 19:32 .. [2022-06-21T19:43:17.878Z] drwxr-xr-x 2 root root 4096 Jun 21 19:32 cost [2022-06-21T19:43:17.878Z] -rw-r--r-- 1 root root 89 Jun 21 19:32 cost.csv [2022-06-21T19:43:17.878Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-21T19:43:17.878Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-21T19:43:17.878Z] total 16 [2022-06-21T19:43:17.878Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 19:32 . [2022-06-21T19:43:17.879Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 19:32 .. [2022-06-21T19:43:17.879Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 19:32 cost [2022-06-21T19:43:17.879Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 21 19:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:43:18.175Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:43:19.047Z] ---> package-listing.sh [2022-06-21T19:43:19.047Z] ++ facter osfamily [2022-06-21T19:43:19.047Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-21T19:43:19.048Z] + OS_FAMILY=debian [2022-06-21T19:43:19.048Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-21T19:43:19.048Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-21T19:43:19.048Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-21T19:43:19.048Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-21T19:43:19.048Z] + PACKAGES=/tmp/packages_start.txt [2022-06-21T19:43:19.048Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-21T19:43:19.048Z] + PACKAGES=/tmp/packages_end.txt [2022-06-21T19:43:19.048Z] + case "${OS_FAMILY}" in [2022-06-21T19:43:19.048Z] + dpkg -l [2022-06-21T19:43:19.048Z] + grep '^ii' [2022-06-21T19:43:19.308Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-21T19:43:19.308Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-21T19:43:19.308Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-21T19:43:19.308Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-21T19:43:19.308Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [2022-06-21T19:43:19.308Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [Pipeline] echo [2022-06-21T19:43:19.319Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-21T19:43:19.601Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:43:19.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T19:43:19.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:43:19.992Z] prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container [2022-06-21T19:43:20.024Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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-06-21T19:43:20.229Z] $ docker top 4e08a7b036be906f6c522ef6a2eb1d95dcd3e7418d0c3ffddbdaa0b21dc2ca19 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T19:43:20.594Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-21T19:43:20.955Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-21T19:43:21.245Z] + ls /var/log/sa-host [2022-06-21T19:43:21.245Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T19:43:21.314Z] provisioning config files... [2022-06-21T19:43:21.324Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config3207347261283953853tmp [Pipeline] { [Pipeline] echo [2022-06-21T19:43:21.342Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:43:21.626Z] ---> create-netrc.sh [Pipeline] } [2022-06-21T19:43:21.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:43:21.963Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-21T19:43:21.971Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:43:22.253Z] ---> sudo-logs.sh [2022-06-21T19:43:22.253Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-21T19:43:22.275Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:43:22.561Z] ---> job-cost.sh [2022-06-21T19:43:22.561Z] lf-activate-venv: SKIPPING [2022-06-21T19:43:22.561Z] DEBUG: total: 0.2199999988079071 [2022-06-21T19:43:22.561Z] INFO: Retrieving Stack Cost... [2022-06-21T19:43:22.822Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-21T19:43:23.392Z] INFO: Archiving Costs [Pipeline] echo [2022-06-21T19:43:23.404Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:43:23.687Z] ---> logs-deploy.sh [2022-06-21T19:43:23.687Z] lf-activate-venv: SKIPPING [2022-06-21T19:43:23.687Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/2 [2022-06-21T19:43:23.687Z] INFO: archiving workspace using pattern(s): [2022-06-21T19:43:24.629Z] Archives upload complete. [2022-06-21T19:43:24.629Z] INFO: archiving logs to Nexus