Skip to content

ProcessJobExecutor: handles stdout and stderr separately #96

ProcessJobExecutor: handles stdout and stderr separately

ProcessJobExecutor: handles stdout and stderr separately #96

Triggered via push January 12, 2024 05:45
Status Failure
Total duration 1m 39s
Artifacts 1

ci.yaml

on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 10 warnings
Tests (windows-latest, 8.0, false): tests/Unit/SimpleSchedulerTest.php#L997
Failed asserting that string matches format description.
Tests (windows-latest, 8.0, false): tests/Unit/SimpleSchedulerTest.php#L1033
Failed asserting that string matches format description.
Tests (windows-latest, 8.0, false): tests/Unit/SimpleSchedulerTest.php#L1069
Failed asserting that string matches format description.
Tests (windows-latest, 8.0, false)
Process completed with exit code 2.
Tests (windows-latest, 8.1, false): tests/Unit/SimpleSchedulerTest.php#L997
Failed asserting that string matches format description.
Tests (windows-latest, 8.1, false): tests/Unit/SimpleSchedulerTest.php#L1033
Failed asserting that string matches format description.
Tests (windows-latest, 8.1, false): tests/Unit/SimpleSchedulerTest.php#L1069
Failed asserting that string matches format description.
Tests (windows-latest, 8.1, false)
Process completed with exit code 2.
Tests (windows-latest, 7.4, false): tests/Unit/SimpleSchedulerTest.php#L997
Failed asserting that string matches format description.
Tests (windows-latest, 7.4, false): tests/Unit/SimpleSchedulerTest.php#L1033
Failed asserting that string matches format description.
Tests (windows-latest, 7.4, false): tests/Unit/SimpleSchedulerTest.php#L1069
Failed asserting that string matches format description.
Tests (windows-latest, 7.4, false)
Process completed with exit code 2.
Tests (macos-latest, 8.0, false)
The operation was canceled.
Tests (macos-latest, 7.4, false)
The operation was canceled.
Tests (macos-latest, 8.1, false)
The operation was canceled.
Status check - CI
Process completed with exit code 1.
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L203
Escaped Mutant for Mutator "Break_": --- Original +++ New @@ @@ $count = 0; foreach ($jobSchedules as $key => $value) { if ($count >= $next) { - break; + continue; } $slicedJobs[$key] = $value; $count++;
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L244
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if ($repeatAfterSeconds === 0) { return $nextDueDate; } - $previousDueDate = DateTimeImmutable::createFromMutable($expression->getPreviousRunDate($now, 0, true)->setTimezone($timeZone)); + $previousDueDate = DateTimeImmutable::createFromMutable($expression->getPreviousRunDate($now, -1, true)->setTimezone($timeZone)); if (!$this->wasPreviousDueDateInCurrentMinute($now, $previousDueDate)) { return $nextDueDate; }
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L251
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ if (!$this->wasPreviousDueDateInCurrentMinute($now, $previousDueDate)) { return $nextDueDate; } - $currentSecond = (int) $now->format('s'); + $currentSecond = $now->format('s'); $runTimes = (int) floor($currentSecond / $repeatAfterSeconds); $nextRunSecond = ($runTimes + 1) * $repeatAfterSeconds; // Don't abuse seconds overlap
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L252
Escaped Mutant for Mutator "Division": --- Original +++ New @@ @@ return $nextDueDate; } $currentSecond = (int) $now->format('s'); - $runTimes = (int) floor($currentSecond / $repeatAfterSeconds); + $runTimes = (int) floor($currentSecond * $repeatAfterSeconds); $nextRunSecond = ($runTimes + 1) * $repeatAfterSeconds; // Don't abuse seconds overlap if ($nextRunSecond > 59) {
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L252
Escaped Mutant for Mutator "RoundingFamily": --- Original +++ New @@ @@ return $nextDueDate; } $currentSecond = (int) $now->format('s'); - $runTimes = (int) floor($currentSecond / $repeatAfterSeconds); + $runTimes = (int) ceil($currentSecond / $repeatAfterSeconds); $nextRunSecond = ($runTimes + 1) * $repeatAfterSeconds; // Don't abuse seconds overlap if ($nextRunSecond > 59) {
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L252
Escaped Mutant for Mutator "RoundingFamily": --- Original +++ New @@ @@ return $nextDueDate; } $currentSecond = (int) $now->format('s'); - $runTimes = (int) floor($currentSecond / $repeatAfterSeconds); + $runTimes = (int) round($currentSecond / $repeatAfterSeconds); $nextRunSecond = ($runTimes + 1) * $repeatAfterSeconds; // Don't abuse seconds overlap if ($nextRunSecond > 59) {
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L253
Escaped Mutant for Mutator "Multiplication": --- Original +++ New @@ @@ } $currentSecond = (int) $now->format('s'); $runTimes = (int) floor($currentSecond / $repeatAfterSeconds); - $nextRunSecond = ($runTimes + 1) * $repeatAfterSeconds; + $nextRunSecond = ($runTimes + 1) / $repeatAfterSeconds; // Don't abuse seconds overlap if ($nextRunSecond > 59) { return $nextDueDate;
Test for mutants (ubuntu-latest, 8.1): src/Command/ListCommand.php#L256
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ $runTimes = (int) floor($currentSecond / $repeatAfterSeconds); $nextRunSecond = ($runTimes + 1) * $repeatAfterSeconds; // Don't abuse seconds overlap - if ($nextRunSecond > 59) { + if ($nextRunSecond >= 59) { return $nextDueDate; } return $now->setTime((int) $now->format('H'), (int) $now->format('i'), $nextRunSecond);
Test for mutants (ubuntu-latest, 8.1): src/Command/RunJobCommand.php#L61
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { $json = $input->getOption('json'); $params = $input->getOption('parameters'); - $summary = $this->scheduler->runJob($input->getArgument('id'), !$input->getOption('no-force'), $params === null ? null : RunParameters::fromArray(json_decode($params, true, 512, JSON_THROW_ON_ERROR))); + $summary = $this->scheduler->runJob($input->getArgument('id'), !$input->getOption('no-force'), $params === null ? null : RunParameters::fromArray(json_decode($params, true, 511, JSON_THROW_ON_ERROR))); if ($summary === null) { if ($json) { $output->writeln(json_encode(null, JSON_THROW_ON_ERROR));
Test for mutants (ubuntu-latest, 8.1): src/Command/RunJobCommand.php#L61
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ { $json = $input->getOption('json'); $params = $input->getOption('parameters'); - $summary = $this->scheduler->runJob($input->getArgument('id'), !$input->getOption('no-force'), $params === null ? null : RunParameters::fromArray(json_decode($params, true, 512, JSON_THROW_ON_ERROR))); + $summary = $this->scheduler->runJob($input->getArgument('id'), !$input->getOption('no-force'), $params === null ? null : RunParameters::fromArray(json_decode($params, true, 513, JSON_THROW_ON_ERROR))); if ($summary === null) { if ($json) { $output->writeln(json_encode(null, JSON_THROW_ON_ERROR));

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
14.2 KB