Pull request #384 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 81384750a0850af4559470bf93802a5202ec2b22+8c92c2345ec4e0cbdd9f822b52f444e1a80ad818 (9c11e4513f36782114263388318e43f1d002664b) 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-ssh11907635890233988784.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5129773632900009522.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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/PR-384/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/PR-384/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6298637633510496680.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/PR-384/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10680328007980380095.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1946496586168971207.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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/PR-384/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/PR-384/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10935777151779943182.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5997 in /w/workspace/undry_device-onvif-camera_PR-384 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-384 # 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 Merging remotes/origin/main commit 8c92c2345ec4e0cbdd9f822b52f444e1a80ad818 into PR head commit 81384750a0850af4559470bf93802a5202ec2b22 Merge succeeded, producing 81384750a0850af4559470bf93802a5202ec2b22 Checking out Revision 81384750a0850af4559470bf93802a5202ec2b22 (PR-384) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81384750a0850af4559470bf93802a5202ec2b22 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8c92c2345ec4e0cbdd9f822b52f444e1a80ad818 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81384750a0850af4559470bf93802a5202ec2b22 # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T21:23:41.968Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T21:23:42.146Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T21:23:42.244Z] ========================================================= [2023-09-12T21:23:42.244Z] EdgeX Global Pipelines Version Info [2023-09-12T21:23:42.244Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:23:42.975Z] ------------------- [2023-09-12T21:23:42.975Z] stable info: [2023-09-12T21:23:42.975Z] ------------------- [2023-09-12T21:23:42.975Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T21:23:42.975Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:23:42.975Z] Message: update stable to v1.0.254 [2023-09-12T21:23:43.545Z] ------------------- [2023-09-12T21:23:43.545Z] experimental info: [2023-09-12T21:23:43.545Z] ------------------- [2023-09-12T21:23:43.545Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T21:23:43.545Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:23:43.545Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T21:23:43.839Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-09-12T21:23:43.886Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-09-12T21:23:43.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T21:23:43.967Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T21:23:44.011Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T21:23:44.052Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T21:23:44.087Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T21:23:44.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T21:23:44.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T21:23:44.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T21:23:44.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T21:23:44.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-09-12T21:23:44.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T21:23:44.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T21:23:44.406Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:23:44.445Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:23:44.492Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:23:44.537Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:23:44.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T21:23:44.615Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T21:23:44.660Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-12T21:23:44.711Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-09-12T21:23:44.755Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T21:23:44.801Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T21:23:44.847Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T21:23:44.890Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T21:23:44.929Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T21:23:44.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-384 [Pipeline] echo [2023-09-12T21:23:45.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-384 [Pipeline] echo [2023-09-12T21:23:45.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-384 [Pipeline] echo [2023-09-12T21:23:45.084Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81384750a0850af4559470bf93802a5202ec2b22 [Pipeline] echo [2023-09-12T21:23:45.130Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8138475 [Pipeline] echo [2023-09-12T21:23:45.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:23:45.296Z] provisioning config files... [2023-09-12T21:23:45.309Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-384@tmp/config7002450961522666990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:23:45.659Z] ---> docker-login.sh [2023-09-12T21:23:45.659Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:23:45.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:23:45.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:23:45.919Z] Configure a credential helper to remove this warning. See [2023-09-12T21:23:45.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:23:45.919Z] [2023-09-12T21:23:45.919Z] Login Succeeded [2023-09-12T21:23:45.919Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:23:45.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:23:46.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:23:46.179Z] Configure a credential helper to remove this warning. See [2023-09-12T21:23:46.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:23:46.179Z] [2023-09-12T21:23:46.179Z] Login Succeeded [2023-09-12T21:23:46.179Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:23:46.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:23:46.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:23:46.179Z] Configure a credential helper to remove this warning. See [2023-09-12T21:23:46.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:23:46.179Z] [2023-09-12T21:23:46.179Z] Login Succeeded [2023-09-12T21:23:46.179Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:23:46.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:23:46.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:23:46.440Z] Configure a credential helper to remove this warning. See [2023-09-12T21:23:46.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:23:46.440Z] [2023-09-12T21:23:46.440Z] Login Succeeded [2023-09-12T21:23:46.440Z] docker.io [2023-09-12T21:23:46.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:23:46.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:23:46.706Z] Configure a credential helper to remove this warning. See [2023-09-12T21:23:46.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:23:46.706Z] [2023-09-12T21:23:46.706Z] Login Succeeded [2023-09-12T21:23:46.706Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:23:46.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T21:23:47.376Z] + git rev-list -1 --merges 81384750a0850af4559470bf93802a5202ec2b22~1..81384750a0850af4559470bf93802a5202ec2b22 [Pipeline] echo [2023-09-12T21:23:47.447Z] -----------> git rev-list -1 --merges 81384750a0850af4559470bf93802a5202ec2b22~1..81384750a0850af4559470bf93802a5202ec2b22 81384750a0850af4559470bf93802a5202ec2b22 [false] [Pipeline] sh [2023-09-12T21:23:47.780Z] + git log --format=format:%s -1 81384750a0850af4559470bf93802a5202ec2b22 [Pipeline] echo [2023-09-12T21:23:47.814Z] ========================================================= [2023-09-12T21:23:47.814Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T21:23:47.814Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:23:48.234Z] + git log --format=format:%s -1 81384750a0850af4559470bf93802a5202ec2b22 [Pipeline] echo [2023-09-12T21:23:48.267Z] [semverPrep] GIT_COMMIT: 81384750a0850af4559470bf93802a5202ec2b22, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo [2023-09-12T21:23:48.298Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T21:23:48.666Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T21:23:48.666Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T21:23:48.666Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T21:23:48.666Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T21:23:48.666Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T21:23:48.666Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T21:23:48.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:23:49.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:23:49.106Z] [2023-09-12T21:23:49.106Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:23:49.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:23:49.468Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T21:23:49.468Z] b85a868b505f: Pulling fs layer [2023-09-12T21:23:49.468Z] e2be974225ed: Pulling fs layer [2023-09-12T21:23:49.468Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T21:23:49.468Z] 988bab9f4d93: Pulling fs layer [2023-09-12T21:23:49.468Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T21:23:49.468Z] eaf3925da568: Pulling fs layer [2023-09-12T21:23:49.468Z] bab4dde63d76: Pulling fs layer [2023-09-12T21:23:49.468Z] bde34c3a00c8: Pulling fs layer [2023-09-12T21:23:49.468Z] b352a97aabf1: Pulling fs layer [2023-09-12T21:23:49.468Z] 4872d77fe225: Pulling fs layer [2023-09-12T21:23:49.468Z] 5851b861e8e6: Pulling fs layer [2023-09-12T21:23:49.468Z] bde34c3a00c8: Waiting [2023-09-12T21:23:49.468Z] 1469e6f7b9e6: Waiting [2023-09-12T21:23:49.468Z] 4872d77fe225: Waiting [2023-09-12T21:23:49.468Z] 5851b861e8e6: Waiting [2023-09-12T21:23:49.468Z] bab4dde63d76: Waiting [2023-09-12T21:23:49.468Z] eaf3925da568: Waiting [2023-09-12T21:23:49.468Z] 988bab9f4d93: Waiting [2023-09-12T21:23:49.468Z] b352a97aabf1: Waiting [2023-09-12T21:23:49.468Z] e2be974225ed: Download complete [2023-09-12T21:23:49.468Z] 988bab9f4d93: Verifying Checksum [2023-09-12T21:23:49.468Z] 988bab9f4d93: Download complete [2023-09-12T21:23:49.468Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T21:23:49.468Z] 1469e6f7b9e6: Download complete [2023-09-12T21:23:49.468Z] eaf3925da568: Verifying Checksum [2023-09-12T21:23:49.468Z] eaf3925da568: Download complete [2023-09-12T21:23:49.727Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T21:23:49.727Z] 339a4e72a1f5: Download complete [2023-09-12T21:23:49.727Z] bde34c3a00c8: Download complete [2023-09-12T21:23:49.727Z] b352a97aabf1: Verifying Checksum [2023-09-12T21:23:49.727Z] b352a97aabf1: Download complete [2023-09-12T21:23:49.727Z] 4872d77fe225: Verifying Checksum [2023-09-12T21:23:49.727Z] 4872d77fe225: Download complete [2023-09-12T21:23:49.727Z] 5851b861e8e6: Verifying Checksum [2023-09-12T21:23:49.727Z] 5851b861e8e6: Download complete [2023-09-12T21:23:49.727Z] b85a868b505f: Verifying Checksum [2023-09-12T21:23:49.727Z] b85a868b505f: Download complete [2023-09-12T21:23:49.985Z] bab4dde63d76: Verifying Checksum [2023-09-12T21:23:49.985Z] bab4dde63d76: Download complete [2023-09-12T21:23:50.920Z] b85a868b505f: Pull complete [2023-09-12T21:23:50.920Z] e2be974225ed: Pull complete [2023-09-12T21:23:51.489Z] 339a4e72a1f5: Pull complete [2023-09-12T21:23:51.489Z] 988bab9f4d93: Pull complete [2023-09-12T21:23:51.747Z] 1469e6f7b9e6: Pull complete [2023-09-12T21:23:51.747Z] eaf3925da568: Pull complete [2023-09-12T21:23:53.657Z] bab4dde63d76: Pull complete [2023-09-12T21:23:53.657Z] bde34c3a00c8: Pull complete [2023-09-12T21:23:53.657Z] b352a97aabf1: Pull complete [2023-09-12T21:23:53.657Z] 4872d77fe225: Pull complete [2023-09-12T21:23:53.657Z] 5851b861e8e6: Pull complete [2023-09-12T21:23:53.657Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T21:23:53.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:23:53.657Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:23:53.892Z] prd-ubuntu20.04-docker-8c-8g-5997 does not seem to be running inside a container [2023-09-12T21:23:53.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-384 -v /w/workspace/undry_device-onvif-camera_PR-384:/w/workspace/undry_device-onvif-camera_PR-384:rw,z -v /w/workspace/undry_device-onvif-camera_PR-384@tmp:/w/workspace/undry_device-onvif-camera_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T21:23:56.675Z] $ docker top 5c1288872e364cf6a8cd59a72f4c9e4c0768f725eceb096fbc5b01ac8dcf9ad6 -eo pid,comm [2023-09-12T21:23:56.731Z] 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). [2023-09-12T21:23:56.731Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T21:23:56.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:23:56.859Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:23:56.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:23:56.963Z] $ docker exec 5c1288872e364cf6a8cd59a72f4c9e4c0768f725eceb096fbc5b01ac8dcf9ad6 ssh-agent [2023-09-12T21:23:57.072Z] SSH_AUTH_SOCK=/tmp/ssh-FIy1jxV9GTQO/agent.32 [2023-09-12T21:23:57.072Z] SSH_AGENT_PID=38 [2023-09-12T21:23:57.079Z] Running ssh-add (command line suppressed) [2023-09-12T21:23:57.181Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-384@tmp/private_key_15418410018507678614.key (/w/workspace/undry_device-onvif-camera_PR-384@tmp/private_key_15418410018507678614.key) [2023-09-12T21:23:57.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:23:57.526Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T21:23:57.550Z] $ docker exec --env ******** --env ******** 5c1288872e364cf6a8cd59a72f4c9e4c0768f725eceb096fbc5b01ac8dcf9ad6 ssh-agent -k [2023-09-12T21:23:57.641Z] unset SSH_AUTH_SOCK; [2023-09-12T21:23:57.641Z] unset SSH_AGENT_PID; [2023-09-12T21:23:57.641Z] echo Agent pid 38 killed; [2023-09-12T21:23:57.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T21:23:57.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:23:57.731Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:23:57.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:23:57.834Z] $ docker exec 5c1288872e364cf6a8cd59a72f4c9e4c0768f725eceb096fbc5b01ac8dcf9ad6 ssh-agent [2023-09-12T21:23:57.949Z] SSH_AUTH_SOCK=/tmp/ssh-mk6V3VUz4r61/agent.70 [2023-09-12T21:23:57.949Z] SSH_AGENT_PID=76 [2023-09-12T21:23:57.954Z] Running ssh-add (command line suppressed) [2023-09-12T21:23:58.066Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-384@tmp/private_key_6881983529420331910.key (/w/workspace/undry_device-onvif-camera_PR-384@tmp/private_key_6881983529420331910.key) [2023-09-12T21:23:58.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:23:58.413Z] + git semver init [2023-09-12T21:23:58.673Z] 2023-09-12 21:23:58,617 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T21:23:58.673Z] 2023-09-12 21:23:58,617 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-384/.semver [2023-09-12T21:23:58.673Z] 2023-09-12 21:23:58,618 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-384/.semver [2023-09-12T21:23:58.673Z] 2023-09-12 21:23:58,618 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-384/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-384, universal_newlines=False, shell=None, istream=None) [2023-09-12T21:23:59.611Z] 2023-09-12 21:23:59,577 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-384/.git/info/exclude [2023-09-12T21:23:59.611Z] 2023-09-12 21:23:59,578 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-384/.semver/PR-384 with force:False [2023-09-12T21:23:59.611Z] 2023-09-12 21:23:59,578 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-384/.semver/PR-384 [2023-09-12T21:23:59.611Z] 2023-09-12 21:23:59,583 [execute] INFO git cat-file --batch-check [2023-09-12T21:23:59.611Z] 2023-09-12 21:23:59,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-384/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:23:59.611Z] 2023-09-12 21:23:59,590 [execute] INFO git cat-file --batch [2023-09-12T21:23:59.611Z] 2023-09-12 21:23:59,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-384/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:23:59.611Z] 2023-09-12 21:23:59,596 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-384/.semver/PR-384 [2023-09-12T21:23:59.611Z] 0.0.0 [Pipeline] } [2023-09-12T21:23:59.884Z] $ docker exec --env ******** --env ******** 5c1288872e364cf6a8cd59a72f4c9e4c0768f725eceb096fbc5b01ac8dcf9ad6 ssh-agent -k [2023-09-12T21:23:59.998Z] unset SSH_AUTH_SOCK; [2023-09-12T21:23:59.999Z] unset SSH_AGENT_PID; [2023-09-12T21:23:59.999Z] echo Agent pid 76 killed; [2023-09-12T21:24:00.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T21:24:00.444Z] + git semver [Pipeline] } [2023-09-12T21:24:00.724Z] $ docker stop --time=1 5c1288872e364cf6a8cd59a72f4c9e4c0768f725eceb096fbc5b01ac8dcf9ad6 [2023-09-12T21:24:02.040Z] $ docker rm -f --volumes 5c1288872e364cf6a8cd59a72f4c9e4c0768f725eceb096fbc5b01ac8dcf9ad6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:24:02.439Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T21:24:02.716Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T21:24:02.733Z] [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 [2023-09-12T21:24:03.345Z] provisioning config files... [2023-09-12T21:24:03.355Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-384@tmp/config6629358690492185067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:24:03.703Z] ---> docker-login.sh [2023-09-12T21:24:03.703Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:24:03.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:24:03.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:24:03.703Z] Configure a credential helper to remove this warning. See [2023-09-12T21:24:03.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:24:03.703Z] [2023-09-12T21:24:03.703Z] Login Succeeded [2023-09-12T21:24:03.703Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:24:03.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:24:03.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:24:03.703Z] Configure a credential helper to remove this warning. See [2023-09-12T21:24:03.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:24:03.703Z] [2023-09-12T21:24:03.703Z] Login Succeeded [2023-09-12T21:24:03.703Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:24:03.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:24:03.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:24:03.963Z] Configure a credential helper to remove this warning. See [2023-09-12T21:24:03.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:24:03.963Z] [2023-09-12T21:24:03.963Z] Login Succeeded [2023-09-12T21:24:03.963Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:24:03.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:24:03.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:24:03.963Z] Configure a credential helper to remove this warning. See [2023-09-12T21:24:03.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:24:03.963Z] [2023-09-12T21:24:03.963Z] Login Succeeded [2023-09-12T21:24:03.963Z] docker.io [2023-09-12T21:24:03.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:24:04.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:24:04.222Z] Configure a credential helper to remove this warning. See [2023-09-12T21:24:04.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:24:04.222Z] [2023-09-12T21:24:04.222Z] Login Succeeded [2023-09-12T21:24:04.222Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:24:04.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:24:04.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:24:04.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:24:04.515Z] ========================================================= [2023-09-12T21:24:04.515Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T21:24:04.515Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:24:04.977Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T21:24:04.977Z] Sending build context to Docker daemon 21.68MB [2023-09-12T21:24:04.977Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:24:04.977Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-12T21:24:05.239Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T21:24:05.239Z] 7264a8db6415: Pulling fs layer [2023-09-12T21:24:05.239Z] c4d48a809fc2: Pulling fs layer [2023-09-12T21:24:05.239Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T21:24:05.239Z] ad3a456e5733: Pulling fs layer [2023-09-12T21:24:05.239Z] 9e4f439ed901: Pulling fs layer [2023-09-12T21:24:05.239Z] feaf6a47b606: Pulling fs layer [2023-09-12T21:24:05.239Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T21:24:05.239Z] 8ac70367396e: Pulling fs layer [2023-09-12T21:24:05.239Z] 6db16350a2e2: Pulling fs layer [2023-09-12T21:24:05.239Z] 9250d5d63582: Pulling fs layer [2023-09-12T21:24:05.239Z] ad3a456e5733: Waiting [2023-09-12T21:24:05.239Z] 9e4f439ed901: Waiting [2023-09-12T21:24:05.239Z] feaf6a47b606: Waiting [2023-09-12T21:24:05.239Z] 9250d5d63582: Waiting [2023-09-12T21:24:05.239Z] 5e8b037d7d82: Waiting [2023-09-12T21:24:05.239Z] 6db16350a2e2: Waiting [2023-09-12T21:24:05.239Z] 8ac70367396e: Waiting [2023-09-12T21:24:05.239Z] c4d48a809fc2: Verifying Checksum [2023-09-12T21:24:05.239Z] c4d48a809fc2: Download complete [2023-09-12T21:24:05.239Z] ad3a456e5733: Verifying Checksum [2023-09-12T21:24:05.239Z] ad3a456e5733: Download complete [2023-09-12T21:24:05.239Z] 9e4f439ed901: Verifying Checksum [2023-09-12T21:24:05.239Z] 9e4f439ed901: Download complete [2023-09-12T21:24:05.239Z] 7264a8db6415: Verifying Checksum [2023-09-12T21:24:05.239Z] 7264a8db6415: Download complete [2023-09-12T21:24:05.239Z] feaf6a47b606: Verifying Checksum [2023-09-12T21:24:05.239Z] feaf6a47b606: Download complete [2023-09-12T21:24:05.239Z] 7264a8db6415: Pull complete [2023-09-12T21:24:05.498Z] 8ac70367396e: Verifying Checksum [2023-09-12T21:24:05.498Z] 8ac70367396e: Download complete [2023-09-12T21:24:05.498Z] c4d48a809fc2: Pull complete [2023-09-12T21:24:05.498Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T21:24:05.498Z] 4f1c88b9dad5: Download complete [2023-09-12T21:24:05.756Z] 6db16350a2e2: Verifying Checksum [2023-09-12T21:24:05.756Z] 6db16350a2e2: Download complete [2023-09-12T21:24:05.756Z] 9250d5d63582: Verifying Checksum [2023-09-12T21:24:05.756Z] 9250d5d63582: Download complete [2023-09-12T21:24:06.015Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T21:24:06.015Z] 5e8b037d7d82: Download complete [2023-09-12T21:24:08.546Z] 4f1c88b9dad5: Pull complete [2023-09-12T21:24:08.546Z] ad3a456e5733: Pull complete [2023-09-12T21:24:08.546Z] 9e4f439ed901: Pull complete [2023-09-12T21:24:08.806Z] feaf6a47b606: Pull complete [2023-09-12T21:24:11.335Z] 5e8b037d7d82: Pull complete [2023-09-12T21:24:11.335Z] 8ac70367396e: Pull complete [2023-09-12T21:24:11.900Z] 6db16350a2e2: Pull complete [2023-09-12T21:24:12.465Z] 9250d5d63582: Pull complete [2023-09-12T21:24:12.465Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T21:24:12.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T21:24:12.465Z] ---> fa269f55d9b9 [2023-09-12T21:24:12.465Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:24:17.813Z] ---> Running in fb40384a5ec0 [2023-09-12T21:24:17.813Z] Removing intermediate container fb40384a5ec0 [2023-09-12T21:24:17.813Z] ---> 33111916628d [2023-09-12T21:24:17.813Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:24:17.813Z] ---> Running in 429b17673b46 [2023-09-12T21:24:17.813Z] Removing intermediate container 429b17673b46 [2023-09-12T21:24:17.813Z] ---> 3c8e87f575e7 [2023-09-12T21:24:17.813Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-09-12T21:24:17.813Z] ---> Running in 09e2ed2c1143 [2023-09-12T21:24:17.813Z] Removing intermediate container 09e2ed2c1143 [2023-09-12T21:24:17.813Z] ---> d675d2dd5f4a [2023-09-12T21:24:17.813Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:24:17.813Z] ---> Running in 653d6aedbdc3 [2023-09-12T21:24:17.813Z] Removing intermediate container 653d6aedbdc3 [2023-09-12T21:24:17.813Z] ---> e5b8225cf87c [2023-09-12T21:24:17.813Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-09-12T21:24:17.813Z] ---> Running in b2755d598873 [2023-09-12T21:24:17.813Z] Removing intermediate container b2755d598873 [2023-09-12T21:24:17.813Z] ---> 150492d1f2f1 [2023-09-12T21:24:17.813Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:24:17.813Z] ---> Running in 87f872492e18 [2023-09-12T21:24:17.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:24:17.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:24:18.073Z] OK: 265 MiB in 56 packages [2023-09-12T21:24:18.173Z] Still waiting to schedule task [2023-09-12T21:24:18.173Z] ‘prd-centos7-blackbox-4c-2g-5675’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T21:24:18.173Z] ‘prd-centos7-blackbox-4c-2g-5676’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T21:24:18.173Z] ‘prd-ubuntu20.04-docker-8c-8g-5988’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T21:24:18.174Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5991’ is offline [2023-09-12T21:24:18.174Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5998’ is offline [2023-09-12T21:24:18.331Z] Removing intermediate container 87f872492e18 [2023-09-12T21:24:18.331Z] ---> b0475cb908e4 [2023-09-12T21:24:18.331Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-09-12T21:24:18.331Z] ---> Running in beb803a14ba6 [2023-09-12T21:24:18.331Z] Removing intermediate container beb803a14ba6 [2023-09-12T21:24:18.331Z] ---> a322d5fa4e95 [2023-09-12T21:24:18.331Z] Step 10/13 : COPY go.mod vendor* ./ [2023-09-12T21:24:18.591Z] ---> aee5e2321cd6 [2023-09-12T21:24:18.591Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:24:18.591Z] ---> Running in 976e0db01387 [2023-09-12T21:24:50.663Z] Removing intermediate container 976e0db01387 [2023-09-12T21:24:50.663Z] ---> d8d0c7941f18 [2023-09-12T21:24:50.663Z] Step 12/13 : COPY . . [2023-09-12T21:24:51.229Z] ---> f1c6b1560ff3 [2023-09-12T21:24:51.229Z] Step 13/13 : RUN ${MAKE} [2023-09-12T21:24:51.229Z] ---> Running in a96fd7712051 [2023-09-12T21:24:51.487Z] noop [2023-09-12T21:24:51.745Z] Removing intermediate container a96fd7712051 [2023-09-12T21:24:51.745Z] ---> 04609b627a52 [2023-09-12T21:24:51.745Z] Successfully built 04609b627a52 [2023-09-12T21:24:51.745Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:24:52.187Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:24:52.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:24:52.346Z] prd-ubuntu20.04-docker-8c-8g-5997 does not seem to be running inside a container [2023-09-12T21:24:52.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-384 -v /w/workspace/undry_device-onvif-camera_PR-384:/w/workspace/undry_device-onvif-camera_PR-384:rw,z -v /w/workspace/undry_device-onvif-camera_PR-384@tmp:/w/workspace/undry_device-onvif-camera_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:24:52.702Z] $ docker top 5e57132dd4e0e1dfcb7168bba23a88e222a7080121570fefd32d491839fb53ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:24:53.084Z] + go version [2023-09-12T21:24:53.085Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T21:24:53.112Z] $ docker stop --time=1 5e57132dd4e0e1dfcb7168bba23a88e222a7080121570fefd32d491839fb53ac [2023-09-12T21:24:54.332Z] $ docker rm -f --volumes 5e57132dd4e0e1dfcb7168bba23a88e222a7080121570fefd32d491839fb53ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:24:55.031Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:24:55.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:24:55.172Z] prd-ubuntu20.04-docker-8c-8g-5997 does not seem to be running inside a container [2023-09-12T21:24:55.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-384 -v /w/workspace/undry_device-onvif-camera_PR-384:/w/workspace/undry_device-onvif-camera_PR-384:rw,z -v /w/workspace/undry_device-onvif-camera_PR-384@tmp:/w/workspace/undry_device-onvif-camera_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:24:55.529Z] $ docker top 7b709cdb1f867e70b81ad828c3b95eec8cd0f3ad78f5f5ca1e5a075786e1a113 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:24:55.926Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-384 [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:24:56.280Z] + make test [2023-09-12T21:24:56.280Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T21:24:57.652Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-09-12T21:25:07.608Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-09-12T21:25:07.866Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-09-12T21:25:09.775Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.5% of statements [2023-09-12T21:25:09.775Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.082s coverage: 86.5% of statements [2023-09-12T21:25:17.649Z] go vet ./... [2023-09-12T21:25:19.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:25:19.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:25:19.547Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:25:19.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:25:19.613Z] $ docker stop --time=1 7b709cdb1f867e70b81ad828c3b95eec8cd0f3ad78f5f5ca1e5a075786e1a113 [2023-09-12T21:25:23.164Z] $ docker rm -f --volumes 7b709cdb1f867e70b81ad828c3b95eec8cd0f3ad78f5f5ca1e5a075786e1a113 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:25:23.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:25:23.756Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T21:25:24.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:25:24.692Z] + ls -al . [2023-09-12T21:25:24.692Z] total 240 [2023-09-12T21:25:24.692Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:24 . [2023-09-12T21:25:24.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:23 .. [2023-09-12T21:25:24.692Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:25 .git [2023-09-12T21:25:24.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:23 .github [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 496 Sep 12 21:23 .gitignore [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 21:23 .golangci.yml [2023-09-12T21:25:24.692Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:23 .semver [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 11155 Sep 12 21:23 Attribution.txt [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 15932 Sep 12 21:23 CHANGELOG.md [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 1574 Sep 12 21:23 Dockerfile [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:23 GOVERNANCE.md [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 739 Sep 12 21:23 Jenkinsfile [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 21:23 LICENSE [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 2877 Sep 12 21:23 Makefile [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 21:23 OWNERS.md [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 2620 Sep 12 21:23 README.md [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:24 VERSION [2023-09-12T21:25:24.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:23 bin [2023-09-12T21:25:24.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:23 cmd [2023-09-12T21:25:24.692Z] -rw-r--r-- 1 jenkins jenkins 78456 Sep 12 21:25 coverage.out [2023-09-12T21:25:24.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:23 doc [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 4085 Sep 12 21:23 go.mod [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 36344 Sep 12 21:23 go.sum [2023-09-12T21:25:24.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:23 internal [2023-09-12T21:25:24.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:23 snap [2023-09-12T21:25:24.692Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:25:25.079Z] + 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=81384750a0850af4559470bf93802a5202ec2b22 --label arch=amd64 --label version=0.0.0 . [2023-09-12T21:25:25.080Z] Sending build context to Docker daemon 21.76MB [2023-09-12T21:25:25.080Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:25:25.080Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-12T21:25:25.080Z] ---> 04609b627a52 [2023-09-12T21:25:25.080Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:25:25.647Z] ---> Running in 1945e1116f8e [2023-09-12T21:25:25.647Z] Removing intermediate container 1945e1116f8e [2023-09-12T21:25:25.647Z] ---> 136258cc2786 [2023-09-12T21:25:25.647Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:25:25.647Z] ---> Running in 6a19797306c9 [2023-09-12T21:25:25.647Z] Removing intermediate container 6a19797306c9 [2023-09-12T21:25:25.647Z] ---> 18f677d0ff6f [2023-09-12T21:25:25.647Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-12T21:25:25.647Z] ---> Running in e146bde916e3 [2023-09-12T21:25:25.647Z] Removing intermediate container e146bde916e3 [2023-09-12T21:25:25.647Z] ---> d81955b54709 [2023-09-12T21:25:25.647Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:25:25.906Z] ---> Running in f0bd412332fe [2023-09-12T21:25:25.906Z] Removing intermediate container f0bd412332fe [2023-09-12T21:25:25.906Z] ---> e1fce9752c06 [2023-09-12T21:25:25.906Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-09-12T21:25:25.906Z] ---> Running in fc611f387880 [2023-09-12T21:25:25.906Z] Removing intermediate container fc611f387880 [2023-09-12T21:25:25.906Z] ---> cb6fe6a88acd [2023-09-12T21:25:25.906Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:25:25.906Z] ---> Running in 7cd180775a3f [2023-09-12T21:25:26.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:25:26.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:25:26.423Z] OK: 265 MiB in 56 packages [2023-09-12T21:25:26.683Z] Removing intermediate container 7cd180775a3f [2023-09-12T21:25:26.683Z] ---> b73b5b461bbc [2023-09-12T21:25:26.683Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-09-12T21:25:26.683Z] ---> Running in dcda02865eda [2023-09-12T21:25:26.942Z] Removing intermediate container dcda02865eda [2023-09-12T21:25:26.942Z] ---> 0e97a23704b4 [2023-09-12T21:25:26.942Z] Step 10/26 : COPY go.mod vendor* ./ [2023-09-12T21:25:26.942Z] ---> 795282961d6b [2023-09-12T21:25:26.942Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:25:26.942Z] ---> Running in 6d27dca12eb6 [2023-09-12T21:25:27.877Z] Removing intermediate container 6d27dca12eb6 [2023-09-12T21:25:27.877Z] ---> 5ab5b6d3c5ec [2023-09-12T21:25:27.877Z] Step 12/26 : COPY . . [2023-09-12T21:25:28.444Z] ---> f683f644a5c0 [2023-09-12T21:25:28.444Z] Step 13/26 : RUN ${MAKE} [2023-09-12T21:25:28.444Z] ---> Running in 56d392b0d109 [2023-09-12T21:25:28.703Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-09-12T21:25:50.650Z] Removing intermediate container 56d392b0d109 [2023-09-12T21:25:50.650Z] ---> 8ecb33ef8f79 [2023-09-12T21:25:50.650Z] Step 14/26 : FROM alpine:3.18 [2023-09-12T21:25:50.650Z] 3.18: Pulling from library/alpine [2023-09-12T21:25:50.650Z] 7264a8db6415: Already exists [2023-09-12T21:25:50.650Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:25:50.650Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:25:50.650Z] ---> 7e01a0d0a1dc [2023-09-12T21:25:50.650Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-09-12T21:25:50.650Z] ---> Running in e6dc498621c4 [2023-09-12T21:25:50.650Z] Removing intermediate container e6dc498621c4 [2023-09-12T21:25:50.650Z] ---> 489f8f778f14 [2023-09-12T21:25:50.650Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:25:50.650Z] ---> Running in 5fd7a8123a78 [2023-09-12T21:25:50.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:25:50.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:25:50.650Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:25:50.650Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:25:50.650Z] OK: 7 MiB in 16 packages [2023-09-12T21:25:50.909Z] Removing intermediate container 5fd7a8123a78 [2023-09-12T21:25:50.909Z] ---> 20cc618a2a54 [2023-09-12T21:25:50.909Z] Step 17/26 : WORKDIR / [2023-09-12T21:25:50.909Z] ---> Running in ea5666aa947d [2023-09-12T21:25:50.909Z] Removing intermediate container ea5666aa947d [2023-09-12T21:25:50.909Z] ---> 3450cbe86a60 [2023-09-12T21:25:50.909Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-09-12T21:25:51.846Z] ---> fa607f6ee6f4 [2023-09-12T21:25:51.846Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-09-12T21:25:51.846Z] ---> 5b7bb2f9ed72 [2023-09-12T21:25:51.846Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-09-12T21:25:51.846Z] ---> 3aa300c4e4bb [2023-09-12T21:25:51.846Z] Step 21/26 : EXPOSE 59984 [2023-09-12T21:25:51.846Z] ---> Running in 730cfce3e548 [2023-09-12T21:25:51.846Z] Removing intermediate container 730cfce3e548 [2023-09-12T21:25:51.846Z] ---> 9522cd120fa5 [2023-09-12T21:25:51.846Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-09-12T21:25:52.106Z] ---> Running in 0346d654eab4 [2023-09-12T21:25:52.106Z] Removing intermediate container 0346d654eab4 [2023-09-12T21:25:52.106Z] ---> b4c58816b494 [2023-09-12T21:25:52.106Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T21:25:52.106Z] ---> Running in d3b83b2bcaef [2023-09-12T21:25:52.106Z] Removing intermediate container d3b83b2bcaef [2023-09-12T21:25:52.106Z] ---> 2445127e460d [2023-09-12T21:25:52.106Z] Step 24/26 : LABEL arch=amd64 [2023-09-12T21:25:52.106Z] ---> Running in 71d51f773f9a [2023-09-12T21:25:52.106Z] Removing intermediate container 71d51f773f9a [2023-09-12T21:25:52.106Z] ---> bdf62c236d78 [2023-09-12T21:25:52.106Z] Step 25/26 : LABEL git_sha=81384750a0850af4559470bf93802a5202ec2b22 [2023-09-12T21:25:52.366Z] ---> Running in c8fe56bec26a [2023-09-12T21:25:52.366Z] Removing intermediate container c8fe56bec26a [2023-09-12T21:25:52.366Z] ---> 9b3436613281 [2023-09-12T21:25:52.366Z] Step 26/26 : LABEL version=0.0.0 [2023-09-12T21:25:52.366Z] ---> Running in a73b850403a4 [2023-09-12T21:25:52.366Z] Removing intermediate container a73b850403a4 [2023-09-12T21:25:52.366Z] ---> dc3a0d46a7cf [2023-09-12T21:25:52.366Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:25:52.366Z] Successfully built dc3a0d46a7cf [2023-09-12T21:25:52.366Z] 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 [2023-09-12T21:25:53.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:25:53.258Z] [2023-09-12T21:25:53.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:25:53.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:25:53.626Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T21:25:53.626Z] 5eb5b503b376: Pulling fs layer [2023-09-12T21:25:53.626Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T21:25:53.626Z] ec43610c2a17: Pulling fs layer [2023-09-12T21:25:53.626Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T21:25:53.626Z] 33b1e0a273af: Pulling fs layer [2023-09-12T21:25:53.626Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T21:25:53.626Z] 2f39f015ded8: Pulling fs layer [2023-09-12T21:25:53.626Z] 33b1e0a273af: Waiting [2023-09-12T21:25:53.626Z] 5d3b04190fa2: Waiting [2023-09-12T21:25:53.626Z] 2f39f015ded8: Waiting [2023-09-12T21:25:53.626Z] 3a2ae6a8a46f: Waiting [2023-09-12T21:25:53.626Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T21:25:53.626Z] 5c69ac0246d0: Download complete [2023-09-12T21:25:53.626Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T21:25:53.626Z] 3a2ae6a8a46f: Download complete [2023-09-12T21:25:53.626Z] 33b1e0a273af: Verifying Checksum [2023-09-12T21:25:53.626Z] 33b1e0a273af: Download complete [2023-09-12T21:25:53.626Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T21:25:53.626Z] 5d3b04190fa2: Download complete [2023-09-12T21:25:53.626Z] ec43610c2a17: Verifying Checksum [2023-09-12T21:25:53.626Z] ec43610c2a17: Download complete [2023-09-12T21:25:53.884Z] 5eb5b503b376: Verifying Checksum [2023-09-12T21:25:53.884Z] 5eb5b503b376: Download complete [2023-09-12T21:25:54.449Z] 2f39f015ded8: Download complete [2023-09-12T21:25:55.014Z] 5eb5b503b376: Pull complete [2023-09-12T21:25:55.014Z] 5c69ac0246d0: Pull complete [2023-09-12T21:25:55.584Z] ec43610c2a17: Pull complete [2023-09-12T21:25:55.584Z] 3a2ae6a8a46f: Pull complete [2023-09-12T21:25:55.584Z] 33b1e0a273af: Pull complete [2023-09-12T21:25:55.852Z] 5d3b04190fa2: Pull complete [2023-09-12T21:26:00.065Z] 2f39f015ded8: Pull complete [2023-09-12T21:26:00.065Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T21:26:00.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:26:00.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:26:00.263Z] prd-ubuntu20.04-docker-8c-8g-5997 does not seem to be running inside a container [2023-09-12T21:26:00.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-384 -v /w/workspace/undry_device-onvif-camera_PR-384:/w/workspace/undry_device-onvif-camera_PR-384:rw,z -v /w/workspace/undry_device-onvif-camera_PR-384@tmp:/w/workspace/undry_device-onvif-camera_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T21:26:04.055Z] $ docker top 5c07708ecf5b146f72c52db95e7a8d52ac19b2b9dfaee2638d71f7431b77fcae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:26:04.479Z] ---> job-cost.sh [2023-09-12T21:26:04.479Z] lf-activate-venv: SKIPPING [2023-09-12T21:26:04.479Z] INFO: No Stack... [2023-09-12T21:26:04.738Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T21:26:04.997Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T21:26:05.312Z] + cat /w/workspace/undry_device-onvif-camera_PR-384/archives/cost.csv [2023-09-12T21:26:05.312Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T21:26:05.360Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-384-1-stack-cost] [2023-09-12T21:26:05.365Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-384-1-stack-cost] did not exist. Created. [2023-09-12T21:26:05.365Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T21:26:05.743Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T21:26:05.797Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T21:26:05.824Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T21:26:05.901Z] $ docker stop --time=1 5c07708ecf5b146f72c52db95e7a8d52ac19b2b9dfaee2638d71f7431b77fcae [2023-09-12T21:26:07.052Z] $ docker rm -f --volumes 5c07708ecf5b146f72c52db95e7a8d52ac19b2b9dfaee2638d71f7431b77fcae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T21:28:14.071Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5999 in /w/workspace/undry_device-onvif-camera_PR-384 [Pipeline] { [Pipeline] ws [2023-09-12T21:28:14.127Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-09-12T21:28:14.211Z] The recommended git tool is: git [2023-09-12T21:28:20.039Z] using credential edgex-jenkins-ssh [2023-09-12T21:28:20.058Z] Cloning the remote Git repository [2023-09-12T21:28:20.103Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-12T21:28:20.204Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-09-12T21:28:20.366Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-12T21:28:20.368Z] > git --version # timeout=10 [2023-09-12T21:28:20.397Z] > git --version # 'git version 2.25.1' [2023-09-12T21:28:20.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:28:20.592Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:28:23.151Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-09-12T21:28:23.173Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:28:24.166Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-09-12T21:28:24.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-09-12T21:28:24.214Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:28:24.233Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T21:28:24.794Z] Merging remotes/origin/main commit 8c92c2345ec4e0cbdd9f822b52f444e1a80ad818 into PR head commit 81384750a0850af4559470bf93802a5202ec2b22 [2023-09-12T21:28:25.237Z] Merge succeeded, producing 81384750a0850af4559470bf93802a5202ec2b22 [2023-09-12T21:28:25.238Z] Checking out Revision 81384750a0850af4559470bf93802a5202ec2b22 (PR-384) [2023-09-12T21:28:24.814Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T21:28:24.906Z] > git checkout -f 81384750a0850af4559470bf93802a5202ec2b22 # timeout=10 [2023-09-12T21:28:25.112Z] > git remote # timeout=10 [2023-09-12T21:28:25.143Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T21:28:25.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:28:25.179Z] > git merge 8c92c2345ec4e0cbdd9f822b52f444e1a80ad818 # timeout=10 [2023-09-12T21:28:25.213Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T21:28:25.243Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T21:28:25.259Z] > git checkout -f 81384750a0850af4559470bf93802a5202ec2b22 # timeout=10 [2023-09-12T21:28:28.895Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" [2023-09-12T21:28:28.961Z] > git --version # timeout=10 [2023-09-12T21:28:28.973Z] > git --version # 'git version 2.25.1' [2023-09-12T21:28:28.986Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:28:30.117Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T21:28:30.117Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T21:28:30.117Z] Dload Upload Total Spent Left Speed [2023-09-12T21:28:30.117Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-09-12T21:28:31.003Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T21:28:31.357Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T21:28:31.357Z] + sudo tee /etc/docker/daemon.new [2023-09-12T21:28:31.357Z] { [2023-09-12T21:28:31.357Z] "registry-mirrors": [ [2023-09-12T21:28:31.357Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T21:28:31.357Z] ], [2023-09-12T21:28:31.357Z] "bip": "10.250.0.254/24", [2023-09-12T21:28:31.357Z] "hosts": [ [2023-09-12T21:28:31.357Z] "tcp://0.0.0.0:5555", [2023-09-12T21:28:31.357Z] "unix:///var/run/docker.sock" [2023-09-12T21:28:31.357Z] ], [2023-09-12T21:28:31.357Z] "mtu": 1458, [2023-09-12T21:28:31.357Z] "selinux-enabled": true, [2023-09-12T21:28:31.357Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T21:28:31.357Z] } [Pipeline] sh [2023-09-12T21:28:31.713Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T21:28:32.077Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:28:54.952Z] provisioning config files... [2023-09-12T21:28:54.987Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3562670384983793329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:28:55.398Z] ---> docker-login.sh [2023-09-12T21:28:55.399Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:28:55.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:28:55.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:28:55.993Z] Configure a credential helper to remove this warning. See [2023-09-12T21:28:55.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:28:55.993Z] [2023-09-12T21:28:55.993Z] Login Succeeded [2023-09-12T21:28:55.993Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:28:56.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:28:56.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:28:56.540Z] Configure a credential helper to remove this warning. See [2023-09-12T21:28:56.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:28:56.540Z] [2023-09-12T21:28:56.540Z] Login Succeeded [2023-09-12T21:28:56.540Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:28:56.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:28:56.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:28:56.814Z] Configure a credential helper to remove this warning. See [2023-09-12T21:28:56.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:28:56.814Z] [2023-09-12T21:28:56.814Z] Login Succeeded [2023-09-12T21:28:56.814Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:28:57.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:28:57.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:28:57.362Z] Configure a credential helper to remove this warning. See [2023-09-12T21:28:57.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:28:57.362Z] [2023-09-12T21:28:57.362Z] Login Succeeded [2023-09-12T21:28:57.362Z] docker.io [2023-09-12T21:28:57.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:28:57.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:28:57.906Z] Configure a credential helper to remove this warning. See [2023-09-12T21:28:57.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:28:57.906Z] [2023-09-12T21:28:57.906Z] Login Succeeded [2023-09-12T21:28:57.906Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:28:57.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:28:58.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:28:58.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:28:58.409Z] ========================================================= [2023-09-12T21:28:58.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T21:28:58.409Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:28:58.927Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T21:28:59.529Z] Sending build context to Docker daemon 14.21MB [2023-09-12T21:28:59.529Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:28:59.529Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-12T21:28:59.529Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T21:28:59.529Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T21:28:59.529Z] 5d54e960e981: Pulling fs layer [2023-09-12T21:28:59.529Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T21:28:59.529Z] f0e02332f6b5: Pulling fs layer [2023-09-12T21:28:59.529Z] 66412af1f25a: Pulling fs layer [2023-09-12T21:28:59.529Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T21:28:59.529Z] 9a37bb91b891: Pulling fs layer [2023-09-12T21:28:59.529Z] a29adfc67d43: Pulling fs layer [2023-09-12T21:28:59.529Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T21:28:59.529Z] 1baf3a5c0e64: Waiting [2023-09-12T21:28:59.529Z] 9a37bb91b891: Waiting [2023-09-12T21:28:59.529Z] a29adfc67d43: Waiting [2023-09-12T21:28:59.529Z] d5de9f91c1a4: Waiting [2023-09-12T21:28:59.529Z] f0e02332f6b5: Waiting [2023-09-12T21:28:59.529Z] 66412af1f25a: Waiting [2023-09-12T21:28:59.529Z] 5d54e960e981: Verifying Checksum [2023-09-12T21:28:59.529Z] 5d54e960e981: Download complete [2023-09-12T21:28:59.529Z] f0e02332f6b5: Verifying Checksum [2023-09-12T21:28:59.529Z] f0e02332f6b5: Download complete [2023-09-12T21:28:59.529Z] 66412af1f25a: Verifying Checksum [2023-09-12T21:28:59.529Z] 66412af1f25a: Download complete [2023-09-12T21:28:59.807Z] 9fda8d8052c6: Download complete [2023-09-12T21:29:00.412Z] 9a37bb91b891: Verifying Checksum [2023-09-12T21:29:00.412Z] 9a37bb91b891: Download complete [2023-09-12T21:29:01.010Z] 9fda8d8052c6: Pull complete [2023-09-12T21:29:01.010Z] a29adfc67d43: Download complete [2023-09-12T21:29:01.608Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T21:29:01.608Z] d5de9f91c1a4: Download complete [2023-09-12T21:29:01.888Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T21:29:01.888Z] c4a7e357bf2a: Download complete [2023-09-12T21:29:02.479Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T21:29:02.479Z] 1baf3a5c0e64: Download complete [2023-09-12T21:29:04.433Z] 5d54e960e981: Pull complete [2023-09-12T21:29:14.543Z] c4a7e357bf2a: Pull complete [2023-09-12T21:29:14.543Z] f0e02332f6b5: Pull complete [2023-09-12T21:29:14.813Z] 66412af1f25a: Pull complete [2023-09-12T21:29:21.483Z] 1baf3a5c0e64: Pull complete [2023-09-12T21:29:22.446Z] 9a37bb91b891: Pull complete [2023-09-12T21:29:23.408Z] a29adfc67d43: Pull complete [2023-09-12T21:29:24.825Z] d5de9f91c1a4: Pull complete [2023-09-12T21:29:24.825Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T21:29:24.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T21:29:24.825Z] ---> 746ca1b523b5 [2023-09-12T21:29:24.825Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:29:26.238Z] ---> Running in 2458c2c8ba58 [2023-09-12T21:29:26.505Z] Removing intermediate container 2458c2c8ba58 [2023-09-12T21:29:26.505Z] ---> ca4c9b2af093 [2023-09-12T21:29:26.505Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:29:26.776Z] ---> Running in 76e8cd6a22ad [2023-09-12T21:29:27.044Z] Removing intermediate container 76e8cd6a22ad [2023-09-12T21:29:27.044Z] ---> 6833d794326e [2023-09-12T21:29:27.044Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-09-12T21:29:27.044Z] ---> Running in c4a72db6f73a [2023-09-12T21:29:27.310Z] Removing intermediate container c4a72db6f73a [2023-09-12T21:29:27.310Z] ---> f4cc84935991 [2023-09-12T21:29:27.310Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:29:27.578Z] ---> Running in 8f424a2f9f59 [2023-09-12T21:29:27.848Z] Removing intermediate container 8f424a2f9f59 [2023-09-12T21:29:27.848Z] ---> c7370c88a9dc [2023-09-12T21:29:27.848Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-09-12T21:29:27.848Z] ---> Running in 46e4e7bd24ce [2023-09-12T21:29:28.119Z] Removing intermediate container 46e4e7bd24ce [2023-09-12T21:29:28.119Z] ---> 564727802ed9 [2023-09-12T21:29:28.119Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:29:28.387Z] ---> Running in 446b58d1c028 [2023-09-12T21:29:29.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:29:29.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:29:30.892Z] OK: 267 MiB in 56 packages [2023-09-12T21:29:32.302Z] Removing intermediate container 446b58d1c028 [2023-09-12T21:29:32.302Z] ---> c6bade8d567c [2023-09-12T21:29:32.302Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-09-12T21:29:32.302Z] ---> Running in 180323318af4 [2023-09-12T21:29:32.570Z] Removing intermediate container 180323318af4 [2023-09-12T21:29:32.570Z] ---> e011eb5ff56d [2023-09-12T21:29:32.570Z] Step 10/13 : COPY go.mod vendor* ./ [2023-09-12T21:29:33.163Z] ---> 1cc51bdedffa [2023-09-12T21:29:33.163Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:29:33.435Z] ---> Running in 6698ee33aa58 [2023-09-12T21:30:55.075Z] Removing intermediate container 6698ee33aa58 [2023-09-12T21:30:55.075Z] ---> ee715f2aeda6 [2023-09-12T21:30:55.075Z] Step 12/13 : COPY . . [2023-09-12T21:30:55.075Z] ---> 22937a11fdec [2023-09-12T21:30:55.075Z] Step 13/13 : RUN ${MAKE} [2023-09-12T21:30:55.075Z] ---> Running in 1c8d8c47536b [2023-09-12T21:30:55.075Z] noop [2023-09-12T21:30:55.075Z] Removing intermediate container 1c8d8c47536b [2023-09-12T21:30:55.075Z] ---> 6d2e9c1f768c [2023-09-12T21:30:55.075Z] Successfully built 6d2e9c1f768c [2023-09-12T21:30:55.075Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:30:55.554Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:30:55.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:30:55.820Z] prd-ubuntu20.04-docker-arm64-4c-16g-5999 does not seem to be running inside a container [2023-09-12T21:30:55.883Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T21:30:57.096Z] $ docker top 78b82e6ca09a9113ea753ce7356dca13d5ee8a7e6b3d9bbee4ce27cf6ee72dcf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:30:57.974Z] + go version [2023-09-12T21:30:57.974Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T21:30:58.006Z] $ docker stop --time=1 78b82e6ca09a9113ea753ce7356dca13d5ee8a7e6b3d9bbee4ce27cf6ee72dcf [2023-09-12T21:30:59.625Z] $ docker rm -f --volumes 78b82e6ca09a9113ea753ce7356dca13d5ee8a7e6b3d9bbee4ce27cf6ee72dcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:31:00.569Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:31:00.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:31:00.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-5999 does not seem to be running inside a container [2023-09-12T21:31:00.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T21:31:02.035Z] $ docker top 91c8a27f80aae07b5412be311099a7ec7d0316ce328e732a36cea8f8631a2620 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:31:02.926Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:31:03.312Z] + make test [2023-09-12T21:31:03.312Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T21:31:08.658Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-09-12T21:33:15.366Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-09-12T21:33:15.366Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-09-12T21:33:15.366Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.204s coverage: 31.5% of statements [2023-09-12T21:33:23.578Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.038s coverage: 86.5% of statements [2023-09-12T21:33:23.578Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T21:33:23.578Z] go vet ./... [2023-09-12T21:33:50.272Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:33:50.272Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:33:50.272Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:33:50.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:33:50.340Z] $ docker stop --time=1 91c8a27f80aae07b5412be311099a7ec7d0316ce328e732a36cea8f8631a2620 [2023-09-12T21:33:52.246Z] $ docker rm -f --volumes 91c8a27f80aae07b5412be311099a7ec7d0316ce328e732a36cea8f8631a2620 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:33:53.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:33:53.612Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T21:33:54.122Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:33:54.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:33:55.057Z] + ls -al . [2023-09-12T21:33:55.057Z] total 236 [2023-09-12T21:33:55.057Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:31 . [2023-09-12T21:33:55.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:28 .. [2023-09-12T21:33:55.057Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:28 .git [2023-09-12T21:33:55.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:28 .github [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 496 Sep 12 21:28 .gitignore [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 21:28 .golangci.yml [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 11155 Sep 12 21:28 Attribution.txt [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 15932 Sep 12 21:28 CHANGELOG.md [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 1574 Sep 12 21:28 Dockerfile [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:28 GOVERNANCE.md [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 739 Sep 12 21:28 Jenkinsfile [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 21:28 LICENSE [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 2877 Sep 12 21:28 Makefile [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 21:28 OWNERS.md [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 2620 Sep 12 21:28 README.md [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:24 VERSION [2023-09-12T21:33:55.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:28 bin [2023-09-12T21:33:55.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:28 cmd [2023-09-12T21:33:55.057Z] -rw-r--r-- 1 jenkins jenkins 78456 Sep 12 21:33 coverage.out [2023-09-12T21:33:55.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:28 doc [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 4085 Sep 12 21:28 go.mod [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 36344 Sep 12 21:28 go.sum [2023-09-12T21:33:55.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:28 internal [2023-09-12T21:33:55.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:28 snap [2023-09-12T21:33:55.057Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 21:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:33:55.477Z] + 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=81384750a0850af4559470bf93802a5202ec2b22 --label arch=arm64 --label version=0.0.0 . [2023-09-12T21:33:55.748Z] Sending build context to Docker daemon 14.29MB [2023-09-12T21:33:56.017Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:33:56.017Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-12T21:33:56.017Z] ---> 6d2e9c1f768c [2023-09-12T21:33:56.017Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:33:56.017Z] ---> Running in 8ab7bc2274ee [2023-09-12T21:33:56.285Z] Removing intermediate container 8ab7bc2274ee [2023-09-12T21:33:56.285Z] ---> fb9afa11d8e4 [2023-09-12T21:33:56.286Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:33:56.554Z] ---> Running in 82ddd59de592 [2023-09-12T21:33:56.823Z] Removing intermediate container 82ddd59de592 [2023-09-12T21:33:56.823Z] ---> 9fffce70aebe [2023-09-12T21:33:56.823Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-12T21:33:56.823Z] ---> Running in 661a1f872e19 [2023-09-12T21:33:57.093Z] Removing intermediate container 661a1f872e19 [2023-09-12T21:33:57.093Z] ---> d283809c289e [2023-09-12T21:33:57.093Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:33:57.093Z] ---> Running in 7740fd3e2a3d [2023-09-12T21:33:57.360Z] Removing intermediate container 7740fd3e2a3d [2023-09-12T21:33:57.360Z] ---> 573818c2aa27 [2023-09-12T21:33:57.360Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-09-12T21:33:57.628Z] ---> Running in c8d7bcdd637d [2023-09-12T21:33:57.897Z] Removing intermediate container c8d7bcdd637d [2023-09-12T21:33:57.897Z] ---> f266ab342a9f [2023-09-12T21:33:57.897Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:33:57.897Z] ---> Running in 5ceff9b97ec7 [2023-09-12T21:33:58.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:33:59.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:34:00.537Z] OK: 267 MiB in 56 packages [2023-09-12T21:34:03.883Z] Removing intermediate container 5ceff9b97ec7 [2023-09-12T21:34:03.883Z] ---> 8a83c26810c9 [2023-09-12T21:34:03.883Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-09-12T21:34:03.883Z] ---> Running in d7bfa7c56791 [2023-09-12T21:34:03.883Z] Removing intermediate container d7bfa7c56791 [2023-09-12T21:34:03.883Z] ---> 2ac90aec75d7 [2023-09-12T21:34:03.883Z] Step 10/26 : COPY go.mod vendor* ./ [2023-09-12T21:34:04.151Z] ---> 6b46d3ec1952 [2023-09-12T21:34:04.151Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:34:04.151Z] ---> Running in e3b7e30eb002 [2023-09-12T21:34:06.739Z] Removing intermediate container e3b7e30eb002 [2023-09-12T21:34:06.739Z] ---> 33ee0190fc3f [2023-09-12T21:34:06.739Z] Step 12/26 : COPY . . [2023-09-12T21:34:07.700Z] ---> 93d6c1ea1bda [2023-09-12T21:34:07.700Z] Step 13/26 : RUN ${MAKE} [2023-09-12T21:34:07.700Z] ---> Running in e124cec14177 [2023-09-12T21:34:08.655Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-09-12T21:36:00.951Z] Removing intermediate container e124cec14177 [2023-09-12T21:36:00.951Z] ---> 91799edee0e0 [2023-09-12T21:36:00.951Z] Step 14/26 : FROM alpine:3.18 [2023-09-12T21:36:00.951Z] 3.18: Pulling from library/alpine [2023-09-12T21:36:00.951Z] 9fda8d8052c6: Already exists [2023-09-12T21:36:00.951Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:36:00.951Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:36:00.951Z] ---> f6648c04cd6c [2023-09-12T21:36:00.951Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-09-12T21:36:00.951Z] ---> Running in 169aeb608320 [2023-09-12T21:36:01.218Z] Removing intermediate container 169aeb608320 [2023-09-12T21:36:01.218Z] ---> b0cde7628dd4 [2023-09-12T21:36:01.218Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:36:01.487Z] ---> Running in a8872188af7a [2023-09-12T21:36:02.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:36:02.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:36:03.777Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:36:03.777Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:36:03.777Z] OK: 8 MiB in 16 packages [2023-09-12T21:36:05.776Z] Removing intermediate container a8872188af7a [2023-09-12T21:36:05.776Z] ---> 64426c88c4d5 [2023-09-12T21:36:05.776Z] Step 17/26 : WORKDIR / [2023-09-12T21:36:05.776Z] ---> Running in 0628fd746c39 [2023-09-12T21:36:06.048Z] Removing intermediate container 0628fd746c39 [2023-09-12T21:36:06.048Z] ---> 1465e4b8447b [2023-09-12T21:36:06.048Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-09-12T21:36:07.481Z] ---> d47dc51f022c [2023-09-12T21:36:07.481Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-09-12T21:36:08.065Z] ---> e8135ea9a485 [2023-09-12T21:36:08.065Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-09-12T21:36:08.331Z] ---> 1100621d0f76 [2023-09-12T21:36:08.331Z] Step 21/26 : EXPOSE 59984 [2023-09-12T21:36:08.596Z] ---> Running in 2e13d837e5af [2023-09-12T21:36:08.860Z] Removing intermediate container 2e13d837e5af [2023-09-12T21:36:08.860Z] ---> d3fcd77620a1 [2023-09-12T21:36:08.860Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-09-12T21:36:08.860Z] ---> Running in b293323d6f46 [2023-09-12T21:36:09.127Z] Removing intermediate container b293323d6f46 [2023-09-12T21:36:09.127Z] ---> 762206e6d2b1 [2023-09-12T21:36:09.127Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T21:36:09.127Z] ---> Running in a8641265010e [2023-09-12T21:36:09.709Z] Removing intermediate container a8641265010e [2023-09-12T21:36:09.709Z] ---> 80927fd5985e [2023-09-12T21:36:09.709Z] Step 24/26 : LABEL arch=arm64 [2023-09-12T21:36:09.709Z] ---> Running in 4d0a1603e96d [2023-09-12T21:36:09.975Z] Removing intermediate container 4d0a1603e96d [2023-09-12T21:36:09.975Z] ---> e28a9ae7817f [2023-09-12T21:36:09.975Z] Step 25/26 : LABEL git_sha=81384750a0850af4559470bf93802a5202ec2b22 [2023-09-12T21:36:09.975Z] ---> Running in 2a8d01b1b641 [2023-09-12T21:36:10.241Z] Removing intermediate container 2a8d01b1b641 [2023-09-12T21:36:10.241Z] ---> 25257b06aacc [2023-09-12T21:36:10.241Z] Step 26/26 : LABEL version=0.0.0 [2023-09-12T21:36:10.241Z] ---> Running in 6d26e4075f1e [2023-09-12T21:36:10.506Z] Removing intermediate container 6d26e4075f1e [2023-09-12T21:36:10.506Z] ---> f6428f2c4696 [2023-09-12T21:36:10.506Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:36:10.506Z] Successfully built f6428f2c4696 [2023-09-12T21:36:10.506Z] 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 [2023-09-12T21:36:11.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:36:11.298Z] [2023-09-12T21:36:11.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:36:11.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:36:11.703Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T21:36:11.703Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T21:36:11.703Z] 04944245beec: Pulling fs layer [2023-09-12T21:36:11.703Z] 699f458cf7ca: Pulling fs layer [2023-09-12T21:36:11.703Z] 765212b225bb: Pulling fs layer [2023-09-12T21:36:11.703Z] f23df028b6ca: Pulling fs layer [2023-09-12T21:36:11.703Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T21:36:11.703Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T21:36:11.703Z] f23df028b6ca: Waiting [2023-09-12T21:36:11.703Z] 2437ff75d9bd: Waiting [2023-09-12T21:36:11.703Z] 765212b225bb: Waiting [2023-09-12T21:36:11.703Z] d65c8cfc05b1: Waiting [2023-09-12T21:36:11.970Z] 04944245beec: Verifying Checksum [2023-09-12T21:36:11.970Z] 04944245beec: Download complete [2023-09-12T21:36:11.970Z] 765212b225bb: Verifying Checksum [2023-09-12T21:36:11.970Z] 765212b225bb: Download complete [2023-09-12T21:36:11.970Z] f23df028b6ca: Verifying Checksum [2023-09-12T21:36:11.970Z] f23df028b6ca: Download complete [2023-09-12T21:36:11.970Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T21:36:11.970Z] d65c8cfc05b1: Download complete [2023-09-12T21:36:11.970Z] 699f458cf7ca: Verifying Checksum [2023-09-12T21:36:11.970Z] 699f458cf7ca: Download complete [2023-09-12T21:36:12.549Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T21:36:12.549Z] 8998bd30e6a1: Download complete [2023-09-12T21:36:14.494Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T21:36:14.495Z] 2437ff75d9bd: Download complete [2023-09-12T21:36:16.434Z] 8998bd30e6a1: Pull complete [2023-09-12T21:36:18.369Z] 04944245beec: Pull complete [2023-09-12T21:36:19.774Z] 699f458cf7ca: Pull complete [2023-09-12T21:36:20.039Z] 765212b225bb: Pull complete [2023-09-12T21:36:20.622Z] f23df028b6ca: Pull complete [2023-09-12T21:36:20.891Z] d65c8cfc05b1: Pull complete [2023-09-12T21:36:35.871Z] 2437ff75d9bd: Pull complete [2023-09-12T21:36:35.872Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T21:36:35.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:36:35.872Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:36:36.203Z] prd-ubuntu20.04-docker-arm64-4c-16g-5999 does not seem to be running inside a container [2023-09-12T21:36:36.261Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T21:36:38.963Z] $ docker top 2f342e66fcb55b04209908c503728658879fc337f933d243fb7f35e38fbb2ac6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:36:39.844Z] ---> job-cost.sh [2023-09-12T21:36:39.844Z] lf-activate-venv: SKIPPING [2023-09-12T21:36:39.844Z] INFO: No Stack... [2023-09-12T21:36:40.109Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T21:36:41.066Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T21:36:41.403Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-09-12T21:36:41.403Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T21:36:41.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-384-1-stack-cost] [2023-09-12T21:36:41.486Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-384-1-stack-cost] did not exist. Created. [2023-09-12T21:36:41.486Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T21:36:41.883Z] /w/workspace/device-onvif-camera/1@tmp/durable-b58d57b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T21:36:42.233Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T21:36:42.268Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T21:36:42.334Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T21:36:42.351Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T21:36:42.423Z] $ docker stop --time=1 2f342e66fcb55b04209908c503728658879fc337f933d243fb7f35e38fbb2ac6 [2023-09-12T21:36:43.910Z] $ docker rm -f --volumes 2f342e66fcb55b04209908c503728658879fc337f933d243fb7f35e38fbb2ac6 [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 [2023-09-12T21:36:44.913Z] provisioning config files... [2023-09-12T21:36:44.922Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-384@tmp/config14996906726799268177tmp [Pipeline] { [Pipeline] sh [2023-09-12T21:36:45.256Z] + set +x [2023-09-12T21:36:45.256Z] + curl -s https://codecov.io/bash [2023-09-12T21:36:45.256Z] + bash -s -- [2023-09-12T21:36:45.256Z] [2023-09-12T21:36:45.256Z] _____ _ [2023-09-12T21:36:45.256Z] / ____| | | [2023-09-12T21:36:45.256Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T21:36:45.256Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T21:36:45.256Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T21:36:45.256Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T21:36:45.256Z] Bash-1.0.6 [2023-09-12T21:36:45.256Z] [2023-09-12T21:36:45.256Z] [2023-09-12T21:36:45.256Z] ==> git version 2.25.1 found [2023-09-12T21:36:45.256Z] ==> 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 [2023-09-12T21:36:45.256Z] Release-Date: 2020-01-08 [2023-09-12T21:36:45.256Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-12T21:36:45.256Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T21:36:45.256Z] ==> Jenkins CI detected. [2023-09-12T21:36:45.256Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-384 [2023-09-12T21:36:45.256Z] project root: . [2023-09-12T21:36:45.256Z] --> token set from env [2023-09-12T21:36:45.256Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T21:36:45.256Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T21:36:45.256Z] ==> Python coveragepy not found [2023-09-12T21:36:45.256Z] ==> Searching for coverage reports in: [2023-09-12T21:36:45.256Z] + . [2023-09-12T21:36:45.256Z] -> Found 1 reports [2023-09-12T21:36:45.256Z] ==> Detecting git/mercurial file structure [2023-09-12T21:36:45.256Z] ==> Reading reports [2023-09-12T21:36:45.256Z] + ./coverage.out bytes=78456 [2023-09-12T21:36:45.256Z] ==> Appending adjustments [2023-09-12T21:36:45.256Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T21:36:45.515Z] + Found adjustments [2023-09-12T21:36:45.515Z] ==> Gzipping contents [2023-09-12T21:36:45.515Z] 12K /tmp/codecov.xIoK1j.gz [2023-09-12T21:36:45.515Z] ==> Uploading reports [2023-09-12T21:36:45.515Z] url: https://codecov.io [2023-09-12T21:36:45.515Z] query: branch=PR-384&commit=81384750a0850af4559470bf93802a5202ec2b22&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=384&job=&cmd_args= [2023-09-12T21:36:45.515Z] -> Pinging Codecov [2023-09-12T21:36:45.515Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-384&commit=81384750a0850af4559470bf93802a5202ec2b22&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-384%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=384&job=&cmd_args= [2023-09-12T21:36:45.774Z] -> Uploading to [2023-09-12T21:36:45.774Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/F29A59C45E3A92E06B3E522C9905F8EF/81384750a0850af4559470bf93802a5202ec2b22/67f11d4b-0596-42ed-b589-d28307c77732.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T213645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a40e38e841aa3a3f01f71b6f1b78034d3e7eebd42dfdadffa5ca65846f1688ab [2023-09-12T21:36:45.774Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T21:36:45.774Z] Dload Upload Total Spent Left Speed [2023-09-12T21:36:45.774Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 52542 --:--:-- --:--:-- --:--:-- 52542 [2023-09-12T21:36:45.774Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/81384750a0850af4559470bf93802a5202ec2b22 [Pipeline] } [2023-09-12T21:36:45.805Z] 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 [2023-09-12T21:36:47.599Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-384/archives ] [2023-09-12T21:36:47.599Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-384/archives [2023-09-12T21:36:47.599Z] total 16 [2023-09-12T21:36:47.599Z] drwxr-xr-x 3 root root 4096 Sep 12 21:26 . [2023-09-12T21:36:47.599Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 21:26 .. [2023-09-12T21:36:47.599Z] drwxr-xr-x 2 root root 4096 Sep 12 21:26 cost [2023-09-12T21:36:47.599Z] -rw-r--r-- 1 root root 91 Sep 12 21:26 cost.csv [2023-09-12T21:36:47.599Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-384/archives [2023-09-12T21:36:47.599Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-384/archives [2023-09-12T21:36:47.599Z] total 16 [2023-09-12T21:36:47.599Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:26 . [2023-09-12T21:36:47.599Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 21:26 .. [2023-09-12T21:36:47.599Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 21:26 cost [2023-09-12T21:36:47.599Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 12 21:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:36:47.929Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:36:48.818Z] ---> package-listing.sh [2023-09-12T21:36:48.818Z] ++ facter osfamily [2023-09-12T21:36:48.818Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T21:36:49.079Z] + OS_FAMILY=debian [2023-09-12T21:36:49.079Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-384 [2023-09-12T21:36:49.079Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T21:36:49.079Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T21:36:49.079Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T21:36:49.079Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T21:36:49.079Z] + '[' /w/workspace/undry_device-onvif-camera_PR-384 ']' [2023-09-12T21:36:49.079Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T21:36:49.079Z] + case "${OS_FAMILY}" in [2023-09-12T21:36:49.079Z] + dpkg -l [2023-09-12T21:36:49.079Z] + grep '^ii' [2023-09-12T21:36:49.079Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T21:36:49.079Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T21:36:49.079Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T21:36:49.079Z] + '[' /w/workspace/undry_device-onvif-camera_PR-384 ']' [2023-09-12T21:36:49.079Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-384/archives/ [2023-09-12T21:36:49.079Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-384/archives/ [Pipeline] echo [2023-09-12T21:36:49.114Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-384/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T21:36:49.401Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:36:50.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:36:50.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:36:50.169Z] prd-ubuntu20.04-docker-8c-8g-5997 does not seem to be running inside a container [2023-09-12T21:36:50.195Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-384/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-384 -v /w/workspace/undry_device-onvif-camera_PR-384:/w/workspace/undry_device-onvif-camera_PR-384:rw,z -v /w/workspace/undry_device-onvif-camera_PR-384@tmp:/w/workspace/undry_device-onvif-camera_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T21:36:50.371Z] $ docker top f8101a09587b29888e8a384d5af4ca9506b845e2f55956dfc5ba93622f10241c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:36:50.769Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T21:36:51.079Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T21:36:51.386Z] + ls /var/log/sa-host [2023-09-12T21:36:51.386Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:36:51.532Z] provisioning config files... [2023-09-12T21:36:51.540Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-384@tmp/config707393155819722380tmp [Pipeline] { [Pipeline] echo [2023-09-12T21:36:51.591Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:36:51.903Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T21:36:51.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:36:52.330Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T21:36:52.361Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:36:52.669Z] ---> sudo-logs.sh [2023-09-12T21:36:52.669Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T21:36:52.753Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:36:53.066Z] ---> job-cost.sh [2023-09-12T21:36:53.067Z] lf-activate-venv: SKIPPING [2023-09-12T21:36:53.067Z] DEBUG: total: 0.2199999988079071 [2023-09-12T21:36:53.067Z] INFO: Retrieving Stack Cost... [2023-09-12T21:36:53.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T21:36:53.895Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T21:36:53.926Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:36:54.236Z] ---> logs-deploy.sh [2023-09-12T21:36:54.236Z] lf-activate-venv: SKIPPING [2023-09-12T21:36:54.236Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-384/1 [2023-09-12T21:36:54.236Z] INFO: archiving workspace using pattern(s): [2023-09-12T21:36:55.172Z] Archives upload complete. [2023-09-12T21:36:55.172Z] INFO: archiving logs to Nexus