Github user mmiklavc commented on the issue:

    https://github.com/apache/metron/pull/1226
  
    @nickwallen is this what you're looking for? I have some questions about 
what I'm looking at here. Are the checkmarks only indicating that a test has 
run, not that it has passed?  I'm assuming the numbered item indicates it is 
the test that has failed. So if `requesting job status` also failed, I imagine 
it would also add `2) requesting job status`?
    
    ```
    [INFO] ℹ 「wdm」: Compiled successfully.
    [INFO] 
────────────────────────────────────────────────────────────────────────────────────────────────────
    [INFO]                                                                      
                               
    [INFO]   Running: pcap/pcap.spec.js...                                      
                      (1 of 1) 
    [INFO] 
    [INFO] 
    [INFO]   PCAP Tab
    [INFO] 
    [INFO]     1) checking running jobs on navigating to PCAP tab
    [INFO] 
    [INFO]     ✓ checking running jobs on navigating to PCAP tab (3822ms)
    [INFO] 
    [INFO]     ✓ submitting PCAP job request (4689ms)
    [INFO] 
    [INFO]     ✓ requesting job status (6310ms)
    [INFO] 
    [INFO]     ✓ process status in percentage (7122ms)
    [INFO] 
    [INFO]     ✓ getting pcap json (7203ms)
    [INFO] 
    [INFO]     ✓ rendering pcap table (8214ms)
    [INFO] 
    [INFO]     ✓ showing pcap details (7887ms)
    [INFO] 
    [INFO]     ✓ navigating accross pages (7209ms)
    [INFO] 
    [INFO]     ✓ downloading pdml (7402ms)
    [INFO] 
    [INFO]     ✓ cancelling (kill) pcap query job (7101ms)
    [INFO] 
    [INFO]     ✓ showing filter validation messages (4208ms)
    [INFO] 
    [INFO]     ✓ showing date validation messages (3419ms)
    [INFO] 
    [INFO] 
    [INFO]   12 passing (1m)
    [INFO]   1 failing
    [INFO] 
    [INFO]   1) PCAP Tab checking running jobs on navigating to PCAP tab:
    [INFO]      CypressError: Timed out retrying: expected 
'http://localhost:4200/api/v1/pcap?state=RUNNING' to include 
'?state=HAPPY-HOLYDAY'
    [INFO]       at Object.cypressErr 
(http://localhost:4200/__cypress/runner/cypress_runner.js:68040:11)
    [INFO]       at Object.throwErr 
(http://localhost:4200/__cypress/runner/cypress_runner.js:68005:18)
    [INFO]       at Object.throwErrByPath 
(http://localhost:4200/__cypress/runner/cypress_runner.js:68032:17)
    [INFO]       at retry 
(http://localhost:4200/__cypress/runner/cypress_runner.js:61785:16)
    [INFO]       at 
http://localhost:4200/__cypress/runner/cypress_runner.js:53903:18
    [INFO]       at tryCatcher 
(http://localhost:4200/__cypress/runner/cypress_runner.js:7091:23)
    [INFO]       at Promise._settlePromiseFromHandler 
(http://localhost:4200/__cypress/runner/cypress_runner.js:5113:31)
    [INFO]       at Promise._settlePromise 
(http://localhost:4200/__cypress/runner/cypress_runner.js:5170:18)
    [INFO]       at Promise._settlePromise0 
(http://localhost:4200/__cypress/runner/cypress_runner.js:5215:10)
    [INFO]       at Promise._settlePromises 
(http://localhost:4200/__cypress/runner/cypress_runner.js:5290:18)
    [INFO]       at Async._drainQueue 
(http://localhost:4200/__cypress/runner/cypress_runner.js:2023:16)
    [INFO]       at Async._drainQueues 
(http://localhost:4200/__cypress/runner/cypress_runner.js:2033:10)
    [INFO]       at Async.drainQueues 
(http://localhost:4200/__cypress/runner/cypress_runner.js:1907:14)
    [INFO]       at <anonymous>
    [INFO] 
    [INFO] 
    [INFO] 
    [INFO] 
    [INFO]   (Results)
    [INFO] 
    [INFO]   
┌────────────────────────────────────┐
    [INFO]   │ Tests:        13                   │
    [INFO]   │ Passing:      12                   │
    [INFO]   │ Failing:      1                    │
    [INFO]   │ Pending:      0                    │
    [INFO]   │ Skipped:      0                    │
    [INFO]   │ Screenshots:  1                    │
    [INFO]   │ Video:        false                │
    [INFO]   │ Duration:     1 minute, 27 seconds │
    [INFO]   │ Spec Ran:     pcap/pcap.spec.js    │
    [INFO]   
└────────────────────────────────────┘
    [INFO] 
    [INFO] 
    [INFO]   (Screenshots)
    [INFO] 
    [INFO]   - 
/home/travis/build/tiborm/metron/metron-interface/metron-alerts/cypress/screenshots/pcap/pcap.spec.js/PCAP
 Tab -- checking running jobs on navigating to PCAP tab (failed).png (1280x720)
    [INFO] 
    [INFO] 
    
7====================================================================================================
    [INFO] 
    [INFO]   (Run Finished)
    7[INFO] 
    [INFO]       Spec                                                Tests  
Passing  Failing  Pending  Skipped 
    [INFO]   
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
    [INFO]   │ ✖ pcap/pcap.spec.js                         01:27       13   
    12        1        -        - │
    [INFO]   
└────────────────────────────────────────────────────────────────────────────────────────────────┘
    [INFO]     1 of 1 failed (100%)                        01:27       13       
12        1        -        -  
    [INFO] 
     3 6 6 1 1 4 4 6npm ERR! code ELIFECYCLE
    ```


---

Reply via email to