Pull request #199 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea78ad099acdb7d1992cd83acfc16576d4cc2a5c+96327e049a2d26e356251a4ee56d80af5c884d85 (141d26a30d5c2e34e13be4b3ebbced06fdd70da7) 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-ssh7766281440255299414.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17353297308963632232.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-usb-camera/branches/PR-199/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-usb-camera/branches/PR-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10222544160887957027.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-usb-camera/branches/PR-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16456238387600630477.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16862861421656566351.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-usb-camera/branches/PR-199/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-usb-camera/branches/PR-199/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13424862627480108437.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5252 in /w/workspace/foundry_device-usb-camera_PR-199 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-199 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit ea78ad099acdb7d1992cd83acfc16576d4cc2a5c > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea78ad099acdb7d1992cd83acfc16576d4cc2a5c # timeout=10 Merge succeeded, producing ea78ad099acdb7d1992cd83acfc16576d4cc2a5c Checking out Revision ea78ad099acdb7d1992cd83acfc16576d4cc2a5c (PR-199) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T18:04:52.376Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T18:04:52.555Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T18:04:52.654Z] ========================================================= [2023-03-22T18:04:52.654Z] EdgeX Global Pipelines Version Info [2023-03-22T18:04:52.654Z] ========================================================= [Pipeline] libraryResource > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea78ad099acdb7d1992cd83acfc16576d4cc2a5c # timeout=10 [Pipeline] sh [2023-03-22T18:04:53.394Z] ------------------- [2023-03-22T18:04:53.394Z] stable info: [2023-03-22T18:04:53.394Z] ------------------- [2023-03-22T18:04:53.394Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T18:04:53.394Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T18:04:53.394Z] Message: update stable to v1.0.245 [2023-03-22T18:04:53.966Z] ------------------- [2023-03-22T18:04:53.966Z] experimental info: [2023-03-22T18:04:53.966Z] ------------------- [2023-03-22T18:04:53.966Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T18:04:53.966Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T18:04:53.966Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T18:04:54.283Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-22T18:04:54.329Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-22T18:04:54.372Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T18:04:54.538Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T18:04:54.583Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T18:04:54.631Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T18:04:54.684Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T18:04:54.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-22T18:04:54.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T18:04:54.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T18:04:54.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T18:04:54.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-22T18:04:54.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T18:04:54.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T18:04:55.002Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T18:04:55.114Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T18:04:55.152Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T18:04:55.192Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T18:04:55.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T18:04:55.268Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T18:04:55.307Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-22T18:04:55.349Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-22T18:04:55.391Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T18:04:55.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T18:04:55.470Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T18:04:55.505Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T18:04:55.544Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T18:04:55.585Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo [2023-03-22T18:04:55.632Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo [2023-03-22T18:04:55.674Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo [2023-03-22T18:04:55.708Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea78ad099acdb7d1992cd83acfc16576d4cc2a5c [Pipeline] echo [2023-03-22T18:04:55.743Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea78ad0 [Pipeline] echo [2023-03-22T18:04:55.779Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:04:55.876Z] provisioning config files... [2023-03-22T18:04:55.893Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-199@tmp/config11086719136506178526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:04:56.229Z] ---> docker-login.sh [2023-03-22T18:04:56.229Z] nexus3.edgexfoundry.org:10001 [2023-03-22T18:04:56.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:04:56.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:04:56.488Z] Configure a credential helper to remove this warning. See [2023-03-22T18:04:56.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:04:56.488Z] [2023-03-22T18:04:56.488Z] Login Succeeded [2023-03-22T18:04:56.488Z] nexus3.edgexfoundry.org:10002 [2023-03-22T18:04:56.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:04:56.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:04:56.748Z] Configure a credential helper to remove this warning. See [2023-03-22T18:04:56.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:04:56.748Z] [2023-03-22T18:04:56.748Z] Login Succeeded [2023-03-22T18:04:56.748Z] nexus3.edgexfoundry.org:10003 [2023-03-22T18:04:56.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:04:56.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:04:56.748Z] Configure a credential helper to remove this warning. See [2023-03-22T18:04:56.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:04:56.749Z] [2023-03-22T18:04:56.749Z] Login Succeeded [2023-03-22T18:04:56.749Z] nexus3.edgexfoundry.org:10004 [2023-03-22T18:04:57.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:04:57.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:04:57.009Z] Configure a credential helper to remove this warning. See [2023-03-22T18:04:57.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:04:57.009Z] [2023-03-22T18:04:57.009Z] Login Succeeded [2023-03-22T18:04:57.009Z] docker.io [2023-03-22T18:04:57.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:04:57.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:04:57.270Z] Configure a credential helper to remove this warning. See [2023-03-22T18:04:57.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:04:57.270Z] [2023-03-22T18:04:57.270Z] Login Succeeded [2023-03-22T18:04:57.270Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T18:04:57.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T18:04:57.886Z] + git rev-list -1 --merges ea78ad099acdb7d1992cd83acfc16576d4cc2a5c~1..ea78ad099acdb7d1992cd83acfc16576d4cc2a5c [Pipeline] echo [2023-03-22T18:04:57.951Z] -----------> git rev-list -1 --merges ea78ad099acdb7d1992cd83acfc16576d4cc2a5c~1..ea78ad099acdb7d1992cd83acfc16576d4cc2a5c ea78ad099acdb7d1992cd83acfc16576d4cc2a5c [false] [Pipeline] sh [2023-03-22T18:04:58.259Z] + git log --format=format:%s -1 ea78ad099acdb7d1992cd83acfc16576d4cc2a5c [Pipeline] echo [2023-03-22T18:04:58.292Z] ========================================================= [2023-03-22T18:04:58.292Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T18:04:58.292Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T18:04:58.704Z] + git log --format=format:%s -1 ea78ad099acdb7d1992cd83acfc16576d4cc2a5c [Pipeline] echo [2023-03-22T18:04:58.744Z] [semverPrep] GIT_COMMIT: ea78ad099acdb7d1992cd83acfc16576d4cc2a5c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-22T18:04:58.771Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T18:04:59.162Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T18:04:59.162Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T18:04:59.162Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T18:04:59.162Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T18:04:59.162Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T18:04:59.162Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T18:04:59.162Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:04:59.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T18:04:59.658Z] [2023-03-22T18:04:59.658Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:05:00.046Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T18:05:00.047Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T18:05:00.047Z] b85a868b505f: Pulling fs layer [2023-03-22T18:05:00.047Z] e2be974225ed: Pulling fs layer [2023-03-22T18:05:00.047Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T18:05:00.047Z] 988bab9f4d93: Pulling fs layer [2023-03-22T18:05:00.047Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T18:05:00.047Z] eaf3925da568: Pulling fs layer [2023-03-22T18:05:00.047Z] bab4dde63d76: Pulling fs layer [2023-03-22T18:05:00.047Z] bde34c3a00c8: Pulling fs layer [2023-03-22T18:05:00.047Z] b352a97aabf1: Pulling fs layer [2023-03-22T18:05:00.047Z] 4872d77fe225: Pulling fs layer [2023-03-22T18:05:00.047Z] 5851b861e8e6: Pulling fs layer [2023-03-22T18:05:00.047Z] eaf3925da568: Waiting [2023-03-22T18:05:00.047Z] 1469e6f7b9e6: Waiting [2023-03-22T18:05:00.047Z] 988bab9f4d93: Waiting [2023-03-22T18:05:00.047Z] 5851b861e8e6: Waiting [2023-03-22T18:05:00.047Z] b352a97aabf1: Waiting [2023-03-22T18:05:00.047Z] 4872d77fe225: Waiting [2023-03-22T18:05:00.047Z] bde34c3a00c8: Waiting [2023-03-22T18:05:00.047Z] bab4dde63d76: Waiting [2023-03-22T18:05:00.047Z] e2be974225ed: Verifying Checksum [2023-03-22T18:05:00.047Z] e2be974225ed: Download complete [2023-03-22T18:05:00.047Z] 988bab9f4d93: Verifying Checksum [2023-03-22T18:05:00.047Z] 988bab9f4d93: Download complete [2023-03-22T18:05:00.329Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T18:05:00.329Z] 1469e6f7b9e6: Download complete [2023-03-22T18:05:00.329Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T18:05:00.329Z] 339a4e72a1f5: Download complete [2023-03-22T18:05:00.329Z] eaf3925da568: Verifying Checksum [2023-03-22T18:05:00.329Z] eaf3925da568: Download complete [2023-03-22T18:05:00.329Z] bde34c3a00c8: Verifying Checksum [2023-03-22T18:05:00.329Z] bde34c3a00c8: Download complete [2023-03-22T18:05:00.329Z] b352a97aabf1: Download complete [2023-03-22T18:05:00.329Z] 4872d77fe225: Verifying Checksum [2023-03-22T18:05:00.329Z] 4872d77fe225: Download complete [2023-03-22T18:05:00.329Z] 5851b861e8e6: Verifying Checksum [2023-03-22T18:05:00.329Z] 5851b861e8e6: Download complete [2023-03-22T18:05:00.329Z] b85a868b505f: Verifying Checksum [2023-03-22T18:05:00.329Z] b85a868b505f: Download complete [2023-03-22T18:05:00.590Z] bab4dde63d76: Verifying Checksum [2023-03-22T18:05:00.590Z] bab4dde63d76: Download complete [2023-03-22T18:05:01.966Z] b85a868b505f: Pull complete [2023-03-22T18:05:01.966Z] e2be974225ed: Pull complete [2023-03-22T18:05:02.226Z] 339a4e72a1f5: Pull complete [2023-03-22T18:05:02.226Z] 988bab9f4d93: Pull complete [2023-03-22T18:05:02.490Z] 1469e6f7b9e6: Pull complete [2023-03-22T18:05:02.749Z] eaf3925da568: Pull complete [2023-03-22T18:05:04.656Z] bab4dde63d76: Pull complete [2023-03-22T18:05:04.656Z] bde34c3a00c8: Pull complete [2023-03-22T18:05:04.656Z] b352a97aabf1: Pull complete [2023-03-22T18:05:04.917Z] 4872d77fe225: Pull complete [2023-03-22T18:05:04.917Z] 5851b861e8e6: Pull complete [2023-03-22T18:05:04.917Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T18:05:04.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T18:05:04.917Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:05:05.146Z] prd-ubuntu20.04-docker-8c-8g-5252 does not seem to be running inside a container [2023-03-22T18:05:05.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-199 -v /w/workspace/foundry_device-usb-camera_PR-199:/w/workspace/foundry_device-usb-camera_PR-199:rw,z -v /w/workspace/foundry_device-usb-camera_PR-199@tmp:/w/workspace/foundry_device-usb-camera_PR-199@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T18:05:06.532Z] $ docker top 2620af7711d1b29419cb8316f0c1a20070d6e3f2b78c59d345b7572e34e9c6bf -eo pid,comm [2023-03-22T18:05:06.598Z] 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-03-22T18:05:06.598Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T18:05:06.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T18:05:06.720Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T18:05:06.834Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T18:05:06.829Z] $ docker exec 2620af7711d1b29419cb8316f0c1a20070d6e3f2b78c59d345b7572e34e9c6bf ssh-agent [2023-03-22T18:05:06.949Z] SSH_AUTH_SOCK=/tmp/ssh-lSyi1mYuGLjv/agent.32 [2023-03-22T18:05:06.949Z] SSH_AGENT_PID=38 [2023-03-22T18:05:06.955Z] Running ssh-add (command line suppressed) [2023-03-22T18:05:07.058Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-199@tmp/private_key_6237387018701554566.key (/w/workspace/foundry_device-usb-camera_PR-199@tmp/private_key_6237387018701554566.key) [2023-03-22T18:05:07.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T18:05:07.417Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T18:05:07.434Z] $ docker exec --env ******** --env ******** 2620af7711d1b29419cb8316f0c1a20070d6e3f2b78c59d345b7572e34e9c6bf ssh-agent -k [2023-03-22T18:05:07.540Z] unset SSH_AUTH_SOCK; [2023-03-22T18:05:07.541Z] unset SSH_AGENT_PID; [2023-03-22T18:05:07.541Z] echo Agent pid 38 killed; [2023-03-22T18:05:07.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T18:05:07.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T18:05:07.642Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T18:05:07.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T18:05:07.751Z] $ docker exec 2620af7711d1b29419cb8316f0c1a20070d6e3f2b78c59d345b7572e34e9c6bf ssh-agent [2023-03-22T18:05:07.864Z] SSH_AUTH_SOCK=/tmp/ssh-lVtg7w42PNOD/agent.70 [2023-03-22T18:05:07.864Z] SSH_AGENT_PID=76 [2023-03-22T18:05:07.869Z] Running ssh-add (command line suppressed) [2023-03-22T18:05:07.967Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-199@tmp/private_key_17984384164059087934.key (/w/workspace/foundry_device-usb-camera_PR-199@tmp/private_key_17984384164059087934.key) [2023-03-22T18:05:07.987Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T18:05:08.314Z] + git semver init [2023-03-22T18:05:08.577Z] 2023-03-22 18:05:08,548 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T18:05:08.577Z] 2023-03-22 18:05:08,549 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-199/.semver [2023-03-22T18:05:08.577Z] 2023-03-22 18:05:08,550 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-199/.semver [2023-03-22T18:05:08.577Z] 2023-03-22 18:05:08,550 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-199/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-199, universal_newlines=False, shell=None, istream=None) [2023-03-22T18:05:09.515Z] 2023-03-22 18:05:09,398 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-199/.git/info/exclude [2023-03-22T18:05:09.515Z] 2023-03-22 18:05:09,399 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-199/.semver/PR-199 with force:False [2023-03-22T18:05:09.515Z] 2023-03-22 18:05:09,399 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-199/.semver/PR-199 [2023-03-22T18:05:09.515Z] 2023-03-22 18:05:09,403 [execute] INFO git cat-file --batch-check [2023-03-22T18:05:09.515Z] 2023-03-22 18:05:09,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-199/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T18:05:09.515Z] 2023-03-22 18:05:09,411 [execute] INFO git cat-file --batch [2023-03-22T18:05:09.515Z] 2023-03-22 18:05:09,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-199/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T18:05:09.515Z] 2023-03-22 18:05:09,417 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-199/.semver/PR-199 [2023-03-22T18:05:09.515Z] 0.0.0 [Pipeline] } [2023-03-22T18:05:09.535Z] $ docker exec --env ******** --env ******** 2620af7711d1b29419cb8316f0c1a20070d6e3f2b78c59d345b7572e34e9c6bf ssh-agent -k [2023-03-22T18:05:09.630Z] unset SSH_AUTH_SOCK; [2023-03-22T18:05:09.630Z] unset SSH_AGENT_PID; [2023-03-22T18:05:09.630Z] echo Agent pid 76 killed; [2023-03-22T18:05:09.646Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T18:05:10.080Z] + git semver [Pipeline] } [2023-03-22T18:05:10.359Z] $ docker stop --time=1 2620af7711d1b29419cb8316f0c1a20070d6e3f2b78c59d345b7572e34e9c6bf [2023-03-22T18:05:11.664Z] $ docker rm -f --volumes 2620af7711d1b29419cb8316f0c1a20070d6e3f2b78c59d345b7572e34e9c6bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T18:05:12.072Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T18:05:12.372Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T18:05:12.391Z] [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-03-22T18:05:12.972Z] provisioning config files... [2023-03-22T18:05:12.982Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-199@tmp/config15032321829084977481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:05:13.349Z] ---> docker-login.sh [2023-03-22T18:05:13.349Z] nexus3.edgexfoundry.org:10001 [2023-03-22T18:05:13.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:05:13.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:05:13.349Z] Configure a credential helper to remove this warning. See [2023-03-22T18:05:13.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:05:13.349Z] [2023-03-22T18:05:13.349Z] Login Succeeded [2023-03-22T18:05:13.349Z] nexus3.edgexfoundry.org:10002 [2023-03-22T18:05:13.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:05:13.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:05:13.349Z] Configure a credential helper to remove this warning. See [2023-03-22T18:05:13.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:05:13.349Z] [2023-03-22T18:05:13.349Z] Login Succeeded [2023-03-22T18:05:13.349Z] nexus3.edgexfoundry.org:10003 [2023-03-22T18:05:13.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:05:13.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:05:13.609Z] Configure a credential helper to remove this warning. See [2023-03-22T18:05:13.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:05:13.609Z] [2023-03-22T18:05:13.609Z] Login Succeeded [2023-03-22T18:05:13.609Z] nexus3.edgexfoundry.org:10004 [2023-03-22T18:05:13.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:05:13.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:05:13.609Z] Configure a credential helper to remove this warning. See [2023-03-22T18:05:13.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:05:13.609Z] [2023-03-22T18:05:13.609Z] Login Succeeded [2023-03-22T18:05:13.609Z] docker.io [2023-03-22T18:05:13.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:05:14.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:05:14.129Z] Configure a credential helper to remove this warning. See [2023-03-22T18:05:14.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:05:14.129Z] [2023-03-22T18:05:14.129Z] Login Succeeded [2023-03-22T18:05:14.129Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T18:05:14.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T18:05:14.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:05:14.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:05:14.383Z] ========================================================= [2023-03-22T18:05:14.383Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T18:05:14.383Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:05:14.844Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T18:05:14.844Z] Sending build context to Docker daemon 1.873MB [2023-03-22T18:05:14.844Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:05:14.844Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-22T18:05:14.844Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T18:05:14.844Z] 63b65145d645: Pulling fs layer [2023-03-22T18:05:14.844Z] a2d21d5440eb: Pulling fs layer [2023-03-22T18:05:14.844Z] 935e6c44a52c: Pulling fs layer [2023-03-22T18:05:14.844Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T18:05:14.844Z] 30dea6a524f1: Pulling fs layer [2023-03-22T18:05:14.844Z] a2aff8979fd8: Pulling fs layer [2023-03-22T18:05:14.844Z] 6808be2612f2: Pulling fs layer [2023-03-22T18:05:14.844Z] f25807f1079a: Pulling fs layer [2023-03-22T18:05:14.844Z] a2aff8979fd8: Waiting [2023-03-22T18:05:14.844Z] 6808be2612f2: Waiting [2023-03-22T18:05:14.844Z] 94cc34f8dd06: Waiting [2023-03-22T18:05:14.844Z] 30dea6a524f1: Waiting [2023-03-22T18:05:14.844Z] f25807f1079a: Waiting [2023-03-22T18:05:14.844Z] a2d21d5440eb: Download complete [2023-03-22T18:05:14.844Z] 94cc34f8dd06: Download complete [2023-03-22T18:05:14.844Z] 30dea6a524f1: Download complete [2023-03-22T18:05:15.105Z] 63b65145d645: Verifying Checksum [2023-03-22T18:05:15.105Z] a2aff8979fd8: Verifying Checksum [2023-03-22T18:05:15.105Z] a2aff8979fd8: Download complete [2023-03-22T18:05:15.105Z] 63b65145d645: Pull complete [2023-03-22T18:05:15.375Z] a2d21d5440eb: Pull complete [2023-03-22T18:05:15.635Z] f25807f1079a: Verifying Checksum [2023-03-22T18:05:15.635Z] f25807f1079a: Download complete [2023-03-22T18:05:15.635Z] 935e6c44a52c: Verifying Checksum [2023-03-22T18:05:15.635Z] 935e6c44a52c: Download complete [2023-03-22T18:05:15.893Z] 6808be2612f2: Verifying Checksum [2023-03-22T18:05:15.893Z] 6808be2612f2: Download complete [2023-03-22T18:05:19.173Z] 935e6c44a52c: Pull complete [2023-03-22T18:05:19.173Z] 94cc34f8dd06: Pull complete [2023-03-22T18:05:19.173Z] 30dea6a524f1: Pull complete [2023-03-22T18:05:19.173Z] a2aff8979fd8: Pull complete [2023-03-22T18:05:21.699Z] 6808be2612f2: Pull complete [2023-03-22T18:05:22.264Z] f25807f1079a: Pull complete [2023-03-22T18:05:22.264Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T18:05:22.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T18:05:22.264Z] ---> 3b553350e43f [2023-03-22T18:05:22.264Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-22T18:05:23.639Z] ---> Running in c60eb38abd18 [2023-03-22T18:05:23.898Z] Removing intermediate container c60eb38abd18 [2023-03-22T18:05:23.898Z] ---> 18339cea4579 [2023-03-22T18:05:23.898Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T18:05:23.898Z] ---> Running in d52ad7e450f5 [2023-03-22T18:05:23.898Z] Removing intermediate container d52ad7e450f5 [2023-03-22T18:05:23.898Z] ---> a360172156f9 [2023-03-22T18:05:23.898Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-22T18:05:23.898Z] ---> Running in 96c95fd22847 [2023-03-22T18:05:24.157Z] Removing intermediate container 96c95fd22847 [2023-03-22T18:05:24.157Z] ---> c9f006758bd2 [2023-03-22T18:05:24.157Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-22T18:05:24.157Z] ---> Running in 75b137c0f052 [2023-03-22T18:05:24.157Z] Removing intermediate container 75b137c0f052 [2023-03-22T18:05:24.157Z] ---> 25fc12cf0d5b [2023-03-22T18:05:24.157Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T18:05:24.157Z] ---> Running in d391002c3bd8 [2023-03-22T18:05:24.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T18:05:24.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T18:05:24.680Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-22T18:05:24.680Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-22T18:05:24.680Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-22T18:05:24.680Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-22T18:05:24.680Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-22T18:05:24.939Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-22T18:05:24.939Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-22T18:05:24.939Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-22T18:05:24.939Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-22T18:05:24.939Z] (10/14) Installing kmod-libs (30-r1) [2023-03-22T18:05:24.939Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-22T18:05:24.939Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-22T18:05:24.939Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-22T18:05:24.939Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-22T18:05:24.939Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T18:05:24.939Z] Executing eudev-3.2.11-r4.trigger [2023-03-22T18:05:24.939Z] OK: 272 MiB in 67 packages [2023-03-22T18:05:25.504Z] Removing intermediate container d391002c3bd8 [2023-03-22T18:05:25.504Z] ---> bf8f2678e777 [2023-03-22T18:05:25.504Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-22T18:05:25.504Z] ---> Running in 82a57ef46f68 [2023-03-22T18:05:25.504Z] Removing intermediate container 82a57ef46f68 [2023-03-22T18:05:25.504Z] ---> 9e4d412ebac2 [2023-03-22T18:05:25.504Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-22T18:05:25.504Z] ---> c0882e651fb9 [2023-03-22T18:05:25.504Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:05:25.504Z] ---> Running in 5960ddd9f340 [2023-03-22T18:05:27.796Z] Still waiting to schedule task [2023-03-22T18:05:27.797Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-22T18:05:57.608Z] Removing intermediate container 5960ddd9f340 [2023-03-22T18:05:57.608Z] ---> e0c72a6e50fc [2023-03-22T18:05:57.608Z] Step 11/13 : COPY . . [2023-03-22T18:05:57.608Z] ---> f29140598c2e [2023-03-22T18:05:57.608Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-22T18:05:57.608Z] ---> Running in 49ca322cedc5 [2023-03-22T18:05:57.608Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:05:57.608Z] Dload Upload Total Spent Left Speed [2023-03-22T18:05:57.608Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7721 0 --:--:-- --:--:-- --:--:-- 7751 [2023-03-22T18:05:57.608Z] Removing intermediate container 49ca322cedc5 [2023-03-22T18:05:57.608Z] ---> c04d9b2030d7 [2023-03-22T18:05:57.608Z] Step 13/13 : RUN ${MAKE} [2023-03-22T18:05:57.608Z] ---> Running in 6293171bd6ab [2023-03-22T18:05:57.608Z] noop [2023-03-22T18:05:57.608Z] Removing intermediate container 6293171bd6ab [2023-03-22T18:05:57.608Z] ---> 896b7c105805 [2023-03-22T18:05:57.608Z] Successfully built 896b7c105805 [2023-03-22T18:05:57.608Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:05:58.064Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T18:05:58.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:05:58.207Z] prd-ubuntu20.04-docker-8c-8g-5252 does not seem to be running inside a container [2023-03-22T18:05:58.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-199 -v /w/workspace/foundry_device-usb-camera_PR-199:/w/workspace/foundry_device-usb-camera_PR-199:rw,z -v /w/workspace/foundry_device-usb-camera_PR-199@tmp:/w/workspace/foundry_device-usb-camera_PR-199@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 ******** ci-base-image-x86_64 cat [2023-03-22T18:05:58.573Z] $ docker top ecbdf3a9c3fd86c2fec62eef274c6dfeda2f97bdeefd99e5af891fe2d95c878c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:05:58.959Z] + go version [2023-03-22T18:05:58.959Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T18:05:58.997Z] $ docker stop --time=1 ecbdf3a9c3fd86c2fec62eef274c6dfeda2f97bdeefd99e5af891fe2d95c878c [2023-03-22T18:06:00.241Z] $ docker rm -f --volumes ecbdf3a9c3fd86c2fec62eef274c6dfeda2f97bdeefd99e5af891fe2d95c878c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:06:00.931Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T18:06:00.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:06:01.081Z] prd-ubuntu20.04-docker-8c-8g-5252 does not seem to be running inside a container [2023-03-22T18:06:01.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-199 -v /w/workspace/foundry_device-usb-camera_PR-199:/w/workspace/foundry_device-usb-camera_PR-199:rw,z -v /w/workspace/foundry_device-usb-camera_PR-199@tmp:/w/workspace/foundry_device-usb-camera_PR-199@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 ******** ci-base-image-x86_64 cat [2023-03-22T18:06:01.417Z] $ docker top b563b4b787cb8d07684571a922a93d184212162e494949d87be66d340e2c3b29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:06:01.811Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-199 [Pipeline] fileExists [Pipeline] sh [2023-03-22T18:06:02.165Z] + make test [2023-03-22T18:06:02.166Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T18:06:06.520Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-22T18:06:16.477Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-22T18:06:16.477Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-22T18:06:16.477Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-22T18:06:16.477Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-22T18:06:16.477Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-22T18:06:16.477Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-22T18:06:16.477Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-22T18:06:16.477Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-22T18:06:16.477Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-22T18:06:16.477Z] FAIL [2023-03-22T18:06:16.477Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-22T18:06:16.580Z] $ docker stop --time=1 b563b4b787cb8d07684571a922a93d184212162e494949d87be66d340e2c3b29 [2023-03-22T18:06:18.358Z] $ docker rm -f --volumes b563b4b787cb8d07684571a922a93d184212162e494949d87be66d340e2c3b29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:06:19.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:06:19.546Z] [2023-03-22T18:06:19.546Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:06:19.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:06:19.905Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T18:06:19.905Z] 5eb5b503b376: Pulling fs layer [2023-03-22T18:06:19.905Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T18:06:19.905Z] ec43610c2a17: Pulling fs layer [2023-03-22T18:06:19.905Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T18:06:19.905Z] 33b1e0a273af: Pulling fs layer [2023-03-22T18:06:19.905Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T18:06:19.905Z] 2f39f015ded8: Pulling fs layer [2023-03-22T18:06:19.905Z] 3a2ae6a8a46f: Waiting [2023-03-22T18:06:19.905Z] 33b1e0a273af: Waiting [2023-03-22T18:06:19.905Z] 5d3b04190fa2: Waiting [2023-03-22T18:06:19.905Z] 2f39f015ded8: Waiting [2023-03-22T18:06:19.905Z] 5c69ac0246d0: Download complete [2023-03-22T18:06:19.905Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T18:06:19.905Z] 3a2ae6a8a46f: Download complete [2023-03-22T18:06:20.165Z] 33b1e0a273af: Verifying Checksum [2023-03-22T18:06:20.165Z] 33b1e0a273af: Download complete [2023-03-22T18:06:20.165Z] ec43610c2a17: Verifying Checksum [2023-03-22T18:06:20.165Z] ec43610c2a17: Download complete [2023-03-22T18:06:20.165Z] 5d3b04190fa2: Download complete [2023-03-22T18:06:20.165Z] 5eb5b503b376: Verifying Checksum [2023-03-22T18:06:20.165Z] 5eb5b503b376: Download complete [2023-03-22T18:06:20.729Z] 2f39f015ded8: Verifying Checksum [2023-03-22T18:06:20.729Z] 2f39f015ded8: Download complete [2023-03-22T18:06:21.295Z] 5eb5b503b376: Pull complete [2023-03-22T18:06:21.295Z] 5c69ac0246d0: Pull complete [2023-03-22T18:06:21.863Z] ec43610c2a17: Pull complete [2023-03-22T18:06:21.863Z] 3a2ae6a8a46f: Pull complete [2023-03-22T18:06:22.121Z] 33b1e0a273af: Pull complete [2023-03-22T18:06:22.121Z] 5d3b04190fa2: Pull complete [2023-03-22T18:06:26.303Z] 2f39f015ded8: Pull complete [2023-03-22T18:06:26.303Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T18:06:26.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:06:26.303Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:06:26.515Z] prd-ubuntu20.04-docker-8c-8g-5252 does not seem to be running inside a container [2023-03-22T18:06:26.548Z] $ 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/foundry_device-usb-camera_PR-199 -v /w/workspace/foundry_device-usb-camera_PR-199:/w/workspace/foundry_device-usb-camera_PR-199:rw,z -v /w/workspace/foundry_device-usb-camera_PR-199@tmp:/w/workspace/foundry_device-usb-camera_PR-199@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T18:06:27.676Z] $ docker top 5fe17bbfc492f1ec583c4de03328e2850b12846590301df9e5af71d6a17e3529 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:06:28.124Z] ---> job-cost.sh [2023-03-22T18:06:28.124Z] lf-activate-venv: SKIPPING [2023-03-22T18:06:28.124Z] INFO: No Stack... [2023-03-22T18:06:28.382Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T18:06:28.949Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T18:06:29.267Z] + cat /w/workspace/foundry_device-usb-camera_PR-199/archives/cost.csv [2023-03-22T18:06:29.267Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T18:06:29.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-199-1-stack-cost] [2023-03-22T18:06:29.317Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-199-1-stack-cost] did not exist. Created. [2023-03-22T18:06:29.317Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T18:06:29.701Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T18:06:29.757Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T18:06:29.781Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T18:06:29.861Z] $ docker stop --time=1 5fe17bbfc492f1ec583c4de03328e2850b12846590301df9e5af71d6a17e3529 [2023-03-22T18:06:31.017Z] $ docker rm -f --volumes 5fe17bbfc492f1ec583c4de03328e2850b12846590301df9e5af71d6a17e3529 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T18:06:31.364Z] Failed in branch amd64 [2023-03-22T18:08:30.936Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5254 in /w/workspace/foundry_device-usb-camera_PR-199 [Pipeline] { [Pipeline] ws [2023-03-22T18:08:30.989Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-22T18:08:31.074Z] Selected Git installation does not exist. Using Default [2023-03-22T18:08:31.074Z] The recommended git tool is: NONE [2023-03-22T18:08:38.381Z] using credential edgex-jenkins-ssh [2023-03-22T18:08:38.407Z] Cloning the remote Git repository [2023-03-22T18:08:38.482Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-22T18:08:38.625Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-22T18:08:38.830Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-22T18:08:38.831Z] > git --version # timeout=10 [2023-03-22T18:08:38.863Z] > git --version # 'git version 2.25.1' [2023-03-22T18:08:38.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T18:08:39.101Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T18:08:39.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-22T18:08:40.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T18:08:41.353Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-22T18:08:41.411Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-22T18:08:41.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T18:08:41.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T18:08:42.009Z] Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit ea78ad099acdb7d1992cd83acfc16576d4cc2a5c [2023-03-22T18:08:42.376Z] Merge succeeded, producing ea78ad099acdb7d1992cd83acfc16576d4cc2a5c [2023-03-22T18:08:42.377Z] Checking out Revision ea78ad099acdb7d1992cd83acfc16576d4cc2a5c (PR-199) [2023-03-22T18:08:42.039Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T18:08:42.137Z] > git checkout -f ea78ad099acdb7d1992cd83acfc16576d4cc2a5c # timeout=10 [2023-03-22T18:08:42.260Z] > git remote # timeout=10 [2023-03-22T18:08:42.284Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T18:08:42.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T18:08:42.329Z] > git merge 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 [2023-03-22T18:08:42.360Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T18:08:42.388Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T18:08:42.407Z] > git checkout -f ea78ad099acdb7d1992cd83acfc16576d4cc2a5c # timeout=10 [2023-03-22T18:08:43.096Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-22T18:08:43.173Z] > git --version # timeout=10 [2023-03-22T18:08:43.186Z] > git --version # 'git version 2.25.1' [2023-03-22T18:08:43.215Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T18:08:44.645Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T18:08:44.645Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:08:44.645Z] Dload Upload Total Spent Left Speed [2023-03-22T18:08:44.645Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 52690 0 --:--:-- --:--:-- --:--:-- 52690 [Pipeline] sh [2023-03-22T18:08:47.558Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T18:08:47.938Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T18:08:47.938Z] + sudo tee /etc/docker/daemon.new [2023-03-22T18:08:47.938Z] { [2023-03-22T18:08:47.938Z] "registry-mirrors": [ [2023-03-22T18:08:47.938Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T18:08:47.938Z] ], [2023-03-22T18:08:47.938Z] "bip": "10.250.0.254/24", [2023-03-22T18:08:47.938Z] "hosts": [ [2023-03-22T18:08:47.938Z] "tcp://0.0.0.0:5555", [2023-03-22T18:08:47.938Z] "unix:///var/run/docker.sock" [2023-03-22T18:08:47.938Z] ], [2023-03-22T18:08:47.938Z] "mtu": 1458, [2023-03-22T18:08:47.938Z] "selinux-enabled": true, [2023-03-22T18:08:47.938Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T18:08:47.938Z] } [Pipeline] sh [2023-03-22T18:08:48.315Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T18:08:48.693Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:09:07.097Z] provisioning config files... [2023-03-22T18:09:07.136Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6855566666178439167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:09:07.560Z] ---> docker-login.sh [2023-03-22T18:09:07.560Z] nexus3.edgexfoundry.org:10001 [2023-03-22T18:09:08.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:09:08.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:09:08.163Z] Configure a credential helper to remove this warning. See [2023-03-22T18:09:08.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:09:08.163Z] [2023-03-22T18:09:08.441Z] Login Succeeded [2023-03-22T18:09:08.441Z] nexus3.edgexfoundry.org:10002 [2023-03-22T18:09:08.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:09:08.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:09:08.716Z] Configure a credential helper to remove this warning. See [2023-03-22T18:09:08.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:09:08.716Z] [2023-03-22T18:09:08.716Z] Login Succeeded [2023-03-22T18:09:08.716Z] nexus3.edgexfoundry.org:10003 [2023-03-22T18:09:08.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:09:09.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:09:09.265Z] Configure a credential helper to remove this warning. See [2023-03-22T18:09:09.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:09:09.265Z] [2023-03-22T18:09:09.265Z] Login Succeeded [2023-03-22T18:09:09.265Z] nexus3.edgexfoundry.org:10004 [2023-03-22T18:09:09.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:09:09.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:09:09.542Z] Configure a credential helper to remove this warning. See [2023-03-22T18:09:09.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:09:09.542Z] [2023-03-22T18:09:09.542Z] Login Succeeded [2023-03-22T18:09:09.542Z] docker.io [2023-03-22T18:09:09.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T18:09:10.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T18:09:10.089Z] Configure a credential helper to remove this warning. See [2023-03-22T18:09:10.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T18:09:10.089Z] [2023-03-22T18:09:10.089Z] Login Succeeded [2023-03-22T18:09:10.089Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T18:09:10.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T18:09:10.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:09:10.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T18:09:10.674Z] ========================================================= [2023-03-22T18:09:10.674Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T18:09:10.674Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:09:11.193Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T18:09:13.826Z] Sending build context to Docker daemon 1.196MB [2023-03-22T18:09:13.826Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T18:09:13.826Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-22T18:09:13.826Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T18:09:13.826Z] af6eaf76a39c: Pulling fs layer [2023-03-22T18:09:13.826Z] 55522c791124: Pulling fs layer [2023-03-22T18:09:13.826Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T18:09:13.826Z] 169dfbe0d373: Pulling fs layer [2023-03-22T18:09:13.826Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T18:09:13.826Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T18:09:13.826Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T18:09:13.826Z] 169dfbe0d373: Waiting [2023-03-22T18:09:13.826Z] e1ff8fa3b103: Waiting [2023-03-22T18:09:13.826Z] 52ebb69f0ebf: Waiting [2023-03-22T18:09:13.826Z] 5abe8eddf0d5: Waiting [2023-03-22T18:09:13.826Z] 55522c791124: Download complete [2023-03-22T18:09:13.826Z] 169dfbe0d373: Verifying Checksum [2023-03-22T18:09:13.826Z] 169dfbe0d373: Download complete [2023-03-22T18:09:13.826Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T18:09:13.826Z] e1ff8fa3b103: Download complete [2023-03-22T18:09:13.826Z] af6eaf76a39c: Verifying Checksum [2023-03-22T18:09:13.826Z] af6eaf76a39c: Download complete [2023-03-22T18:09:15.281Z] af6eaf76a39c: Pull complete [2023-03-22T18:09:15.281Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T18:09:15.281Z] 5abe8eddf0d5: Download complete [2023-03-22T18:09:15.564Z] 55522c791124: Pull complete [2023-03-22T18:09:16.555Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T18:09:16.555Z] ce5c4a1c91eb: Download complete [2023-03-22T18:09:16.555Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T18:09:16.555Z] 52ebb69f0ebf: Download complete [2023-03-22T18:09:28.957Z] ce5c4a1c91eb: Pull complete [2023-03-22T18:09:28.957Z] 169dfbe0d373: Pull complete [2023-03-22T18:09:28.957Z] e1ff8fa3b103: Pull complete [2023-03-22T18:09:37.277Z] 52ebb69f0ebf: Pull complete [2023-03-22T18:09:39.300Z] 5abe8eddf0d5: Pull complete [2023-03-22T18:09:39.300Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T18:09:39.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T18:09:39.300Z] ---> 6cb57ee374ae [2023-03-22T18:09:39.300Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-22T18:09:41.306Z] ---> Running in 46bb6f8d07ee [2023-03-22T18:09:41.581Z] Removing intermediate container 46bb6f8d07ee [2023-03-22T18:09:41.581Z] ---> 7d9aff7ee67d [2023-03-22T18:09:41.581Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T18:09:41.581Z] ---> Running in 5f56340e1fb0 [2023-03-22T18:09:42.192Z] Removing intermediate container 5f56340e1fb0 [2023-03-22T18:09:42.192Z] ---> bd5f20a52046 [2023-03-22T18:09:42.192Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-22T18:09:42.192Z] ---> Running in 18c21d399c80 [2023-03-22T18:09:42.466Z] Removing intermediate container 18c21d399c80 [2023-03-22T18:09:42.466Z] ---> 1c3a803a86a6 [2023-03-22T18:09:42.466Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-22T18:09:42.739Z] ---> Running in 9e910514cc49 [2023-03-22T18:09:43.014Z] Removing intermediate container 9e910514cc49 [2023-03-22T18:09:43.014Z] ---> 57ef32edd612 [2023-03-22T18:09:43.014Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T18:09:43.014Z] ---> Running in 6a03eccf028f [2023-03-22T18:09:44.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T18:09:45.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T18:09:46.462Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-22T18:09:46.462Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-22T18:09:46.462Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-22T18:09:46.462Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-22T18:09:46.734Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-22T18:09:46.734Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-22T18:09:46.734Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-22T18:09:46.734Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-22T18:09:46.734Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-22T18:09:46.734Z] (10/14) Installing kmod-libs (30-r1) [2023-03-22T18:09:47.006Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-22T18:09:47.006Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-22T18:09:47.006Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-22T18:09:47.006Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-22T18:09:47.006Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T18:09:47.277Z] Executing eudev-3.2.11-r4.trigger [2023-03-22T18:09:47.277Z] OK: 271 MiB in 67 packages [2023-03-22T18:09:48.716Z] Removing intermediate container 6a03eccf028f [2023-03-22T18:09:48.716Z] ---> ea62225f15c9 [2023-03-22T18:09:48.716Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-22T18:09:48.716Z] ---> Running in 000435605d1a [2023-03-22T18:09:48.991Z] Removing intermediate container 000435605d1a [2023-03-22T18:09:48.991Z] ---> d20d7d390279 [2023-03-22T18:09:48.991Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-22T18:09:49.584Z] ---> f60551d7cb05 [2023-03-22T18:09:49.584Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T18:09:49.584Z] ---> Running in 7cd7ea3cb7ef [2023-03-22T18:11:26.505Z] Removing intermediate container 7cd7ea3cb7ef [2023-03-22T18:11:26.505Z] ---> 0af95088832b [2023-03-22T18:11:26.505Z] Step 11/13 : COPY . . [2023-03-22T18:11:26.505Z] ---> 2dffd51dec54 [2023-03-22T18:11:26.505Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-22T18:11:26.505Z] ---> Running in b2e3b9e278fb [2023-03-22T18:11:26.505Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T18:11:26.505Z] Dload Upload Total Spent Left Speed [2023-03-22T18:11:26.505Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2636 0 --:--:-- --:--:-- --:--:-- 2635 [2023-03-22T18:11:26.505Z] Removing intermediate container b2e3b9e278fb [2023-03-22T18:11:26.505Z] ---> 1b07aae36ba6 [2023-03-22T18:11:26.505Z] Step 13/13 : RUN ${MAKE} [2023-03-22T18:11:26.505Z] ---> Running in e601e7047c28 [2023-03-22T18:11:26.505Z] noop [2023-03-22T18:11:26.505Z] Removing intermediate container e601e7047c28 [2023-03-22T18:11:26.505Z] ---> d9901666db1c [2023-03-22T18:11:26.505Z] Successfully built d9901666db1c [2023-03-22T18:11:26.505Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:11:27.015Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T18:11:27.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:11:27.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-5254 does not seem to be running inside a container [2023-03-22T18:11:27.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 ******** ci-base-image-arm64 cat [2023-03-22T18:11:28.870Z] $ docker top a984a2d1b1da297c36cbfff051faa586bb173895490669ec25c45f9811627b2e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:11:29.827Z] + go version [2023-03-22T18:11:29.827Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T18:11:29.867Z] $ docker stop --time=1 a984a2d1b1da297c36cbfff051faa586bb173895490669ec25c45f9811627b2e [2023-03-22T18:11:31.629Z] $ docker rm -f --volumes a984a2d1b1da297c36cbfff051faa586bb173895490669ec25c45f9811627b2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:11:32.517Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T18:11:32.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:11:32.808Z] prd-ubuntu20.04-docker-arm64-4c-16g-5254 does not seem to be running inside a container [2023-03-22T18:11:32.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 ******** ci-base-image-arm64 cat [2023-03-22T18:11:34.260Z] $ docker top f543e34a777f0581f2e74b58735f35a5fa046503f0763cb75d4dd30e6d6a7ca5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:11:35.190Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-22T18:11:35.906Z] + make test [2023-03-22T18:11:35.906Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T18:12:22.837Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-22T18:14:14.575Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-22T18:14:14.575Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-22T18:14:14.575Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-22T18:14:14.575Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-22T18:14:14.575Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-22T18:14:14.575Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-22T18:14:14.575Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-22T18:14:14.575Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-22T18:14:36.673Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-22T18:14:36.673Z] FAIL [2023-03-22T18:14:36.673Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-22T18:14:36.723Z] $ docker stop --time=1 f543e34a777f0581f2e74b58735f35a5fa046503f0763cb75d4dd30e6d6a7ca5 [2023-03-22T18:14:39.151Z] $ docker rm -f --volumes f543e34a777f0581f2e74b58735f35a5fa046503f0763cb75d4dd30e6d6a7ca5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:14:41.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T18:14:41.015Z] [2023-03-22T18:14:41.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:14:41.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T18:14:41.702Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T18:14:41.702Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T18:14:41.702Z] 04944245beec: Pulling fs layer [2023-03-22T18:14:41.702Z] 699f458cf7ca: Pulling fs layer [2023-03-22T18:14:41.702Z] 765212b225bb: Pulling fs layer [2023-03-22T18:14:41.702Z] f23df028b6ca: Pulling fs layer [2023-03-22T18:14:41.702Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T18:14:41.702Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T18:14:41.702Z] 765212b225bb: Waiting [2023-03-22T18:14:41.702Z] f23df028b6ca: Waiting [2023-03-22T18:14:41.702Z] d65c8cfc05b1: Waiting [2023-03-22T18:14:41.702Z] 2437ff75d9bd: Waiting [2023-03-22T18:14:41.702Z] 04944245beec: Verifying Checksum [2023-03-22T18:14:41.702Z] 04944245beec: Download complete [2023-03-22T18:14:41.702Z] 765212b225bb: Verifying Checksum [2023-03-22T18:14:41.702Z] 765212b225bb: Download complete [2023-03-22T18:14:41.978Z] f23df028b6ca: Verifying Checksum [2023-03-22T18:14:41.978Z] f23df028b6ca: Download complete [2023-03-22T18:14:41.978Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T18:14:41.978Z] d65c8cfc05b1: Download complete [2023-03-22T18:14:41.978Z] 699f458cf7ca: Verifying Checksum [2023-03-22T18:14:41.978Z] 699f458cf7ca: Download complete [2023-03-22T18:14:42.567Z] 8998bd30e6a1: Download complete [2023-03-22T18:14:45.168Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T18:14:45.168Z] 2437ff75d9bd: Download complete [2023-03-22T18:14:47.132Z] 8998bd30e6a1: Pull complete [2023-03-22T18:14:47.403Z] 04944245beec: Pull complete [2023-03-22T18:14:48.823Z] 699f458cf7ca: Pull complete [2023-03-22T18:14:48.823Z] 765212b225bb: Pull complete [2023-03-22T18:14:51.418Z] f23df028b6ca: Pull complete [2023-03-22T18:14:51.691Z] d65c8cfc05b1: Pull complete [2023-03-22T18:15:06.714Z] 2437ff75d9bd: Pull complete [2023-03-22T18:15:06.714Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T18:15:06.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T18:15:06.714Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:15:07.091Z] prd-ubuntu20.04-docker-arm64-4c-16g-5254 does not seem to be running inside a container [2023-03-22T18:15:07.177Z] $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T18:15:10.253Z] $ docker top d1b312a4bd01af3f504e2b1531bdce5164911bfb0056a67eca7af4b1186778d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:15:11.262Z] ---> job-cost.sh [2023-03-22T18:15:11.262Z] lf-activate-venv: SKIPPING [2023-03-22T18:15:11.262Z] INFO: No Stack... [2023-03-22T18:15:11.533Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T18:15:12.506Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T18:15:13.179Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-03-22T18:15:13.179Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T18:15:13.286Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-199-1-stack-cost] [2023-03-22T18:15:13.291Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-199-1-stack-cost] did not exist. Created. [2023-03-22T18:15:13.291Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T18:15:14.020Z] /w/workspace/device-usb-camera/1@tmp/durable-3cef0bcd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T18:15:14.730Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T18:15:14.765Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T18:15:15.322Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T18:15:15.342Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T18:15:15.427Z] $ docker stop --time=1 d1b312a4bd01af3f504e2b1531bdce5164911bfb0056a67eca7af4b1186778d1 [2023-03-22T18:15:17.013Z] $ docker rm -f --volumes d1b312a4bd01af3f504e2b1531bdce5164911bfb0056a67eca7af4b1186778d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T18:15:17.756Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-22T18:15:19.883Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-199/archives ] [2023-03-22T18:15:19.883Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-199/archives [2023-03-22T18:15:19.883Z] total 16 [2023-03-22T18:15:19.883Z] drwxr-xr-x 3 root root 4096 Mar 22 18:06 . [2023-03-22T18:15:19.883Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:06 .. [2023-03-22T18:15:19.883Z] drwxr-xr-x 2 root root 4096 Mar 22 18:06 cost [2023-03-22T18:15:19.883Z] -rw-r--r-- 1 root root 89 Mar 22 18:06 cost.csv [2023-03-22T18:15:19.883Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-199/archives [2023-03-22T18:15:19.883Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-199/archives [2023-03-22T18:15:19.883Z] total 16 [2023-03-22T18:15:19.883Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:06 . [2023-03-22T18:15:19.883Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:06 .. [2023-03-22T18:15:19.883Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 18:06 cost [2023-03-22T18:15:19.883Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 22 18:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:15:20.212Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:15:21.091Z] ---> package-listing.sh [2023-03-22T18:15:21.091Z] ++ facter osfamily [2023-03-22T18:15:21.091Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T18:15:21.349Z] + OS_FAMILY=debian [2023-03-22T18:15:21.349Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-199 [2023-03-22T18:15:21.349Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T18:15:21.349Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T18:15:21.349Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T18:15:21.349Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T18:15:21.349Z] + '[' /w/workspace/foundry_device-usb-camera_PR-199 ']' [2023-03-22T18:15:21.349Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T18:15:21.349Z] + case "${OS_FAMILY}" in [2023-03-22T18:15:21.349Z] + dpkg -l [2023-03-22T18:15:21.349Z] + grep '^ii' [2023-03-22T18:15:21.349Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T18:15:21.349Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T18:15:21.349Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T18:15:21.349Z] + '[' /w/workspace/foundry_device-usb-camera_PR-199 ']' [2023-03-22T18:15:21.349Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-199/archives/ [2023-03-22T18:15:21.349Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-199/archives/ [Pipeline] echo [2023-03-22T18:15:21.385Z] 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/foundry_device-usb-camera_PR-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T18:15:21.676Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T18:15:22.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T18:15:22.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T18:15:22.430Z] prd-ubuntu20.04-docker-8c-8g-5252 does not seem to be running inside a container [2023-03-22T18:15:22.465Z] $ 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/foundry_device-usb-camera_PR-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-199 -v /w/workspace/foundry_device-usb-camera_PR-199:/w/workspace/foundry_device-usb-camera_PR-199:rw,z -v /w/workspace/foundry_device-usb-camera_PR-199@tmp:/w/workspace/foundry_device-usb-camera_PR-199@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T18:15:22.653Z] $ docker top bab25349efaf40b48b1e8fe57e81199f0eab25a17355a875da46f0e6d437ed47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T18:15:23.044Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T18:15:23.353Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T18:15:23.670Z] + ls /var/log/sa-host [2023-03-22T18:15:23.670Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T18:15:23.802Z] provisioning config files... [2023-03-22T18:15:23.811Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-199@tmp/config16923034379857500401tmp [Pipeline] { [Pipeline] echo [2023-03-22T18:15:23.861Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:15:24.171Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T18:15:24.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:15:24.597Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T18:15:24.638Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:15:24.953Z] ---> sudo-logs.sh [2023-03-22T18:15:24.953Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T18:15:25.034Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:15:25.343Z] ---> job-cost.sh [2023-03-22T18:15:25.343Z] lf-activate-venv: SKIPPING [2023-03-22T18:15:25.343Z] DEBUG: total: 0.2199999988079071 [2023-03-22T18:15:25.343Z] INFO: Retrieving Stack Cost... [2023-03-22T18:15:25.602Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T18:15:26.169Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T18:15:26.203Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T18:15:26.511Z] ---> logs-deploy.sh [2023-03-22T18:15:26.511Z] lf-activate-venv: SKIPPING [2023-03-22T18:15:26.511Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-199/1 [2023-03-22T18:15:26.511Z] INFO: archiving workspace using pattern(s): [2023-03-22T18:15:27.449Z] Archives upload complete. [2023-03-22T18:15:27.709Z] INFO: archiving logs to Nexus