Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 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-ssh2134428773669339481.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9151272439067249814.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10809941687098819374.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14201362430630496163.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4337740054861675426.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7780’ Running on prd-ubuntu20.04-docker-8c-8g-7786 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-125 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing fc0f941cea49b7576efc4e5fd65ecb130e160952 Checking out Revision fc0f941cea49b7576efc4e5fd65ecb130e160952 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc0f941cea49b7576efc4e5fd65ecb130e160952 # timeout=10 Commit message: "Merge commit '7ec405a7ebe2d3fd94ca179867e83cca09fb31d0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-13T02:12:44.623Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-13T02:12:44.690Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-13T02:12:44.707Z] ========================================================= [2022-10-13T02:12:44.707Z] EdgeX Global Pipelines Version Info [2022-10-13T02:12:44.707Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a30e7d8f8d54adb521c88b7f5dbd6d665a9fb35b # timeout=10 [2022-10-13T02:12:45.425Z] ------------------- [2022-10-13T02:12:45.425Z] stable info: [2022-10-13T02:12:45.425Z] ------------------- [2022-10-13T02:12:45.425Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-13T02:12:45.425Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T02:12:45.425Z] Message: update stable to v1.0.239 [2022-10-13T02:12:45.995Z] ------------------- [2022-10-13T02:12:45.995Z] experimental info: [2022-10-13T02:12:45.995Z] ------------------- [2022-10-13T02:12:45.995Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-13T02:12:45.995Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T02:12:45.995Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-13T02:12:46.141Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-13T02:12:46.149Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-13T02:12:46.165Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-13T02:12:46.175Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-13T02:12:46.185Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-13T02:12:46.196Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-13T02:12:46.207Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-13T02:12:46.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-13T02:12:46.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-13T02:12:46.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-13T02:12:46.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-13T02:12:46.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-13T02:12:46.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-13T02:12:46.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-13T02:12:46.302Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-13T02:12:46.313Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-13T02:12:46.326Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T02:12:46.341Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T02:12:46.355Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-13T02:12:46.365Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-13T02:12:46.376Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-13T02:12:46.387Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-13T02:12:46.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-13T02:12:46.410Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-13T02:12:46.421Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-13T02:12:46.432Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-13T02:12:46.443Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-13T02:12:46.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-10-13T02:12:46.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-10-13T02:12:46.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-10-13T02:12:46.491Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc0f941cea49b7576efc4e5fd65ecb130e160952 [Pipeline] echo [2022-10-13T02:12:46.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc0f941 [Pipeline] echo [2022-10-13T02:12:46.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T02:12:46.555Z] provisioning config files... [2022-10-13T02:12:46.568Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config3409780466389538245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:12:46.870Z] ---> docker-login.sh [2022-10-13T02:12:46.870Z] nexus3.edgexfoundry.org:10001 [2022-10-13T02:12:46.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:12:47.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:12:47.441Z] Configure a credential helper to remove this warning. See [2022-10-13T02:12:47.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:12:47.441Z] [2022-10-13T02:12:47.441Z] Login Succeeded [2022-10-13T02:12:47.441Z] nexus3.edgexfoundry.org:10002 [2022-10-13T02:12:47.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:12:47.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:12:47.441Z] Configure a credential helper to remove this warning. See [2022-10-13T02:12:47.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:12:47.441Z] [2022-10-13T02:12:47.441Z] Login Succeeded [2022-10-13T02:12:47.441Z] nexus3.edgexfoundry.org:10003 [2022-10-13T02:12:47.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:12:47.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:12:47.441Z] Configure a credential helper to remove this warning. See [2022-10-13T02:12:47.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:12:47.441Z] [2022-10-13T02:12:47.441Z] Login Succeeded [2022-10-13T02:12:47.441Z] nexus3.edgexfoundry.org:10004 [2022-10-13T02:12:47.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:12:47.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:12:47.701Z] Configure a credential helper to remove this warning. See [2022-10-13T02:12:47.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:12:47.701Z] [2022-10-13T02:12:47.701Z] Login Succeeded [2022-10-13T02:12:47.701Z] docker.io [2022-10-13T02:12:47.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:12:47.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:12:47.961Z] Configure a credential helper to remove this warning. See [2022-10-13T02:12:47.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:12:47.961Z] [2022-10-13T02:12:47.961Z] Login Succeeded [2022-10-13T02:12:47.961Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T02:12:47.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-13T02:12:48.347Z] + git rev-list -1 --merges fc0f941cea49b7576efc4e5fd65ecb130e160952~1..fc0f941cea49b7576efc4e5fd65ecb130e160952 [Pipeline] echo [2022-10-13T02:12:48.376Z] -----------> git rev-list -1 --merges fc0f941cea49b7576efc4e5fd65ecb130e160952~1..fc0f941cea49b7576efc4e5fd65ecb130e160952 fc0f941cea49b7576efc4e5fd65ecb130e160952 [2022-10-13T02:12:48.376Z] fc0f941cea49b7576efc4e5fd65ecb130e160952 [false] [Pipeline] sh [2022-10-13T02:12:48.664Z] + git log --format=format:%s -1 fc0f941cea49b7576efc4e5fd65ecb130e160952 [Pipeline] echo [2022-10-13T02:12:48.683Z] ========================================================= [2022-10-13T02:12:48.683Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-13T02:12:48.683Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T02:12:49.089Z] + git log --format=format:%s -1 fc0f941cea49b7576efc4e5fd65ecb130e160952 [Pipeline] echo [2022-10-13T02:12:49.099Z] [semverPrep] GIT_COMMIT: fc0f941cea49b7576efc4e5fd65ecb130e160952, Commit Message: Merge commit '7ec405a7ebe2d3fd94ca179867e83cca09fb31d0' into HEAD [Pipeline] echo [2022-10-13T02:12:49.110Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-13T02:12:49.526Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-13T02:12:49.526Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-13T02:12:49.527Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-13T02:12:49.527Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-13T02:12:49.527Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-13T02:12:49.527Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-13T02:12:49.527Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:12:49.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T02:12:49.926Z] [2022-10-13T02:12:49.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:12:50.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T02:12:50.222Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-13T02:12:50.222Z] b85a868b505f: Pulling fs layer [2022-10-13T02:12:50.222Z] e2be974225ed: Pulling fs layer [2022-10-13T02:12:50.222Z] 339a4e72a1f5: Pulling fs layer [2022-10-13T02:12:50.222Z] 988bab9f4d93: Pulling fs layer [2022-10-13T02:12:50.222Z] 1469e6f7b9e6: Pulling fs layer [2022-10-13T02:12:50.222Z] eaf3925da568: Pulling fs layer [2022-10-13T02:12:50.222Z] bab4dde63d76: Pulling fs layer [2022-10-13T02:12:50.222Z] bde34c3a00c8: Pulling fs layer [2022-10-13T02:12:50.222Z] b352a97aabf1: Pulling fs layer [2022-10-13T02:12:50.222Z] 988bab9f4d93: Waiting [2022-10-13T02:12:50.222Z] 1469e6f7b9e6: Waiting [2022-10-13T02:12:50.222Z] eaf3925da568: Waiting [2022-10-13T02:12:50.222Z] bab4dde63d76: Waiting [2022-10-13T02:12:50.222Z] bde34c3a00c8: Waiting [2022-10-13T02:12:50.222Z] 4872d77fe225: Pulling fs layer [2022-10-13T02:12:50.222Z] 5851b861e8e6: Pulling fs layer [2022-10-13T02:12:50.222Z] 4872d77fe225: Waiting [2022-10-13T02:12:50.222Z] 5851b861e8e6: Waiting [2022-10-13T02:12:50.222Z] e2be974225ed: Verifying Checksum [2022-10-13T02:12:50.222Z] e2be974225ed: Download complete [2022-10-13T02:12:50.222Z] 988bab9f4d93: Verifying Checksum [2022-10-13T02:12:50.222Z] 988bab9f4d93: Download complete [2022-10-13T02:12:50.487Z] 1469e6f7b9e6: Verifying Checksum [2022-10-13T02:12:50.487Z] 1469e6f7b9e6: Download complete [2022-10-13T02:12:50.487Z] eaf3925da568: Verifying Checksum [2022-10-13T02:12:50.487Z] eaf3925da568: Download complete [2022-10-13T02:12:50.487Z] 339a4e72a1f5: Verifying Checksum [2022-10-13T02:12:50.487Z] 339a4e72a1f5: Download complete [2022-10-13T02:12:50.487Z] b352a97aabf1: Download complete [2022-10-13T02:12:50.487Z] 4872d77fe225: Verifying Checksum [2022-10-13T02:12:50.487Z] 4872d77fe225: Download complete [2022-10-13T02:12:50.487Z] 5851b861e8e6: Verifying Checksum [2022-10-13T02:12:50.487Z] 5851b861e8e6: Download complete [2022-10-13T02:12:50.487Z] b85a868b505f: Verifying Checksum [2022-10-13T02:12:50.487Z] b85a868b505f: Download complete [2022-10-13T02:12:50.746Z] bab4dde63d76: Verifying Checksum [2022-10-13T02:12:50.746Z] bab4dde63d76: Download complete [2022-10-13T02:12:51.685Z] b85a868b505f: Pull complete [2022-10-13T02:12:51.685Z] e2be974225ed: Pull complete [2022-10-13T02:12:52.257Z] 339a4e72a1f5: Pull complete [2022-10-13T02:12:52.257Z] 988bab9f4d93: Pull complete [2022-10-13T02:12:52.517Z] 1469e6f7b9e6: Pull complete [2022-10-13T02:12:52.517Z] eaf3925da568: Pull complete [2022-10-13T02:12:54.435Z] bab4dde63d76: Pull complete [2022-10-13T02:12:54.435Z] bde34c3a00c8: Pull complete [2022-10-13T02:12:54.435Z] b352a97aabf1: Pull complete [2022-10-13T02:12:54.435Z] 4872d77fe225: Pull complete [2022-10-13T02:12:54.435Z] 5851b861e8e6: Pull complete [2022-10-13T02:12:54.435Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-13T02:12:54.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T02:12:54.435Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T02:12:54.524Z] prd-ubuntu20.04-docker-8c-8g-7786 does not seem to be running inside a container [2022-10-13T02:12:54.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-13T02:12:56.740Z] $ docker top 2219e8e0e11c0e3ce6d59141b889b8ae38875afe72c32218be3bbab3d2ce817d -eo pid,comm [2022-10-13T02:12:56.790Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-13T02:12:56.790Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-13T02:12:56.828Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T02:12:56.828Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T02:12:56.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T02:12:56.944Z] $ docker exec 2219e8e0e11c0e3ce6d59141b889b8ae38875afe72c32218be3bbab3d2ce817d ssh-agent [2022-10-13T02:12:57.050Z] SSH_AUTH_SOCK=/tmp/ssh-bS1geShvo9HM/agent.32 [2022-10-13T02:12:57.051Z] SSH_AGENT_PID=38 [2022-10-13T02:12:57.057Z] Running ssh-add (command line suppressed) [2022-10-13T02:12:57.165Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3257918414698650419.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3257918414698650419.key) [2022-10-13T02:12:57.176Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T02:12:57.471Z] + git tag --points-at HEAD [Pipeline] } [2022-10-13T02:12:57.488Z] $ docker exec --env ******** --env ******** 2219e8e0e11c0e3ce6d59141b889b8ae38875afe72c32218be3bbab3d2ce817d ssh-agent -k [2022-10-13T02:12:57.583Z] unset SSH_AUTH_SOCK; [2022-10-13T02:12:57.583Z] unset SSH_AGENT_PID; [2022-10-13T02:12:57.583Z] echo Agent pid 38 killed; [2022-10-13T02:12:57.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-13T02:12:57.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T02:12:57.618Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T02:12:57.737Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T02:12:57.743Z] $ docker exec 2219e8e0e11c0e3ce6d59141b889b8ae38875afe72c32218be3bbab3d2ce817d ssh-agent [2022-10-13T02:12:57.862Z] SSH_AUTH_SOCK=/tmp/ssh-D9kMG5Ap0Wex/agent.70 [2022-10-13T02:12:57.862Z] SSH_AGENT_PID=76 [2022-10-13T02:12:57.866Z] Running ssh-add (command line suppressed) [2022-10-13T02:12:57.978Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14892922848499860563.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14892922848499860563.key) [2022-10-13T02:12:57.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T02:12:58.277Z] + git semver init [2022-10-13T02:12:58.535Z] 2022-10-13 02:12:58,446 [run_init] DEBUG init version:0.0.0 force:False [2022-10-13T02:12:58.535Z] 2022-10-13 02:12:58,447 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-13T02:12:58.536Z] 2022-10-13 02:12:58,448 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-13T02:12:58.536Z] 2022-10-13 02:12:58,448 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-10-13T02:12:59.470Z] 2022-10-13 02:12:59,456 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-10-13T02:12:59.470Z] 2022-10-13 02:12:59,456 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-10-13T02:12:59.470Z] 2022-10-13 02:12:59,456 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-13T02:12:59.470Z] 2022-10-13 02:12:59,459 [execute] INFO git cat-file --batch-check [2022-10-13T02:12:59.470Z] 2022-10-13 02:12:59,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T02:12:59.470Z] 2022-10-13 02:12:59,464 [execute] INFO git cat-file --batch [2022-10-13T02:12:59.470Z] 2022-10-13 02:12:59,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T02:12:59.470Z] 2022-10-13 02:12:59,468 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-13T02:12:59.470Z] 0.0.0 [Pipeline] } [2022-10-13T02:12:59.742Z] $ docker exec --env ******** --env ******** 2219e8e0e11c0e3ce6d59141b889b8ae38875afe72c32218be3bbab3d2ce817d ssh-agent -k [2022-10-13T02:12:59.834Z] unset SSH_AUTH_SOCK; [2022-10-13T02:12:59.835Z] unset SSH_AGENT_PID; [2022-10-13T02:12:59.835Z] echo Agent pid 76 killed; [2022-10-13T02:12:59.841Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-13T02:13:00.157Z] + git semver [Pipeline] } [2022-10-13T02:13:00.433Z] $ docker stop --time=1 2219e8e0e11c0e3ce6d59141b889b8ae38875afe72c32218be3bbab3d2ce817d [2022-10-13T02:13:01.736Z] $ docker rm -f 2219e8e0e11c0e3ce6d59141b889b8ae38875afe72c32218be3bbab3d2ce817d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T02:13:02.071Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-13T02:13:02.233Z] Stashed 1 file(s) [Pipeline] echo [2022-10-13T02:13:02.235Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T02:13:02.378Z] provisioning config files... [2022-10-13T02:13:02.386Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config16506557836961017512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:13:02.677Z] ---> docker-login.sh [2022-10-13T02:13:02.677Z] nexus3.edgexfoundry.org:10001 [2022-10-13T02:13:02.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:13:02.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:13:02.677Z] Configure a credential helper to remove this warning. See [2022-10-13T02:13:02.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:13:02.677Z] [2022-10-13T02:13:02.677Z] Login Succeeded [2022-10-13T02:13:02.677Z] nexus3.edgexfoundry.org:10002 [2022-10-13T02:13:02.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:13:02.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:13:02.677Z] Configure a credential helper to remove this warning. See [2022-10-13T02:13:02.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:13:02.677Z] [2022-10-13T02:13:02.677Z] Login Succeeded [2022-10-13T02:13:02.677Z] nexus3.edgexfoundry.org:10003 [2022-10-13T02:13:02.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:13:02.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:13:02.938Z] Configure a credential helper to remove this warning. See [2022-10-13T02:13:02.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:13:02.938Z] [2022-10-13T02:13:02.938Z] Login Succeeded [2022-10-13T02:13:02.938Z] nexus3.edgexfoundry.org:10004 [2022-10-13T02:13:02.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:13:02.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:13:02.938Z] Configure a credential helper to remove this warning. See [2022-10-13T02:13:02.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:13:02.938Z] [2022-10-13T02:13:02.938Z] Login Succeeded [2022-10-13T02:13:02.938Z] docker.io [2022-10-13T02:13:02.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:13:03.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:13:03.507Z] Configure a credential helper to remove this warning. See [2022-10-13T02:13:03.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:13:03.507Z] [2022-10-13T02:13:03.507Z] Login Succeeded [2022-10-13T02:13:03.507Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T02:13:03.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T02:13:03.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T02:13:03.579Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T02:13:03.585Z] ========================================================= [2022-10-13T02:13:03.585Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-13T02:13:03.585Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:13:03.882Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-13T02:13:03.882Z] Sending build context to Docker daemon 21.3MB [2022-10-13T02:13:03.882Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T02:13:03.882Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-13T02:13:04.142Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-13T02:13:04.142Z] 213ec9aee27d: Pulling fs layer [2022-10-13T02:13:04.142Z] 4583459ba037: Pulling fs layer [2022-10-13T02:13:04.142Z] 93c1e223e6f2: Pulling fs layer [2022-10-13T02:13:04.142Z] 53926ce57604: Pulling fs layer [2022-10-13T02:13:04.142Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-13T02:13:04.142Z] 30f14e443154: Pulling fs layer [2022-10-13T02:13:04.142Z] 801331c1e519: Pulling fs layer [2022-10-13T02:13:04.142Z] 99cc6dd402b0: Pulling fs layer [2022-10-13T02:13:04.142Z] 7d9ed39f4882: Pulling fs layer [2022-10-13T02:13:04.142Z] 21b2b0c7a3f4: Waiting [2022-10-13T02:13:04.142Z] 53926ce57604: Waiting [2022-10-13T02:13:04.142Z] 30f14e443154: Waiting [2022-10-13T02:13:04.142Z] 7d9ed39f4882: Waiting [2022-10-13T02:13:04.142Z] 801331c1e519: Waiting [2022-10-13T02:13:04.142Z] 99cc6dd402b0: Waiting [2022-10-13T02:13:04.142Z] 93c1e223e6f2: Verifying Checksum [2022-10-13T02:13:04.142Z] 93c1e223e6f2: Download complete [2022-10-13T02:13:04.142Z] 4583459ba037: Download complete [2022-10-13T02:13:04.142Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-13T02:13:04.142Z] 21b2b0c7a3f4: Download complete [2022-10-13T02:13:04.142Z] 30f14e443154: Verifying Checksum [2022-10-13T02:13:04.142Z] 30f14e443154: Download complete [2022-10-13T02:13:04.142Z] 213ec9aee27d: Verifying Checksum [2022-10-13T02:13:04.142Z] 213ec9aee27d: Download complete [2022-10-13T02:13:04.142Z] 801331c1e519: Verifying Checksum [2022-10-13T02:13:04.142Z] 801331c1e519: Download complete [2022-10-13T02:13:04.142Z] 213ec9aee27d: Pull complete [2022-10-13T02:13:04.402Z] 4583459ba037: Pull complete [2022-10-13T02:13:04.402Z] 93c1e223e6f2: Pull complete [2022-10-13T02:13:04.661Z] 7d9ed39f4882: Verifying Checksum [2022-10-13T02:13:04.661Z] 7d9ed39f4882: Download complete [2022-10-13T02:13:04.661Z] 99cc6dd402b0: Verifying Checksum [2022-10-13T02:13:04.661Z] 99cc6dd402b0: Download complete [2022-10-13T02:13:04.922Z] 53926ce57604: Verifying Checksum [2022-10-13T02:13:04.922Z] 53926ce57604: Download complete [2022-10-13T02:13:08.199Z] 53926ce57604: Pull complete [2022-10-13T02:13:08.199Z] 21b2b0c7a3f4: Pull complete [2022-10-13T02:13:08.199Z] 30f14e443154: Pull complete [2022-10-13T02:13:08.199Z] 801331c1e519: Pull complete [2022-10-13T02:13:10.116Z] 99cc6dd402b0: Pull complete [2022-10-13T02:13:11.047Z] 7d9ed39f4882: Pull complete [2022-10-13T02:13:11.047Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-13T02:13:11.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-13T02:13:11.047Z] ---> 1dedd983c030 [2022-10-13T02:13:11.047Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-13T02:13:14.339Z] ---> Running in ee7b750e2291 [2022-10-13T02:13:14.339Z] Removing intermediate container ee7b750e2291 [2022-10-13T02:13:14.339Z] ---> 37be5f91f7d2 [2022-10-13T02:13:14.339Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-13T02:13:14.339Z] ---> Running in 0b0ffcceab3a [2022-10-13T02:13:14.599Z] Removing intermediate container 0b0ffcceab3a [2022-10-13T02:13:14.599Z] ---> 27cad4c13595 [2022-10-13T02:13:14.599Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-13T02:13:14.599Z] ---> Running in 135aba70d0cc [2022-10-13T02:13:14.599Z] Removing intermediate container 135aba70d0cc [2022-10-13T02:13:14.599Z] ---> 4a503b805a67 [2022-10-13T02:13:14.599Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-13T02:13:14.599Z] ---> Running in b21968516c7a [2022-10-13T02:13:14.858Z] Removing intermediate container b21968516c7a [2022-10-13T02:13:14.858Z] ---> 51e5ff4ef39c [2022-10-13T02:13:14.858Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-13T02:13:14.858Z] ---> Running in e01c73a3dfbb [2022-10-13T02:13:14.858Z] Removing intermediate container e01c73a3dfbb [2022-10-13T02:13:14.858Z] ---> 74fef9385e00 [2022-10-13T02:13:14.858Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T02:13:14.858Z] ---> Running in 44a72470a5d2 [2022-10-13T02:13:15.424Z] Removing intermediate container 44a72470a5d2 [2022-10-13T02:13:15.424Z] ---> 0fec5661e96c [2022-10-13T02:13:15.424Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-13T02:13:15.424Z] ---> Running in 9b847044e1b1 [2022-10-13T02:13:15.683Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T02:13:16.622Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T02:13:16.881Z] OK: 211 MiB in 51 packages [2022-10-13T02:13:17.343Z] Still waiting to schedule task [2022-10-13T02:13:17.343Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7784’ [2022-10-13T02:13:17.449Z] Removing intermediate container 9b847044e1b1 [2022-10-13T02:13:17.449Z] ---> 03b92966cd08 [2022-10-13T02:13:17.449Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-13T02:13:17.449Z] ---> Running in 1f8a65e2662c [2022-10-13T02:13:17.449Z] Removing intermediate container 1f8a65e2662c [2022-10-13T02:13:17.449Z] ---> e15a9a10a1b7 [2022-10-13T02:13:17.449Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-13T02:13:17.449Z] ---> b8227182fca4 [2022-10-13T02:13:17.449Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T02:13:17.449Z] ---> Running in ab98e614446f [2022-10-13T02:13:43.991Z] Removing intermediate container ab98e614446f [2022-10-13T02:13:43.991Z] ---> e9b7f95957cb [2022-10-13T02:13:43.991Z] Step 13/14 : COPY . . [2022-10-13T02:13:43.991Z] ---> 1fc3b2415c0c [2022-10-13T02:13:43.991Z] Step 14/14 : RUN ${MAKE} [2022-10-13T02:13:43.991Z] ---> Running in 485656b6f070 [2022-10-13T02:13:43.991Z] noop [2022-10-13T02:13:43.991Z] Removing intermediate container 485656b6f070 [2022-10-13T02:13:43.991Z] ---> 0c1296850cb1 [2022-10-13T02:13:43.991Z] Successfully built 0c1296850cb1 [2022-10-13T02:13:43.991Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:13:44.296Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T02:13:44.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T02:13:44.360Z] prd-ubuntu20.04-docker-8c-8g-7786 does not seem to be running inside a container [2022-10-13T02:13:44.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-13T02:13:44.714Z] $ docker top f7e357d0dee22ea41f5e834b9791b6ce40ae3f23a31961262035caebd112d47b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T02:13:45.048Z] + go version [2022-10-13T02:13:45.048Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-13T02:13:45.063Z] $ docker stop --time=1 f7e357d0dee22ea41f5e834b9791b6ce40ae3f23a31961262035caebd112d47b [2022-10-13T02:13:46.326Z] $ docker rm -f f7e357d0dee22ea41f5e834b9791b6ce40ae3f23a31961262035caebd112d47b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:13:46.692Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T02:13:46.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T02:13:46.752Z] prd-ubuntu20.04-docker-8c-8g-7786 does not seem to be running inside a container [2022-10-13T02:13:46.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-13T02:13:47.091Z] $ docker top 5dfebfe505620fceac0f45b3b40236e4835bbf0cdd981ddc7d80671d391b62af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T02:13:47.425Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-10-13T02:13:47.715Z] + make test [2022-10-13T02:13:47.715Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-13T02:13:47.973Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-13T02:13:57.934Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-13T02:13:58.498Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-13T02:13:58.499Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-13T02:13:58.499Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.231s coverage: 86.5% of statements [2022-10-13T02:14:05.055Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-13T02:14:05.055Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-13T02:14:08.333Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T02:14:08.333Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T02:14:08.333Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-13T02:14:08.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T02:14:08.617Z] $ docker stop --time=1 5dfebfe505620fceac0f45b3b40236e4835bbf0cdd981ddc7d80671d391b62af [2022-10-13T02:14:11.319Z] $ docker rm -f 5dfebfe505620fceac0f45b3b40236e4835bbf0cdd981ddc7d80671d391b62af [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T02:14:11.739Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T02:14:11.791Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-13T02:14:12.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T02:14:12.549Z] + ls -al . [2022-10-13T02:14:12.549Z] total 236 [2022-10-13T02:14:12.549Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 02:13 . [2022-10-13T02:14:12.549Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 02:12 .. [2022-10-13T02:14:12.549Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 02:13 .git [2022-10-13T02:14:12.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 02:12 .github [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 13 02:12 .gitignore [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 02:12 .golangci.yml [2022-10-13T02:14:12.549Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 02:12 .semver [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 13 02:12 Attribution.txt [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 13 02:12 CHANGELOG.md [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 13 02:12 Dockerfile [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 02:12 GOVERNANCE.md [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 13 02:12 Jenkinsfile [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 13 02:12 LICENSE [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 13 02:12 Makefile [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 13 02:12 OWNERS.md [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 13 02:12 README.md [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 02:13 VERSION [2022-10-13T02:14:12.549Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 02:12 bin [2022-10-13T02:14:12.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 02:12 cmd [2022-10-13T02:14:12.549Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 13 02:13 coverage.out [2022-10-13T02:14:12.549Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 02:12 doc [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 13 02:12 go.mod [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 13 02:12 go.sum [2022-10-13T02:14:12.549Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 02:12 internal [2022-10-13T02:14:12.549Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 02:12 snap [2022-10-13T02:14:12.549Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 13 02:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:14:12.916Z] + 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=fc0f941cea49b7576efc4e5fd65ecb130e160952 --label arch=amd64 --label version=0.0.0 . [2022-10-13T02:14:12.916Z] Sending build context to Docker daemon 21.38MB [2022-10-13T02:14:12.916Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T02:14:12.916Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-13T02:14:12.916Z] ---> 0c1296850cb1 [2022-10-13T02:14:12.916Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-13T02:14:13.175Z] ---> Running in 69fba3286d8a [2022-10-13T02:14:13.175Z] Removing intermediate container 69fba3286d8a [2022-10-13T02:14:13.175Z] ---> b6cd24270fc5 [2022-10-13T02:14:13.175Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-13T02:14:13.175Z] ---> Running in 17f812d5529e [2022-10-13T02:14:13.433Z] Removing intermediate container 17f812d5529e [2022-10-13T02:14:13.433Z] ---> 9a850b4c8618 [2022-10-13T02:14:13.433Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-13T02:14:13.433Z] ---> Running in b3ec8b3a6c0c [2022-10-13T02:14:13.433Z] Removing intermediate container b3ec8b3a6c0c [2022-10-13T02:14:13.433Z] ---> fecfea6d654a [2022-10-13T02:14:13.433Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-13T02:14:13.433Z] ---> Running in 803cca40a61a [2022-10-13T02:14:13.433Z] Removing intermediate container 803cca40a61a [2022-10-13T02:14:13.433Z] ---> 740b692e9789 [2022-10-13T02:14:13.433Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-13T02:14:13.692Z] ---> Running in 2972492206fe [2022-10-13T02:14:13.692Z] Removing intermediate container 2972492206fe [2022-10-13T02:14:13.692Z] ---> 33205087bf01 [2022-10-13T02:14:13.692Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T02:14:13.692Z] ---> Running in 9ab445b1acb7 [2022-10-13T02:14:14.260Z] Removing intermediate container 9ab445b1acb7 [2022-10-13T02:14:14.260Z] ---> 2efaec3288dd [2022-10-13T02:14:14.260Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-13T02:14:14.260Z] ---> Running in efa46faac407 [2022-10-13T02:14:14.260Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T02:14:15.196Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T02:14:15.456Z] OK: 211 MiB in 51 packages [2022-10-13T02:14:16.023Z] Removing intermediate container efa46faac407 [2022-10-13T02:14:16.023Z] ---> 3159d947e1b9 [2022-10-13T02:14:16.023Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-13T02:14:16.023Z] ---> Running in 5bd6ea1af045 [2022-10-13T02:14:16.023Z] Removing intermediate container 5bd6ea1af045 [2022-10-13T02:14:16.023Z] ---> b1509c3d52c3 [2022-10-13T02:14:16.023Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-13T02:14:16.023Z] ---> cc523e45b485 [2022-10-13T02:14:16.023Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T02:14:16.023Z] ---> Running in dc8dad22a849 [2022-10-13T02:14:16.589Z] Removing intermediate container dc8dad22a849 [2022-10-13T02:14:16.589Z] ---> 11035bcfcc07 [2022-10-13T02:14:16.589Z] Step 13/28 : COPY . . [2022-10-13T02:14:17.156Z] ---> a1df4e4fe98c [2022-10-13T02:14:17.156Z] Step 14/28 : RUN ${MAKE} [2022-10-13T02:14:17.156Z] ---> Running in b0df940ee70c [2022-10-13T02:14:17.415Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-13T02:14:39.325Z] Removing intermediate container b0df940ee70c [2022-10-13T02:14:39.325Z] ---> 65d413a0f33f [2022-10-13T02:14:39.325Z] Step 15/28 : FROM alpine:3.16 [2022-10-13T02:14:39.325Z] 3.16: Pulling from library/alpine [2022-10-13T02:14:39.325Z] 213ec9aee27d: Already exists [2022-10-13T02:14:39.325Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T02:14:39.325Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T02:14:39.325Z] ---> 9c6f07244728 [2022-10-13T02:14:39.325Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-13T02:14:39.325Z] ---> Running in b06b5fe8da34 [2022-10-13T02:14:39.325Z] Removing intermediate container b06b5fe8da34 [2022-10-13T02:14:39.325Z] ---> e80e6253c68d [2022-10-13T02:14:39.325Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-13T02:14:39.325Z] ---> Running in f7f1baef2c9f [2022-10-13T02:14:39.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T02:14:39.325Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T02:14:39.325Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-13T02:14:39.325Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-13T02:14:39.325Z] (3/21) Installing readline (8.1.2-r0) [2022-10-13T02:14:39.325Z] (4/21) Installing bash (5.1.16-r2) [2022-10-13T02:14:39.325Z] Executing bash-5.1.16-r2.post-install [2022-10-13T02:14:39.325Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-13T02:14:39.325Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-13T02:14:39.325Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-13T02:14:39.325Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-13T02:14:39.325Z] (9/21) Installing curl (7.83.1-r3) [2022-10-13T02:14:39.325Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-13T02:14:39.325Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-13T02:14:39.325Z] (12/21) Installing jq (1.6-r1) [2022-10-13T02:14:39.325Z] (13/21) Installing popt (1.18-r0) [2022-10-13T02:14:39.325Z] (14/21) Installing pcre (8.45-r2) [2022-10-13T02:14:39.325Z] (15/21) Installing slang (2.3.2-r0) [2022-10-13T02:14:39.325Z] (16/21) Installing newt (0.52.21-r2) [2022-10-13T02:14:39.325Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T02:14:39.325Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-13T02:14:39.325Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T02:14:39.325Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-13T02:14:39.325Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-13T02:14:39.325Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T02:14:39.325Z] Executing ca-certificates-20220614-r0.trigger [2022-10-13T02:14:39.325Z] OK: 17 MiB in 35 packages [2022-10-13T02:14:40.335Z] Removing intermediate container f7f1baef2c9f [2022-10-13T02:14:40.335Z] ---> 6d6ecd4033df [2022-10-13T02:14:40.335Z] Step 18/28 : WORKDIR / [2022-10-13T02:14:40.335Z] ---> Running in 9cbb7b1765de [2022-10-13T02:14:40.335Z] Removing intermediate container 9cbb7b1765de [2022-10-13T02:14:40.335Z] ---> 4007d06fd7ee [2022-10-13T02:14:40.335Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-13T02:14:41.269Z] ---> 9c45dc10b923 [2022-10-13T02:14:41.269Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-13T02:14:41.269Z] ---> 21d137b03011 [2022-10-13T02:14:41.269Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-13T02:14:41.269Z] ---> f8d50ff51db9 [2022-10-13T02:14:41.269Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-13T02:14:41.527Z] ---> fa45d74be32b [2022-10-13T02:14:41.527Z] Step 23/28 : EXPOSE 59984 [2022-10-13T02:14:41.527Z] ---> Running in c984d8f3f00f [2022-10-13T02:14:41.527Z] Removing intermediate container c984d8f3f00f [2022-10-13T02:14:41.527Z] ---> 842d54c6de7d [2022-10-13T02:14:41.527Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-13T02:14:41.527Z] ---> Running in 044d5e8a5dc1 [2022-10-13T02:14:41.527Z] Removing intermediate container 044d5e8a5dc1 [2022-10-13T02:14:41.527Z] ---> bdda44e44f18 [2022-10-13T02:14:41.527Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T02:14:41.527Z] ---> Running in 618c81f1d2b3 [2022-10-13T02:14:41.785Z] Removing intermediate container 618c81f1d2b3 [2022-10-13T02:14:41.785Z] ---> 0f493a47b3fe [2022-10-13T02:14:41.785Z] Step 26/28 : LABEL arch=amd64 [2022-10-13T02:14:41.785Z] ---> Running in 34cb2054a8f9 [2022-10-13T02:14:41.785Z] Removing intermediate container 34cb2054a8f9 [2022-10-13T02:14:41.785Z] ---> 819a38976046 [2022-10-13T02:14:41.785Z] Step 27/28 : LABEL git_sha=fc0f941cea49b7576efc4e5fd65ecb130e160952 [2022-10-13T02:14:41.785Z] ---> Running in 221ec68f1364 [2022-10-13T02:14:41.785Z] Removing intermediate container 221ec68f1364 [2022-10-13T02:14:41.785Z] ---> 47668083a2bd [2022-10-13T02:14:41.785Z] Step 28/28 : LABEL version=0.0.0 [2022-10-13T02:14:41.785Z] ---> Running in b5933842ae3b [2022-10-13T02:14:42.043Z] Removing intermediate container b5933842ae3b [2022-10-13T02:14:42.043Z] ---> 3eb31f1098ed [2022-10-13T02:14:42.043Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T02:14:42.043Z] Successfully built 3eb31f1098ed [2022-10-13T02:14:42.043Z] 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 [2022-10-13T02:14:42.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T02:14:42.486Z] [2022-10-13T02:14:42.486Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:14:42.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T02:14:42.777Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-13T02:14:42.777Z] 5eb5b503b376: Pulling fs layer [2022-10-13T02:14:42.777Z] 5c69ac0246d0: Pulling fs layer [2022-10-13T02:14:42.777Z] ec43610c2a17: Pulling fs layer [2022-10-13T02:14:42.777Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-13T02:14:42.777Z] 33b1e0a273af: Pulling fs layer [2022-10-13T02:14:42.777Z] 5d3b04190fa2: Pulling fs layer [2022-10-13T02:14:42.777Z] 2f39f015ded8: Pulling fs layer [2022-10-13T02:14:42.777Z] 33b1e0a273af: Waiting [2022-10-13T02:14:42.777Z] 5d3b04190fa2: Waiting [2022-10-13T02:14:42.778Z] 2f39f015ded8: Waiting [2022-10-13T02:14:42.778Z] 3a2ae6a8a46f: Waiting [2022-10-13T02:14:42.778Z] 5c69ac0246d0: Verifying Checksum [2022-10-13T02:14:42.778Z] 5c69ac0246d0: Download complete [2022-10-13T02:14:42.778Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-13T02:14:42.778Z] 3a2ae6a8a46f: Download complete [2022-10-13T02:14:42.778Z] 33b1e0a273af: Verifying Checksum [2022-10-13T02:14:42.778Z] 33b1e0a273af: Download complete [2022-10-13T02:14:43.036Z] 5d3b04190fa2: Verifying Checksum [2022-10-13T02:14:43.036Z] 5d3b04190fa2: Download complete [2022-10-13T02:14:43.036Z] ec43610c2a17: Verifying Checksum [2022-10-13T02:14:43.036Z] ec43610c2a17: Download complete [2022-10-13T02:14:43.036Z] 5eb5b503b376: Verifying Checksum [2022-10-13T02:14:43.036Z] 5eb5b503b376: Download complete [2022-10-13T02:14:43.602Z] 2f39f015ded8: Download complete [2022-10-13T02:14:44.167Z] 5eb5b503b376: Pull complete [2022-10-13T02:14:44.426Z] 5c69ac0246d0: Pull complete [2022-10-13T02:14:44.686Z] ec43610c2a17: Pull complete [2022-10-13T02:14:44.945Z] 3a2ae6a8a46f: Pull complete [2022-10-13T02:14:44.945Z] 33b1e0a273af: Pull complete [2022-10-13T02:14:45.204Z] 5d3b04190fa2: Pull complete [2022-10-13T02:14:49.386Z] 2f39f015ded8: Pull complete [2022-10-13T02:14:49.386Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-13T02:14:49.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T02:14:49.386Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T02:14:49.463Z] prd-ubuntu20.04-docker-8c-8g-7786 does not seem to be running inside a container [2022-10-13T02:14:49.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-13T02:14:52.165Z] $ docker top e5d1975f170aaf57914b0ad85ae4fe65cbb55c90c062ebb52d950d949eb6c610 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:14:52.551Z] ---> job-cost.sh [2022-10-13T02:14:52.552Z] lf-activate-venv: SKIPPING [2022-10-13T02:14:52.552Z] INFO: No Stack... [2022-10-13T02:14:52.811Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T02:14:53.069Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T02:14:53.359Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-10-13T02:14:53.359Z] + cut -d, -f6 [Pipeline] lock [2022-10-13T02:14:53.373Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-21-stack-cost] [2022-10-13T02:14:53.379Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-21-stack-cost] did not exist. Created. [2022-10-13T02:14:53.379Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T02:14:53.680Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-13T02:14:53.710Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T02:14:53.720Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T02:14:53.741Z] $ docker stop --time=1 e5d1975f170aaf57914b0ad85ae4fe65cbb55c90c062ebb52d950d949eb6c610 [2022-10-13T02:14:54.894Z] $ docker rm -f e5d1975f170aaf57914b0ad85ae4fe65cbb55c90c062ebb52d950d949eb6c610 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-13T02:15:13.719Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7787 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-10-13T02:15:13.730Z] Running in /w/workspace/device-onvif-camera/21 [Pipeline] { [Pipeline] checkout [2022-10-13T02:15:13.766Z] The recommended git tool is: git [2022-10-13T02:15:18.678Z] using credential edgex-jenkins-ssh [2022-10-13T02:15:18.693Z] Cloning the remote Git repository [2022-10-13T02:15:18.730Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-13T02:15:18.795Z] > git init /w/workspace/device-onvif-camera/21 # timeout=10 [2022-10-13T02:15:18.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-13T02:15:18.925Z] > git --version # timeout=10 [2022-10-13T02:15:18.953Z] > git --version # 'git version 2.25.1' [2022-10-13T02:15:18.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T02:15:19.000Z] Verifying host key using known hosts file [2022-10-13T02:15:19.192Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T02:15:19.208Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T02:15:20.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-13T02:15:20.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T02:15:21.919Z] Merging remotes/origin/main commit 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-10-13T02:15:21.238Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-13T02:15:21.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-13T02:15:21.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T02:15:21.286Z] Verifying host key using known hosts file [2022-10-13T02:15:21.293Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T02:15:21.305Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-13T02:15:21.932Z] > git config core.sparsecheckout # timeout=10 [2022-10-13T02:15:21.953Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-10-13T02:15:22.170Z] > git remote # timeout=10 [2022-10-13T02:15:22.188Z] > git config --get remote.origin.url # timeout=10 [2022-10-13T02:15:22.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T02:15:22.206Z] Verifying host key using known hosts file [2022-10-13T02:15:22.210Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T02:15:22.219Z] > git merge 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 # timeout=10 [2022-10-13T02:15:22.620Z] Merge succeeded, producing 763cd0a2806cbbf61bd992f6b7d9723d9827b1c1 [2022-10-13T02:15:22.620Z] Checking out Revision 763cd0a2806cbbf61bd992f6b7d9723d9827b1c1 (PR-125) [2022-10-13T02:15:22.595Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-13T02:15:22.622Z] > git config core.sparsecheckout # timeout=10 [2022-10-13T02:15:22.637Z] > git checkout -f 763cd0a2806cbbf61bd992f6b7d9723d9827b1c1 # timeout=10 [2022-10-13T02:15:26.304Z] Commit message: "Merge commit '7ec405a7ebe2d3fd94ca179867e83cca09fb31d0' into HEAD" [2022-10-13T02:15:26.327Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T02:15:26.307Z] > git rev-list --no-walk a30e7d8f8d54adb521c88b7f5dbd6d665a9fb35b # timeout=10 [2022-10-13T02:15:27.165Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-13T02:15:27.166Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T02:15:27.166Z] Dload Upload Total Spent Left Speed [2022-10-13T02:15:27.166Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94044 0 --:--:-- --:--:-- --:--:-- 94044 [Pipeline] sh [2022-10-13T02:15:27.842Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-13T02:15:28.163Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-13T02:15:28.163Z] + sudo tee /etc/docker/daemon.new [2022-10-13T02:15:28.163Z] { [2022-10-13T02:15:28.163Z] "registry-mirrors": [ [2022-10-13T02:15:28.163Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-13T02:15:28.163Z] ], [2022-10-13T02:15:28.163Z] "bip": "10.250.0.254/24", [2022-10-13T02:15:28.163Z] "hosts": [ [2022-10-13T02:15:28.163Z] "tcp://0.0.0.0:5555", [2022-10-13T02:15:28.163Z] "unix:///var/run/docker.sock" [2022-10-13T02:15:28.163Z] ], [2022-10-13T02:15:28.163Z] "mtu": 1458, [2022-10-13T02:15:28.163Z] "selinux-enabled": true, [2022-10-13T02:15:28.163Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-13T02:15:28.163Z] } [Pipeline] sh [2022-10-13T02:15:28.480Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-13T02:15:28.801Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T02:15:47.052Z] provisioning config files... [2022-10-13T02:15:47.077Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/21@tmp/config4870375618792705741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:15:47.427Z] ---> docker-login.sh [2022-10-13T02:15:47.427Z] nexus3.edgexfoundry.org:10001 [2022-10-13T02:15:48.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:15:48.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:15:48.014Z] Configure a credential helper to remove this warning. See [2022-10-13T02:15:48.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:15:48.014Z] [2022-10-13T02:15:48.014Z] Login Succeeded [2022-10-13T02:15:48.014Z] nexus3.edgexfoundry.org:10002 [2022-10-13T02:15:48.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:15:48.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:15:48.554Z] Configure a credential helper to remove this warning. See [2022-10-13T02:15:48.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:15:48.554Z] [2022-10-13T02:15:48.554Z] Login Succeeded [2022-10-13T02:15:48.554Z] nexus3.edgexfoundry.org:10003 [2022-10-13T02:15:48.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:15:48.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:15:48.829Z] Configure a credential helper to remove this warning. See [2022-10-13T02:15:48.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:15:48.829Z] [2022-10-13T02:15:48.829Z] Login Succeeded [2022-10-13T02:15:48.829Z] nexus3.edgexfoundry.org:10004 [2022-10-13T02:15:49.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:15:49.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:15:49.098Z] Configure a credential helper to remove this warning. See [2022-10-13T02:15:49.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:15:49.098Z] [2022-10-13T02:15:49.098Z] Login Succeeded [2022-10-13T02:15:49.098Z] docker.io [2022-10-13T02:15:49.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T02:15:49.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T02:15:49.635Z] Configure a credential helper to remove this warning. See [2022-10-13T02:15:49.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T02:15:49.635Z] [2022-10-13T02:15:49.902Z] Login Succeeded [2022-10-13T02:15:49.902Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T02:15:49.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T02:15:50.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T02:15:50.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T02:15:50.072Z] ========================================================= [2022-10-13T02:15:50.072Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-13T02:15:50.072Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:15:50.413Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-13T02:15:51.006Z] Sending build context to Docker daemon 14.68MB [2022-10-13T02:15:51.006Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T02:15:51.006Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-13T02:15:51.006Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-13T02:15:51.006Z] 9b18e9b68314: Pulling fs layer [2022-10-13T02:15:51.006Z] d32db5db7311: Pulling fs layer [2022-10-13T02:15:51.006Z] d0c4b47475fc: Pulling fs layer [2022-10-13T02:15:51.006Z] 5831b945b038: Pulling fs layer [2022-10-13T02:15:51.006Z] 86bbec2aaacd: Pulling fs layer [2022-10-13T02:15:51.006Z] e10730c5d714: Pulling fs layer [2022-10-13T02:15:51.006Z] 5dd5c2283517: Pulling fs layer [2022-10-13T02:15:51.006Z] d5ac0230b979: Pulling fs layer [2022-10-13T02:15:51.006Z] 5831b945b038: Waiting [2022-10-13T02:15:51.006Z] 86bbec2aaacd: Waiting [2022-10-13T02:15:51.006Z] e10730c5d714: Waiting [2022-10-13T02:15:51.006Z] d5ac0230b979: Waiting [2022-10-13T02:15:51.006Z] 5dd5c2283517: Waiting [2022-10-13T02:15:51.006Z] d0c4b47475fc: Verifying Checksum [2022-10-13T02:15:51.006Z] d0c4b47475fc: Download complete [2022-10-13T02:15:51.006Z] d32db5db7311: Verifying Checksum [2022-10-13T02:15:51.006Z] d32db5db7311: Download complete [2022-10-13T02:15:51.006Z] 86bbec2aaacd: Verifying Checksum [2022-10-13T02:15:51.006Z] 86bbec2aaacd: Download complete [2022-10-13T02:15:51.006Z] e10730c5d714: Verifying Checksum [2022-10-13T02:15:51.006Z] e10730c5d714: Download complete [2022-10-13T02:15:51.006Z] 9b18e9b68314: Verifying Checksum [2022-10-13T02:15:51.006Z] 9b18e9b68314: Download complete [2022-10-13T02:15:51.983Z] 9b18e9b68314: Pull complete [2022-10-13T02:15:52.257Z] d5ac0230b979: Verifying Checksum [2022-10-13T02:15:52.257Z] d5ac0230b979: Download complete [2022-10-13T02:15:52.527Z] d32db5db7311: Pull complete [2022-10-13T02:15:52.802Z] d0c4b47475fc: Pull complete [2022-10-13T02:15:53.393Z] 5dd5c2283517: Verifying Checksum [2022-10-13T02:15:53.393Z] 5dd5c2283517: Download complete [2022-10-13T02:15:53.996Z] 5831b945b038: Download complete [2022-10-13T02:16:06.310Z] 5831b945b038: Pull complete [2022-10-13T02:16:06.310Z] 86bbec2aaacd: Pull complete [2022-10-13T02:16:06.310Z] e10730c5d714: Pull complete [2022-10-13T02:16:11.656Z] 5dd5c2283517: Pull complete [2022-10-13T02:16:13.081Z] d5ac0230b979: Pull complete [2022-10-13T02:16:13.081Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-13T02:16:13.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-13T02:16:13.081Z] ---> 59b3b1a385d4 [2022-10-13T02:16:13.081Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-13T02:16:15.020Z] ---> Running in 0ff3e52231b9 [2022-10-13T02:16:15.020Z] Removing intermediate container 0ff3e52231b9 [2022-10-13T02:16:15.020Z] ---> e42bceea2aa0 [2022-10-13T02:16:15.020Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-13T02:16:15.020Z] ---> Running in 61f118c0d6e4 [2022-10-13T02:16:15.287Z] Removing intermediate container 61f118c0d6e4 [2022-10-13T02:16:15.287Z] ---> 12fbe2c37ea9 [2022-10-13T02:16:15.287Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-13T02:16:15.287Z] ---> Running in 74d36c6fe33d [2022-10-13T02:16:15.559Z] Removing intermediate container 74d36c6fe33d [2022-10-13T02:16:15.559Z] ---> 8cebc67eeaed [2022-10-13T02:16:15.559Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-13T02:16:15.822Z] ---> Running in cfb9501c71eb [2022-10-13T02:16:16.088Z] Removing intermediate container cfb9501c71eb [2022-10-13T02:16:16.088Z] ---> e1d25e370850 [2022-10-13T02:16:16.088Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-13T02:16:16.088Z] ---> Running in fd7588d10135 [2022-10-13T02:16:16.357Z] Removing intermediate container fd7588d10135 [2022-10-13T02:16:16.357Z] ---> cfa8ec912f93 [2022-10-13T02:16:16.357Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T02:16:16.357Z] ---> Running in c45504aa24e5 [2022-10-13T02:16:18.319Z] Removing intermediate container c45504aa24e5 [2022-10-13T02:16:18.319Z] ---> 257382f066c5 [2022-10-13T02:16:18.319Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-13T02:16:18.319Z] ---> Running in af4a2632c704 [2022-10-13T02:16:19.281Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T02:16:19.863Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T02:16:20.825Z] OK: 221 MiB in 51 packages [2022-10-13T02:16:21.799Z] Removing intermediate container af4a2632c704 [2022-10-13T02:16:21.799Z] ---> 506a496b7c44 [2022-10-13T02:16:21.799Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-13T02:16:21.799Z] ---> Running in eafdf97b1a74 [2022-10-13T02:16:22.068Z] Removing intermediate container eafdf97b1a74 [2022-10-13T02:16:22.068Z] ---> 3aff6784c908 [2022-10-13T02:16:22.068Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-13T02:16:22.654Z] ---> 4594e44040fc [2022-10-13T02:16:22.654Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T02:16:22.654Z] ---> Running in f5189b0b234e [2022-10-13T02:17:19.076Z] Removing intermediate container f5189b0b234e [2022-10-13T02:17:19.076Z] ---> e797bff1f7b4 [2022-10-13T02:17:19.076Z] Step 13/14 : COPY . . [2022-10-13T02:17:19.076Z] ---> f900a0041357 [2022-10-13T02:17:19.076Z] Step 14/14 : RUN ${MAKE} [2022-10-13T02:17:19.076Z] ---> Running in f34c56df9724 [2022-10-13T02:17:19.076Z] noop [2022-10-13T02:17:19.076Z] Removing intermediate container f34c56df9724 [2022-10-13T02:17:19.076Z] ---> e5b686eb8b61 [2022-10-13T02:17:19.076Z] Successfully built e5b686eb8b61 [2022-10-13T02:17:19.076Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:17:19.432Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T02:17:19.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T02:17:19.605Z] prd-ubuntu20.04-docker-arm64-4c-16g-7787 does not seem to be running inside a container [2022-10-13T02:17:19.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/21 -v /w/workspace/device-onvif-camera/21:/w/workspace/device-onvif-camera/21:rw,z -v /w/workspace/device-onvif-camera/21@tmp:/w/workspace/device-onvif-camera/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-13T02:17:21.236Z] $ docker top f232f7b834670f57bc4e50fef377a86f406fea8f22da5819dac84ab53eb65d0f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T02:17:22.073Z] + go version [2022-10-13T02:17:22.073Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-13T02:17:22.088Z] $ docker stop --time=1 f232f7b834670f57bc4e50fef377a86f406fea8f22da5819dac84ab53eb65d0f [2022-10-13T02:17:23.680Z] $ docker rm -f f232f7b834670f57bc4e50fef377a86f406fea8f22da5819dac84ab53eb65d0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:17:24.240Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T02:17:24.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T02:17:24.415Z] prd-ubuntu20.04-docker-arm64-4c-16g-7787 does not seem to be running inside a container [2022-10-13T02:17:24.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/21 -v /w/workspace/device-onvif-camera/21:/w/workspace/device-onvif-camera/21:rw,z -v /w/workspace/device-onvif-camera/21@tmp:/w/workspace/device-onvif-camera/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-13T02:17:25.612Z] $ docker top 0dbd277972592aca2c88550b932a2bff8c7ac26ca8d59c9f87bd6c66ac6a5248 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T02:17:26.113Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/21 [Pipeline] fileExists [Pipeline] sh [2022-10-13T02:17:26.441Z] + make test [2022-10-13T02:17:26.711Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-13T02:17:28.661Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-13T02:19:05.332Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-13T02:19:05.332Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.200s coverage: 28.2% of statements [2022-10-13T02:19:05.332Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-13T02:19:23.578Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.570s coverage: 86.5% of statements [2022-10-13T02:19:23.578Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-13T02:19:23.578Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-13T02:19:50.264Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T02:19:50.264Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T02:19:50.264Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-13T02:19:50.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T02:19:50.300Z] $ docker stop --time=1 0dbd277972592aca2c88550b932a2bff8c7ac26ca8d59c9f87bd6c66ac6a5248 [2022-10-13T02:19:52.445Z] $ docker rm -f 0dbd277972592aca2c88550b932a2bff8c7ac26ca8d59c9f87bd6c66ac6a5248 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T02:19:53.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T02:19:53.608Z] Warning: overwriting stash ‘coverage-report’ [2022-10-13T02:19:55.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T02:19:55.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T02:19:56.119Z] + ls -al . [2022-10-13T02:19:56.119Z] total 232 [2022-10-13T02:19:56.119Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 13 02:17 . [2022-10-13T02:19:56.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 02:15 .. [2022-10-13T02:19:56.119Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 02:15 .git [2022-10-13T02:19:56.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 02:15 .github [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 13 02:15 .gitignore [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 02:15 .golangci.yml [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 13 02:15 Attribution.txt [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 13 02:15 CHANGELOG.md [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 13 02:15 Dockerfile [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 02:15 GOVERNANCE.md [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 13 02:15 Jenkinsfile [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 13 02:15 LICENSE [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 13 02:15 Makefile [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 13 02:15 OWNERS.md [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 13 02:15 README.md [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 02:13 VERSION [2022-10-13T02:19:56.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 02:15 bin [2022-10-13T02:19:56.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 02:15 cmd [2022-10-13T02:19:56.119Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 13 02:19 coverage.out [2022-10-13T02:19:56.119Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 02:15 doc [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 13 02:15 go.mod [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 13 02:15 go.sum [2022-10-13T02:19:56.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 02:15 internal [2022-10-13T02:19:56.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 02:15 snap [2022-10-13T02:19:56.119Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 13 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:19:56.457Z] + 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=763cd0a2806cbbf61bd992f6b7d9723d9827b1c1 --label arch=arm64 --label version=0.0.0 . [2022-10-13T02:19:57.063Z] Sending build context to Docker daemon 14.76MB [2022-10-13T02:19:57.063Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T02:19:57.063Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-13T02:19:57.063Z] ---> e5b686eb8b61 [2022-10-13T02:19:57.063Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-13T02:19:57.332Z] ---> Running in f7d0604641d6 [2022-10-13T02:19:57.602Z] Removing intermediate container f7d0604641d6 [2022-10-13T02:19:57.602Z] ---> 94c40c2c912c [2022-10-13T02:19:57.602Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-13T02:19:57.602Z] ---> Running in fd6ee8510389 [2022-10-13T02:19:58.022Z] Removing intermediate container fd6ee8510389 [2022-10-13T02:19:58.022Z] ---> e4b449aa5a27 [2022-10-13T02:19:58.022Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-13T02:19:58.022Z] ---> Running in 0396b1023606 [2022-10-13T02:19:58.673Z] Removing intermediate container 0396b1023606 [2022-10-13T02:19:58.673Z] ---> 0d7bc73ed614 [2022-10-13T02:19:58.673Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-13T02:19:58.673Z] ---> Running in 004bbfd5f962 [2022-10-13T02:19:58.956Z] Removing intermediate container 004bbfd5f962 [2022-10-13T02:19:58.956Z] ---> d0395dc0126f [2022-10-13T02:19:58.956Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-13T02:19:59.238Z] ---> Running in 216a38aa910c [2022-10-13T02:19:59.526Z] Removing intermediate container 216a38aa910c [2022-10-13T02:19:59.526Z] ---> fb4cf76fb3de [2022-10-13T02:19:59.526Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T02:19:59.526Z] ---> Running in a9dad7c2bfb6 [2022-10-13T02:20:01.549Z] Removing intermediate container a9dad7c2bfb6 [2022-10-13T02:20:01.549Z] ---> 59f0ed729490 [2022-10-13T02:20:01.549Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-13T02:20:01.549Z] ---> Running in 319438b6536d [2022-10-13T02:20:02.526Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T02:20:03.494Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T02:20:04.458Z] OK: 221 MiB in 51 packages [2022-10-13T02:20:05.428Z] Removing intermediate container 319438b6536d [2022-10-13T02:20:05.428Z] ---> 4c2fe54246ab [2022-10-13T02:20:05.428Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-13T02:20:05.428Z] ---> Running in 5eab07cb8f80 [2022-10-13T02:20:05.701Z] Removing intermediate container 5eab07cb8f80 [2022-10-13T02:20:05.701Z] ---> 4e5f4de35fee [2022-10-13T02:20:05.701Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-13T02:20:07.126Z] ---> 83027b4d0ba6 [2022-10-13T02:20:07.126Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T02:20:07.126Z] ---> Running in a224c043392c [2022-10-13T02:20:10.485Z] Removing intermediate container a224c043392c [2022-10-13T02:20:10.485Z] ---> a17da323b84f [2022-10-13T02:20:10.485Z] Step 13/28 : COPY . . [2022-10-13T02:20:12.450Z] ---> 14d2b385939d [2022-10-13T02:20:12.450Z] Step 14/28 : RUN ${MAKE} [2022-10-13T02:20:12.450Z] ---> Running in 5c8dd510a6ae [2022-10-13T02:20:13.423Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-13T02:22:35.120Z] Removing intermediate container 5c8dd510a6ae [2022-10-13T02:22:35.120Z] ---> 7be2a26e5aa1 [2022-10-13T02:22:35.120Z] Step 15/28 : FROM alpine:3.16 [2022-10-13T02:22:35.120Z] 3.16: Pulling from library/alpine [2022-10-13T02:22:35.120Z] 9b18e9b68314: Already exists [2022-10-13T02:22:35.388Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T02:22:35.388Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T02:22:35.388Z] ---> a6215f271958 [2022-10-13T02:22:35.388Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-13T02:22:35.388Z] ---> Running in b1fb324c4a40 [2022-10-13T02:22:35.661Z] Removing intermediate container b1fb324c4a40 [2022-10-13T02:22:35.661Z] ---> da5cb91161d3 [2022-10-13T02:22:35.661Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-13T02:22:35.929Z] ---> Running in 4294af74caeb [2022-10-13T02:22:36.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T02:22:37.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T02:22:38.119Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-13T02:22:38.119Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-13T02:22:38.119Z] (3/21) Installing readline (8.1.2-r0) [2022-10-13T02:22:38.119Z] (4/21) Installing bash (5.1.16-r2) [2022-10-13T02:22:38.119Z] Executing bash-5.1.16-r2.post-install [2022-10-13T02:22:38.119Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-13T02:22:38.385Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-13T02:22:38.385Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-13T02:22:38.385Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-13T02:22:38.385Z] (9/21) Installing curl (7.83.1-r3) [2022-10-13T02:22:38.385Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-13T02:22:38.385Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-13T02:22:38.385Z] (12/21) Installing jq (1.6-r1) [2022-10-13T02:22:38.385Z] (13/21) Installing popt (1.18-r0) [2022-10-13T02:22:38.385Z] (14/21) Installing pcre (8.45-r2) [2022-10-13T02:22:38.385Z] (15/21) Installing slang (2.3.2-r0) [2022-10-13T02:22:38.653Z] (16/21) Installing newt (0.52.21-r2) [2022-10-13T02:22:38.653Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T02:22:38.920Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-13T02:22:38.920Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T02:22:38.920Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-13T02:22:38.920Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-13T02:22:38.920Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T02:22:38.920Z] Executing ca-certificates-20220614-r0.trigger [2022-10-13T02:22:39.187Z] OK: 16 MiB in 35 packages [2022-10-13T02:22:41.135Z] Removing intermediate container 4294af74caeb [2022-10-13T02:22:41.135Z] ---> eb65ad38e5d6 [2022-10-13T02:22:41.135Z] Step 18/28 : WORKDIR / [2022-10-13T02:22:41.135Z] ---> Running in 909e87dd29d0 [2022-10-13T02:22:41.135Z] Removing intermediate container 909e87dd29d0 [2022-10-13T02:22:41.135Z] ---> 8e16dc89ea83 [2022-10-13T02:22:41.135Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-13T02:22:42.547Z] ---> de32d8577954 [2022-10-13T02:22:42.547Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-13T02:22:42.815Z] ---> a5c8cea1bf63 [2022-10-13T02:22:42.815Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-13T02:22:43.404Z] ---> 752bc187d817 [2022-10-13T02:22:43.404Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-13T02:22:43.986Z] ---> 108eada25b3e [2022-10-13T02:22:43.986Z] Step 23/28 : EXPOSE 59984 [2022-10-13T02:22:43.986Z] ---> Running in 28f6fb3ba2b7 [2022-10-13T02:22:44.252Z] Removing intermediate container 28f6fb3ba2b7 [2022-10-13T02:22:44.252Z] ---> cd2002715635 [2022-10-13T02:22:44.252Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-13T02:22:44.252Z] ---> Running in 16b08797227e [2022-10-13T02:22:44.518Z] Removing intermediate container 16b08797227e [2022-10-13T02:22:44.518Z] ---> dfb60a854954 [2022-10-13T02:22:44.518Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T02:22:44.518Z] ---> Running in 037cd900c810 [2022-10-13T02:22:44.784Z] Removing intermediate container 037cd900c810 [2022-10-13T02:22:44.784Z] ---> 1b9b82d64da3 [2022-10-13T02:22:44.784Z] Step 26/28 : LABEL arch=arm64 [2022-10-13T02:22:45.051Z] ---> Running in 23d43927404b [2022-10-13T02:22:45.051Z] Removing intermediate container 23d43927404b [2022-10-13T02:22:45.051Z] ---> 3635df1ddc5a [2022-10-13T02:22:45.051Z] Step 27/28 : LABEL git_sha=763cd0a2806cbbf61bd992f6b7d9723d9827b1c1 [2022-10-13T02:22:45.318Z] ---> Running in 7b3c9fa7890b [2022-10-13T02:22:45.584Z] Removing intermediate container 7b3c9fa7890b [2022-10-13T02:22:45.584Z] ---> 7f86f0cba20f [2022-10-13T02:22:45.584Z] Step 28/28 : LABEL version=0.0.0 [2022-10-13T02:22:45.584Z] ---> Running in 42b3de2eebcb [2022-10-13T02:22:45.848Z] Removing intermediate container 42b3de2eebcb [2022-10-13T02:22:45.848Z] ---> 02e0fc0e4672 [2022-10-13T02:22:45.848Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T02:22:45.848Z] Successfully built 02e0fc0e4672 [2022-10-13T02:22:45.848Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:22:46.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T02:22:46.272Z] [2022-10-13T02:22:46.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:22:46.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T02:22:46.596Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-13T02:22:46.596Z] 8998bd30e6a1: Pulling fs layer [2022-10-13T02:22:46.596Z] 04944245beec: Pulling fs layer [2022-10-13T02:22:46.596Z] 699f458cf7ca: Pulling fs layer [2022-10-13T02:22:46.596Z] 765212b225bb: Pulling fs layer [2022-10-13T02:22:46.596Z] f23df028b6ca: Pulling fs layer [2022-10-13T02:22:46.596Z] d65c8cfc05b1: Pulling fs layer [2022-10-13T02:22:46.596Z] 2437ff75d9bd: Pulling fs layer [2022-10-13T02:22:46.596Z] 765212b225bb: Waiting [2022-10-13T02:22:46.596Z] f23df028b6ca: Waiting [2022-10-13T02:22:46.596Z] 2437ff75d9bd: Waiting [2022-10-13T02:22:46.596Z] d65c8cfc05b1: Waiting [2022-10-13T02:22:46.868Z] 04944245beec: Verifying Checksum [2022-10-13T02:22:46.868Z] 04944245beec: Download complete [2022-10-13T02:22:46.868Z] 765212b225bb: Verifying Checksum [2022-10-13T02:22:46.868Z] 765212b225bb: Download complete [2022-10-13T02:22:46.868Z] f23df028b6ca: Verifying Checksum [2022-10-13T02:22:46.868Z] f23df028b6ca: Download complete [2022-10-13T02:22:46.868Z] d65c8cfc05b1: Verifying Checksum [2022-10-13T02:22:46.868Z] d65c8cfc05b1: Download complete [2022-10-13T02:22:46.868Z] 699f458cf7ca: Verifying Checksum [2022-10-13T02:22:47.138Z] 699f458cf7ca: Download complete [2022-10-13T02:22:47.405Z] 8998bd30e6a1: Verifying Checksum [2022-10-13T02:22:47.405Z] 8998bd30e6a1: Download complete [2022-10-13T02:22:49.989Z] 2437ff75d9bd: Download complete [2022-10-13T02:22:51.417Z] 8998bd30e6a1: Pull complete [2022-10-13T02:22:51.685Z] 04944245beec: Pull complete [2022-10-13T02:22:53.097Z] 699f458cf7ca: Pull complete [2022-10-13T02:22:53.365Z] 765212b225bb: Pull complete [2022-10-13T02:22:53.954Z] f23df028b6ca: Pull complete [2022-10-13T02:22:54.221Z] d65c8cfc05b1: Pull complete [2022-10-13T02:23:09.204Z] 2437ff75d9bd: Pull complete [2022-10-13T02:23:09.204Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-13T02:23:09.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T02:23:09.204Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T02:23:09.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-7787 does not seem to be running inside a container [2022-10-13T02:23:09.428Z] $ 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/21 -v /w/workspace/device-onvif-camera/21:/w/workspace/device-onvif-camera/21:rw,z -v /w/workspace/device-onvif-camera/21@tmp:/w/workspace/device-onvif-camera/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-13T02:23:11.963Z] $ docker top 70bec1d28379a4f513fd17fbef6c5c696254e641c67d8e738c395c8b6731c197 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:23:12.473Z] ---> job-cost.sh [2022-10-13T02:23:12.738Z] lf-activate-venv: SKIPPING [2022-10-13T02:23:12.738Z] INFO: No Stack... [2022-10-13T02:23:13.006Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-13T02:23:13.968Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T02:23:14.287Z] + + cat /w/workspace/device-onvif-camera/21/archives/cost.csvcut [2022-10-13T02:23:14.287Z] -d, -f6 [Pipeline] lock [2022-10-13T02:23:14.348Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-21-stack-cost] [2022-10-13T02:23:14.355Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-21-stack-cost] did not exist. Created. [2022-10-13T02:23:14.355Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T02:23:14.692Z] /w/workspace/device-onvif-camera/21@tmp/durable-598fe214/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-13T02:23:15.033Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-13T02:23:15.321Z] Warning: overwriting stash ‘stack-cost’ [2022-10-13T02:23:15.372Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T02:23:15.379Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T02:23:15.393Z] $ docker stop --time=1 70bec1d28379a4f513fd17fbef6c5c696254e641c67d8e738c395c8b6731c197 [2022-10-13T02:23:16.891Z] $ docker rm -f 70bec1d28379a4f513fd17fbef6c5c696254e641c67d8e738c395c8b6731c197 [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 [2022-10-13T02:23:17.298Z] provisioning config files... [2022-10-13T02:23:17.306Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14335561800955434681tmp [Pipeline] { [Pipeline] sh [2022-10-13T02:23:17.599Z] + set +x [2022-10-13T02:23:17.600Z] + curl -s https://codecov.io/bash [2022-10-13T02:23:17.600Z] + bash -s -- [2022-10-13T02:23:17.600Z] [2022-10-13T02:23:17.600Z] _____ _ [2022-10-13T02:23:17.600Z] / ____| | | [2022-10-13T02:23:17.600Z] | | ___ __| | ___ ___ _____ __ [2022-10-13T02:23:17.600Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-13T02:23:17.600Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-13T02:23:17.600Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-13T02:23:17.600Z] Bash-1.0.6 [2022-10-13T02:23:17.600Z] [2022-10-13T02:23:17.600Z] [2022-10-13T02:23:17.600Z] ==> git version 2.25.1 found [2022-10-13T02:23:17.600Z] ==> 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 [2022-10-13T02:23:17.600Z] Release-Date: 2020-01-08 [2022-10-13T02:23:17.600Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-13T02:23:17.600Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-13T02:23:17.600Z] ==> Jenkins CI detected. [2022-10-13T02:23:17.600Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-10-13T02:23:17.600Z] project root: . [2022-10-13T02:23:17.600Z] --> token set from env [2022-10-13T02:23:17.600Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-13T02:23:17.600Z] ==> Running gcov in . (disable via -X gcov) [2022-10-13T02:23:17.600Z] ==> Python coveragepy not found [2022-10-13T02:23:17.600Z] ==> Searching for coverage reports in: [2022-10-13T02:23:17.600Z] + . [2022-10-13T02:23:17.600Z] -> Found 1 reports [2022-10-13T02:23:17.600Z] ==> Detecting git/mercurial file structure [2022-10-13T02:23:17.859Z] ==> Reading reports [2022-10-13T02:23:17.859Z] + ./coverage.out bytes=78636 [2022-10-13T02:23:17.859Z] ==> Appending adjustments [2022-10-13T02:23:17.859Z] https://docs.codecov.io/docs/fixing-reports [2022-10-13T02:23:17.859Z] + Found adjustments [2022-10-13T02:23:17.859Z] ==> Gzipping contents [2022-10-13T02:23:17.859Z] 12K /tmp/codecov.nTZYjH.gz [2022-10-13T02:23:17.859Z] ==> Uploading reports [2022-10-13T02:23:17.859Z] url: https://codecov.io [2022-10-13T02:23:17.859Z] query: branch=PR-125&commit=fc0f941cea49b7576efc4e5fd65ecb130e160952&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-13T02:23:17.859Z] -> Pinging Codecov [2022-10-13T02:23:17.859Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=fc0f941cea49b7576efc4e5fd65ecb130e160952&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-13T02:23:18.116Z] -> Uploading to [2022-10-13T02:23:18.116Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-13/F29A59C45E3A92E06B3E522C9905F8EF/fc0f941cea49b7576efc4e5fd65ecb130e160952/9ce3317d-c749-4eaf-bbe7-54894d84c1ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221013T022318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4a2185b425d0e056a750eea0e842e5e7b11c5d54ef29490cc3297efcacc2eb5 [2022-10-13T02:23:18.117Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T02:23:18.117Z] Dload Upload Total Spent Left Speed [2022-10-13T02:23:18.375Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10749 0 0 100 10749 0 49082 --:--:-- --:--:-- --:--:-- 49082 100 10749 0 0 100 10749 0 49082 --:--:-- --:--:-- --:--:-- 48859 [2022-10-13T02:23:18.375Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/fc0f941cea49b7576efc4e5fd65ecb130e160952 [Pipeline] } [2022-10-13T02:23:18.382Z] 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 [2022-10-13T02:23:19.082Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-10-13T02:23:19.082Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-13T02:23:19.082Z] total 16 [2022-10-13T02:23:19.082Z] drwxr-xr-x 3 root root 4096 Oct 13 02:14 . [2022-10-13T02:23:19.082Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 02:14 .. [2022-10-13T02:23:19.082Z] drwxr-xr-x 2 root root 4096 Oct 13 02:14 cost [2022-10-13T02:23:19.082Z] -rw-r--r-- 1 root root 92 Oct 13 02:14 cost.csv [2022-10-13T02:23:19.082Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-13T02:23:19.082Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-13T02:23:19.082Z] total 16 [2022-10-13T02:23:19.082Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 02:14 . [2022-10-13T02:23:19.082Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 02:14 .. [2022-10-13T02:23:19.082Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 02:14 cost [2022-10-13T02:23:19.082Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 13 02:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:23:19.371Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:23:20.226Z] ---> package-listing.sh [2022-10-13T02:23:20.226Z] ++ facter osfamily [2022-10-13T02:23:20.226Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-13T02:23:20.485Z] + OS_FAMILY=debian [2022-10-13T02:23:20.485Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-10-13T02:23:20.485Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-13T02:23:20.485Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-13T02:23:20.485Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-13T02:23:20.485Z] + PACKAGES=/tmp/packages_start.txt [2022-10-13T02:23:20.485Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-13T02:23:20.485Z] + PACKAGES=/tmp/packages_end.txt [2022-10-13T02:23:20.485Z] + case "${OS_FAMILY}" in [2022-10-13T02:23:20.485Z] + dpkg -l [2022-10-13T02:23:20.485Z] + grep '^ii' [2022-10-13T02:23:20.485Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-13T02:23:20.485Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-13T02:23:20.485Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-13T02:23:20.485Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-13T02:23:20.485Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-10-13T02:23:20.485Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-10-13T02:23:20.492Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-13T02:23:20.765Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T02:23:21.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T02:23:21.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T02:23:21.381Z] prd-ubuntu20.04-docker-8c-8g-7786 does not seem to be running inside a container [2022-10-13T02:23:21.416Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-13T02:23:21.617Z] $ docker top d5f157ce59599800eb139026a2b80420ceb3e375a38132246f8731d688c22ba4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T02:23:21.970Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-13T02:23:22.260Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-13T02:23:22.556Z] + ls /var/log/sa-host [2022-10-13T02:23:22.556Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T02:23:22.770Z] provisioning config files... [2022-10-13T02:23:22.778Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7619384862506005498tmp [Pipeline] { [Pipeline] echo [2022-10-13T02:23:22.795Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:23:23.084Z] ---> create-netrc.sh [Pipeline] } [2022-10-13T02:23:23.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:23:23.431Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-13T02:23:23.442Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:23:23.727Z] ---> sudo-logs.sh [2022-10-13T02:23:23.727Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-13T02:23:23.763Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:23:24.049Z] ---> job-cost.sh [2022-10-13T02:23:24.049Z] lf-activate-venv: SKIPPING [2022-10-13T02:23:24.049Z] DEBUG: total: 0.2199999988079071 [2022-10-13T02:23:24.049Z] INFO: Retrieving Stack Cost... [2022-10-13T02:23:24.617Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T02:23:24.877Z] INFO: Archiving Costs [Pipeline] echo [2022-10-13T02:23:24.889Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T02:23:25.173Z] ---> logs-deploy.sh [2022-10-13T02:23:25.174Z] lf-activate-venv: SKIPPING [2022-10-13T02:23:25.174Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/21 [2022-10-13T02:23:25.174Z] INFO: archiving workspace using pattern(s): [2022-10-13T02:23:26.112Z] Archives upload complete. [2022-10-13T02:23:26.372Z] INFO: archiving logs to Nexus