Skip to content

Travis log is full #2836

Closed
Closed

Description

@iSazonov

Last time this error occurs during Travis CI tests:

1828The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).

Many records in the log is present:

Updating Help for module Microsoft.PowerShell.Core                                 Installing Help content...                                                      [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]                                                                                      
                                                                                 Updating Help for module Microsoft.PowerShell.Core                                 Installing Help content...                                                      [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]                                                                                      VERBOSE: Microsoft.PowerShell.Core: Updated 
/home/travis/build/PowerShell/PowerShell/src/powershell-unix/bin/Linux/netcorea
pp1.0/ubuntu.14.04-x64/publish/en-US/about_Session_Configurations.help.txt. 
Culture en-US Version 5.1.1.0                                                                                 Updating Help for module Microsoft.PowerShell.Core                                 Installing Help content...                                                      [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]                                                                                      
                                                                                 Updating Help for module Microsoft.PowerShell.Core                                 Installing Help content...                                                      [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]                                                                                      VERBOSE: Microsoft.PowerShell.Core: Updated 
/home/travis/build/PowerShell/PowerShell/src/powershell-unix/bin/Linux/netcorea
pp1.0/ubuntu.14.04-x64/publish/en-US/about_WMI_Cmdlets.help.txt. Culture en-US 

The proposal is to remove unnecessary progress bar by adding $progressPreference = 'silentlyContinue' in Help tests.

/cc sergei (@vors) Jason Shirk (@lzybkr)

Activity

  1. daxian-dbw commented on Dec 2, 2016

    @daxian-dbw
    Member

    Francisco Gamino (@Francisco-Gamino), could you please update the Updateable help tests to not write progress bar? Thanks!

  2. added
    WG-Quality-Test
    on Dec 2, 2016
  3. vors commented on Dec 3, 2016

    @vors
    Collaborator

    Reducing amount of output from particular test would not solve the root of the problem.
    Should we just employee James Truher (@JamesWTruher) #2795 to all builds?

  4. iSazonov commented on Dec 3, 2016

    @iSazonov
    CollaboratorAuthor

    sergei (@vors) There are two problems (really bugs). 1. The progress bar is not removed and remains trash. Seems #2795 is not addressed the trash. 2. Now progress bar still has performance problem. So it's better to disable the progress bar. It might even be a globally at Pester.

  5. vors commented on Dec 3, 2016

    @vors
    Collaborator

    Should we just completely disable progress reporting on unix, until it can be acceptable represented visually?

  6. iSazonov commented on Dec 3, 2016

    @iSazonov
    CollaboratorAuthor

    I think it will be OK in Build.psm1 as default parameter (-Quite ?) for CI tests. For "visually" we always can set -Quite:$false.

  7. SteveL-MSFT commented on Mar 4, 2017

    @SteveL-MSFT
    Member

    Do we still need to track this or is this resolved by #2795?

  8. iSazonov commented on Mar 5, 2017

    @iSazonov
    CollaboratorAuthor

    We have reduced the size of the Travis CI log by #2795 and #2842.
    Current size is 2.1 MB (max Travis CI log size is 4 MB). 0.5 MB from 2.1 MB is unneeded information about configure CI environment (progress bar of downloading packages, sources and etc.)

    We will increase the number of tests for better code coverage and we can exhaust the limit.

    You and I asked Pester team make output filter and show only failed tests in output. But as I understand we blocked because new Pester version is not ported.

  9. SteveL-MSFT commented on Mar 5, 2017

    @SteveL-MSFT
    Member

    Ilya (@iSazonov) yeah, showing only failures would significantly reduce the log...

  10. iSazonov commented on Oct 8, 2017

    @iSazonov
    CollaboratorAuthor

    Steve Lee (@SteveL-MSFT) You fixed this - so close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-FixedWG-Quality-Test

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions