Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post submit jobs don't correctly upload artifacts to GCS #62

Closed
jlewi opened this issue Oct 19, 2017 · 3 comments
Closed

Post submit jobs don't correctly upload artifacts to GCS #62

jlewi opened this issue Oct 19, 2017 · 3 comments

Comments

@jlewi
Copy link
Contributor

jlewi commented Oct 19, 2017

If you click on a post submit job to get the results we see an error like:

Unable to load build details from gs://kubernetes-jenkins/logs/jlewi_mlkube.io/mlkube-build-postsubmit/6
@jlewi
Copy link
Contributor Author

jlewi commented Oct 23, 2017

Confirmed this is now fixed.

@jlewi jlewi reopened this Oct 23, 2017
@jlewi
Copy link
Contributor Author

jlewi commented Oct 24, 2017

This doesn't match what the This doc say

They specify the following GCS layout.

.
├── logs                 # periodic and postsubmit jobs live here
│   └── other_job_name   # contains all the builds of a job
│       └── build_number # contains job artifacts, as above
└── pr-logs
    ├── directory                # symlinks for builds live here
    │   └── job_name             # contains all symlinks for a job
    │       └── build_number.txt # contains one line: location of artifacts for the build
    └── pull
        ├── batch                # batch jobs live here
        │   └── job_name         # contains all the builds of a job
        │       └── build_number # contains job artifacts, as above
        └── org_repo                 # jobs testing PRs for org/repo live here
            └── pull_number          # jobs running for a PR with pull_number live here
                └── job_name         # all builds for the job for this pr live here
                    └── build_number # contains job artifacts, as above

So maybe the docs are wrong?

I looked at a different job

maintenance-ci-testgrid-config-upload
is a post submit build.

gsutil cat gs://kubernetes-jenkins/logs/maintenance-ci-testgrid-config-upload/53730/started.json
  • This is the location with the docs

But in Gubernator when I click on the job I see the error

Unable to load build details from gs://kubernetes-jenkins/logs/test-infra/maintenance-ci-testgrid-config-upload/53729

This is a slightly different convention from what I'm observing. For my jobs its "{owner}_{name}" whereas for this test it appears to be "{name}".

Does it depend on the values set in the test-infra/test-grid/config.yaml?

@jlewi
Copy link
Contributor Author

jlewi commented Oct 25, 2017

This is fixed by #74

Looks like it is using the location
/kubernetes-jenkins/logs/jlewi_mlkube.io/mlkube-build-postsubmit/15/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant