[ 
https://issues.apache.org/jira/browse/CASSANDRA-15729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17097528#comment-17097528
 ] 

David Capwell commented on CASSANDRA-15729:
-------------------------------------------

* 
https://github.com/apache/cassandra-builds/compare/master...thelastpickle:mck/jenkins-test-report-format#diff-ef5f145d4ac129573fff63d7dee4f2a5R17.
 Ant doesn't look needed, tested locally and didn't need ant.
* 
https://github.com/apache/cassandra-builds/compare/master...thelastpickle:mck/jenkins-test-report-format#diff-ed43728c5b4a5f326dc69a04e9cf57edR7
 this runs each build, how are docker images managed in Jenkins?  My fear is 
that this will keep building new images and put a ton of bytes on disk that 
could be freed.  It "shouldn't", but this tends to always come up months after 
the fact when disks run out...
* 
https://github.com/apache/cassandra-builds/compare/master...thelastpickle:mck/jenkins-test-report-format#diff-ed43728c5b4a5f326dc69a04e9cf57edR8
 not cleaning up after yourself, see [1]; you want to add  --rm [2]

I don't believe the agents are powered by Docker and we install in the host 
directly; it would be desirable if the hosts had the same image, and this was 
based off that image or baked into the base image.

[1] -

{code}
$ cat Dockerfile
FROM ubuntu:19.10

VOLUME ["/tmp"]
CMD ["/bin/sh", "-c", "echo mooo"]
$ docker build .
Sending build context to Docker daemon  2.048kB
Step 1/3 : FROM ubuntu:19.10
 ---> 1d654303ff59
Step 2/3 : VOLUME ["/tmp"]
 ---> Running in ad5dd66e9ee6
Removing intermediate container ad5dd66e9ee6
 ---> 32ea97eba3dc
Step 3/3 : CMD ["/bin/sh", "-c", "echo mooo"]
 ---> Running in b3ec15944485
Removing intermediate container b3ec15944485
 ---> d23a678f4519
Successfully built d23a678f4519
$ docker run -v tmp:/tmp d23a678f4519
mooo
$ docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED        
     STATUS                     PORTS               NAMES
05a062fa7912        d23a678f4519        "/bin/sh -c 'echo mo…"   3 seconds ago  
     Exited (0) 3 seconds ago                       kind_haslett
{code}

[2]

{code}
$ docker run --rm -v tmp:/tmp d23a678f4519
mooo
$ docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED        
     STATUS                     PORTS               NAMES
05a062fa7912        d23a678f4519        "/bin/sh -c 'echo mo…"   2 minutes ago  
     Exited (0) 2 minutes ago                       kind_haslett
{code}

> Jenkins Test Results Report in plaintext for ASF ML
> ---------------------------------------------------
>
>                 Key: CASSANDRA-15729
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15729
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build, CI
>            Reporter: Michael Semb Wever
>            Assignee: Michael Semb Wever
>            Priority: Normal
>              Labels: Jenkins
>             Fix For: 4.0-beta
>
>         Attachments: .Screenshot 2020-05-01 at 01.12.28.png
>
>
> The Jenkins pipeline builds now aggregate all test reports.
> For example: 
> - https://ci-cassandra.apache.org/job/Cassandra-trunk/68/testReport/
> - 
> https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-trunk/detail/Cassandra-trunk/68/tests
> But Jenkins can only keep a limited amount of build history, so those links 
> are not permanent, can't be used as references, and don't help for bisecting 
> and blame on regressions (and flakey tests) over a longer period of time.
> The builds@ ML can provide a permanent record of test results. 
> This was first brought up in these two threads: 
> - 
> https://lists.apache.org/thread.html/re8122e4fdd8629e7fbca2abf27d72054b3bc0e3690ece8b8e66f618b%40%3Cdev.cassandra.apache.org%3E
> - 
> https://lists.apache.org/thread.html/ra5f6aeea89546825fe7ccc4a80898c62f8ed57decabf709d81d9c720%40%3Cdev.cassandra.apache.org%3E
> An example plaintext report, to demonstrate feasibility, is available here: 
> https://lists.apache.org/thread.html/r80d13f7af706bf8dfbf2387fab46004c1fbd3917b7bc339c49e69aa8%40%3Cbuilds.cassandra.apache.org%3E
> Hurdles:
>  - the ASF mailing lists won't accept html, attachments, or any message body 
> over 1MB.
>  - packages are used as a differentiator in the final aggregated report. The 
> cqlsh and dtests currently don't specify it. It needs to be added as a 
> "dot-separated" prefix to the testsuite and testcase name.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to