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 19:31:30 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 19:31:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:31:30 ========================================================= 19:31:30 EdgeX Global Pipelines Version Info 19:31:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:31:31 ------------------- 19:31:31 stable info: 19:31:31 ------------------- 19:31:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:31:31 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:31:31 Message: update stable to v1.0.234 19:31:31 ------------------- 19:31:31 experimental info: 19:31:31 ------------------- 19:31:31 Commited By: **** collab-it+edgex@linuxfoundation.org 19:31:31 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 19:31:31 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 675691d12cbb300131c43c106d3b63f26a762768 [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 675691d [Pipeline] echo 19:31:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:31:32 provisioning config files... 19:31:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config5956222721567403371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:32 ---> docker-login.sh 19:31:32 nexus3.edgexfoundry.org:10001 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:33 Configure a credential helper to remove this warning. See 19:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:33 19:31:33 Login Succeeded 19:31:33 nexus3.edgexfoundry.org:10002 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:33 Configure a credential helper to remove this warning. See 19:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:33 19:31:33 Login Succeeded 19:31:33 nexus3.edgexfoundry.org:10003 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:33 Configure a credential helper to remove this warning. See 19:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:33 19:31:33 Login Succeeded 19:31:33 nexus3.edgexfoundry.org:10004 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:33 Configure a credential helper to remove this warning. See 19:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:33 19:31:33 Login Succeeded 19:31:33 docker.io 19:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:33 Configure a credential helper to remove this warning. See 19:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:33 19:31:33 Login Succeeded 19:31:33 ---> docker-login.sh ends [Pipeline] } 19:31:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:31:34 + git rev-list -1 --merges 675691d12cbb300131c43c106d3b63f26a762768~1..675691d12cbb300131c43c106d3b63f26a762768 [Pipeline] echo 19:31:34 -----------> git rev-list -1 --merges 675691d12cbb300131c43c106d3b63f26a762768~1..675691d12cbb300131c43c106d3b63f26a762768 675691d12cbb300131c43c106d3b63f26a762768 19:31:34 675691d12cbb300131c43c106d3b63f26a762768 [false] [Pipeline] sh 19:31:34 + git log --format=format:%s -1 675691d12cbb300131c43c106d3b63f26a762768 [Pipeline] echo 19:31:34 ========================================================= 19:31:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:31:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:31:35 + git log --format=format:%s -1 675691d12cbb300131c43c106d3b63f26a762768 [Pipeline] echo 19:31:35 [semverPrep] GIT_COMMIT: 675691d12cbb300131c43c106d3b63f26a762768, Commit Message: Merge commit '0a79c5a718067479237195976121108915350925' into HEAD [Pipeline] echo 19:31:35 [semverPrep] This is not a build commit. [Pipeline] sh 19:31:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:31:35 + grep -v github /etc/ssh/ssh_known_hosts 19:31:35 + [ -e /tmp/ssh_known_hosts ] 19:31:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:31:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:31:35 + sudo tee -a /etc/ssh/ssh_known_hosts 19:31:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:31:35 19:31:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:31:36 0.1.4: Pulling from edgex-devops/py-git-semver 19:31:36 42c077c10790: Pulling fs layer 19:31:36 f63e77b7563a: Pulling fs layer 19:31:36 bd5fdadae976: Pulling fs layer 19:31:36 205491f53016: Pulling fs layer 19:31:36 df18705c85c3: Pulling fs layer 19:31:36 bdb3f477010e: Pulling fs layer 19:31:36 c8a8fc8e1c8f: Pulling fs layer 19:31:36 2c6e9b1d212d: Pulling fs layer 19:31:36 bdb8f0575790: Pulling fs layer 19:31:36 386e3cb2ff24: Pulling fs layer 19:31:36 2343380bae48: Pulling fs layer 19:31:36 205491f53016: Waiting 19:31:36 df18705c85c3: Waiting 19:31:36 bdb3f477010e: Waiting 19:31:36 c8a8fc8e1c8f: Waiting 19:31:36 2c6e9b1d212d: Waiting 19:31:36 bdb8f0575790: Waiting 19:31:36 2343380bae48: Waiting 19:31:36 386e3cb2ff24: Waiting 19:31:36 f63e77b7563a: Download complete 19:31:36 205491f53016: Verifying Checksum 19:31:36 205491f53016: Download complete 19:31:36 df18705c85c3: Verifying Checksum 19:31:36 df18705c85c3: Download complete 19:31:36 bdb3f477010e: Download complete 19:31:36 bd5fdadae976: Verifying Checksum 19:31:36 bd5fdadae976: Download complete 19:31:36 2c6e9b1d212d: Verifying Checksum 19:31:36 2c6e9b1d212d: Download complete 19:31:36 bdb8f0575790: Download complete 19:31:36 386e3cb2ff24: Download complete 19:31:36 2343380bae48: Download complete 19:31:36 42c077c10790: Verifying Checksum 19:31:36 42c077c10790: Download complete 19:31:36 c8a8fc8e1c8f: Download complete 19:31:37 42c077c10790: Pull complete 19:31:38 f63e77b7563a: Pull complete 19:31:38 bd5fdadae976: Pull complete 19:31:38 205491f53016: Pull complete 19:31:38 df18705c85c3: Pull complete 19:31:38 bdb3f477010e: Pull complete 19:31:40 c8a8fc8e1c8f: Pull complete 19:31:40 2c6e9b1d212d: Pull complete 19:31:41 bdb8f0575790: Pull complete 19:31:41 386e3cb2ff24: Pull complete 19:31:41 2343380bae48: Pull complete 19:31:41 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 19:31:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:31:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:41 prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container 19:31:41 $ 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 19:31:42 $ docker top b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e -eo pid,comm 19:31:42 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). 19:31:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:31:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:31:42 [ssh-agent] Looking for ssh-agent implementation... 19:31:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:31:43 $ docker exec b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e ssh-agent 19:31:43 SSH_AUTH_SOCK=/tmp/ssh-VYtuIMyhZtij/agent.33 19:31:43 SSH_AGENT_PID=40 19:31:43 Running ssh-add (command line suppressed) 19:31:43 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) 19:31:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:31:43 + git tag --points-at HEAD [Pipeline] } 19:31:43 $ docker exec --env ******** --env ******** b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e ssh-agent -k 19:31:43 unset SSH_AUTH_SOCK; 19:31:43 unset SSH_AGENT_PID; 19:31:43 echo Agent pid 40 killed; 19:31:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:31:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:31:43 [ssh-agent] Looking for ssh-agent implementation... 19:31:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:31:44 $ docker exec b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e ssh-agent 19:31:44 SSH_AUTH_SOCK=/tmp/ssh-RUhgKv1YpzRR/agent.72 19:31:44 SSH_AGENT_PID=79 19:31:44 Running ssh-add (command line suppressed) 19:31:44 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) 19:31:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:31:44 + git semver init 19:31:44 2022-06-21 19:31:44,788 [run_init] DEBUG init version:0.0.0 force:False 19:31:44 2022-06-21 19:31:44,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver 19:31:44 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 19:31:44 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) 19:31:45 2022-06-21 19:31:45,546 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude 19:31:45 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 19:31:45 2022-06-21 19:31:45,547 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 19:31:45 2022-06-21 19:31:45,551 [execute] INFO git cat-file --batch-check 19:31:45 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=) 19:31:45 2022-06-21 19:31:45,556 [execute] INFO git cat-file --batch 19:31:45 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=) 19:31:45 2022-06-21 19:31:45,563 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 19:31:45 0.0.0 [Pipeline] } 19:31:45 $ docker exec --env ******** --env ******** b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e ssh-agent -k 19:31:45 unset SSH_AUTH_SOCK; 19:31:45 unset SSH_AGENT_PID; 19:31:45 echo Agent pid 79 killed; 19:31:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:31:46 + git semver [Pipeline] } 19:31:46 $ docker stop --time=1 b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e 19:31:47 $ docker rm -f b730ac8ed26c37ff20b087b83d7c243555ee4d78def90b2416bd4b4b4ecfd67e [Pipeline] // withDockerContainer [Pipeline] sh 19:31:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:31:48 Stashed 1 file(s) [Pipeline] echo 19:31:48 [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 19:31:48 provisioning config files... 19:31:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config5811240551996766545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:49 ---> docker-login.sh 19:31:49 nexus3.edgexfoundry.org:10001 19:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:49 Configure a credential helper to remove this warning. See 19:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:49 19:31:49 Login Succeeded 19:31:49 nexus3.edgexfoundry.org:10002 19:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:49 Configure a credential helper to remove this warning. See 19:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:49 19:31:49 Login Succeeded 19:31:49 nexus3.edgexfoundry.org:10003 19:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:49 Configure a credential helper to remove this warning. See 19:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:49 19:31:49 Login Succeeded 19:31:49 nexus3.edgexfoundry.org:10004 19:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:49 Configure a credential helper to remove this warning. See 19:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:49 19:31:49 Login Succeeded 19:31:49 docker.io 19:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:31:49 Configure a credential helper to remove this warning. See 19:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:31:49 19:31:49 Login Succeeded 19:31:49 ---> docker-login.sh ends [Pipeline] } 19:31:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:31:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:31:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:31:49 ========================================================= 19:31:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:31:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:50 + 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 . 19:31:50 Sending build context to Docker daemon 8.815MB 19:31:50 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:31:50 Step 2/13 : FROM ${BASE} AS builder 19:31:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:31:50 59bf1c3509f3: Pulling fs layer 19:31:50 666ba61612fd: Pulling fs layer 19:31:50 8ed8ca486205: Pulling fs layer 19:31:50 cc1cd167ecdc: Pulling fs layer 19:31:50 c516ae0d96e1: Pulling fs layer 19:31:50 684cea983483: Pulling fs layer 19:31:50 dd3240ac7de5: Pulling fs layer 19:31:50 b1e948a4e11c: Pulling fs layer 19:31:50 a8fd76ee1af6: Pulling fs layer 19:31:50 646ad004c059: Pulling fs layer 19:31:50 b1e948a4e11c: Waiting 19:31:50 c516ae0d96e1: Waiting 19:31:50 dd3240ac7de5: Waiting 19:31:50 684cea983483: Waiting 19:31:50 646ad004c059: Waiting 19:31:50 a8fd76ee1af6: Waiting 19:31:50 cc1cd167ecdc: Waiting 19:31:50 8ed8ca486205: Verifying Checksum 19:31:50 8ed8ca486205: Download complete 19:31:50 666ba61612fd: Verifying Checksum 19:31:50 666ba61612fd: Download complete 19:31:50 c516ae0d96e1: Verifying Checksum 19:31:50 c516ae0d96e1: Download complete 19:31:50 684cea983483: Verifying Checksum 19:31:50 684cea983483: Download complete 19:31:50 dd3240ac7de5: Verifying Checksum 19:31:50 dd3240ac7de5: Download complete 19:31:50 59bf1c3509f3: Verifying Checksum 19:31:50 59bf1c3509f3: Download complete 19:31:50 b1e948a4e11c: Verifying Checksum 19:31:50 b1e948a4e11c: Download complete 19:31:50 59bf1c3509f3: Pull complete 19:31:50 666ba61612fd: Pull complete 19:31:50 8ed8ca486205: Pull complete 19:31:50 646ad004c059: Verifying Checksum 19:31:50 646ad004c059: Download complete 19:31:51 a8fd76ee1af6: Verifying Checksum 19:31:51 a8fd76ee1af6: Download complete 19:31:51 cc1cd167ecdc: Verifying Checksum 19:31:51 cc1cd167ecdc: Download complete 19:31:55 cc1cd167ecdc: Pull complete 19:31:55 c516ae0d96e1: Pull complete 19:31:55 684cea983483: Pull complete 19:31:55 dd3240ac7de5: Pull complete 19:31:55 b1e948a4e11c: Pull complete 19:31:57 a8fd76ee1af6: Pull complete 19:31:58 646ad004c059: Pull complete 19:31:58 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 19:31:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:31:58 ---> 8f69c11f6b0c 19:31:58 Step 3/13 : ARG MAKE="make build" 19:31:59 ---> Running in 65bb8148345e 19:31:59 Removing intermediate container 65bb8148345e 19:31:59 ---> 22379dda0cd0 19:31:59 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:31:59 ---> Running in 1f79739f1b2b 19:31:59 Removing intermediate container 1f79739f1b2b 19:31:59 ---> 5b9bbacfa647 19:31:59 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:31:59 ---> Running in 9dd51eb1648e 19:31:59 Removing intermediate container 9dd51eb1648e 19:31:59 ---> e6c4a3d17f22 19:31:59 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:31:59 ---> Running in 00f46b8f72a5 19:31:59 Removing intermediate container 00f46b8f72a5 19:31:59 ---> 9dcd922e9815 19:31:59 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:32:00 ---> Running in b42dd96ba0de 19:32:00 Removing intermediate container b42dd96ba0de 19:32:00 ---> c5f0810399de 19:32:00 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:32:00 ---> Running in f7d3392eb911 19:32:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:32:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:32:02 OK: 221 MiB in 52 packages 19:32:02 Removing intermediate container f7d3392eb911 19:32:02 ---> 784f0a65a20e 19:32:02 Step 9/13 : WORKDIR /device-onvif-camera 19:32:02 ---> Running in 645f4f24f8cd 19:32:02 Removing intermediate container 645f4f24f8cd 19:32:02 ---> 8c473fdfb518 19:32:02 Step 10/13 : COPY go.mod vendor* ./ 19:32:02 ---> e4fe207e47ec 19:32:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:32:02 ---> Running in d2d173b873b7 19:32:03 Still waiting to schedule task 19:32:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15242’ 19:32:20 Removing intermediate container d2d173b873b7 19:32:20 ---> bdded4802c2d 19:32:20 Step 12/13 : COPY . . 19:32:20 ---> 410ba7617a9d 19:32:20 Step 13/13 : RUN ${MAKE} 19:32:20 ---> Running in 3c12f4eb1f4e 19:32:20 noop 19:32:20 Removing intermediate container 3c12f4eb1f4e 19:32:20 ---> 67b2432fb3a4 19:32:20 Successfully built 67b2432fb3a4 19:32:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:21 + docker inspect -f . ci-base-image-x86_64 19:32:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:32:21 prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container 19:32:21 $ 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 19:32:21 $ docker top fa94e6f770206d29fc176c363373248f74d2f8a56cbca3d9fec9affa68391453 -eo pid,comm [Pipeline] { [Pipeline] sh 19:32:22 + go version 19:32:22 go version go1.17.7 linux/amd64 [Pipeline] } 19:32:22 $ docker stop --time=1 fa94e6f770206d29fc176c363373248f74d2f8a56cbca3d9fec9affa68391453 19:32:23 $ 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 19:32:23 + docker inspect -f . ci-base-image-x86_64 19:32:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:32:23 prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container 19:32:23 $ 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 19:32:24 $ docker top 9543a8ef15d649564ef1d69a617d9940cb2a05a128ecafdf17fbfbc52f14add3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:32:24 + make test 19:32:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:32:25 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:32:35 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:32:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 4.3% of statements 19:32:38 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.469s coverage: 13.8% of statements 19:32:45 internal/driver/onvifclient.go:200:36: Error return value of `` is not checked (errcheck) 19:32:45 sdk.RunningService().UpdateDevice(updatedDevice) 19:32:45 ^ 19:32:45 make: *** [Makefile:52: lint] Error 1 [Pipeline] } 19:32:45 $ docker stop --time=1 9543a8ef15d649564ef1d69a617d9940cb2a05a128ecafdf17fbfbc52f14add3 19:32:46 $ 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 19:32:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:32:47 19:32:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:32:47 latest: Pulling from edgex-lftools-log-publisher 19:32:47 5eb5b503b376: Pulling fs layer 19:32:47 5c69ac0246d0: Pulling fs layer 19:32:47 ec43610c2a17: Pulling fs layer 19:32:47 3a2ae6a8a46f: Pulling fs layer 19:32:47 33b1e0a273af: Pulling fs layer 19:32:47 5d3b04190fa2: Pulling fs layer 19:32:47 2f39f015ded8: Pulling fs layer 19:32:47 33b1e0a273af: Waiting 19:32:47 3a2ae6a8a46f: Waiting 19:32:47 2f39f015ded8: Waiting 19:32:47 5c69ac0246d0: Verifying Checksum 19:32:47 5c69ac0246d0: Download complete 19:32:47 3a2ae6a8a46f: Verifying Checksum 19:32:47 3a2ae6a8a46f: Download complete 19:32:47 33b1e0a273af: Verifying Checksum 19:32:47 33b1e0a273af: Download complete 19:32:47 5d3b04190fa2: Download complete 19:32:47 ec43610c2a17: Verifying Checksum 19:32:47 ec43610c2a17: Download complete 19:32:47 5eb5b503b376: Verifying Checksum 19:32:47 5eb5b503b376: Download complete 19:32:48 2f39f015ded8: Download complete 19:32:49 5eb5b503b376: Pull complete 19:32:49 5c69ac0246d0: Pull complete 19:32:49 ec43610c2a17: Pull complete 19:32:49 3a2ae6a8a46f: Pull complete 19:32:50 33b1e0a273af: Pull complete 19:32:50 5d3b04190fa2: Pull complete 19:32:54 2f39f015ded8: Pull complete 19:32:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:32:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:32:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:32:54 prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container 19:32:54 $ 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 19:32:56 $ docker top 96b82dab00635c206615dd32d285f4833174183cbe81be821f800195884ff1f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:32:56 ---> job-cost.sh 19:32:56 lf-activate-venv: SKIPPING 19:32:56 INFO: No Stack... 19:32:57 INFO: Retrieving Pricing Info for: v3-standard-8 19:32:57 INFO: Archiving Costs [Pipeline] sh 19:32:57 + cat+ /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv 19:32:57 cut -d, -f6 [Pipeline] lock 19:32:57 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] 19:32:57 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] did not exist. Created. 19:32:57 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:32:58 + echo total: 0.2199999988079071 [Pipeline] stash 19:32:58 Stashed 1 file(s) [Pipeline] } 19:32:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:32:58 $ docker stop --time=1 96b82dab00635c206615dd32d285f4833174183cbe81be821f800195884ff1f9 19:32:59 $ docker rm -f 96b82dab00635c206615dd32d285f4833174183cbe81be821f800195884ff1f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:32:59 Failed in branch amd64 19:35:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15244 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws 19:35:43 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 19:35:43 Selected Git installation does not exist. Using Default 19:35:43 The recommended git tool is: NONE 19:35:50 using credential edgex-jenkins-ssh 19:35:50 Cloning the remote Git repository 19:35:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:35:50 > git init /w/workspace/device-onvif-camera/2 # timeout=10 19:35:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:35:50 > git --version # timeout=10 19:35:50 > git --version # 'git version 2.25.1' 19:35:50 using GIT_SSH to set credentials SSH Credentials for GitHub 19:35:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:35:51 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:35:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:35:51 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:35:52 Merging remotes/origin/main commit 0a79c5a718067479237195976121108915350925 into PR head commit 2d9285f46b0f0f949c771c176fb53b80af9bd0e2 19:35:52 Merge succeeded, producing c1952e6ebd99cbcfabfe88f8fb3cbd4ef2f917ce 19:35:52 Checking out Revision c1952e6ebd99cbcfabfe88f8fb3cbd4ef2f917ce (PR-87) 19:35:51 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:35:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:35:51 > 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 19:35:52 > git config core.sparsecheckout # timeout=10 19:35:52 > git checkout -f 2d9285f46b0f0f949c771c176fb53b80af9bd0e2 # timeout=10 19:35:52 > git remote # timeout=10 19:35:52 > git config --get remote.origin.url # timeout=10 19:35:52 using GIT_SSH to set credentials SSH Credentials for GitHub 19:35:52 > git merge 0a79c5a718067479237195976121108915350925 # timeout=10 19:35:52 > git rev-parse HEAD^{commit} # timeout=10 19:35:52 > git config core.sparsecheckout # timeout=10 19:35:52 > git checkout -f c1952e6ebd99cbcfabfe88f8fb3cbd4ef2f917ce # timeout=10 19:35:57 Commit message: "Merge commit '0a79c5a718067479237195976121108915350925' into HEAD" 19:35:57 First time build. Skipping changelog. 19:35:57 > git rev-list --no-walk 6ce84dc63a2b0ab121ec840889da5d1ad093e98c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:35:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:35:58 % Total % Received % Xferd Average Speed Time Time Time Current 19:35:58 Dload Upload Total Spent Left Speed 19:35:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 97246 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh 19:35:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:35:59 + sudo tee /etc/docker/daemon.new 19:35:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:35:59 { 19:35:59 "registry-mirrors": [ 19:35:59 "https://nexus3.edgexfoundry.org:10001" 19:35:59 ], 19:35:59 "bip": "10.250.0.254/24", 19:35:59 "hosts": [ 19:35:59 "tcp://0.0.0.0:5555", 19:35:59 "unix:///var/run/docker.sock" 19:35:59 ], 19:35:59 "mtu": 1458, 19:35:59 "selinux-enabled": true, 19:35:59 "seccomp-profile": "/etc/docker/seccomp.json" 19:35:59 } [Pipeline] sh 19:35:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:36:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:36:18 provisioning config files... 19:36:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2964687501315058104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:36:18 ---> docker-login.sh 19:36:18 nexus3.edgexfoundry.org:10001 19:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:19 Configure a credential helper to remove this warning. See 19:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:19 19:36:19 Login Succeeded 19:36:19 nexus3.edgexfoundry.org:10002 19:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:20 Configure a credential helper to remove this warning. See 19:36:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:20 19:36:20 Login Succeeded 19:36:20 nexus3.edgexfoundry.org:10003 19:36:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:20 Configure a credential helper to remove this warning. See 19:36:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:20 19:36:20 Login Succeeded 19:36:20 nexus3.edgexfoundry.org:10004 19:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:21 Configure a credential helper to remove this warning. See 19:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:21 19:36:21 Login Succeeded 19:36:21 docker.io 19:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:21 Configure a credential helper to remove this warning. See 19:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:21 19:36:21 Login Succeeded 19:36:21 ---> docker-login.sh ends [Pipeline] } 19:36:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:36:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:36:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:36:22 ========================================================= 19:36:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:36:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:36:22 + 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 . 19:36:23 Sending build context to Docker daemon 6.028MB 19:36:23 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 19:36:23 Step 2/13 : FROM ${BASE} AS builder 19:36:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:36:23 9b3977197b4f: Pulling fs layer 19:36:23 1a89e8eeedd5: Pulling fs layer 19:36:23 94645a83ff95: Pulling fs layer 19:36:23 e6fb740bc735: Pulling fs layer 19:36:23 3a77bd46dcc9: Pulling fs layer 19:36:23 355e64cbe906: Pulling fs layer 19:36:23 63ab81a10011: Pulling fs layer 19:36:23 555d1d1c4555: Pulling fs layer 19:36:23 7d9057610161: Pulling fs layer 19:36:23 355e64cbe906: Waiting 19:36:23 63ab81a10011: Waiting 19:36:23 e6fb740bc735: Waiting 19:36:23 555d1d1c4555: Waiting 19:36:23 7d9057610161: Waiting 19:36:23 3a77bd46dcc9: Waiting 19:36:23 94645a83ff95: Verifying Checksum 19:36:23 94645a83ff95: Download complete 19:36:23 1a89e8eeedd5: Download complete 19:36:23 3a77bd46dcc9: Verifying Checksum 19:36:23 3a77bd46dcc9: Download complete 19:36:23 355e64cbe906: Verifying Checksum 19:36:23 355e64cbe906: Download complete 19:36:23 9b3977197b4f: Download complete 19:36:23 63ab81a10011: Verifying Checksum 19:36:23 63ab81a10011: Download complete 19:36:24 9b3977197b4f: Pull complete 19:36:24 7d9057610161: Verifying Checksum 19:36:24 7d9057610161: Download complete 19:36:25 1a89e8eeedd5: Pull complete 19:36:25 94645a83ff95: Pull complete 19:36:25 555d1d1c4555: Verifying Checksum 19:36:25 555d1d1c4555: Download complete 19:36:26 e6fb740bc735: Verifying Checksum 19:36:26 e6fb740bc735: Download complete 19:36:39 e6fb740bc735: Pull complete 19:36:39 3a77bd46dcc9: Pull complete 19:36:39 355e64cbe906: Pull complete 19:36:39 63ab81a10011: Pull complete 19:36:46 555d1d1c4555: Pull complete 19:36:48 7d9057610161: Pull complete 19:36:48 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 19:36:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:36:48 ---> 819e984ddca1 19:36:48 Step 3/13 : ARG MAKE="make build" 19:36:49 ---> Running in 7aae6ebe15d3 19:36:49 Removing intermediate container 7aae6ebe15d3 19:36:49 ---> 232a66cd41e4 19:36:49 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:36:49 ---> Running in f96a408f1ae4 19:36:50 Removing intermediate container f96a408f1ae4 19:36:50 ---> afcf653dc473 19:36:50 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:36:50 ---> Running in 966a26458e9b 19:36:51 Removing intermediate container 966a26458e9b 19:36:51 ---> deb7aa473d02 19:36:51 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:36:51 ---> Running in f9575755d26d 19:36:52 Removing intermediate container f9575755d26d 19:36:52 ---> 91b979b91da9 19:36:52 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:36:52 ---> Running in 99a9280d07c0 19:36:54 Removing intermediate container 99a9280d07c0 19:36:54 ---> 9dc963533aca 19:36:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:36:54 ---> Running in 6919126d82f2 19:36:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:36:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:36:57 OK: 220 MiB in 52 packages 19:36:57 Removing intermediate container 6919126d82f2 19:36:57 ---> 578c5b7e939d 19:36:57 Step 9/13 : WORKDIR /device-onvif-camera 19:36:57 ---> Running in f9373d924e0e 19:36:58 Removing intermediate container f9373d924e0e 19:36:58 ---> f3ccfc17ad29 19:36:58 Step 10/13 : COPY go.mod vendor* ./ 19:36:58 ---> ffd3e0c20528 19:36:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:36:58 ---> Running in fecf2bc502c9 19:37:55 Removing intermediate container fecf2bc502c9 19:37:55 ---> 39c9425a2d8f 19:37:55 Step 12/13 : COPY . . 19:37:55 ---> 2da05b233873 19:37:55 Step 13/13 : RUN ${MAKE} 19:37:55 ---> Running in 73f1d42a3560 19:37:55 noop 19:37:55 Removing intermediate container 73f1d42a3560 19:37:55 ---> f50bd9a59966 19:37:55 Successfully built f50bd9a59966 19:37:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:55 + docker inspect -f . ci-base-image-arm64 19:37:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:37:55 prd-ubuntu20.04-docker-arm64-4c-16g-15244 does not seem to be running inside a container 19:37:56 $ 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 19:37:57 $ docker top 78a6c78bcf44f7e99953434939c0149a992ec38f6db2839ac5e30a9891273a96 -eo pid,comm [Pipeline] { [Pipeline] sh 19:37:58 + go version 19:37:58 go version go1.17.7 linux/arm64 [Pipeline] } 19:37:58 $ docker stop --time=1 78a6c78bcf44f7e99953434939c0149a992ec38f6db2839ac5e30a9891273a96 19:37:59 $ 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 19:38:00 + docker inspect -f . ci-base-image-arm64 19:38:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:00 prd-ubuntu20.04-docker-arm64-4c-16g-15244 does not seem to be running inside a container 19:38:00 $ 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 19:38:02 $ docker top 20836af6b8ac63a9c0a5eb71319556ca56189bc4f82f532f3ef4cd0bfdf662e2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:38:03 + make test 19:38:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:38:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:39:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:39:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.098s coverage: 4.3% of statements 19:39:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.937s coverage: 13.8% of statements 19:39:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:39:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:40:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:40:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:40:16 ./bin/test-attribution-txt.sh [Pipeline] echo 19:40:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:40:18 $ docker stop --time=1 20836af6b8ac63a9c0a5eb71319556ca56189bc4f82f532f3ef4cd0bfdf662e2 19:40:20 $ docker rm -f 20836af6b8ac63a9c0a5eb71319556ca56189bc4f82f532f3ef4cd0bfdf662e2 [Pipeline] // withDockerContainer [Pipeline] sh 19:40:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:40:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:40:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:40:22 + ls -al . 19:40:22 total 236 19:40:22 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 19:40 . 19:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 19:35 .. 19:40:22 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 19:35 .git 19:40:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 19:35 .github 19:40:22 -rw-rw-r-- 1 jenkins jenkins 352 Jun 21 19:35 .gitignore 19:40:22 -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 19:35 .golangci.yml 19:40:22 -rw-rw-r-- 1 jenkins jenkins 9227 Jun 21 19:35 Attribution.txt 19:40:22 -rw-rw-r-- 1 jenkins jenkins 189 Jun 21 19:35 CHANGELOG.md 19:40:22 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 21 19:35 Dockerfile 19:40:22 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 19:35 GOVERNANCE.md 19:40:22 -rw-rw-r-- 1 jenkins jenkins 660 Jun 21 19:35 Jenkinsfile 19:40:22 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 21 19:35 LICENSE 19:40:22 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 21 19:35 Makefile 19:40:22 -rw-rw-r-- 1 jenkins jenkins 625 Jun 21 19:35 OWNERS.md 19:40:22 -rw-rw-r-- 1 jenkins jenkins 30599 Jun 21 19:35 README.md 19:40:22 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 19:31 VERSION 19:40:22 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 19:35 bin 19:40:22 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 19:35 cmd 19:40:22 -rw-r--r-- 1 jenkins jenkins 62643 Jun 21 19:39 coverage.out 19:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 19:35 doc 19:40:22 -rw-rw-r-- 1 jenkins jenkins 3584 Jun 21 19:35 go.mod 19:40:22 -rw-rw-r-- 1 jenkins jenkins 37933 Jun 21 19:35 go.sum 19:40:22 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 19:35 internal 19:40:22 -rw-rw-r-- 1 jenkins jenkins 236 Jun 21 19:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:40:23 + 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 . 19:40:23 Sending build context to Docker daemon 6.091MB 19:40:23 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 19:40:23 Step 2/26 : FROM ${BASE} AS builder 19:40:23 ---> f50bd9a59966 19:40:23 Step 3/26 : ARG MAKE="make build" 19:40:23 ---> Running in 07c7edb2282a 19:40:24 Removing intermediate container 07c7edb2282a 19:40:24 ---> 8a294cec6d1d 19:40:24 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:40:24 ---> Running in e201c99760f1 19:40:24 Removing intermediate container e201c99760f1 19:40:24 ---> 123016f834d8 19:40:24 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 19:40:24 ---> Running in 8a1b2215386d 19:40:24 Removing intermediate container 8a1b2215386d 19:40:24 ---> 08b438474cc2 19:40:24 Step 6/26 : LABEL Name=edgex-device-onvif-camera 19:40:24 ---> Running in db61573d7282 19:40:25 Removing intermediate container db61573d7282 19:40:25 ---> e56998222efe 19:40:25 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:40:25 ---> Running in ab97a7296e40 19:40:27 Removing intermediate container ab97a7296e40 19:40:27 ---> f5757f4d1f76 19:40:27 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:40:27 ---> Running in bd5e37c8d3c6 19:40:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:40:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:40:29 OK: 220 MiB in 52 packages 19:40:30 Removing intermediate container bd5e37c8d3c6 19:40:30 ---> 374ec4561dc5 19:40:30 Step 9/26 : WORKDIR /device-onvif-camera 19:40:30 ---> Running in 3ed95bff3f93 19:40:30 Removing intermediate container 3ed95bff3f93 19:40:30 ---> e9b9d20dca19 19:40:30 Step 10/26 : COPY go.mod vendor* ./ 19:40:31 ---> 275a641923d7 19:40:31 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:40:31 ---> Running in 788576cad7d8 19:40:33 Removing intermediate container 788576cad7d8 19:40:33 ---> 3d5d0f544885 19:40:33 Step 12/26 : COPY . . 19:40:34 ---> 0f547b1d9546 19:40:34 Step 13/26 : RUN ${MAKE} 19:40:34 ---> Running in 275bd024e377 19:40:35 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 19:42:42 Removing intermediate container 275bd024e377 19:42:42 ---> e0cb26f59a83 19:42:42 Step 14/26 : FROM alpine:3.15 19:42:42 3.15: Pulling from library/alpine 19:42:42 9981e73032c8: Pulling fs layer 19:42:42 9981e73032c8: Verifying Checksum 19:42:42 9981e73032c8: Download complete 19:42:42 9981e73032c8: Pull complete 19:42:42 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 19:42:42 Status: Downloaded newer image for alpine:3.15 19:42:42 ---> 3fb3c9af89a9 19:42:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:42:42 ---> Running in d3460e921c1c 19:42:42 Removing intermediate container d3460e921c1c 19:42:42 ---> 311108bb697c 19:42:42 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:42:42 ---> Running in 1916ee368168 19:42:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:42:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:42:42 (1/6) Installing dumb-init (1.2.5-r1) 19:42:42 (2/6) Installing libgcc (10.3.1_git20211027-r0) 19:42:42 (3/6) Installing libsodium (1.0.18-r0) 19:42:42 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 19:42:42 (5/6) Installing libzmq (4.3.4-r0) 19:42:42 (6/6) Installing zeromq (4.3.4-r0) 19:42:42 Executing busybox-1.34.1-r5.trigger 19:42:42 OK: 8 MiB in 20 packages 19:42:42 Removing intermediate container 1916ee368168 19:42:42 ---> 93ad301059ab 19:42:42 Step 17/26 : WORKDIR / 19:42:42 ---> Running in 8ceeedcb8946 19:42:42 Removing intermediate container 8ceeedcb8946 19:42:42 ---> 0f7a6a02be1a 19:42:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:42:42 ---> b00bb8cd5fa8 19:42:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:42:42 ---> 9e4284663057 19:42:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:42:42 ---> c2953dc3bb61 19:42:42 Step 21/26 : EXPOSE 59984 19:42:42 ---> Running in d26eecf7e39f 19:42:42 Removing intermediate container d26eecf7e39f 19:42:42 ---> caa05c1ad835 19:42:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:42:42 ---> Running in 390225002b39 19:42:42 Removing intermediate container 390225002b39 19:42:42 ---> fbe663d2fda4 19:42:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:42:42 ---> Running in 1f82ff5f5468 19:42:42 Removing intermediate container 1f82ff5f5468 19:42:42 ---> 56430134fef9 19:42:42 Step 24/26 : LABEL arch=arm64 19:42:42 ---> Running in 7875fbf6da50 19:42:42 Removing intermediate container 7875fbf6da50 19:42:42 ---> 92bb5deba7c6 19:42:42 Step 25/26 : LABEL git_sha=c1952e6ebd99cbcfabfe88f8fb3cbd4ef2f917ce 19:42:43 ---> Running in 1e4257c06e14 19:42:43 Removing intermediate container 1e4257c06e14 19:42:43 ---> bfefe374de40 19:42:43 Step 26/26 : LABEL version=0.0.0 19:42:43 ---> Running in 7603be204ba1 19:42:43 Removing intermediate container 7603be204ba1 19:42:43 ---> bbd27158ce42 19:42:43 [Warning] One or more build-args [ARCH] were not consumed 19:42:43 Successfully built bbd27158ce42 19:42:43 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 19:42:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:42:44 19:42:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:42:44 arm64: Pulling from edgex-lftools-log-publisher 19:42:44 8998bd30e6a1: Pulling fs layer 19:42:44 04944245beec: Pulling fs layer 19:42:44 699f458cf7ca: Pulling fs layer 19:42:44 765212b225bb: Pulling fs layer 19:42:44 f23df028b6ca: Pulling fs layer 19:42:44 d65c8cfc05b1: Pulling fs layer 19:42:44 2437ff75d9bd: Pulling fs layer 19:42:44 765212b225bb: Waiting 19:42:44 f23df028b6ca: Waiting 19:42:44 d65c8cfc05b1: Waiting 19:42:44 2437ff75d9bd: Waiting 19:42:44 04944245beec: Verifying Checksum 19:42:44 04944245beec: Download complete 19:42:44 765212b225bb: Verifying Checksum 19:42:44 765212b225bb: Download complete 19:42:44 f23df028b6ca: Verifying Checksum 19:42:44 f23df028b6ca: Download complete 19:42:44 d65c8cfc05b1: Verifying Checksum 19:42:44 d65c8cfc05b1: Download complete 19:42:45 699f458cf7ca: Verifying Checksum 19:42:45 699f458cf7ca: Download complete 19:42:45 8998bd30e6a1: Verifying Checksum 19:42:45 8998bd30e6a1: Download complete 19:42:47 2437ff75d9bd: Verifying Checksum 19:42:47 2437ff75d9bd: Download complete 19:42:49 8998bd30e6a1: Pull complete 19:42:50 04944245beec: Pull complete 19:42:51 699f458cf7ca: Pull complete 19:42:51 765212b225bb: Pull complete 19:42:52 f23df028b6ca: Pull complete 19:42:52 d65c8cfc05b1: Pull complete 19:43:08 2437ff75d9bd: Pull complete 19:43:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:43:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:08 prd-ubuntu20.04-docker-arm64-4c-16g-15244 does not seem to be running inside a container 19:43:08 $ 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 19:43:10 $ docker top c71bccb1fd71c4d31a1424f71297ce96b8465c5c15617af6932f8e8343b834f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:43:11 ---> job-cost.sh 19:43:11 lf-activate-venv: SKIPPING 19:43:11 INFO: No Stack... 19:43:12 INFO: Retrieving Pricing Info for: v3-standard-4 19:43:13 INFO: Archiving Costs [Pipeline] sh 19:43:13 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 19:43:13 + cut -d, -f6 [Pipeline] lock 19:43:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] 19:43:13 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] did not exist. Created. 19:43:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:43:14 /w/workspace/device-onvif-camera/2@tmp/durable-8c669f01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:43:15 + echo total: 0.10999999940395355 [Pipeline] stash 19:43:15 Warning: overwriting stash ‘stack-cost’ 19:43:15 Stashed 1 file(s) [Pipeline] } 19:43:15 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:43:15 $ docker stop --time=1 c71bccb1fd71c4d31a1424f71297ce96b8465c5c15617af6932f8e8343b834f9 19:43:16 $ 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 19:43:17 + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] 19:43:17 + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives 19:43:17 total 16 19:43:17 drwxr-xr-x 3 root root 4096 Jun 21 19:32 . 19:43:17 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 19:32 .. 19:43:17 drwxr-xr-x 2 root root 4096 Jun 21 19:32 cost 19:43:17 -rw-r--r-- 1 root root 89 Jun 21 19:32 cost.csv 19:43:17 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives 19:43:17 + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives 19:43:17 total 16 19:43:17 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 19:32 . 19:43:17 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 19:32 .. 19:43:17 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 19:32 cost 19:43:17 -rw-r--r-- 1 jenkins jenkins 89 Jun 21 19:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:43:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:43:19 ---> package-listing.sh 19:43:19 ++ facter osfamily 19:43:19 ++ tr '[:upper:]' '[:lower:]' 19:43:19 + OS_FAMILY=debian 19:43:19 + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 19:43:19 + START_PACKAGES=/tmp/packages_start.txt 19:43:19 + END_PACKAGES=/tmp/packages_end.txt 19:43:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:43:19 + PACKAGES=/tmp/packages_start.txt 19:43:19 + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' 19:43:19 + PACKAGES=/tmp/packages_end.txt 19:43:19 + case "${OS_FAMILY}" in 19:43:19 + dpkg -l 19:43:19 + grep '^ii' 19:43:19 + '[' -f /tmp/packages_start.txt ']' 19:43:19 + '[' -f /tmp/packages_end.txt ']' 19:43:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:43:19 + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' 19:43:19 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ 19:43:19 + 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 19:43:19 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 19:43:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:43:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:19 prd-ubuntu20.04-docker-8c-8g-15243 does not seem to be running inside a container 19:43:20 $ 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 19:43:20 $ docker top 4e08a7b036be906f6c522ef6a2eb1d95dcd3e7418d0c3ffddbdaa0b21dc2ca19 -eo pid,comm [Pipeline] { [Pipeline] sh 19:43:20 + touch /tmp/pre-build-complete [Pipeline] sh 19:43:20 + mkdir -p /var/log/sysstat [Pipeline] sh 19:43:21 + ls /var/log/sa-host 19:43:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:43:21 provisioning config files... 19:43:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config3207347261283953853tmp [Pipeline] { [Pipeline] echo 19:43:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:43:21 ---> create-netrc.sh [Pipeline] } 19:43:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:43:21 ---> python-tools-install.sh [Pipeline] echo 19:43:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:43:22 ---> sudo-logs.sh 19:43:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:43:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:43:22 ---> job-cost.sh 19:43:22 lf-activate-venv: SKIPPING 19:43:22 DEBUG: total: 0.2199999988079071 19:43:22 INFO: Retrieving Stack Cost... 19:43:22 INFO: Retrieving Pricing Info for: v3-standard-8 19:43:23 INFO: Archiving Costs [Pipeline] echo 19:43:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:43:23 ---> logs-deploy.sh 19:43:23 lf-activate-venv: SKIPPING 19:43:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/2 19:43:23 INFO: archiving workspace using pattern(s): 19:43:24 Archives upload complete. 19:43:24 INFO: archiving logs to Nexus