LobbyOS / lobby

A localhost Web OS For Web Apps
https://lobby.subinsb.com
Apache License 2.0
19 stars 10 forks source link

Travis CI - phpunit build error #16

Closed suriyaa closed 7 years ago

suriyaa commented 8 years ago

@subins2000

We got a Travis build error in the phpunit command:

Using worker: worker-linux-docker-92e2ad6b.prod.travis-ci.org:travis-linux-3

system_info

Build system information

Build language: php

Build group: stable

Build dist: precise

Build image provisioning date and time

Thu Feb  5 15:09:33 UTC 2015

Operating System Details

Distributor ID: Ubuntu

Description:    Ubuntu 12.04.5 LTS

Release:    12.04

Codename:   precise

Linux Version

3.13.0-29-generic

Cookbooks Version

a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e

GCC version

gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

Copyright (C) 2011 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

LLVM version

clang version 3.4 (tags/RELEASE_34/final)

Target: x86_64-unknown-linux-gnu

Thread model: posix

Pre-installed Ruby versions

ruby-1.9.3-p551

Pre-installed Node.js versions

v0.10.36

Pre-installed Go versions

1.4.1

Redis version

redis-server 2.8.19

riak version

2.0.2

MongoDB version

MongoDB 2.4.12

CouchDB version

couchdb 1.6.1

Neo4j version

1.9.4

RabbitMQ Version

3.4.3

ElasticSearch version

1.4.0

Installed Sphinx versions

2.0.10

2.1.9

2.2.6

Default Sphinx version

2.2.6

Installed Firefox version

firefox 31.0esr

PhantomJS version

1.9.8

ant -version

Apache Ant(TM) version 1.8.2 compiled on December 3 2011

mvn -version

Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)

Maven home: /usr/local/maven

Java version: 1.7.0_76, vendor: Oracle Corporation

Java home: /usr/lib/jvm/java-7-oracle/jre

Default locale: en_US, platform encoding: ANSI_X3.4-1968

OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"

git.checkout

0.92s$ git clone --depth=50 --branch=dev https://github.com/LobbyOS/lobby.git LobbyOS/lobby

Cloning into 'LobbyOS/lobby'...

remote: Counting objects: 1330, done.

remote: Compressing objects: 100% (885/885), done.

remote: Total 1330 (delta 299), reused 1080 (delta 251), pack-reused 0

Receiving objects: 100% (1330/1330), 8.83 MiB | 0 bytes/s, done.

Resolving deltas: 100% (299/299), done.

Checking connectivity... done.

$ cd LobbyOS/lobby

$ git checkout -qf 59866306da864953db683a4922d102c84dda8e94

This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.

If you require sudo, add 'sudo: required' to your .travis.yml

See https://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.

0.02s$ phpenv global 5.3 2>/dev/null

$ php --version

PHP 5.3.29 (cli) (built: Feb 12 2015 00:55:43) 

Copyright (c) 1997-2014 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies

    with Xdebug v2.2.7, Copyright (c) 2002-2015, by Derick Rethans

$ composer --version

Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/home/travis/.phpenv/versions/5.3/bin/composer self-update" to get the latest version.

Composer version 1.0-dev (1d8f05f1dd0e390f253f79ea86cd505178360019) 2015-02-11 11:31:57

before_script.1

1.72s$ composer self-update

Updating to version 7c3e621102106fd28af0128fdfd750af926fc569.

    Downloading: 100%

Use composer self-update --rollback to return to version 1d8f05f1dd0e390f253f79ea86cd505178360019

before_script.2

23.32s$ composer install --prefer-source --no-interaction --dev

You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug

You are using the deprecated option "dev". Dev packages are installed by default now.

Loading composer repositories with package information

Installing dependencies (including require-dev)

  - Installing seld/cli-prompt (1.0.1)

    Cloning b27db1514f7d7bb7a366ad95d4eb2b17140a0691

  - Installing seld/phar-utils (1.0.1)

    Cloning 7009b5139491975ef6486545a39f3e6dad5ac30a

  - Installing symfony/filesystem (v2.8.2)

    Cloning 637b64d0ee10f44ae98dbad651b1ecdf35a11e8c

  - Installing symfony/process (v2.8.2)

    Cloning 6f1979c3b0f4c22c77a8a8971afaa7dd07f082ac

  - Installing symfony/finder (v2.8.2)

    Cloning c90fabdd97e431ee19b6383999cf35334dff27da

  - Installing symfony/polyfill-mbstring (v1.1.0)

    Cloning 1289d16209491b584839022f29257ad859b8532d

  - Installing symfony/console (v2.8.2)

    Cloning d0239fb42f98dd02e7d342f793c5d2cdee0c478d

  - Installing seld/jsonlint (1.4.0)

    Cloning 66834d3e3566bb5798db7294619388786ae99394

  - Installing composer/semver (1.2.0)

    Cloning 0faeb6e433f6b352f0dc55ec1faf5c6b605a35d3

  - Installing composer/spdx-licenses (1.1.2)

    Cloning 9e1c3926bb0842812967213d7c92827bc5883671

  - Installing justinrainbow/json-schema (1.6.1)

    Cloning cc84765fb7317f6b07bd8ac78364747f95b86341

  - Installing composer/composer (1.0.0-alpha11)

    Cloning cd9054ce2abd1d06ed0eb1244eba1b2c2af633b6

symfony/console suggests installing symfony/event-dispatcher ()

symfony/console suggests installing psr/log (For using the console logger)

Writing lock file

Generating autoload files

0.08s$ phpunit

PHPUnit 4.5.0 by Sebastian Bergmann and contributors.

Usage: phpunit [options] UnitTest [UnitTest.php]

       phpunit [options] <directory>

Code Coverage Options:

  --coverage-clover <file>  Generate code coverage report in Clover XML format.

  --coverage-crap4j <file>  Generate code coverage report in Crap4J XML format.

  --coverage-html <dir>     Generate code coverage report in HTML format.

  --coverage-php <file>     Export PHP_CodeCoverage object to file.

  --coverage-text=<file>    Generate code coverage report in text format.

                            Default: Standard output.

  --coverage-xml <dir>      Generate code coverage report in PHPUnit XML format.

Logging Options:

  --log-junit <file>        Log test execution in JUnit XML format to file.

  --log-tap <file>          Log test execution in TAP format to file.

  --log-json <file>         Log test execution in JSON format.

  --testdox-html <file>     Write agile documentation in HTML format to file.

  --testdox-text <file>     Write agile documentation in Text format to file.

Test Selection Options:

  --filter <pattern>        Filter which tests to run.

  --testsuite <pattern>     Filter which testsuite to run.

  --group ...               Only runs tests from the specified group(s).

  --exclude-group ...       Exclude tests from the specified group(s).

  --list-groups             List available test groups.

  --test-suffix ...         Only search for test in files with specified

                            suffix(es). Default: Test.php,.phpt

Test Execution Options:

  --report-useless-tests    Be strict about tests that do not test anything.

  --strict-coverage         Be strict about unintentionally covered code.

  --disallow-test-output    Be strict about output during tests.

  --enforce-time-limit      Enforce time limit based on test size.

  --disallow-todo-tests     Disallow @todo-annotated tests.

  --process-isolation       Run each test in a separate PHP process.

  --no-globals-backup       Do not backup and restore $GLOBALS for each test.

  --static-backup           Backup and restore static attributes for each test.

  --colors                  Use colors in output.

  --columns <n>             Number of columns to use for progress outout.

  --columns max             Use maximum number of columns for progress outout.

  --stderr                  Write to STDERR instead of STDOUT.

  --stop-on-error           Stop execution upon first error.

  --stop-on-failure         Stop execution upon first error or failure.

  --stop-on-risky           Stop execution upon first risky test.

  --stop-on-skipped         Stop execution upon first skipped test.

  --stop-on-incomplete      Stop execution upon first incomplete test.

  -v|--verbose              Output more verbose information.

  --debug                   Display debugging information during test execution.

  --loader <loader>         TestSuiteLoader implementation to use.

  --repeat <times>          Runs the test(s) repeatedly.

  --tap                     Report test execution progress in TAP format.

  --testdox                 Report test execution progress in TestDox format.

  --printer <printer>       TestListener implementation to use.

Configuration Options:

  --bootstrap <file>        A "bootstrap" PHP file that is run before the tests.

  -c|--configuration <file> Read configuration from XML file.

  --no-configuration        Ignore default configuration file (phpunit.xml).

  --include-path <path(s)>  Prepend PHP's include_path with given path(s).

  -d key[=value]            Sets a php.ini value.

Miscellaneous Options:

  -h|--help                 Prints this usage information.

  --version                 Prints the version and exits.

  --self-update             Update PHPUnit to the latest version.

The command "phpunit" exited with 2.

Done. Your build exited with 1.
subins2000 commented 8 years ago

Tests for Lobby is on the process. Will be fixed soon.

:-)

suriyaa commented 8 years ago

@subins2000 New error: https://travis-ci.org/LobbyOS/lobby/jobs/154758994!

phpunit tests/LobbyInstall.php
Cannot open file "tests/LobbyInstall.php".
The command "phpunit tests/LobbyInstall.php" exited with 1.
suriyaa commented 8 years ago

Issue discussion: https://github.com/travis-ci/travis-ci/issues/6521 Pull Request: https://github.com/LobbyOS/lobby/pull/21

suriyaa commented 8 years ago

@subins2000 Solved issue?

The command "phpunit tests/LobbyInstall.php" exited with 1.: https://travis-ci.org/LobbyOS/lobby/jobs/155710562

subins2000 commented 8 years ago

I will get to it once my school exams are over ;) On Aug 28, 2016 4:03 PM, "Suriyaa Kudo" notifications@github.com wrote:

@subins2000 https://github.com/subins2000 Solved issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LobbyOS/lobby/issues/16#issuecomment-242967576, or mute the thread https://github.com/notifications/unsubscribe-auth/ACMui_cQLceDfIX1RyMh0NQm9GdEgmcvks5qkWP5gaJpZM4HQB6o .

suriyaa commented 7 years ago

@subins2000 Closing this stale issue.