Push event to branch issue-74 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c8dbcc754933a42f779a6fdf425adc016de0e881 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-ssh539361365858538304.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh2771474509478189940.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-74/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/issue-74/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10136962120740207440.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/issue-74/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6899413514405459620.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh10424117186126674278.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-74/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/issue-74/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4655761217427528280.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 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 ‘prd-ubuntu20.04-docker-8c-8g-1107’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1109 in /w/workspace/dry_device-onvif-camera_issue-74 [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 Avoid second fetch Checking out Revision c8dbcc754933a42f779a6fdf425adc016de0e881 (issue-74) Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/dry_device-onvif-camera_issue-74 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8dbcc754933a42f779a6fdf425adc016de0e881 # timeout=10 Commit message: "docs: Update auto-discovery doc" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:59 ========================================================= 04:19:59 EdgeX Global Pipelines Version Info 04:19:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:20:00 ------------------- 04:20:00 stable info: 04:20:00 ------------------- 04:20:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:20:00 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 04:20:00 Message: update stable to v1.0.232 04:20:01 ------------------- 04:20:01 experimental info: 04:20:01 ------------------- 04:20:01 Commited By: **** collab-it+edgex@linuxfoundation.org 04:20:01 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 04:20:01 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:20:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = issue-74 [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = issue-74 [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = issue-74 [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8dbcc754933a42f779a6fdf425adc016de0e881 [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8dbcc7 [Pipeline] echo 04:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:02 provisioning config files... 04:20:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-74@tmp/config2708097864485728836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:03 ---> docker-login.sh 04:20:03 nexus3.edgexfoundry.org:10001 04:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:03 Configure a credential helper to remove this warning. See 04:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:03 04:20:03 Login Succeeded 04:20:03 nexus3.edgexfoundry.org:10002 04:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:03 Configure a credential helper to remove this warning. See 04:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:03 04:20:03 Login Succeeded 04:20:03 nexus3.edgexfoundry.org:10003 04:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:03 Configure a credential helper to remove this warning. See 04:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:03 04:20:03 Login Succeeded 04:20:03 nexus3.edgexfoundry.org:10004 04:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:04 Configure a credential helper to remove this warning. See 04:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:04 04:20:04 Login Succeeded 04:20:04 docker.io 04:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:04 Configure a credential helper to remove this warning. See 04:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:04 04:20:04 Login Succeeded 04:20:04 ---> docker-login.sh ends [Pipeline] } 04:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:20:04 + git rev-list -1 --merges c8dbcc754933a42f779a6fdf425adc016de0e881~1..c8dbcc754933a42f779a6fdf425adc016de0e881 [Pipeline] echo 04:20:05 -----------> git rev-list -1 --merges c8dbcc754933a42f779a6fdf425adc016de0e881~1..c8dbcc754933a42f779a6fdf425adc016de0e881 c8dbcc754933a42f779a6fdf425adc016de0e881 [false] [Pipeline] sh 04:20:05 + git log --format=format:%s -1 c8dbcc754933a42f779a6fdf425adc016de0e881 [Pipeline] echo 04:20:05 ========================================================= 04:20:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:20:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:05 + git log --format=format:%s -1 c8dbcc754933a42f779a6fdf425adc016de0e881 [Pipeline] echo 04:20:05 [semverPrep] GIT_COMMIT: c8dbcc754933a42f779a6fdf425adc016de0e881, Commit Message: docs: Update auto-discovery doc [Pipeline] echo 04:20:05 [semverPrep] This is not a build commit. [Pipeline] sh 04:20:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:20:06 + grep -v github /etc/ssh/ssh_known_hosts 04:20:06 + [ -e /tmp/ssh_known_hosts ] 04:20:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:20:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:20:06 + sudo tee -a /etc/ssh/ssh_known_hosts 04:20:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:06 04:20:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:07 0.1.4: Pulling from edgex-devops/py-git-semver 04:20:07 42c077c10790: Pulling fs layer 04:20:07 f63e77b7563a: Pulling fs layer 04:20:07 bd5fdadae976: Pulling fs layer 04:20:07 205491f53016: Pulling fs layer 04:20:07 df18705c85c3: Pulling fs layer 04:20:07 bdb3f477010e: Pulling fs layer 04:20:07 c8a8fc8e1c8f: Pulling fs layer 04:20:07 2c6e9b1d212d: Pulling fs layer 04:20:07 bdb8f0575790: Pulling fs layer 04:20:07 205491f53016: Waiting 04:20:07 386e3cb2ff24: Pulling fs layer 04:20:07 2343380bae48: Pulling fs layer 04:20:07 df18705c85c3: Waiting 04:20:07 bdb3f477010e: Waiting 04:20:07 c8a8fc8e1c8f: Waiting 04:20:07 2c6e9b1d212d: Waiting 04:20:07 bdb8f0575790: Waiting 04:20:07 386e3cb2ff24: Waiting 04:20:07 2343380bae48: Waiting 04:20:07 f63e77b7563a: Download complete 04:20:07 205491f53016: Verifying Checksum 04:20:07 205491f53016: Download complete 04:20:07 bd5fdadae976: Verifying Checksum 04:20:07 bd5fdadae976: Download complete 04:20:07 df18705c85c3: Verifying Checksum 04:20:07 df18705c85c3: Download complete 04:20:07 bdb3f477010e: Verifying Checksum 04:20:07 bdb3f477010e: Download complete 04:20:07 2c6e9b1d212d: Verifying Checksum 04:20:07 2c6e9b1d212d: Download complete 04:20:07 bdb8f0575790: Download complete 04:20:07 386e3cb2ff24: Verifying Checksum 04:20:07 386e3cb2ff24: Download complete 04:20:07 2343380bae48: Download complete 04:20:07 42c077c10790: Verifying Checksum 04:20:07 42c077c10790: Download complete 04:20:07 c8a8fc8e1c8f: Download complete 04:20:08 42c077c10790: Pull complete 04:20:08 f63e77b7563a: Pull complete 04:20:09 bd5fdadae976: Pull complete 04:20:09 205491f53016: Pull complete 04:20:09 df18705c85c3: Pull complete 04:20:09 bdb3f477010e: Pull complete 04:20:11 c8a8fc8e1c8f: Pull complete 04:20:11 2c6e9b1d212d: Pull complete 04:20:11 bdb8f0575790: Pull complete 04:20:11 386e3cb2ff24: Pull complete 04:20:12 2343380bae48: Pull complete 04:20:12 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:20:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:12 prd-ubuntu20.04-docker-8c-8g-1109 does not seem to be running inside a container 04:20:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_device-onvif-camera_issue-74 -v /w/workspace/dry_device-onvif-camera_issue-74:/w/workspace/dry_device-onvif-camera_issue-74:rw,z -v /w/workspace/dry_device-onvif-camera_issue-74@tmp:/w/workspace/dry_device-onvif-camera_issue-74@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:20:13 $ docker top 147884acc784831490c52fef99fa3e1ef4ba83d139d1b733dfa3dbcfa77a2824 -eo pid,comm 04:20:13 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). 04:20:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:20:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:13 [ssh-agent] Looking for ssh-agent implementation... 04:20:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:14 $ docker exec 147884acc784831490c52fef99fa3e1ef4ba83d139d1b733dfa3dbcfa77a2824 ssh-agent 04:20:14 SSH_AUTH_SOCK=/tmp/ssh-kP5BY1MTeZuS/agent.32 04:20:14 SSH_AGENT_PID=38 04:20:14 Running ssh-add (command line suppressed) 04:20:14 Identity added: /w/workspace/dry_device-onvif-camera_issue-74@tmp/private_key_8116939954236872918.key (/w/workspace/dry_device-onvif-camera_issue-74@tmp/private_key_8116939954236872918.key) 04:20:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:14 + git tag --points-at HEAD [Pipeline] } 04:20:14 $ docker exec --env ******** --env ******** 147884acc784831490c52fef99fa3e1ef4ba83d139d1b733dfa3dbcfa77a2824 ssh-agent -k 04:20:14 unset SSH_AUTH_SOCK; 04:20:14 unset SSH_AGENT_PID; 04:20:14 echo Agent pid 38 killed; 04:20:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:20:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:14 [ssh-agent] Looking for ssh-agent implementation... 04:20:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:15 $ docker exec 147884acc784831490c52fef99fa3e1ef4ba83d139d1b733dfa3dbcfa77a2824 ssh-agent 04:20:15 SSH_AUTH_SOCK=/tmp/ssh-auAEZKzfeKaz/agent.71 04:20:15 SSH_AGENT_PID=77 04:20:15 Running ssh-add (command line suppressed) 04:20:15 Identity added: /w/workspace/dry_device-onvif-camera_issue-74@tmp/private_key_4100599201172805521.key (/w/workspace/dry_device-onvif-camera_issue-74@tmp/private_key_4100599201172805521.key) 04:20:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:15 + git semver init 04:20:15 2022-06-06 04:20:15,821 [run_init] DEBUG init version:0.0.0 force:False 04:20:15 2022-06-06 04:20:15,822 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_device-onvif-camera_issue-74/.semver 04:20:15 2022-06-06 04:20:15,823 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/dry_device-onvif-camera_issue-74/.semver 04:20:15 2022-06-06 04:20:15,823 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/dry_device-onvif-camera_issue-74/.semver'], cwd=/w/workspace/dry_device-onvif-camera_issue-74, universal_newlines=False, shell=None, istream=None) 04:20:16 2022-06-06 04:20:16,501 [append_file] DEBUG append to file:/w/workspace/dry_device-onvif-camera_issue-74/.git/info/exclude 04:20:16 2022-06-06 04:20:16,502 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_device-onvif-camera_issue-74/.semver/issue-74 with force:False 04:20:16 2022-06-06 04:20:16,502 [write_file] DEBUG write to file:/w/workspace/dry_device-onvif-camera_issue-74/.semver/issue-74 04:20:16 2022-06-06 04:20:16,507 [execute] INFO git cat-file --batch-check 04:20:16 2022-06-06 04:20:16,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_device-onvif-camera_issue-74/.semver, universal_newlines=False, shell=None, istream=) 04:20:16 2022-06-06 04:20:16,514 [execute] INFO git cat-file --batch 04:20:16 2022-06-06 04:20:16,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_device-onvif-camera_issue-74/.semver, universal_newlines=False, shell=None, istream=) 04:20:16 2022-06-06 04:20:16,520 [read_version] DEBUG read version from /w/workspace/dry_device-onvif-camera_issue-74/.semver/issue-74 04:20:16 0.0.0 [Pipeline] } 04:20:16 $ docker exec --env ******** --env ******** 147884acc784831490c52fef99fa3e1ef4ba83d139d1b733dfa3dbcfa77a2824 ssh-agent -k 04:20:16 unset SSH_AUTH_SOCK; 04:20:16 unset SSH_AGENT_PID; 04:20:16 echo Agent pid 77 killed; 04:20:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:20:17 + git semver [Pipeline] } 04:20:17 $ docker stop --time=1 147884acc784831490c52fef99fa3e1ef4ba83d139d1b733dfa3dbcfa77a2824 04:20:19 $ docker rm -f 147884acc784831490c52fef99fa3e1ef4ba83d139d1b733dfa3dbcfa77a2824 [Pipeline] // withDockerContainer [Pipeline] sh 04:20:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:20:19 Stashed 1 file(s) [Pipeline] echo 04:20:19 [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 04:20:20 provisioning config files... 04:20:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-74@tmp/config7476606122718445237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:20 ---> docker-login.sh 04:20:20 nexus3.edgexfoundry.org:10001 04:20:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:20 Configure a credential helper to remove this warning. See 04:20:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:20 04:20:20 Login Succeeded 04:20:20 nexus3.edgexfoundry.org:10002 04:20:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:21 Configure a credential helper to remove this warning. See 04:20:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:21 04:20:21 Login Succeeded 04:20:21 nexus3.edgexfoundry.org:10003 04:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:21 Configure a credential helper to remove this warning. See 04:20:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:21 04:20:21 Login Succeeded 04:20:21 nexus3.edgexfoundry.org:10004 04:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:21 Configure a credential helper to remove this warning. See 04:20:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:21 04:20:21 Login Succeeded 04:20:21 docker.io 04:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:21 Configure a credential helper to remove this warning. See 04:20:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:21 04:20:21 Login Succeeded 04:20:21 ---> docker-login.sh ends [Pipeline] } 04:20:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:21 [edgeX.isLTS] Checking if [issue-74] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:21 ========================================================= 04:20:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:20:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:22 + 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 . 04:20:22 Sending build context to Docker daemon 8.679MB 04:20:22 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 04:20:22 Step 2/13 : FROM ${BASE} AS builder 04:20:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:20:22 59bf1c3509f3: Pulling fs layer 04:20:22 666ba61612fd: Pulling fs layer 04:20:22 8ed8ca486205: Pulling fs layer 04:20:22 cc1cd167ecdc: Pulling fs layer 04:20:22 c516ae0d96e1: Pulling fs layer 04:20:22 684cea983483: Pulling fs layer 04:20:22 dd3240ac7de5: Pulling fs layer 04:20:22 b1e948a4e11c: Pulling fs layer 04:20:22 a8fd76ee1af6: Pulling fs layer 04:20:22 684cea983483: Waiting 04:20:22 dd3240ac7de5: Waiting 04:20:22 b1e948a4e11c: Waiting 04:20:22 646ad004c059: Pulling fs layer 04:20:22 a8fd76ee1af6: Waiting 04:20:22 646ad004c059: Waiting 04:20:22 8ed8ca486205: Verifying Checksum 04:20:22 8ed8ca486205: Download complete 04:20:22 666ba61612fd: Download complete 04:20:22 c516ae0d96e1: Verifying Checksum 04:20:22 c516ae0d96e1: Download complete 04:20:22 684cea983483: Download complete 04:20:22 59bf1c3509f3: Verifying Checksum 04:20:22 59bf1c3509f3: Download complete 04:20:22 dd3240ac7de5: Download complete 04:20:22 b1e948a4e11c: Verifying Checksum 04:20:22 b1e948a4e11c: Download complete 04:20:22 59bf1c3509f3: Pull complete 04:20:22 666ba61612fd: Pull complete 04:20:22 8ed8ca486205: Pull complete 04:20:23 646ad004c059: Verifying Checksum 04:20:23 646ad004c059: Download complete 04:20:23 a8fd76ee1af6: Verifying Checksum 04:20:23 a8fd76ee1af6: Download complete 04:20:23 cc1cd167ecdc: Verifying Checksum 04:20:23 cc1cd167ecdc: Download complete 04:20:27 cc1cd167ecdc: Pull complete 04:20:27 c516ae0d96e1: Pull complete 04:20:27 684cea983483: Pull complete 04:20:27 dd3240ac7de5: Pull complete 04:20:27 b1e948a4e11c: Pull complete 04:20:29 a8fd76ee1af6: Pull complete 04:20:30 646ad004c059: Pull complete 04:20:30 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:20:30 ---> 8f69c11f6b0c 04:20:30 Step 3/13 : ARG MAKE="make build" 04:20:31 ---> Running in 16afab007601 04:20:31 Removing intermediate container 16afab007601 04:20:31 ---> e66720a29d37 04:20:31 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:20:31 ---> Running in 73f3369baab3 04:20:31 Removing intermediate container 73f3369baab3 04:20:31 ---> 763a8c53c17d 04:20:31 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:20:31 ---> Running in ff1b6acb01ed 04:20:31 Removing intermediate container ff1b6acb01ed 04:20:31 ---> b1950e7854f6 04:20:31 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:20:32 ---> Running in a7b9285effc1 04:20:32 Removing intermediate container a7b9285effc1 04:20:32 ---> 8ad9a93366ff 04:20:32 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:32 ---> Running in 93a8258ac466 04:20:32 Removing intermediate container 93a8258ac466 04:20:32 ---> 0ef5bb81d5c2 04:20:32 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:20:32 ---> Running in d0421e732eba 04:20:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:20:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:20:34 OK: 221 MiB in 52 packages 04:20:34 Removing intermediate container d0421e732eba 04:20:34 ---> f33e2c4a44c8 04:20:34 Step 9/13 : WORKDIR /device-onvif-camera 04:20:34 ---> Running in fe337d1167ea 04:20:34 Removing intermediate container fe337d1167ea 04:20:34 ---> 2f87d2a82fa7 04:20:34 Step 10/13 : COPY go.mod vendor* ./ 04:20:34 ---> 3e119acc0b54 04:20:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:34 ---> Running in 434b7e67c558 04:20:35 Still waiting to schedule task 04:20:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1108’ is offline 04:20:53 Removing intermediate container 434b7e67c558 04:20:53 ---> e7c98c36a39c 04:20:53 Step 12/13 : COPY . . 04:20:53 ---> e00608c9803e 04:20:53 Step 13/13 : RUN ${MAKE} 04:20:53 ---> Running in d5aadb5190a3 04:20:53 noop 04:20:53 Removing intermediate container d5aadb5190a3 04:20:53 ---> ed3f893658f1 04:20:53 Successfully built ed3f893658f1 04:20:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:53 + docker inspect -f . ci-base-image-x86_64 04:20:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:53 prd-ubuntu20.04-docker-8c-8g-1109 does not seem to be running inside a container 04:20:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-74 -v /w/workspace/dry_device-onvif-camera_issue-74:/w/workspace/dry_device-onvif-camera_issue-74:rw,z -v /w/workspace/dry_device-onvif-camera_issue-74@tmp:/w/workspace/dry_device-onvif-camera_issue-74@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 ******** ci-base-image-x86_64 cat 04:20:54 $ docker top ea575b5512e68c8fa14953060f43dcf5a60a937726d6dc2570216c60844b7185 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:54 + go version 04:20:54 go version go1.17.7 linux/amd64 [Pipeline] } 04:20:54 $ docker stop --time=1 ea575b5512e68c8fa14953060f43dcf5a60a937726d6dc2570216c60844b7185 04:20:56 $ docker rm -f ea575b5512e68c8fa14953060f43dcf5a60a937726d6dc2570216c60844b7185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:56 + docker inspect -f . ci-base-image-x86_64 04:20:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:56 prd-ubuntu20.04-docker-8c-8g-1109 does not seem to be running inside a container 04:20:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-74 -v /w/workspace/dry_device-onvif-camera_issue-74:/w/workspace/dry_device-onvif-camera_issue-74:rw,z -v /w/workspace/dry_device-onvif-camera_issue-74@tmp:/w/workspace/dry_device-onvif-camera_issue-74@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 ******** ci-base-image-x86_64 cat 04:20:57 $ docker top 9b04139f9cd85a8908217a626ed9cb39088e7d1f305710816a356b23d9496440 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:20:57 + make test 04:20:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:20:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:21:08 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:21:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 1.3% of statements 04:21:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.075s coverage: 13.8% of statements 04:21:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:21:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:23 ./bin/test-attribution-txt.sh [Pipeline] echo 04:21:24 [edgeX.isLTS] Checking if [issue-74] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:21:24 $ docker stop --time=1 9b04139f9cd85a8908217a626ed9cb39088e7d1f305710816a356b23d9496440 04:21:26 $ docker rm -f 9b04139f9cd85a8908217a626ed9cb39088e7d1f305710816a356b23d9496440 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:21:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:27 + ls -al . 04:21:27 total 232 04:21:27 drwxrwxr-x 9 jenkins jenkins 4096 Jun 6 04:21 . 04:21:27 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:19 .. 04:21:27 drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 04:20 .git 04:21:27 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 04:19 .github 04:21:27 -rw-rw-r-- 1 jenkins jenkins 352 Jun 6 04:19 .gitignore 04:21:27 -rw-rw-r-- 1 jenkins jenkins 42 Jun 6 04:19 .golangci.yml 04:21:27 drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 04:20 .semver 04:21:27 -rw-rw-r-- 1 jenkins jenkins 9099 Jun 6 04:19 Attribution.txt 04:21:27 -rw-rw-r-- 1 jenkins jenkins 189 Jun 6 04:19 CHANGELOG.md 04:21:27 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 6 04:19 Dockerfile 04:21:27 -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 04:19 GOVERNANCE.md 04:21:27 -rw-rw-r-- 1 jenkins jenkins 660 Jun 6 04:19 Jenkinsfile 04:21:27 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 6 04:19 LICENSE 04:21:27 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 6 04:19 Makefile 04:21:27 -rw-rw-r-- 1 jenkins jenkins 625 Jun 6 04:19 OWNERS.md 04:21:27 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 6 04:19 README.md 04:21:27 -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 04:20 VERSION 04:21:27 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 04:19 bin 04:21:27 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 04:19 cmd 04:21:27 -rw-r--r-- 1 jenkins jenkins 53469 Jun 6 04:21 coverage.out 04:21:27 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:19 doc 04:21:27 -rw-rw-r-- 1 jenkins jenkins 3534 Jun 6 04:19 go.mod 04:21:27 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 6 04:19 go.sum 04:21:27 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:19 internal 04:21:27 -rw-rw-r-- 1 jenkins jenkins 236 Jun 6 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:28 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c8dbcc754933a42f779a6fdf425adc016de0e881 --label arch=amd64 --label version=0.0.0 . 04:21:28 Sending build context to Docker daemon 8.733MB 04:21:28 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 04:21:28 Step 2/26 : FROM ${BASE} AS builder 04:21:28 ---> ed3f893658f1 04:21:28 Step 3/26 : ARG MAKE="make build" 04:21:28 ---> Running in 8a7257c50322 04:21:28 Removing intermediate container 8a7257c50322 04:21:28 ---> b9ee17c1e750 04:21:28 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:21:28 ---> Running in c0499d8cba0c 04:21:28 Removing intermediate container c0499d8cba0c 04:21:28 ---> b0609e243769 04:21:28 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:21:28 ---> Running in 3206f6cad584 04:21:28 Removing intermediate container 3206f6cad584 04:21:28 ---> b630b1162d51 04:21:28 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:21:28 ---> Running in 91d39b94477f 04:21:28 Removing intermediate container 91d39b94477f 04:21:28 ---> 350b4793cf03 04:21:28 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:28 ---> Running in 9d860a732ae8 04:21:29 Removing intermediate container 9d860a732ae8 04:21:29 ---> ed70d827a4f1 04:21:29 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:21:29 ---> Running in 1139d88a44b1 04:21:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:21:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:21:30 OK: 221 MiB in 52 packages 04:21:31 Removing intermediate container 1139d88a44b1 04:21:31 ---> 1d623558968f 04:21:31 Step 9/26 : WORKDIR /device-onvif-camera 04:21:31 ---> Running in 15a236e5aa81 04:21:31 Removing intermediate container 15a236e5aa81 04:21:31 ---> 4874f28e5328 04:21:31 Step 10/26 : COPY go.mod vendor* ./ 04:21:31 ---> fb02046361da 04:21:31 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:31 ---> Running in 77d2288c6d35 04:21:32 Removing intermediate container 77d2288c6d35 04:21:32 ---> b59dca24158d 04:21:32 Step 12/26 : COPY . . 04:21:32 ---> e479a9fec3ad 04:21:32 Step 13/26 : RUN ${MAKE} 04:21:32 ---> Running in af353c120caa 04:21:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:21:55 Removing intermediate container af353c120caa 04:21:55 ---> cf3e2a3eada0 04:21:55 Step 14/26 : FROM alpine:3.15 04:21:55 3.15: Pulling from library/alpine 04:21:55 df9b9388f04a: Pulling fs layer 04:21:55 df9b9388f04a: Verifying Checksum 04:21:55 df9b9388f04a: Download complete 04:21:55 df9b9388f04a: Pull complete 04:21:55 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 04:21:55 Status: Downloaded newer image for alpine:3.15 04:21:55 ---> 0ac33e5f5afa 04:21:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:21:55 ---> Running in e9a83e62e36c 04:21:55 Removing intermediate container e9a83e62e36c 04:21:55 ---> 3a0780c4b10f 04:21:55 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:21:55 ---> Running in 58f9af4c6a2a 04:21:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:21:56 (1/6) Installing dumb-init (1.2.5-r1) 04:21:56 (2/6) Installing libgcc (10.3.1_git20211027-r0) 04:21:56 (3/6) Installing libsodium (1.0.18-r0) 04:21:56 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 04:21:56 (5/6) Installing libzmq (4.3.4-r0) 04:21:56 (6/6) Installing zeromq (4.3.4-r0) 04:21:56 Executing busybox-1.34.1-r5.trigger 04:21:56 OK: 8 MiB in 20 packages 04:21:56 Removing intermediate container 58f9af4c6a2a 04:21:56 ---> 32c6b2ee4e0a 04:21:56 Step 17/26 : WORKDIR / 04:21:56 ---> Running in 72592ea9ac9c 04:21:56 Removing intermediate container 72592ea9ac9c 04:21:56 ---> 28ad5622eb71 04:21:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:21:57 ---> 2c5300d59ff4 04:21:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:21:57 ---> cc7cbc077ddd 04:21:57 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:21:57 ---> eaaa9bb3f48b 04:21:57 Step 21/26 : EXPOSE 59984 04:21:57 ---> Running in 562ce122cf95 04:21:57 Removing intermediate container 562ce122cf95 04:21:57 ---> 9d4d575ce838 04:21:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:21:58 ---> Running in 02c2fdc83f07 04:21:58 Removing intermediate container 02c2fdc83f07 04:21:58 ---> 91b070a9693c 04:21:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:21:58 ---> Running in 0f8628a60343 04:21:58 Removing intermediate container 0f8628a60343 04:21:58 ---> 198c993e13d2 04:21:58 Step 24/26 : LABEL arch=amd64 04:21:58 ---> Running in 16bc1db5d62c 04:21:58 Removing intermediate container 16bc1db5d62c 04:21:58 ---> c9e076ecabf3 04:21:58 Step 25/26 : LABEL git_sha=c8dbcc754933a42f779a6fdf425adc016de0e881 04:21:58 ---> Running in 30e098bd39fd 04:21:58 Removing intermediate container 30e098bd39fd 04:21:58 ---> 292335bc1edc 04:21:58 Step 26/26 : LABEL version=0.0.0 04:21:58 ---> Running in 251fe2fe5bfc 04:21:58 Removing intermediate container 251fe2fe5bfc 04:21:58 ---> dbc9a35f0aea 04:21:58 [Warning] One or more build-args [ARCH] were not consumed 04:21:58 Successfully built dbc9a35f0aea 04:21:58 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:59 04:21:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:59 latest: Pulling from edgex-lftools-log-publisher 04:21:59 5eb5b503b376: Pulling fs layer 04:21:59 5c69ac0246d0: Pulling fs layer 04:21:59 ec43610c2a17: Pulling fs layer 04:21:59 3a2ae6a8a46f: Pulling fs layer 04:21:59 33b1e0a273af: Pulling fs layer 04:21:59 5d3b04190fa2: Pulling fs layer 04:21:59 2f39f015ded8: Pulling fs layer 04:21:59 33b1e0a273af: Waiting 04:21:59 5d3b04190fa2: Waiting 04:21:59 2f39f015ded8: Waiting 04:21:59 3a2ae6a8a46f: Waiting 04:21:59 5c69ac0246d0: Verifying Checksum 04:21:59 5c69ac0246d0: Download complete 04:21:59 3a2ae6a8a46f: Verifying Checksum 04:21:59 3a2ae6a8a46f: Download complete 04:21:59 33b1e0a273af: Verifying Checksum 04:21:59 33b1e0a273af: Download complete 04:21:59 5d3b04190fa2: Verifying Checksum 04:21:59 5d3b04190fa2: Download complete 04:21:59 ec43610c2a17: Verifying Checksum 04:21:59 ec43610c2a17: Download complete 04:22:00 5eb5b503b376: Verifying Checksum 04:22:00 5eb5b503b376: Download complete 04:22:00 2f39f015ded8: Download complete 04:22:01 5eb5b503b376: Pull complete 04:22:01 5c69ac0246d0: Pull complete 04:22:02 ec43610c2a17: Pull complete 04:22:02 3a2ae6a8a46f: Pull complete 04:22:02 33b1e0a273af: Pull complete 04:22:02 5d3b04190fa2: Pull complete 04:22:07 2f39f015ded8: Pull complete 04:22:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:22:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:07 prd-ubuntu20.04-docker-8c-8g-1109 does not seem to be running inside a container 04:22:07 $ 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/dry_device-onvif-camera_issue-74 -v /w/workspace/dry_device-onvif-camera_issue-74:/w/workspace/dry_device-onvif-camera_issue-74:rw,z -v /w/workspace/dry_device-onvif-camera_issue-74@tmp:/w/workspace/dry_device-onvif-camera_issue-74@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:22:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1110 in /w/workspace/dry_device-onvif-camera_issue-74 04:22:09 $ docker top 9088ca61108ba58f8b3483c0d6bbb254a8e68f0670f4b19281abf8b74e0db217 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 04:22:09 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:22:09 Selected Git installation does not exist. Using Default 04:22:09 The recommended git tool is: NONE 04:22:09 ---> job-cost.sh 04:22:09 lf-activate-venv: SKIPPING 04:22:09 INFO: No Stack... 04:22:10 INFO: Retrieving Pricing Info for: v3-standard-8 04:22:10 INFO: Archiving Costs [Pipeline] sh 04:22:11 + cat /w/workspace/dry_device-onvif-camera_issue-74/archives/cost.csv 04:22:11 + cut -d, -f6 [Pipeline] lock 04:22:11 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-74-1-stack-cost] 04:22:11 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-74-1-stack-cost] did not exist. Created. 04:22:11 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:11 + echo total: 0.2199999988079071 [Pipeline] stash 04:22:11 Stashed 1 file(s) [Pipeline] } 04:22:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-74-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:11 $ docker stop --time=1 9088ca61108ba58f8b3483c0d6bbb254a8e68f0670f4b19281abf8b74e0db217 04:22:12 $ docker rm -f 9088ca61108ba58f8b3483c0d6bbb254a8e68f0670f4b19281abf8b74e0db217 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:22:15 using credential edgex-jenkins-ssh 04:22:15 Cloning the remote Git repository 04:22:15 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:22:15 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:22:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:22:15 > git --version # timeout=10 04:22:15 > git --version # 'git version 2.25.1' 04:22:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:16 Avoid second fetch 04:22:16 Checking out Revision c8dbcc754933a42f779a6fdf425adc016de0e881 (issue-74) 04:22:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:22:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:16 > git config core.sparsecheckout # timeout=10 04:22:16 > git checkout -f c8dbcc754933a42f779a6fdf425adc016de0e881 # timeout=10 04:22:20 Commit message: "docs: Update auto-discovery doc" 04:22:20 > git --version # timeout=10 04:22:20 > git --version # 'git version 2.25.1' 04:22:20 fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:22:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:21 Dload Upload Total Spent Left Speed 04:22:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh 04:22:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:22:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:22:23 + sudo tee /etc/docker/daemon.new 04:22:23 { 04:22:23 "registry-mirrors": [ 04:22:23 "https://nexus3.edgexfoundry.org:10001" 04:22:23 ], 04:22:23 "bip": "10.250.0.254/24", 04:22:23 "hosts": [ 04:22:23 "tcp://0.0.0.0:5555", 04:22:23 "unix:///var/run/docker.sock" 04:22:23 ], 04:22:23 "mtu": 1458, 04:22:23 "selinux-enabled": true, 04:22:23 "seccomp-profile": "/etc/docker/seccomp.json" 04:22:23 } [Pipeline] sh 04:22:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:22:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:42 provisioning config files... 04:22:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2712976789614360981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:42 ---> docker-login.sh 04:22:42 nexus3.edgexfoundry.org:10001 04:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:43 Configure a credential helper to remove this warning. See 04:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:43 04:22:43 Login Succeeded 04:22:43 nexus3.edgexfoundry.org:10002 04:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:44 Configure a credential helper to remove this warning. See 04:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:44 04:22:44 Login Succeeded 04:22:44 nexus3.edgexfoundry.org:10003 04:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:44 Configure a credential helper to remove this warning. See 04:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:44 04:22:44 Login Succeeded 04:22:44 nexus3.edgexfoundry.org:10004 04:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:45 Configure a credential helper to remove this warning. See 04:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:45 04:22:45 Login Succeeded 04:22:45 docker.io 04:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:45 Configure a credential helper to remove this warning. See 04:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:45 04:22:45 Login Succeeded 04:22:45 ---> docker-login.sh ends [Pipeline] } 04:22:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:46 [edgeX.isLTS] Checking if [issue-74] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:46 ========================================================= 04:22:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:22:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:46 + 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 . 04:22:47 Sending build context to Docker daemon 5.914MB 04:22:47 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 04:22:47 Step 2/13 : FROM ${BASE} AS builder 04:22:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:22:47 9b3977197b4f: Pulling fs layer 04:22:47 1a89e8eeedd5: Pulling fs layer 04:22:47 94645a83ff95: Pulling fs layer 04:22:47 e6fb740bc735: Pulling fs layer 04:22:47 3a77bd46dcc9: Pulling fs layer 04:22:47 355e64cbe906: Pulling fs layer 04:22:47 63ab81a10011: Pulling fs layer 04:22:47 555d1d1c4555: Pulling fs layer 04:22:47 3a77bd46dcc9: Waiting 04:22:47 e6fb740bc735: Waiting 04:22:47 355e64cbe906: Waiting 04:22:47 63ab81a10011: Waiting 04:22:47 7d9057610161: Pulling fs layer 04:22:47 555d1d1c4555: Waiting 04:22:47 7d9057610161: Waiting 04:22:47 94645a83ff95: Verifying Checksum 04:22:47 94645a83ff95: Download complete 04:22:47 1a89e8eeedd5: Verifying Checksum 04:22:47 1a89e8eeedd5: Download complete 04:22:47 3a77bd46dcc9: Verifying Checksum 04:22:47 3a77bd46dcc9: Download complete 04:22:47 355e64cbe906: Verifying Checksum 04:22:47 355e64cbe906: Download complete 04:22:47 9b3977197b4f: Verifying Checksum 04:22:47 9b3977197b4f: Download complete 04:22:47 63ab81a10011: Verifying Checksum 04:22:47 63ab81a10011: Download complete 04:22:48 9b3977197b4f: Pull complete 04:22:48 7d9057610161: Verifying Checksum 04:22:48 7d9057610161: Download complete 04:22:49 1a89e8eeedd5: Pull complete 04:22:49 94645a83ff95: Pull complete 04:22:49 555d1d1c4555: Verifying Checksum 04:22:49 555d1d1c4555: Download complete 04:22:50 e6fb740bc735: Verifying Checksum 04:22:50 e6fb740bc735: Download complete 04:23:02 e6fb740bc735: Pull complete 04:23:02 3a77bd46dcc9: Pull complete 04:23:02 355e64cbe906: Pull complete 04:23:02 63ab81a10011: Pull complete 04:23:09 555d1d1c4555: Pull complete 04:23:11 7d9057610161: Pull complete 04:23:11 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:23:11 ---> 819e984ddca1 04:23:11 Step 3/13 : ARG MAKE="make build" 04:23:12 ---> Running in 4f52647df90e 04:23:12 Removing intermediate container 4f52647df90e 04:23:12 ---> 963c27438746 04:23:12 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:23:13 ---> Running in 2aea47c037a0 04:23:13 Removing intermediate container 2aea47c037a0 04:23:13 ---> 9d891b8144c4 04:23:13 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:23:13 ---> Running in 3b7ecbab46ff 04:23:13 Removing intermediate container 3b7ecbab46ff 04:23:13 ---> 8d5f3fda303f 04:23:13 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:23:13 ---> Running in 9579c57847a1 04:23:14 Removing intermediate container 9579c57847a1 04:23:14 ---> f93158a1a06c 04:23:14 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:23:14 ---> Running in 376ba741ee3d 04:23:16 Removing intermediate container 376ba741ee3d 04:23:16 ---> f13b1d0ecb94 04:23:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:23:16 ---> Running in f907e65c9c9b 04:23:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:23:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:23:19 OK: 220 MiB in 52 packages 04:23:20 Removing intermediate container f907e65c9c9b 04:23:20 ---> 0e6518e87457 04:23:20 Step 9/13 : WORKDIR /device-onvif-camera 04:23:20 ---> Running in aca297f241a7 04:23:20 Removing intermediate container aca297f241a7 04:23:20 ---> 0c1b7116bbdd 04:23:20 Step 10/13 : COPY go.mod vendor* ./ 04:23:21 ---> ee7907826996 04:23:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:21 ---> Running in 3f978a82e16a 04:24:08 Removing intermediate container 3f978a82e16a 04:24:08 ---> 96585e963d43 04:24:08 Step 12/13 : COPY . . 04:24:08 ---> 7a36b7f78a8f 04:24:08 Step 13/13 : RUN ${MAKE} 04:24:08 ---> Running in e86f46211972 04:24:08 noop 04:24:08 Removing intermediate container e86f46211972 04:24:08 ---> 6019fe712dd7 04:24:08 Successfully built 6019fe712dd7 04:24:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:09 + docker inspect -f . ci-base-image-arm64 04:24:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:09 prd-ubuntu20.04-docker-arm64-4c-16g-1110 does not seem to be running inside a container 04:24:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 04:24:10 $ docker top 989ea53e1cf3dbdd7716cc7a2635716af7d0bb76c70d4153f6ea7f02e3f7596d -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:11 + go version 04:24:11 go version go1.17.7 linux/arm64 [Pipeline] } 04:24:11 $ docker stop --time=1 989ea53e1cf3dbdd7716cc7a2635716af7d0bb76c70d4153f6ea7f02e3f7596d 04:24:13 $ docker rm -f 989ea53e1cf3dbdd7716cc7a2635716af7d0bb76c70d4153f6ea7f02e3f7596d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:14 + docker inspect -f . ci-base-image-arm64 04:24:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:14 prd-ubuntu20.04-docker-arm64-4c-16g-1110 does not seem to be running inside a container 04:24:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 04:24:16 $ docker top bd8d6d3791d645d72bfee01b26bb5a9cbe54ecad39baca7b22f80d16b6ce29ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:24:17 + make test 04:24:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:24:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:25:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:25:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.080s coverage: 1.3% of statements 04:26:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.800s coverage: 13.8% of statements 04:26:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:26:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:26:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:26:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:26:43 ./bin/test-attribution-txt.sh [Pipeline] echo 04:26:44 [edgeX.isLTS] Checking if [issue-74] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:26:44 $ docker stop --time=1 bd8d6d3791d645d72bfee01b26bb5a9cbe54ecad39baca7b22f80d16b6ce29ed 04:26:46 $ docker rm -f bd8d6d3791d645d72bfee01b26bb5a9cbe54ecad39baca7b22f80d16b6ce29ed [Pipeline] // withDockerContainer [Pipeline] sh 04:26:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:26:47 Warning: overwriting stash ‘coverage-report’ 04:26:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:26:49 + ls -al . 04:26:49 total 228 04:26:49 drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 04:26 . 04:26:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:22 .. 04:26:49 drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 04:22 .git 04:26:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 04:22 .github 04:26:49 -rw-rw-r-- 1 jenkins jenkins 352 Jun 6 04:22 .gitignore 04:26:49 -rw-rw-r-- 1 jenkins jenkins 42 Jun 6 04:22 .golangci.yml 04:26:49 -rw-rw-r-- 1 jenkins jenkins 9099 Jun 6 04:22 Attribution.txt 04:26:49 -rw-rw-r-- 1 jenkins jenkins 189 Jun 6 04:22 CHANGELOG.md 04:26:49 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 6 04:22 Dockerfile 04:26:49 -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 04:22 GOVERNANCE.md 04:26:49 -rw-rw-r-- 1 jenkins jenkins 660 Jun 6 04:22 Jenkinsfile 04:26:49 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 6 04:22 LICENSE 04:26:49 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 6 04:22 Makefile 04:26:49 -rw-rw-r-- 1 jenkins jenkins 625 Jun 6 04:22 OWNERS.md 04:26:49 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 6 04:22 README.md 04:26:49 -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 04:20 VERSION 04:26:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 04:22 bin 04:26:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 04:22 cmd 04:26:49 -rw-r--r-- 1 jenkins jenkins 53469 Jun 6 04:26 coverage.out 04:26:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:22 doc 04:26:49 -rw-rw-r-- 1 jenkins jenkins 3534 Jun 6 04:22 go.mod 04:26:49 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 6 04:22 go.sum 04:26:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:22 internal 04:26:49 -rw-rw-r-- 1 jenkins jenkins 236 Jun 6 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:49 + 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=c8dbcc754933a42f779a6fdf425adc016de0e881 --label arch=arm64 --label version=0.0.0 . 04:26:50 Sending build context to Docker daemon 5.968MB 04:26:50 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 04:26:50 Step 2/26 : FROM ${BASE} AS builder 04:26:50 ---> 6019fe712dd7 04:26:50 Step 3/26 : ARG MAKE="make build" 04:26:50 ---> Running in 85dac8a41c25 04:26:50 Removing intermediate container 85dac8a41c25 04:26:50 ---> b50bce659cae 04:26:50 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:26:50 ---> Running in 288a27cd8ee8 04:26:50 Removing intermediate container 288a27cd8ee8 04:26:50 ---> c3a7101a14bc 04:26:50 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:26:51 ---> Running in 884ef38da22b 04:26:51 Removing intermediate container 884ef38da22b 04:26:51 ---> 8d2b2a5d3555 04:26:51 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:26:51 ---> Running in 8f589cb73c3a 04:26:51 Removing intermediate container 8f589cb73c3a 04:26:51 ---> f84e39b94cd2 04:26:51 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:26:51 ---> Running in 919af450a4a7 04:26:53 Removing intermediate container 919af450a4a7 04:26:53 ---> ccc799430f7c 04:26:53 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:26:53 ---> Running in 39a6962f067e 04:26:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:26:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:26:56 OK: 220 MiB in 52 packages 04:26:57 Removing intermediate container 39a6962f067e 04:26:57 ---> f40fec0002d6 04:26:57 Step 9/26 : WORKDIR /device-onvif-camera 04:26:57 ---> Running in 06a6758e5267 04:26:57 Removing intermediate container 06a6758e5267 04:26:57 ---> 408d259d1f16 04:26:57 Step 10/26 : COPY go.mod vendor* ./ 04:26:58 ---> 298864c53e41 04:26:58 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:26:58 ---> Running in 8df20bc40057 04:27:00 Removing intermediate container 8df20bc40057 04:27:00 ---> 2cedb367a7a4 04:27:00 Step 12/26 : COPY . . 04:27:01 ---> a3627d3cf868 04:27:01 Step 13/26 : RUN ${MAKE} 04:27:01 ---> Running in 8ca0e8662e30 04:27:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:29:24 Removing intermediate container 8ca0e8662e30 04:29:24 ---> 9832f2498156 04:29:24 Step 14/26 : FROM alpine:3.15 04:29:24 3.15: Pulling from library/alpine 04:29:24 9981e73032c8: Pulling fs layer 04:29:24 9981e73032c8: Download complete 04:29:24 9981e73032c8: Pull complete 04:29:24 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 04:29:24 Status: Downloaded newer image for alpine:3.15 04:29:24 ---> 3fb3c9af89a9 04:29:24 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:29:24 ---> Running in 55f64283dd72 04:29:24 Removing intermediate container 55f64283dd72 04:29:24 ---> c0b85e5f6cf3 04:29:24 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:29:24 ---> Running in 83a7cc7f0e4a 04:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:29:24 (1/6) Installing dumb-init (1.2.5-r1) 04:29:24 (2/6) Installing libgcc (10.3.1_git20211027-r0) 04:29:24 (3/6) Installing libsodium (1.0.18-r0) 04:29:24 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 04:29:24 (5/6) Installing libzmq (4.3.4-r0) 04:29:24 (6/6) Installing zeromq (4.3.4-r0) 04:29:24 Executing busybox-1.34.1-r5.trigger 04:29:24 OK: 8 MiB in 20 packages 04:29:24 Removing intermediate container 83a7cc7f0e4a 04:29:24 ---> 856b90ab3979 04:29:24 Step 17/26 : WORKDIR / 04:29:24 ---> Running in 57adaa5ee40e 04:29:24 Removing intermediate container 57adaa5ee40e 04:29:24 ---> 15f47ebb9714 04:29:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:29:24 ---> 64e576cbccb3 04:29:24 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:29:24 ---> 05126ff63c7b 04:29:24 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:29:24 ---> f6862da93f27 04:29:24 Step 21/26 : EXPOSE 59984 04:29:24 ---> Running in d504793d2648 04:29:24 Removing intermediate container d504793d2648 04:29:24 ---> d2718ed15e33 04:29:24 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:29:24 ---> Running in 37d59943e761 04:29:24 Removing intermediate container 37d59943e761 04:29:24 ---> 32446695f494 04:29:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:29:24 ---> Running in 5e4f17d03829 04:29:24 Removing intermediate container 5e4f17d03829 04:29:24 ---> 58c8ea2ba739 04:29:24 Step 24/26 : LABEL arch=arm64 04:29:24 ---> Running in edb60dbc772f 04:29:24 Removing intermediate container edb60dbc772f 04:29:24 ---> 3f185a6a4900 04:29:24 Step 25/26 : LABEL git_sha=c8dbcc754933a42f779a6fdf425adc016de0e881 04:29:24 ---> Running in 6ac6e479e655 04:29:25 Removing intermediate container 6ac6e479e655 04:29:25 ---> 3ed7b6175cc5 04:29:25 Step 26/26 : LABEL version=0.0.0 04:29:25 ---> Running in 5de175df2b21 04:29:25 Removing intermediate container 5de175df2b21 04:29:25 ---> 565088acb73b 04:29:25 [Warning] One or more build-args [ARCH] were not consumed 04:29:25 Successfully built 565088acb73b 04:29:25 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 04:29:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:26 04:29:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:27 arm64: Pulling from edgex-lftools-log-publisher 04:29:27 8998bd30e6a1: Pulling fs layer 04:29:27 04944245beec: Pulling fs layer 04:29:27 699f458cf7ca: Pulling fs layer 04:29:27 765212b225bb: Pulling fs layer 04:29:27 f23df028b6ca: Pulling fs layer 04:29:27 d65c8cfc05b1: Pulling fs layer 04:29:27 2437ff75d9bd: Pulling fs layer 04:29:27 f23df028b6ca: Waiting 04:29:27 d65c8cfc05b1: Waiting 04:29:27 2437ff75d9bd: Waiting 04:29:27 765212b225bb: Waiting 04:29:27 04944245beec: Verifying Checksum 04:29:27 04944245beec: Download complete 04:29:27 765212b225bb: Download complete 04:29:27 f23df028b6ca: Download complete 04:29:27 d65c8cfc05b1: Verifying Checksum 04:29:27 d65c8cfc05b1: Download complete 04:29:27 699f458cf7ca: Verifying Checksum 04:29:27 699f458cf7ca: Download complete 04:29:27 8998bd30e6a1: Verifying Checksum 04:29:27 8998bd30e6a1: Download complete 04:29:30 2437ff75d9bd: Verifying Checksum 04:29:30 2437ff75d9bd: Download complete 04:29:32 8998bd30e6a1: Pull complete 04:29:33 04944245beec: Pull complete 04:29:34 699f458cf7ca: Pull complete 04:29:34 765212b225bb: Pull complete 04:29:35 f23df028b6ca: Pull complete 04:29:36 d65c8cfc05b1: Pull complete 04:29:51 2437ff75d9bd: Pull complete 04:29:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:29:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:29:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:51 prd-ubuntu20.04-docker-arm64-4c-16g-1110 does not seem to be running inside a container 04:29:51 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:29:54 $ docker top 6947a7d279617c91bd52cc355c2b9e9ebe4a15ccf4f99359308db8d9d1d063de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:55 ---> job-cost.sh 04:29:55 lf-activate-venv: SKIPPING 04:29:55 INFO: No Stack... 04:29:55 INFO: Retrieving Pricing Info for: v3-standard-4 04:29:56 INFO: Archiving Costs [Pipeline] sh 04:29:57 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:29:57 + cut -d, -f6 [Pipeline] lock 04:29:57 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-74-1-stack-cost] 04:29:57 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-74-1-stack-cost] did not exist. Created. 04:29:57 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:58 /w/workspace/device-onvif-camera/1@tmp/durable-d042ad23/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:29:58 + echo total: 0.10999999940395355 [Pipeline] stash 04:29:58 Warning: overwriting stash ‘stack-cost’ 04:29:59 Stashed 1 file(s) [Pipeline] } 04:29:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-74-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:59 $ docker stop --time=1 6947a7d279617c91bd52cc355c2b9e9ebe4a15ccf4f99359308db8d9d1d063de 04:30:00 $ docker rm -f 6947a7d279617c91bd52cc355c2b9e9ebe4a15ccf4f99359308db8d9d1d063de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:30:01 provisioning config files... 04:30:01 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/dry_device-onvif-camera_issue-74@tmp/config3962174952916428550tmp [Pipeline] { [Pipeline] sh 04:30:01 + set +x 04:30:01 + + bash -s -- 04:30:01 curl -s https://codecov.io/bash 04:30:01 04:30:01 _____ _ 04:30:01 / ____| | | 04:30:01 | | ___ __| | ___ ___ _____ __ 04:30:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:30:01 | |___| (_) | (_| | __/ (_| (_) \ V / 04:30:01 \_____\___/ \__,_|\___|\___\___/ \_/ 04:30:01 Bash-1.0.6 04:30:01 04:30:01 04:30:01 ==> git version 2.25.1 found 04:30:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:30:01 Release-Date: 2020-01-08 04:30:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:30:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:30:01 ==> Jenkins CI detected. 04:30:01 current dir:  /w/workspace/dry_device-onvif-camera_issue-74 04:30:01 project root: . 04:30:01 --> token set from env 04:30:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:30:01 ==> Running gcov in . (disable via -X gcov) 04:30:01 ==> Python coveragepy not found 04:30:01 ==> Searching for coverage reports in: 04:30:01 + . 04:30:01 -> Found 1 reports 04:30:01 ==> Detecting git/mercurial file structure 04:30:01 ==> Reading reports 04:30:01 + ./coverage.out bytes=53469 04:30:01 ==> Appending adjustments 04:30:01 https://docs.codecov.io/docs/fixing-reports 04:30:02 + Found adjustments 04:30:02 ==> Gzipping contents 04:30:02 8.0K /tmp/codecov.LkUgcS.gz 04:30:02 ==> Uploading reports 04:30:02 url: https://codecov.io 04:30:02 query: branch=issue-74&commit=c8dbcc754933a42f779a6fdf425adc016de0e881&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:30:02 -> Pinging Codecov 04:30:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=issue-74&commit=c8dbcc754933a42f779a6fdf425adc016de0e881&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:30:02 -> Uploading to 04:30:02 https://storage.googleapis.com/codecov/v4/raw/2022-06-06/F29A59C45E3A92E06B3E522C9905F8EF/c8dbcc754933a42f779a6fdf425adc016de0e881/c6eb97a1-fccf-49b1-8447-a21c5b38520b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220606%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220606T043002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ddbe49601b7ee2ff46de45e9a9afb459f8b1894d0e1305f98f7c288bed01bedb 04:30:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:30:02 Dload Upload Total Spent Left Speed 04:30:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6830 0 0 100 6830 0 30765 --:--:-- --:--:-- --:--:-- 30627 100 6830 0 0 100 6830 0 25485 --:--:-- --:--:-- --:--:-- 25390 04:30:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/c8dbcc754933a42f779a6fdf425adc016de0e881 [Pipeline] } 04:30:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:30:04 + [ -d /w/workspace/dry_device-onvif-camera_issue-74/archives ] 04:30:04 + ls -al /w/workspace/dry_device-onvif-camera_issue-74/archives 04:30:04 total 16 04:30:04 drwxr-xr-x 3 root root 4096 Jun 6 04:22 . 04:30:04 drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 04:22 .. 04:30:04 drwxr-xr-x 2 root root 4096 Jun 6 04:22 cost 04:30:04 -rw-r--r-- 1 root root 92 Jun 6 04:22 cost.csv 04:30:04 + sudo chown -R jenkins:jenkins /w/workspace/dry_device-onvif-camera_issue-74/archives 04:30:04 + ls -al /w/workspace/dry_device-onvif-camera_issue-74/archives 04:30:04 total 16 04:30:04 drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 04:22 . 04:30:04 drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 04:22 .. 04:30:04 drwxr-xr-x 2 jenkins jenkins 4096 Jun 6 04:22 cost 04:30:04 -rw-r--r-- 1 jenkins jenkins 92 Jun 6 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:30:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:30:05 ---> package-listing.sh 04:30:05 ++ facter osfamily 04:30:05 ++ tr '[:upper:]' '[:lower:]' 04:30:05 + OS_FAMILY=debian 04:30:05 + workspace=/w/workspace/dry_device-onvif-camera_issue-74 04:30:05 + START_PACKAGES=/tmp/packages_start.txt 04:30:05 + END_PACKAGES=/tmp/packages_end.txt 04:30:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:30:05 + PACKAGES=/tmp/packages_start.txt 04:30:05 + '[' /w/workspace/dry_device-onvif-camera_issue-74 ']' 04:30:05 + PACKAGES=/tmp/packages_end.txt 04:30:05 + case "${OS_FAMILY}" in 04:30:05 + dpkg -l 04:30:05 + grep '^ii' 04:30:05 + '[' -f /tmp/packages_start.txt ']' 04:30:05 + '[' -f /tmp/packages_end.txt ']' 04:30:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:30:05 + '[' /w/workspace/dry_device-onvif-camera_issue-74 ']' 04:30:05 + mkdir -p /w/workspace/dry_device-onvif-camera_issue-74/archives/ 04:30:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_device-onvif-camera_issue-74/archives/ [Pipeline] echo 04:30:05 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/dry_device-onvif-camera_issue-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:30:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:07 prd-ubuntu20.04-docker-8c-8g-1109 does not seem to be running inside a container 04:30:07 $ 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/dry_device-onvif-camera_issue-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_device-onvif-camera_issue-74 -v /w/workspace/dry_device-onvif-camera_issue-74:/w/workspace/dry_device-onvif-camera_issue-74:rw,z -v /w/workspace/dry_device-onvif-camera_issue-74@tmp:/w/workspace/dry_device-onvif-camera_issue-74@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:30:07 $ docker top 1b7163d739bbb6c3b390c67b7b93b0782172bfa2c0b1901bea398bb1c10d7fc2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:07 + touch /tmp/pre-build-complete [Pipeline] sh 04:30:08 + mkdir -p /var/log/sysstat [Pipeline] sh 04:30:08 + ls /var/log/sa-host 04:30:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:08 provisioning config files... 04:30:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_device-onvif-camera_issue-74@tmp/config4349282491140505535tmp [Pipeline] { [Pipeline] echo 04:30:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:30:08 ---> create-netrc.sh [Pipeline] } 04:30:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:30:09 ---> python-tools-install.sh [Pipeline] echo 04:30:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:30:09 ---> sudo-logs.sh 04:30:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:30:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:30:09 ---> job-cost.sh 04:30:09 lf-activate-venv: SKIPPING 04:30:09 DEBUG: total: 0.2199999988079071 04:30:09 INFO: Retrieving Stack Cost... 04:30:10 INFO: Retrieving Pricing Info for: v3-standard-8 04:30:10 INFO: Archiving Costs [Pipeline] echo 04:30:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:30:11 ---> logs-deploy.sh 04:30:11 lf-activate-venv: SKIPPING 04:30:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/issue-74/1 04:30:11 INFO: archiving workspace using pattern(s): 04:30:12 Archives upload complete. 04:30:12 INFO: archiving logs to Nexus