joeljeske / karma-parallel

A Karma JS Framework to support sharding tests to run in parallel across multiple browsers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No calculation of all passed tests on kubernetis -job

KRav007 opened this issue · comments

  • **I'm submitting a ... **

    • bug report
    • feature request
  • Do you want to request a feature or report a bug?
    I expect that all passed test are shown as number, I have around 2k tests

  • What is the current behavior?
    I have a disconnection during run, the test seems to be green, but there is no total calculation of passed tests


`26 05 2020 14:35:37.039:DEBUG [HeadlessChrome 77.0.3865 (Linux 0.0.0)]: Disconnected during run, waiting 100000ms for reconnecting.
26 05 2020 14:35:37.039:DEBUG [HeadlessChrome 77.0.3865 (Linux 0.0.0)]: EXECUTING -> EXECUTING_DISCONNECTED
26 05 2020 14:37:12.015:WARN [HeadlessChrome 77.0.3865 (Linux 0.0.0)]: Disconnected (0 times)reconnect failed before timeout of 100000ms (transport close)
26 05 2020 14:37:12.015:DEBUG [HeadlessChrome 77.0.3865 (Linux 0.0.0)]: EXECUTING_DISCONNECTED -> DISCONNECTED
HeadlessChrome 77.0.3865 (Linux 0.0.0) ERROR
Disconnectedreconnect failed before timeout of 100000ms (transport close)
26 05 2020 14:37:12.016:INFO [karma-server]: Restarting HeadlessChrome 77.0.3865 (Linux 0.0.0) (1 of 3 attempts)
26 05 2020 14:37:12.017:DEBUG [launcher]: CAPTURED -> RESTARTING
26 05 2020 14:37:12.022:DEBUG [launcher]: Process ChromeHeadless exited with code null and signal SIGTERM
26 05 2020 14:37:12.023:DEBUG [temp-dir]: Cleaning temp dir /tmp/karma-10228557
26 05 2020 14:37:12.201:DEBUG [launcher]: RESTARTING -> FINISHED
26 05 2020 14:37:12.202:DEBUG [launcher]: Restarting ChromeHeadless
26 05 2020 14:37:12.202:DEBUG [launcher]: FINISHED -> BEING_CAPTURED
26 05 2020 14:37:12.202:DEBUG [temp-dir]: Creating temp dir at /tmp/karma-10228557

HeadlessChrome 77.0.3865 (Linux 0.0.0): Executed 1 of 1 SUCCESS (0.009 secs / 0.002 secs)
HeadlessChrome 77.0.3865 (Linux 0.0.0): Executed 1 of 1 SUCCESS (0.059 secs / 0.017 secs)
HeadlessChrome 77.0.3865 (Linux 0.0.0): Executed 1 of 1 SUCCESS (0.019 secs / 0.002 secs)
TOTAL: 3 SUCCESS`

  • Please tell us about your environment:
  • version: latest
  • Browser: [Chrome headless 77.x]
  • Language: [ES6/7]

karma.conf
`
'use strict';

// use default configuration as a base
var shared = require('./karma.conf.js');

// override base configuration
module.exports = function (config) {

shared(config);

config.set({

    plugins: [
        ...config.plugins,
    ],

    // web server port
    port: 32080,

    browsers: ['ChromeHeadlessNoSandbox'],
    customLaunchers: {
        ChromeHeadlessNoSandbox: {
            base: 'ChromeHeadless',
            flags: ['--no-sandbox',
                    '--disable-dev-shm-usage'
            ]
        }
    },
    captureTimeout: 210000,
    browserDisconnectTimeout: 100000,
    browserNoActivityTimeout: 400000,
    browserDisconnectTolerance: 3,
    singleRun: true,
    sourcemap:false,
    colors: true,
    exclude: [],
    preprocessors: [],
    frameworks: ['parallel', 'jasmine', 'jasmine-matchers']
});

};`