Output is too big for the browser


#1

Hi,

Since we passed from Circle 1.0 to Circle 2.0 we got this problem and we don’t arrive to find what is the reason of this output.

The tests starts and at the end:

Before we didn’t have this problem where we needed to download the output file… It’s very annoying.

Is there any wrong in our circle configuration ?

version: 2.0

jobs:
  build:
    docker:
      - image: circleci/ruby:2.5.1-stretch-node-browsers
        environment:
          RAILS_ENV: test
          PGHOST: 127.0.0.1
          PGUSER: root

      - image: circleci/postgres:10-alpine-ram
        environment:
          POSTGRES_USER: root
          POSTGRES_DB: circle-test_test

      - image: redis

    working_directory: ~/my_website
    steps:
      - checkout

      - restore_cache:
          keys:
            - gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
            - gem-cache-v1-{{ arch }}-{{ .Branch }}
            - gem-cache-v1

      - run: bundle install --path vendor/bundle

      - save_cache:
          key: gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
          paths:
            - vendor/bundle

      - run:
          name: Database Setup
          command: bundle exec rake db:create db:migrate --trace

      - run:
          name: Specs
          command: |
            bundle exec rubocop -f fuubar
            bundle exec slim-lint app/views
            yarn run test
            bundle exec rspec --exclude-pattern 'spec/features/**/*'

#2

Could you just pipe it to /dev/null? The program output doesn’t look very useful - I assume it is the result of an ncurses program trying to move the cursor and update a progress meter.

Or you could use grep -v to remove lines that are not useful.