Push event to branch issue-76 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 88e792a8ced5b88c1c97e5c381531d049eb9b146 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-ssh2091446160510779708.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5546423403204856369.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-76/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-76/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16327071428350476890.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-76/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2741297650820025742.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16758764612259369968.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-76/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-76/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7430970045396055447.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1113 in /w/workspace/dry_device-onvif-camera_issue-76 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 88e792a8ced5b88c1c97e5c381531d049eb9b146 (issue-76) Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/dry_device-onvif-camera_issue-76 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88e792a8ced5b88c1c97e5c381531d049eb9b146 # timeout=10 Commit message: "fix: Remove unused DisconnectDevice func" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:47:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:47:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:47:27 ========================================================= 04:47:27 EdgeX Global Pipelines Version Info 04:47:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:47:28 ------------------- 04:47:28 stable info: 04:47:28 ------------------- 04:47:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:47:28 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 04:47:28 Message: update stable to v1.0.232 04:47:28 ------------------- 04:47:28 experimental info: 04:47:28 ------------------- 04:47:28 Commited By: **** collab-it+edgex@linuxfoundation.org 04:47:28 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 04:47:28 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:47:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = issue-76 [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = issue-76 [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = issue-76 [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88e792a8ced5b88c1c97e5c381531d049eb9b146 [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88e792a [Pipeline] echo 04:47:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:47:30 provisioning config files... 04:47:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-76@tmp/config261385956032277578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:30 ---> docker-login.sh 04:47:30 nexus3.edgexfoundry.org:10001 04:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:31 Configure a credential helper to remove this warning. See 04:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:31 04:47:31 Login Succeeded 04:47:31 nexus3.edgexfoundry.org:10002 04:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:31 Configure a credential helper to remove this warning. See 04:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:31 04:47:31 Login Succeeded 04:47:31 nexus3.edgexfoundry.org:10003 04:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:31 Configure a credential helper to remove this warning. See 04:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:31 04:47:31 Login Succeeded 04:47:31 nexus3.edgexfoundry.org:10004 04:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:31 Configure a credential helper to remove this warning. See 04:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:31 04:47:31 Login Succeeded 04:47:31 docker.io 04:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:32 Configure a credential helper to remove this warning. See 04:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:32 04:47:32 Login Succeeded 04:47:32 ---> docker-login.sh ends [Pipeline] } 04:47:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:47:32 + git rev-list -1 --merges 88e792a8ced5b88c1c97e5c381531d049eb9b146~1..88e792a8ced5b88c1c97e5c381531d049eb9b146 [Pipeline] echo 04:47:32 -----------> git rev-list -1 --merges 88e792a8ced5b88c1c97e5c381531d049eb9b146~1..88e792a8ced5b88c1c97e5c381531d049eb9b146 88e792a8ced5b88c1c97e5c381531d049eb9b146 [false] [Pipeline] sh 04:47:33 + git log --format=format:%s -1 88e792a8ced5b88c1c97e5c381531d049eb9b146 [Pipeline] echo 04:47:33 ========================================================= 04:47:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:47:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:47:33 + git log --format=format:%s -1 88e792a8ced5b88c1c97e5c381531d049eb9b146 [Pipeline] echo 04:47:33 [semverPrep] GIT_COMMIT: 88e792a8ced5b88c1c97e5c381531d049eb9b146, Commit Message: fix: Remove unused DisconnectDevice func [Pipeline] echo 04:47:33 [semverPrep] This is not a build commit. [Pipeline] sh 04:47:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:47:34 + grep -v github /etc/ssh/ssh_known_hosts 04:47:34 + [ -e /tmp/ssh_known_hosts ] 04:47:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:47:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:47:34 + sudo tee -a /etc/ssh/ssh_known_hosts 04:47:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:47:34 04:47:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:47:35 0.1.4: Pulling from edgex-devops/py-git-semver 04:47:35 42c077c10790: Pulling fs layer 04:47:35 f63e77b7563a: Pulling fs layer 04:47:35 bd5fdadae976: Pulling fs layer 04:47:35 205491f53016: Pulling fs layer 04:47:35 df18705c85c3: Pulling fs layer 04:47:35 bdb3f477010e: Pulling fs layer 04:47:35 c8a8fc8e1c8f: Pulling fs layer 04:47:35 2c6e9b1d212d: Pulling fs layer 04:47:35 bdb8f0575790: Pulling fs layer 04:47:35 386e3cb2ff24: Pulling fs layer 04:47:35 2343380bae48: Pulling fs layer 04:47:35 205491f53016: Waiting 04:47:35 bdb3f477010e: Waiting 04:47:35 c8a8fc8e1c8f: Waiting 04:47:35 386e3cb2ff24: Waiting 04:47:35 df18705c85c3: Waiting 04:47:35 2343380bae48: Waiting 04:47:35 2c6e9b1d212d: Waiting 04:47:35 bdb8f0575790: Waiting 04:47:35 f63e77b7563a: Verifying Checksum 04:47:35 f63e77b7563a: Download complete 04:47:35 205491f53016: Verifying Checksum 04:47:35 205491f53016: Download complete 04:47:35 bd5fdadae976: Verifying Checksum 04:47:35 bd5fdadae976: Download complete 04:47:35 df18705c85c3: Verifying Checksum 04:47:35 df18705c85c3: Download complete 04:47:35 bdb3f477010e: Verifying Checksum 04:47:35 bdb3f477010e: Download complete 04:47:35 2c6e9b1d212d: Download complete 04:47:35 bdb8f0575790: Download complete 04:47:35 386e3cb2ff24: Verifying Checksum 04:47:35 386e3cb2ff24: Download complete 04:47:35 2343380bae48: Download complete 04:47:35 42c077c10790: Download complete 04:47:35 c8a8fc8e1c8f: Download complete 04:47:36 42c077c10790: Pull complete 04:47:36 f63e77b7563a: Pull complete 04:47:37 bd5fdadae976: Pull complete 04:47:37 205491f53016: Pull complete 04:47:37 df18705c85c3: Pull complete 04:47:37 bdb3f477010e: Pull complete 04:47:39 c8a8fc8e1c8f: Pull complete 04:47:39 2c6e9b1d212d: Pull complete 04:47:39 bdb8f0575790: Pull complete 04:47:40 386e3cb2ff24: Pull complete 04:47:40 2343380bae48: Pull complete 04:47:40 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:47:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:47:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:40 prd-ubuntu20.04-docker-8c-8g-1113 does not seem to be running inside a container 04:47:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_device-onvif-camera_issue-76 -v /w/workspace/dry_device-onvif-camera_issue-76:/w/workspace/dry_device-onvif-camera_issue-76:rw,z -v /w/workspace/dry_device-onvif-camera_issue-76@tmp:/w/workspace/dry_device-onvif-camera_issue-76@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:47:41 $ docker top 60c9d79933f79d8dc2fd7454ec5031b48755d01917e76488276125568cd56807 -eo pid,comm 04:47:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:47:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:47:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:47:42 [ssh-agent] Looking for ssh-agent implementation... 04:47:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:47:42 $ docker exec 60c9d79933f79d8dc2fd7454ec5031b48755d01917e76488276125568cd56807 ssh-agent 04:47:42 SSH_AUTH_SOCK=/tmp/ssh-fDxLMmO9RRnQ/agent.33 04:47:42 SSH_AGENT_PID=39 04:47:42 Running ssh-add (command line suppressed) 04:47:42 Identity added: /w/workspace/dry_device-onvif-camera_issue-76@tmp/private_key_5512632004868969890.key (/w/workspace/dry_device-onvif-camera_issue-76@tmp/private_key_5512632004868969890.key) 04:47:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:47:42 + git tag --points-at HEAD [Pipeline] } 04:47:42 $ docker exec --env ******** --env ******** 60c9d79933f79d8dc2fd7454ec5031b48755d01917e76488276125568cd56807 ssh-agent -k 04:47:43 unset SSH_AUTH_SOCK; 04:47:43 unset SSH_AGENT_PID; 04:47:43 echo Agent pid 39 killed; 04:47:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:47:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:47:43 [ssh-agent] Looking for ssh-agent implementation... 04:47:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:47:43 $ docker exec 60c9d79933f79d8dc2fd7454ec5031b48755d01917e76488276125568cd56807 ssh-agent 04:47:43 SSH_AUTH_SOCK=/tmp/ssh-gdk7fTDz6bCo/agent.72 04:47:43 SSH_AGENT_PID=78 04:47:43 Running ssh-add (command line suppressed) 04:47:43 Identity added: /w/workspace/dry_device-onvif-camera_issue-76@tmp/private_key_126299265225771332.key (/w/workspace/dry_device-onvif-camera_issue-76@tmp/private_key_126299265225771332.key) 04:47:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:47:43 + git semver init 04:47:44 2022-06-06 04:47:44,036 [run_init] DEBUG init version:0.0.0 force:False 04:47:44 2022-06-06 04:47:44,036 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_device-onvif-camera_issue-76/.semver 04:47:44 2022-06-06 04:47:44,037 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/dry_device-onvif-camera_issue-76/.semver 04:47:44 2022-06-06 04:47:44,037 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/dry_device-onvif-camera_issue-76/.semver'], cwd=/w/workspace/dry_device-onvif-camera_issue-76, universal_newlines=False, shell=None, istream=None) 04:47:45 2022-06-06 04:47:44,687 [append_file] DEBUG append to file:/w/workspace/dry_device-onvif-camera_issue-76/.git/info/exclude 04:47:45 2022-06-06 04:47:44,687 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_device-onvif-camera_issue-76/.semver/issue-76 with force:False 04:47:45 2022-06-06 04:47:44,688 [write_file] DEBUG write to file:/w/workspace/dry_device-onvif-camera_issue-76/.semver/issue-76 04:47:45 2022-06-06 04:47:44,692 [execute] INFO git cat-file --batch-check 04:47:45 2022-06-06 04:47:44,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_device-onvif-camera_issue-76/.semver, universal_newlines=False, shell=None, istream=) 04:47:45 2022-06-06 04:47:44,698 [execute] INFO git cat-file --batch 04:47:45 2022-06-06 04:47:44,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_device-onvif-camera_issue-76/.semver, universal_newlines=False, shell=None, istream=) 04:47:45 2022-06-06 04:47:44,703 [read_version] DEBUG read version from /w/workspace/dry_device-onvif-camera_issue-76/.semver/issue-76 04:47:45 0.0.0 [Pipeline] } 04:47:45 $ docker exec --env ******** --env ******** 60c9d79933f79d8dc2fd7454ec5031b48755d01917e76488276125568cd56807 ssh-agent -k 04:47:45 unset SSH_AUTH_SOCK; 04:47:45 unset SSH_AGENT_PID; 04:47:45 echo Agent pid 78 killed; 04:47:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:47:45 + git semver [Pipeline] } 04:47:45 $ docker stop --time=1 60c9d79933f79d8dc2fd7454ec5031b48755d01917e76488276125568cd56807 04:47:47 $ docker rm -f 60c9d79933f79d8dc2fd7454ec5031b48755d01917e76488276125568cd56807 [Pipeline] // withDockerContainer [Pipeline] sh 04:47:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:47:47 Stashed 1 file(s) [Pipeline] echo 04:47:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:47:48 provisioning config files... 04:47:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-76@tmp/config5613778113113802951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:48 ---> docker-login.sh 04:47:48 nexus3.edgexfoundry.org:10001 04:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:48 Configure a credential helper to remove this warning. See 04:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:48 04:47:48 Login Succeeded 04:47:48 nexus3.edgexfoundry.org:10002 04:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:49 Configure a credential helper to remove this warning. See 04:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:49 04:47:49 Login Succeeded 04:47:49 nexus3.edgexfoundry.org:10003 04:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:49 Configure a credential helper to remove this warning. See 04:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:49 04:47:49 Login Succeeded 04:47:49 nexus3.edgexfoundry.org:10004 04:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:49 Configure a credential helper to remove this warning. See 04:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:49 04:47:49 Login Succeeded 04:47:49 docker.io 04:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:49 Configure a credential helper to remove this warning. See 04:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:49 04:47:49 Login Succeeded 04:47:49 ---> docker-login.sh ends [Pipeline] } 04:47:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:47:49 [edgeX.isLTS] Checking if [issue-76] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:47:49 ========================================================= 04:47:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:47:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:47:50 Sending build context to Docker daemon 8.685MB 04:47:50 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 04:47:50 Step 2/13 : FROM ${BASE} AS builder 04:47:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:47:50 59bf1c3509f3: Pulling fs layer 04:47:50 666ba61612fd: Pulling fs layer 04:47:50 8ed8ca486205: Pulling fs layer 04:47:50 cc1cd167ecdc: Pulling fs layer 04:47:50 c516ae0d96e1: Pulling fs layer 04:47:50 684cea983483: Pulling fs layer 04:47:50 dd3240ac7de5: Pulling fs layer 04:47:50 b1e948a4e11c: Pulling fs layer 04:47:50 a8fd76ee1af6: Pulling fs layer 04:47:50 646ad004c059: Pulling fs layer 04:47:50 684cea983483: Waiting 04:47:50 dd3240ac7de5: Waiting 04:47:50 646ad004c059: Waiting 04:47:50 b1e948a4e11c: Waiting 04:47:50 a8fd76ee1af6: Waiting 04:47:50 cc1cd167ecdc: Waiting 04:47:50 c516ae0d96e1: Waiting 04:47:50 8ed8ca486205: Download complete 04:47:50 666ba61612fd: Download complete 04:47:50 c516ae0d96e1: Verifying Checksum 04:47:50 c516ae0d96e1: Download complete 04:47:50 684cea983483: Download complete 04:47:50 59bf1c3509f3: Verifying Checksum 04:47:50 59bf1c3509f3: Download complete 04:47:50 dd3240ac7de5: Verifying Checksum 04:47:50 dd3240ac7de5: Download complete 04:47:50 b1e948a4e11c: Verifying Checksum 04:47:50 b1e948a4e11c: Download complete 04:47:50 59bf1c3509f3: Pull complete 04:47:50 666ba61612fd: Pull complete 04:47:50 8ed8ca486205: Pull complete 04:47:51 646ad004c059: Verifying Checksum 04:47:51 646ad004c059: Download complete 04:47:51 a8fd76ee1af6: Verifying Checksum 04:47:51 cc1cd167ecdc: Verifying Checksum 04:47:51 cc1cd167ecdc: Download complete 04:47:55 cc1cd167ecdc: Pull complete 04:47:55 c516ae0d96e1: Pull complete 04:47:55 684cea983483: Pull complete 04:47:55 dd3240ac7de5: Pull complete 04:47:55 b1e948a4e11c: Pull complete 04:47:57 a8fd76ee1af6: Pull complete 04:47:58 646ad004c059: Pull complete 04:47:58 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:47:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:47:58 ---> 8f69c11f6b0c 04:47:58 Step 3/13 : ARG MAKE="make build" 04:47:59 ---> Running in 6a69f80327d6 04:47:59 Removing intermediate container 6a69f80327d6 04:47:59 ---> 2abe3f8b2308 04:47:59 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:47:59 ---> Running in 9af4642e7d35 04:48:00 Removing intermediate container 9af4642e7d35 04:48:00 ---> 390863a6a1bc 04:48:00 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:48:00 ---> Running in 93d93978cc64 04:48:00 Removing intermediate container 93d93978cc64 04:48:00 ---> acc6e39880f5 04:48:00 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:48:00 ---> Running in 70e8419fc2aa 04:48:00 Removing intermediate container 70e8419fc2aa 04:48:00 ---> b8dcbec2be25 04:48:00 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:00 ---> Running in 16ec4d93f129 04:48:00 Removing intermediate container 16ec4d93f129 04:48:00 ---> a74a1a47b267 04:48:00 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:00 ---> Running in 00e700a4924e 04:48:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:48:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:48:02 OK: 221 MiB in 52 packages 04:48:02 Removing intermediate container 00e700a4924e 04:48:02 ---> c1b1c1664e81 04:48:02 Step 9/13 : WORKDIR /device-onvif-camera 04:48:02 ---> Running in 8153eb4c567d 04:48:02 Removing intermediate container 8153eb4c567d 04:48:02 ---> ec43208757d3 04:48:02 Step 10/13 : COPY go.mod vendor* ./ 04:48:02 ---> 15f9a3f0e7f3 04:48:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:02 ---> Running in 195e6a04c8ca 04:48:03 Still waiting to schedule task 04:48:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:48:21 Removing intermediate container 195e6a04c8ca 04:48:21 ---> 0d31e97358ce 04:48:21 Step 12/13 : COPY . . 04:48:21 ---> 7d5166e2b22f 04:48:21 Step 13/13 : RUN ${MAKE} 04:48:21 ---> Running in d3616815175a 04:48:21 noop 04:48:21 Removing intermediate container d3616815175a 04:48:21 ---> 81102f77a51f 04:48:21 Successfully built 81102f77a51f 04:48:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:21 + docker inspect -f . ci-base-image-x86_64 04:48:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:21 prd-ubuntu20.04-docker-8c-8g-1113 does not seem to be running inside a container 04:48:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-76 -v /w/workspace/dry_device-onvif-camera_issue-76:/w/workspace/dry_device-onvif-camera_issue-76:rw,z -v /w/workspace/dry_device-onvif-camera_issue-76@tmp:/w/workspace/dry_device-onvif-camera_issue-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:48:22 $ docker top ca0c2132893b06385be244b2bd2f940d01d5999ad5f02930654a02b5b9ae52d9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:48:22 + go version 04:48:22 go version go1.17.7 linux/amd64 [Pipeline] } 04:48:22 $ docker stop --time=1 ca0c2132893b06385be244b2bd2f940d01d5999ad5f02930654a02b5b9ae52d9 04:48:23 $ docker rm -f ca0c2132893b06385be244b2bd2f940d01d5999ad5f02930654a02b5b9ae52d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:24 + docker inspect -f . ci-base-image-x86_64 04:48:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:24 prd-ubuntu20.04-docker-8c-8g-1113 does not seem to be running inside a container 04:48:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-76 -v /w/workspace/dry_device-onvif-camera_issue-76:/w/workspace/dry_device-onvif-camera_issue-76:rw,z -v /w/workspace/dry_device-onvif-camera_issue-76@tmp:/w/workspace/dry_device-onvif-camera_issue-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:48:25 $ docker top 7b755ac2ca2d3464028edaffcd0e1d668154ba541aaf1757c9962bea61bbbb6b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:48:25 + make test 04:48:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:48:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:48:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:48:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.014s coverage: 1.3% of statements 04:48:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.351s coverage: 13.8% of statements 04:48:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:48:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:48:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:48:52 ./bin/test-attribution-txt.sh [Pipeline] echo 04:48:53 [edgeX.isLTS] Checking if [issue-76] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:48:53 $ docker stop --time=1 7b755ac2ca2d3464028edaffcd0e1d668154ba541aaf1757c9962bea61bbbb6b 04:48:54 $ docker rm -f 7b755ac2ca2d3464028edaffcd0e1d668154ba541aaf1757c9962bea61bbbb6b [Pipeline] // withDockerContainer [Pipeline] sh 04:48:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:48:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:48:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:48:56 + ls -al . 04:48:56 total 232 04:48:56 drwxrwxr-x 9 jenkins jenkins 4096 Jun 6 04:48 . 04:48:56 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:47 .. 04:48:56 drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 04:47 .git 04:48:56 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 04:47 .github 04:48:56 -rw-rw-r-- 1 jenkins jenkins 352 Jun 6 04:47 .gitignore 04:48:56 -rw-rw-r-- 1 jenkins jenkins 42 Jun 6 04:47 .golangci.yml 04:48:56 drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 04:47 .semver 04:48:56 -rw-rw-r-- 1 jenkins jenkins 9099 Jun 6 04:47 Attribution.txt 04:48:56 -rw-rw-r-- 1 jenkins jenkins 189 Jun 6 04:47 CHANGELOG.md 04:48:56 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 6 04:47 Dockerfile 04:48:56 -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 04:47 GOVERNANCE.md 04:48:56 -rw-rw-r-- 1 jenkins jenkins 660 Jun 6 04:47 Jenkinsfile 04:48:56 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 6 04:47 LICENSE 04:48:56 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 6 04:47 Makefile 04:48:56 -rw-rw-r-- 1 jenkins jenkins 625 Jun 6 04:47 OWNERS.md 04:48:56 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 6 04:47 README.md 04:48:56 -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 04:47 VERSION 04:48:56 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 04:47 bin 04:48:56 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 04:47 cmd 04:48:56 -rw-r--r-- 1 jenkins jenkins 53381 Jun 6 04:48 coverage.out 04:48:56 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:47 doc 04:48:56 -rw-rw-r-- 1 jenkins jenkins 3534 Jun 6 04:47 go.mod 04:48:56 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 6 04:47 go.sum 04:48:56 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:47 internal 04:48:56 -rw-rw-r-- 1 jenkins jenkins 236 Jun 6 04:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:56 + 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=88e792a8ced5b88c1c97e5c381531d049eb9b146 --label arch=amd64 --label version=0.0.0 . 04:48:56 Sending build context to Docker daemon 8.739MB 04:48:56 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 04:48:56 Step 2/26 : FROM ${BASE} AS builder 04:48:56 ---> 81102f77a51f 04:48:56 Step 3/26 : ARG MAKE="make build" 04:48:56 ---> Running in 45ced68cfe49 04:48:57 Removing intermediate container 45ced68cfe49 04:48:57 ---> 08a2589a6694 04:48:57 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:48:57 ---> Running in 512130ee66e3 04:48:57 Removing intermediate container 512130ee66e3 04:48:57 ---> 496f51f24f2e 04:48:57 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:48:57 ---> Running in cf1ef841dbb3 04:48:57 Removing intermediate container cf1ef841dbb3 04:48:57 ---> 3e903835ae34 04:48:57 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:48:57 ---> Running in f9ffe283bde8 04:48:57 Removing intermediate container f9ffe283bde8 04:48:57 ---> 2561f3b49f13 04:48:57 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:57 ---> Running in 51b1e63d749e 04:48:58 Removing intermediate container 51b1e63d749e 04:48:58 ---> 9a2d4fd94c6e 04:48:58 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:58 ---> Running in 59a2c1a1a01d 04:48:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:48:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:48:59 OK: 221 MiB in 52 packages 04:48:59 Removing intermediate container 59a2c1a1a01d 04:48:59 ---> b5bd19b20e0b 04:48:59 Step 9/26 : WORKDIR /device-onvif-camera 04:48:59 ---> Running in 3b72c6535bd9 04:48:59 Removing intermediate container 3b72c6535bd9 04:48:59 ---> e83822a011ba 04:48:59 Step 10/26 : COPY go.mod vendor* ./ 04:49:00 ---> 8757553e9e40 04:49:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:49:00 ---> Running in 107d51995508 04:49:01 Removing intermediate container 107d51995508 04:49:01 ---> ae14179a2d4d 04:49:01 Step 12/26 : COPY . . 04:49:01 ---> 29bd63f64ee7 04:49:01 Step 13/26 : RUN ${MAKE} 04:49:01 ---> Running in fe4e232a2f14 04:49:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:49:23 Removing intermediate container fe4e232a2f14 04:49:23 ---> d0bb893b136b 04:49:23 Step 14/26 : FROM alpine:3.15 04:49:23 3.15: Pulling from library/alpine 04:49:23 df9b9388f04a: Pulling fs layer 04:49:23 df9b9388f04a: Verifying Checksum 04:49:23 df9b9388f04a: Download complete 04:49:23 df9b9388f04a: Pull complete 04:49:23 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 04:49:23 Status: Downloaded newer image for alpine:3.15 04:49:23 ---> 0ac33e5f5afa 04:49:23 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:49:23 ---> Running in 9d525445f0cb 04:49:23 Removing intermediate container 9d525445f0cb 04:49:23 ---> 30af5d25386b 04:49:23 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:49:23 ---> Running in 1fbceff91ea9 04:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:49:23 (1/6) Installing dumb-init (1.2.5-r1) 04:49:23 (2/6) Installing libgcc (10.3.1_git20211027-r0) 04:49:23 (3/6) Installing libsodium (1.0.18-r0) 04:49:23 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 04:49:23 (5/6) Installing libzmq (4.3.4-r0) 04:49:23 (6/6) Installing zeromq (4.3.4-r0) 04:49:23 Executing busybox-1.34.1-r5.trigger 04:49:23 OK: 8 MiB in 20 packages 04:49:24 Removing intermediate container 1fbceff91ea9 04:49:24 ---> bcfd150a5e49 04:49:24 Step 17/26 : WORKDIR / 04:49:24 ---> Running in f514ccc5610a 04:49:24 Removing intermediate container f514ccc5610a 04:49:24 ---> 32d73391d4fa 04:49:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:49:25 ---> 32cecd1d0801 04:49:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:49:25 ---> df0cdca7f4ac 04:49:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:49:25 ---> 296af2742edb 04:49:25 Step 21/26 : EXPOSE 59984 04:49:25 ---> Running in 56ef5103e710 04:49:25 Removing intermediate container 56ef5103e710 04:49:25 ---> 3092d8b6936b 04:49:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:49:25 ---> Running in 9620e6f3440e 04:49:25 Removing intermediate container 9620e6f3440e 04:49:25 ---> c30e3599949e 04:49:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:49:25 ---> Running in 1219e84e58e3 04:49:25 Removing intermediate container 1219e84e58e3 04:49:25 ---> 9dc602726ce2 04:49:25 Step 24/26 : LABEL arch=amd64 04:49:25 ---> Running in e48a5caf8089 04:49:25 Removing intermediate container e48a5caf8089 04:49:25 ---> e60aedd3c32f 04:49:25 Step 25/26 : LABEL git_sha=88e792a8ced5b88c1c97e5c381531d049eb9b146 04:49:25 ---> Running in cb5413666631 04:49:26 Removing intermediate container cb5413666631 04:49:26 ---> ef149f6d82fd 04:49:26 Step 26/26 : LABEL version=0.0.0 04:49:26 ---> Running in f5b06f07abce 04:49:26 Removing intermediate container f5b06f07abce 04:49:26 ---> 8c13d1b8044a 04:49:26 [Warning] One or more build-args [ARCH] were not consumed 04:49:26 Successfully built 8c13d1b8044a 04:49:26 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:26 04:49:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:27 latest: Pulling from edgex-lftools-log-publisher 04:49:27 5eb5b503b376: Pulling fs layer 04:49:27 5c69ac0246d0: Pulling fs layer 04:49:27 ec43610c2a17: Pulling fs layer 04:49:27 3a2ae6a8a46f: Pulling fs layer 04:49:27 33b1e0a273af: Pulling fs layer 04:49:27 5d3b04190fa2: Pulling fs layer 04:49:27 2f39f015ded8: Pulling fs layer 04:49:27 3a2ae6a8a46f: Waiting 04:49:27 33b1e0a273af: Waiting 04:49:27 5d3b04190fa2: Waiting 04:49:27 2f39f015ded8: Waiting 04:49:27 5c69ac0246d0: Download complete 04:49:27 33b1e0a273af: Verifying Checksum 04:49:27 33b1e0a273af: Download complete 04:49:27 5d3b04190fa2: Verifying Checksum 04:49:27 5d3b04190fa2: Download complete 04:49:27 ec43610c2a17: Verifying Checksum 04:49:27 ec43610c2a17: Download complete 04:49:27 5eb5b503b376: Verifying Checksum 04:49:27 5eb5b503b376: Download complete 04:49:28 2f39f015ded8: Download complete 04:49:28 5eb5b503b376: Pull complete 04:49:29 5c69ac0246d0: Pull complete 04:49:29 ec43610c2a17: Pull complete 04:49:29 3a2ae6a8a46f: Pull complete 04:49:29 33b1e0a273af: Pull complete 04:49:29 5d3b04190fa2: Pull complete 04:49:35 2f39f015ded8: Pull complete 04:49:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:49:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:35 prd-ubuntu20.04-docker-8c-8g-1113 does not seem to be running inside a container 04:49:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_device-onvif-camera_issue-76 -v /w/workspace/dry_device-onvif-camera_issue-76:/w/workspace/dry_device-onvif-camera_issue-76:rw,z -v /w/workspace/dry_device-onvif-camera_issue-76@tmp:/w/workspace/dry_device-onvif-camera_issue-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:49:37 $ docker top ec435c1000d3bb465156779a416e491b1fb8da2bc19174fe99fb0a1ff4678fe1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:37 ---> job-cost.sh 04:49:37 lf-activate-venv: SKIPPING 04:49:37 INFO: No Stack... 04:49:37 INFO: Retrieving Pricing Info for: v3-standard-8 04:49:38 INFO: Archiving Costs [Pipeline] sh 04:49:38 + cat /w/workspace/dry_device-onvif-camera_issue-76/archives/cost.csv 04:49:38 + cut -d, -f6 [Pipeline] lock 04:49:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-76-1-stack-cost] 04:49:38 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-76-1-stack-cost] did not exist. Created. 04:49:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-76-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:49:39 + echo total: 0.2199999988079071 04:49:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1114 in /w/workspace/dry_device-onvif-camera_issue-76 [Pipeline] { [Pipeline] stash 04:49:39 Stashed 1 file(s) [Pipeline] ws 04:49:39 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] } 04:49:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-76-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:49:39 $ docker stop --time=1 ec435c1000d3bb465156779a416e491b1fb8da2bc19174fe99fb0a1ff4678fe1 04:49:40 $ docker rm -f ec435c1000d3bb465156779a416e491b1fb8da2bc19174fe99fb0a1ff4678fe1 [Pipeline] checkout 04:49:40 Selected Git installation does not exist. Using Default 04:49:40 The recommended git tool is: NONE [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:49:46 using credential edgex-jenkins-ssh 04:49:46 Cloning the remote Git repository 04:49:46 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:49:46 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:49:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:49:46 > git --version # timeout=10 04:49:46 > git --version # 'git version 2.25.1' 04:49:46 using GIT_SSH to set credentials SSH Credentials for GitHub 04:49:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:49:47 Avoid second fetch 04:49:47 Checking out Revision 88e792a8ced5b88c1c97e5c381531d049eb9b146 (issue-76) 04:49:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:49:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:49:47 > git config core.sparsecheckout # timeout=10 04:49:47 > git checkout -f 88e792a8ced5b88c1c97e5c381531d049eb9b146 # timeout=10 04:49:51 Commit message: "fix: Remove unused DisconnectDevice func" 04:49:51 > git --version # timeout=10 04:49:51 > git --version # 'git version 2.25.1' 04:49:52 fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:49:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:49:52 % Total % Received % Xferd Average Speed Time Time Time Current 04:49:52 Dload Upload Total Spent Left Speed 04:49:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94253 0 --:--:-- --:--:-- --:--:-- 94253 [Pipeline] sh 04:49:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:49:54 + sudo tee /etc/docker/daemon.new 04:49:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:49:54 { 04:49:54 "registry-mirrors": [ 04:49:54 "https://nexus3.edgexfoundry.org:10001" 04:49:54 ], 04:49:54 "bip": "10.250.0.254/24", 04:49:54 "hosts": [ 04:49:54 "tcp://0.0.0.0:5555", 04:49:54 "unix:///var/run/docker.sock" 04:49:54 ], 04:49:54 "mtu": 1458, 04:49:54 "selinux-enabled": true, 04:49:54 "seccomp-profile": "/etc/docker/seccomp.json" 04:49:54 } [Pipeline] sh 04:49:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:49:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:50:13 provisioning config files... 04:50:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8622518660012527842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:13 ---> docker-login.sh 04:50:13 nexus3.edgexfoundry.org:10001 04:50:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:14 Configure a credential helper to remove this warning. See 04:50:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:14 04:50:14 Login Succeeded 04:50:14 nexus3.edgexfoundry.org:10002 04:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:15 Configure a credential helper to remove this warning. See 04:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:15 04:50:15 Login Succeeded 04:50:15 nexus3.edgexfoundry.org:10003 04:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:15 Configure a credential helper to remove this warning. See 04:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:15 04:50:15 Login Succeeded 04:50:15 nexus3.edgexfoundry.org:10004 04:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:16 Configure a credential helper to remove this warning. See 04:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:16 04:50:16 Login Succeeded 04:50:16 docker.io 04:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:16 Configure a credential helper to remove this warning. See 04:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:16 04:50:16 Login Succeeded 04:50:16 ---> docker-login.sh ends [Pipeline] } 04:50:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:50:17 [edgeX.isLTS] Checking if [issue-76] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:17 ========================================================= 04:50:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:50:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:50:17 Sending build context to Docker daemon 5.917MB 04:50:17 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 04:50:17 Step 2/13 : FROM ${BASE} AS builder 04:50:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:50:18 9b3977197b4f: Pulling fs layer 04:50:18 1a89e8eeedd5: Pulling fs layer 04:50:18 94645a83ff95: Pulling fs layer 04:50:18 e6fb740bc735: Pulling fs layer 04:50:18 3a77bd46dcc9: Pulling fs layer 04:50:18 355e64cbe906: Pulling fs layer 04:50:18 63ab81a10011: Pulling fs layer 04:50:18 555d1d1c4555: Pulling fs layer 04:50:18 7d9057610161: Pulling fs layer 04:50:18 3a77bd46dcc9: Waiting 04:50:18 355e64cbe906: Waiting 04:50:18 63ab81a10011: Waiting 04:50:18 555d1d1c4555: Waiting 04:50:18 7d9057610161: Waiting 04:50:18 e6fb740bc735: Waiting 04:50:18 94645a83ff95: Download complete 04:50:18 1a89e8eeedd5: Verifying Checksum 04:50:18 1a89e8eeedd5: Download complete 04:50:18 3a77bd46dcc9: Verifying Checksum 04:50:18 3a77bd46dcc9: Download complete 04:50:18 355e64cbe906: Verifying Checksum 04:50:18 355e64cbe906: Download complete 04:50:18 9b3977197b4f: Verifying Checksum 04:50:18 9b3977197b4f: Download complete 04:50:18 63ab81a10011: Verifying Checksum 04:50:18 63ab81a10011: Download complete 04:50:19 9b3977197b4f: Pull complete 04:50:19 7d9057610161: Verifying Checksum 04:50:19 7d9057610161: Download complete 04:50:19 1a89e8eeedd5: Pull complete 04:50:20 94645a83ff95: Pull complete 04:50:20 555d1d1c4555: Verifying Checksum 04:50:20 555d1d1c4555: Download complete 04:50:21 e6fb740bc735: Verifying Checksum 04:50:21 e6fb740bc735: Download complete 04:50:33 e6fb740bc735: Pull complete 04:50:33 3a77bd46dcc9: Pull complete 04:50:33 355e64cbe906: Pull complete 04:50:33 63ab81a10011: Pull complete 04:50:40 555d1d1c4555: Pull complete 04:50:41 7d9057610161: Pull complete 04:50:41 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:50:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:50:41 ---> 819e984ddca1 04:50:41 Step 3/13 : ARG MAKE="make build" 04:50:43 ---> Running in b4767fc32d13 04:50:43 Removing intermediate container b4767fc32d13 04:50:43 ---> 7149bca98a64 04:50:43 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:50:43 ---> Running in 51d615841acc 04:50:44 Removing intermediate container 51d615841acc 04:50:44 ---> 9c550a735647 04:50:44 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 04:50:44 ---> Running in b5b76725ff70 04:50:44 Removing intermediate container b5b76725ff70 04:50:44 ---> 82c3ee82850e 04:50:44 Step 6/13 : LABEL Name=edgex-device-onvif-camera 04:50:44 ---> Running in ca750c70d7fa 04:50:44 Removing intermediate container ca750c70d7fa 04:50:44 ---> 92f5d560e331 04:50:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:50:44 ---> Running in 987de0c9e152 04:50:48 Removing intermediate container 987de0c9e152 04:50:48 ---> 616ae0cce930 04:50:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:50:48 ---> Running in ca9fce5faadc 04:50:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:50:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:50:50 OK: 220 MiB in 52 packages 04:50:51 Removing intermediate container ca9fce5faadc 04:50:51 ---> bf346beb5560 04:50:51 Step 9/13 : WORKDIR /device-onvif-camera 04:50:51 ---> Running in ec18bd789985 04:50:51 Removing intermediate container ec18bd789985 04:50:51 ---> 4ac5ec0619ef 04:50:51 Step 10/13 : COPY go.mod vendor* ./ 04:50:52 ---> 5c28627756ef 04:50:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:50:52 ---> Running in 1f742b61acba 04:51:39 Removing intermediate container 1f742b61acba 04:51:39 ---> cd10473da53f 04:51:39 Step 12/13 : COPY . . 04:51:39 ---> f4efa6beac3d 04:51:39 Step 13/13 : RUN ${MAKE} 04:51:39 ---> Running in 49da893a4cc8 04:51:39 noop 04:51:40 Removing intermediate container 49da893a4cc8 04:51:40 ---> da956167a18d 04:51:40 Successfully built da956167a18d 04:51:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:40 + docker inspect -f . ci-base-image-arm64 04:51:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:41 prd-ubuntu20.04-docker-arm64-4c-16g-1114 does not seem to be running inside a container 04:51:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:51:42 $ docker top b598bab08bb7dc6050de69d64993493ec574b947efc2d0c30f6b98bf2a520a19 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:43 + go version 04:51:43 go version go1.17.7 linux/arm64 [Pipeline] } 04:51:43 $ docker stop --time=1 b598bab08bb7dc6050de69d64993493ec574b947efc2d0c30f6b98bf2a520a19 04:51:44 $ docker rm -f b598bab08bb7dc6050de69d64993493ec574b947efc2d0c30f6b98bf2a520a19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:45 + docker inspect -f . ci-base-image-arm64 04:51:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:46 prd-ubuntu20.04-docker-arm64-4c-16g-1114 does not seem to be running inside a container 04:51:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:51:47 $ docker top 663a1bbb3d179bac0a25f1ffd2d9bc507d7e85caba428f690bfa9d0da203b393 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:51:48 + make test 04:51:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:51:50 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:53:12 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:53:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.072s coverage: 1.3% of statements 04:53:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.245s coverage: 13.8% of statements 04:53:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:53:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:54:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:06 ./bin/test-attribution-txt.sh [Pipeline] echo 04:54:08 [edgeX.isLTS] Checking if [issue-76] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:54:08 $ docker stop --time=1 663a1bbb3d179bac0a25f1ffd2d9bc507d7e85caba428f690bfa9d0da203b393 04:54:10 $ docker rm -f 663a1bbb3d179bac0a25f1ffd2d9bc507d7e85caba428f690bfa9d0da203b393 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:11 Warning: overwriting stash ‘coverage-report’ 04:54:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:12 + ls -al . 04:54:12 total 228 04:54:12 drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 04:54 . 04:54:12 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:49 .. 04:54:12 drwxrwxr-x 8 jenkins jenkins 4096 Jun 6 04:49 .git 04:54:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 04:49 .github 04:54:12 -rw-rw-r-- 1 jenkins jenkins 352 Jun 6 04:49 .gitignore 04:54:12 -rw-rw-r-- 1 jenkins jenkins 42 Jun 6 04:49 .golangci.yml 04:54:12 -rw-rw-r-- 1 jenkins jenkins 9099 Jun 6 04:49 Attribution.txt 04:54:12 -rw-rw-r-- 1 jenkins jenkins 189 Jun 6 04:49 CHANGELOG.md 04:54:12 -rw-rw-r-- 1 jenkins jenkins 1667 Jun 6 04:49 Dockerfile 04:54:12 -rw-rw-r-- 1 jenkins jenkins 677 Jun 6 04:49 GOVERNANCE.md 04:54:12 -rw-rw-r-- 1 jenkins jenkins 660 Jun 6 04:49 Jenkinsfile 04:54:12 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 6 04:49 LICENSE 04:54:12 -rw-rw-r-- 1 jenkins jenkins 2473 Jun 6 04:49 Makefile 04:54:12 -rw-rw-r-- 1 jenkins jenkins 625 Jun 6 04:49 OWNERS.md 04:54:12 -rw-rw-r-- 1 jenkins jenkins 28742 Jun 6 04:49 README.md 04:54:12 -rw-rw-r-- 1 jenkins jenkins 5 Jun 6 04:47 VERSION 04:54:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 6 04:49 bin 04:54:12 drwxrwxr-x 3 jenkins jenkins 4096 Jun 6 04:49 cmd 04:54:12 -rw-r--r-- 1 jenkins jenkins 53381 Jun 6 04:53 coverage.out 04:54:12 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:49 doc 04:54:12 -rw-rw-r-- 1 jenkins jenkins 3534 Jun 6 04:49 go.mod 04:54:12 -rw-rw-r-- 1 jenkins jenkins 37264 Jun 6 04:49 go.sum 04:54:12 drwxrwxr-x 4 jenkins jenkins 4096 Jun 6 04:49 internal 04:54:12 -rw-rw-r-- 1 jenkins jenkins 236 Jun 6 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:13 + 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=88e792a8ced5b88c1c97e5c381531d049eb9b146 --label arch=arm64 --label version=0.0.0 . 04:54:13 Sending build context to Docker daemon 5.971MB 04:54:13 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 04:54:13 Step 2/26 : FROM ${BASE} AS builder 04:54:13 ---> da956167a18d 04:54:13 Step 3/26 : ARG MAKE="make build" 04:54:13 ---> Running in 1fb66596cf7b 04:54:14 Removing intermediate container 1fb66596cf7b 04:54:14 ---> 46bfc870f7d6 04:54:14 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:54:14 ---> Running in e11cb67a6417 04:54:14 Removing intermediate container e11cb67a6417 04:54:14 ---> 984512179bc4 04:54:14 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 04:54:14 ---> Running in c3e9d9f441be 04:54:15 Removing intermediate container c3e9d9f441be 04:54:15 ---> a2d8e4e880ea 04:54:15 Step 6/26 : LABEL Name=edgex-device-onvif-camera 04:54:15 ---> Running in af25b374b40f 04:54:15 Removing intermediate container af25b374b40f 04:54:15 ---> 0b79383c3ff7 04:54:15 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:54:15 ---> Running in c8fa6ab6b587 04:54:17 Removing intermediate container c8fa6ab6b587 04:54:17 ---> 69e0d792c104 04:54:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:17 ---> Running in 57611ffca96f 04:54:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:54:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:54:19 OK: 220 MiB in 52 packages 04:54:20 Removing intermediate container 57611ffca96f 04:54:20 ---> bcab4e34e405 04:54:20 Step 9/26 : WORKDIR /device-onvif-camera 04:54:20 ---> Running in 7f803198ca6f 04:54:20 Removing intermediate container 7f803198ca6f 04:54:20 ---> 07ea2d7da3e2 04:54:20 Step 10/26 : COPY go.mod vendor* ./ 04:54:21 ---> 1548058ddc43 04:54:21 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:21 ---> Running in e67b939d50cc 04:54:23 Removing intermediate container e67b939d50cc 04:54:23 ---> 8ac1de674f29 04:54:23 Step 12/26 : COPY . . 04:54:24 ---> a69d75ac80d5 04:54:24 Step 13/26 : RUN ${MAKE} 04:54:24 ---> Running in 13a5587ca4df 04:54:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:56:47 Removing intermediate container 13a5587ca4df 04:56:47 ---> b40e28bf6c33 04:56:47 Step 14/26 : FROM alpine:3.15 04:56:47 3.15: Pulling from library/alpine 04:56:47 9981e73032c8: Pulling fs layer 04:56:47 9981e73032c8: Verifying Checksum 04:56:47 9981e73032c8: Download complete 04:56:47 9981e73032c8: Pull complete 04:56:47 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 04:56:47 Status: Downloaded newer image for alpine:3.15 04:56:47 ---> 3fb3c9af89a9 04:56:47 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:56:47 ---> Running in 05ee840306bf 04:56:47 Removing intermediate container 05ee840306bf 04:56:47 ---> 52e2f7a4d6d0 04:56:47 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 04:56:47 ---> Running in 68d2dcb81fce 04:56:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:56:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:56:47 (1/6) Installing dumb-init (1.2.5-r1) 04:56:47 (2/6) Installing libgcc (10.3.1_git20211027-r0) 04:56:47 (3/6) Installing libsodium (1.0.18-r0) 04:56:47 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 04:56:47 (5/6) Installing libzmq (4.3.4-r0) 04:56:47 (6/6) Installing zeromq (4.3.4-r0) 04:56:47 Executing busybox-1.34.1-r5.trigger 04:56:47 OK: 8 MiB in 20 packages 04:56:47 Removing intermediate container 68d2dcb81fce 04:56:47 ---> a4134e0fd073 04:56:47 Step 17/26 : WORKDIR / 04:56:47 ---> Running in 82a028d2e108 04:56:47 Removing intermediate container 82a028d2e108 04:56:47 ---> 3d1ed5afff6b 04:56:47 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:56:47 ---> f10eb316b19c 04:56:47 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:56:47 ---> cd988cf5e209 04:56:47 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:56:47 ---> eb3a03cc7878 04:56:47 Step 21/26 : EXPOSE 59984 04:56:47 ---> Running in 1e54c783f44a 04:56:47 Removing intermediate container 1e54c783f44a 04:56:47 ---> 9e55dcbe3ead 04:56:47 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:56:47 ---> Running in 5250eb2506cf 04:56:47 Removing intermediate container 5250eb2506cf 04:56:47 ---> 8c523d383884 04:56:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:56:47 ---> Running in 6838f056c98a 04:56:47 Removing intermediate container 6838f056c98a 04:56:47 ---> 5f1a8af19269 04:56:47 Step 24/26 : LABEL arch=arm64 04:56:47 ---> Running in f0b480a47f94 04:56:47 Removing intermediate container f0b480a47f94 04:56:47 ---> 51cfb9313c61 04:56:47 Step 25/26 : LABEL git_sha=88e792a8ced5b88c1c97e5c381531d049eb9b146 04:56:47 ---> Running in 8dc8340a7d6a 04:56:47 Removing intermediate container 8dc8340a7d6a 04:56:47 ---> c58bd8cae600 04:56:47 Step 26/26 : LABEL version=0.0.0 04:56:47 ---> Running in 39b8c3c162f9 04:56:47 Removing intermediate container 39b8c3c162f9 04:56:47 ---> 99ac40760c3e 04:56:47 [Warning] One or more build-args [ARCH] were not consumed 04:56:47 Successfully built 99ac40760c3e 04:56:47 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:56:48 04:56:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:56:48 arm64: Pulling from edgex-lftools-log-publisher 04:56:48 8998bd30e6a1: Pulling fs layer 04:56:48 04944245beec: Pulling fs layer 04:56:48 699f458cf7ca: Pulling fs layer 04:56:48 765212b225bb: Pulling fs layer 04:56:48 f23df028b6ca: Pulling fs layer 04:56:48 d65c8cfc05b1: Pulling fs layer 04:56:48 2437ff75d9bd: Pulling fs layer 04:56:48 765212b225bb: Waiting 04:56:48 f23df028b6ca: Waiting 04:56:48 d65c8cfc05b1: Waiting 04:56:48 2437ff75d9bd: Waiting 04:56:48 04944245beec: Verifying Checksum 04:56:48 04944245beec: Download complete 04:56:48 765212b225bb: Verifying Checksum 04:56:48 765212b225bb: Download complete 04:56:48 f23df028b6ca: Download complete 04:56:48 d65c8cfc05b1: Verifying Checksum 04:56:48 d65c8cfc05b1: Download complete 04:56:49 699f458cf7ca: Verifying Checksum 04:56:49 699f458cf7ca: Download complete 04:56:49 8998bd30e6a1: Verifying Checksum 04:56:49 8998bd30e6a1: Download complete 04:56:52 2437ff75d9bd: Verifying Checksum 04:56:52 2437ff75d9bd: Download complete 04:56:53 8998bd30e6a1: Pull complete 04:56:54 04944245beec: Pull complete 04:56:55 699f458cf7ca: Pull complete 04:56:55 765212b225bb: Pull complete 04:56:56 f23df028b6ca: Pull complete 04:56:56 d65c8cfc05b1: Pull complete 04:57:11 2437ff75d9bd: Pull complete 04:57:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:57:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:57:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:12 prd-ubuntu20.04-docker-arm64-4c-16g-1114 does not seem to be running inside a container 04:57:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:57:15 $ docker top 600190e4bef98678f7e0d6f8af3ebe378239c2aacf662ea03df6ecf66b09e08c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:15 ---> job-cost.sh 04:57:15 lf-activate-venv: SKIPPING 04:57:15 INFO: No Stack... 04:57:16 INFO: Retrieving Pricing Info for: v3-standard-4 04:57:17 INFO: Archiving Costs [Pipeline] sh 04:57:17 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:57:17 + cut -d, -f6 [Pipeline] lock 04:57:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-76-1-stack-cost] 04:57:17 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-76-1-stack-cost] did not exist. Created. 04:57:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-76-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:18 /w/workspace/device-onvif-camera/1@tmp/durable-2bae4d59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:57:19 + echo total: 0.10999999940395355 [Pipeline] stash 04:57:19 Warning: overwriting stash ‘stack-cost’ 04:57:19 Stashed 1 file(s) [Pipeline] } 04:57:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-76-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:57:19 $ docker stop --time=1 600190e4bef98678f7e0d6f8af3ebe378239c2aacf662ea03df6ecf66b09e08c 04:57:21 $ docker rm -f 600190e4bef98678f7e0d6f8af3ebe378239c2aacf662ea03df6ecf66b09e08c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:57:22 provisioning config files... 04:57:22 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/dry_device-onvif-camera_issue-76@tmp/config706920680433655501tmp [Pipeline] { [Pipeline] sh 04:57:22 + set +x 04:57:22 + bash -s -- 04:57:22 + curl -s https://codecov.io/bash 04:57:22 04:57:22 _____ _ 04:57:22 / ____| | | 04:57:22 | | ___ __| | ___ ___ _____ __ 04:57:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:57:22 | |___| (_) | (_| | __/ (_| (_) \ V / 04:57:22 \_____\___/ \__,_|\___|\___\___/ \_/ 04:57:22 Bash-1.0.6 04:57:22 04:57:22 04:57:22 ==> git version 2.25.1 found 04:57:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:57:22 Release-Date: 2020-01-08 04:57:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:57:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:57:22 ==> Jenkins CI detected. 04:57:22 current dir:  /w/workspace/dry_device-onvif-camera_issue-76 04:57:22 project root: . 04:57:22 --> token set from env 04:57:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:57:22 ==> Running gcov in . (disable via -X gcov) 04:57:22 ==> Python coveragepy not found 04:57:22 ==> Searching for coverage reports in: 04:57:22 + . 04:57:22 -> Found 1 reports 04:57:22 ==> Detecting git/mercurial file structure 04:57:22 ==> Reading reports 04:57:22 + ./coverage.out bytes=53381 04:57:22 ==> Appending adjustments 04:57:22 https://docs.codecov.io/docs/fixing-reports 04:57:22 + Found adjustments 04:57:22 ==> Gzipping contents 04:57:22 8.0K /tmp/codecov.bks8sO.gz 04:57:22 ==> Uploading reports 04:57:22 url: https://codecov.io 04:57:22 query: branch=issue-76&commit=88e792a8ced5b88c1c97e5c381531d049eb9b146&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:57:22 -> Pinging Codecov 04:57:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=issue-76&commit=88e792a8ced5b88c1c97e5c381531d049eb9b146&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:57:22 -> Uploading to 04:57:22 https://storage.googleapis.com/codecov/v4/raw/2022-06-06/F29A59C45E3A92E06B3E522C9905F8EF/88e792a8ced5b88c1c97e5c381531d049eb9b146/f71bdca3-4d15-400e-8d0a-748b81b942cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220606%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220606T045722Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=749246b55c6939ce0b5b625d08d7d62dc9849330a929fc2697ba530e7e7018e5 04:57:22 % Total % Received % Xferd Average Speed Time Time Time Current 04:57:22 Dload Upload Total Spent Left Speed 04:57:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6834 0 0 100 6834 0 23244 --:--:-- --:--:-- --:--:-- 23244 04:57:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/88e792a8ced5b88c1c97e5c381531d049eb9b146 [Pipeline] } 04:57:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:57:24 + [ -d /w/workspace/dry_device-onvif-camera_issue-76/archives ] 04:57:24 + ls -al /w/workspace/dry_device-onvif-camera_issue-76/archives 04:57:24 total 16 04:57:24 drwxr-xr-x 3 root root 4096 Jun 6 04:49 . 04:57:24 drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 04:49 .. 04:57:24 drwxr-xr-x 2 root root 4096 Jun 6 04:49 cost 04:57:24 -rw-r--r-- 1 root root 92 Jun 6 04:49 cost.csv 04:57:24 + sudo chown -R jenkins:jenkins /w/workspace/dry_device-onvif-camera_issue-76/archives 04:57:24 + ls -al /w/workspace/dry_device-onvif-camera_issue-76/archives 04:57:24 total 16 04:57:24 drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 04:49 . 04:57:24 drwxrwxr-x 10 jenkins jenkins 4096 Jun 6 04:49 .. 04:57:24 drwxr-xr-x 2 jenkins jenkins 4096 Jun 6 04:49 cost 04:57:24 -rw-r--r-- 1 jenkins jenkins 92 Jun 6 04:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:57:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:57:26 ---> package-listing.sh 04:57:26 ++ facter osfamily 04:57:26 ++ tr '[:upper:]' '[:lower:]' 04:57:26 + OS_FAMILY=debian 04:57:26 + workspace=/w/workspace/dry_device-onvif-camera_issue-76 04:57:26 + START_PACKAGES=/tmp/packages_start.txt 04:57:26 + END_PACKAGES=/tmp/packages_end.txt 04:57:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:57:26 + PACKAGES=/tmp/packages_start.txt 04:57:26 + '[' /w/workspace/dry_device-onvif-camera_issue-76 ']' 04:57:26 + PACKAGES=/tmp/packages_end.txt 04:57:26 + case "${OS_FAMILY}" in 04:57:26 + dpkg -l 04:57:26 + grep '^ii' 04:57:26 + '[' -f /tmp/packages_start.txt ']' 04:57:26 + '[' -f /tmp/packages_end.txt ']' 04:57:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:57:26 + '[' /w/workspace/dry_device-onvif-camera_issue-76 ']' 04:57:26 + mkdir -p /w/workspace/dry_device-onvif-camera_issue-76/archives/ 04:57:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_device-onvif-camera_issue-76/archives/ [Pipeline] echo 04:57:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_device-onvif-camera_issue-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:57:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:27 prd-ubuntu20.04-docker-8c-8g-1113 does not seem to be running inside a container 04:57:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_device-onvif-camera_issue-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_device-onvif-camera_issue-76 -v /w/workspace/dry_device-onvif-camera_issue-76:/w/workspace/dry_device-onvif-camera_issue-76:rw,z -v /w/workspace/dry_device-onvif-camera_issue-76@tmp:/w/workspace/dry_device-onvif-camera_issue-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:57:27 $ docker top 6e6602c5c668d8e51a5ba97371f0c1504423af3530520aa14b2d72ab43e3f4ab -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:28 + touch /tmp/pre-build-complete [Pipeline] sh 04:57:28 + mkdir -p /var/log/sysstat [Pipeline] sh 04:57:28 + ls /var/log/sa-host 04:57:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:57:28 provisioning config files... 04:57:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_device-onvif-camera_issue-76@tmp/config766693027440913553tmp [Pipeline] { [Pipeline] echo 04:57:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:57:29 ---> create-netrc.sh [Pipeline] } 04:57:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:57:29 ---> python-tools-install.sh [Pipeline] echo 04:57:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:57:30 ---> sudo-logs.sh 04:57:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:57:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:57:30 ---> job-cost.sh 04:57:30 lf-activate-venv: SKIPPING 04:57:30 DEBUG: total: 0.2199999988079071 04:57:30 INFO: Retrieving Stack Cost... 04:57:31 INFO: Retrieving Pricing Info for: v3-standard-8 04:57:31 INFO: Archiving Costs [Pipeline] echo 04:57:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:57:31 ---> logs-deploy.sh 04:57:31 lf-activate-venv: SKIPPING 04:57:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/issue-76/1 04:57:31 INFO: archiving workspace using pattern(s): 04:57:32 Archives upload complete. 04:57:32 INFO: archiving logs to Nexus