Closed bozoh closed 7 years ago
Using worker: worker-linux-docker-8f605598.prod.travis-ci.org:travis-linux-13
travis_fold:start:system_info [0K[33;1mBuild system information[0m Build language: php Build group: stable Build dist: precise Build id: 160267994 Job id: 160267996 travis-build version: ef82e8245 [34m[1mBuild image provisioning date and time[0m Thu Feb 5 15:09:33 UTC 2015 [34m[1mOperating System Details[0m Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise [34m[1mLinux Version[0m 3.13.0-29-generic [34m[1mCookbooks Version[0m a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e [34m[1mGCC version[0m 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.
[34m[1mLLVM version[0m
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
[34m[1mPre-installed Ruby versions[0m
ruby-1.9.3-p551
[34m[1mPre-installed Node.js versions[0m
v0.10.36
[34m[1mPre-installed Go versions[0m
1.4.1
[34m[1mRedis version[0m
redis-server 2.8.19
[34m[1mriak version[0m
2.0.2
[34m[1mMongoDB version[0m
MongoDB 2.4.12
[34m[1mCouchDB version[0m
couchdb 1.6.1
[34m[1mNeo4j version[0m
1.9.4
[34m[1mRabbitMQ Version[0m
3.4.3
[34m[1mElasticSearch version[0m
1.4.0
[34m[1mInstalled Sphinx versions[0m
2.0.10
2.1.9
2.2.6
[34m[1mDefault Sphinx version[0m
2.2.6
[34m[1mInstalled Firefox version[0m
firefox 31.0esr
[34m[1mPhantomJS version[0m
1.9.8
[34m[1mant -version[0m
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
[34m[1mmvn -version[0m
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"
travis_fold:end:system_info
[0K
travis_fold:start:fix.CVE-2015-7547
[0K$ export DEBIAN_FRONTEND=noninteractive
W: Size of file /var/lib/apt/lists/dl.hhvm.com_ubuntu_dists_precise_main_binary-amd64_Packages.gz is not what the server reported 2047 2461
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_source_Sources.gz is not what the server reported 5886 5888
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-amd64_Packages.gz is not what the server reported 33653 36677
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-i386_Packages.gz is not what the server reported 33699 36733
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libc-bin libc-dev-bin libc6-dev
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc-bin libc-dev-bin libc6 libc6-dev
4 upgraded, 0 newly installed, 0 to remove and 248 not upgraded.
Need to get 8,840 kB of archives.
After this operation, 14.3 kB disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.15 [2,943 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.15 [84.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-bin amd64 2.15-0ubuntu10.15 [1,177 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 amd64 2.15-0ubuntu10.15 [4,636 kB]
Fetched 8,840 kB in 0s (32.3 MB/s)
Preconfiguring packages ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 70845 files and directories currently installed.)
Preparing to replace libc6-dev 2.15-0ubuntu10.10 (using .../libc6-dev_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc-dev-bin 2.15-0ubuntu10.10 (using .../libc-dev-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc-bin 2.15-0ubuntu10.10 (using .../libc-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.15-0ubuntu10.15) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 70844 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10.10 (using .../libc6_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.15-0ubuntu10.15) ...
Setting up libc-dev-bin (2.15-0ubuntu10.15) ...
Setting up libc6-dev (2.15-0ubuntu10.15) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
travis_fold:end:fix.CVE-2015-7547
[0Ktravis_fold:start:git.checkout
[0Ktravis_time:start:02f94aa3
[0K$ git clone --depth=50 --branch=POET_2.2.4 https://github.com/POETGroup/moodle-mod_simplecertificate.git POETGroup/moodle-mod_simplecertificate
Cloning into 'POETGroup/moodle-mod_simplecertificate'...
remote: Counting objects: 333, done.[K
remote: Compressing objects: 0% (1/192) [K
remote: Compressing objects: 1% (2/192) [K
remote: Compressing objects: 2% (4/192) [K
remote: Compressing objects: 3% (6/192) [K
remote: Compressing objects: 4% (8/192) [K
remote: Compressing objects: 5% (10/192) [K
remote: Compressing objects: 6% (12/192) [K
remote: Compressing objects: 7% (14/192) [K
remote: Compressing objects: 8% (16/192) [K
remote: Compressing objects: 9% (18/192) [K
remote: Compressing objects: 10% (20/192) [K
remote: Compressing objects: 11% (22/192) [K
remote: Compressing objects: 12% (24/192) [K
remote: Compressing objects: 13% (25/192) [K
remote: Compressing objects: 14% (27/192) [K
remote: Compressing objects: 15% (29/192) [K
remote: Compressing objects: 16% (31/192) [K
remote: Compressing objects: 17% (33/192) [K
remote: Compressing objects: 18% (35/192) [K
remote: Compressing objects: 19% (37/192) [K
remote: Compressing objects: 20% (39/192) [K
remote: Compressing objects: 21% (41/192) [K
remote: Compressing objects: 22% (43/192) [K
remote: Compressing objects: 23% (45/192) [K
remote: Compressing objects: 24% (47/192) [K
remote: Compressing objects: 25% (48/192) [K
remote: Compressing objects: 26% (50/192) [K
remote: Compressing objects: 27% (52/192) [K
remote: Compressing objects: 28% (54/192) [K
remote: Compressing objects: 29% (56/192) [K
remote: Compressing objects: 30% (58/192) [K
remote: Compressing objects: 31% (60/192) [K
remote: Compressing objects: 32% (62/192) [K
remote: Compressing objects: 33% (64/192) [K
remote: Compressing objects: 34% (66/192) [K
remote: Compressing objects: 35% (68/192) [K
remote: Compressing objects: 36% (70/192) [K
remote: Compressing objects: 37% (72/192) [K
remote: Compressing objects: 38% (73/192) [K
remote: Compressing objects: 39% (75/192) [K
remote: Compressing objects: 40% (77/192) [K
remote: Compressing objects: 41% (79/192) [K
remote: Compressing objects: 42% (81/192) [K
remote: Compressing objects: 43% (83/192) [K
remote: Compressing objects: 44% (85/192) [K
remote: Compressing objects: 45% (87/192) [K
remote: Compressing objects: 46% (89/192) [K
remote: Compressing objects: 47% (91/192) [K
remote: Compressing objects: 48% (93/192) [K
remote: Compressing objects: 49% (95/192) [K
remote: Compressing objects: 50% (96/192) [K
remote: Compressing objects: 51% (98/192) [K
remote: Compressing objects: 52% (100/192) [K
remote: Compressing objects: 53% (102/192) [K
remote: Compressing objects: 54% (104/192) [K
remote: Compressing objects: 55% (106/192) [K
remote: Compressing objects: 56% (108/192) [K
remote: Compressing objects: 57% (110/192) [K
remote: Compressing objects: 58% (112/192) [K
remote: Compressing objects: 59% (114/192) [K
remote: Compressing objects: 60% (116/192) [K
remote: Compressing objects: 61% (118/192) [K
remote: Compressing objects: 62% (120/192) [K
remote: Compressing objects: 63% (121/192) [K
remote: Compressing objects: 64% (123/192) [K
remote: Compressing objects: 65% (125/192) [K
remote: Compressing objects: 66% (127/192) [K
remote: Compressing objects: 67% (129/192) [K
remote: Compressing objects: 68% (131/192) [K
remote: Compressing objects: 69% (133/192) [K
remote: Compressing objects: 70% (135/192) [K
remote: Compressing objects: 71% (137/192) [K
remote: Compressing objects: 72% (139/192) [K
remote: Compressing objects: 73% (141/192) [K
remote: Compressing objects: 74% (143/192) [K
remote: Compressing objects: 75% (144/192) [K
remote: Compressing objects: 76% (146/192) [K
remote: Compressing objects: 77% (148/192) [K
remote: Compressing objects: 78% (150/192) [K
remote: Compressing objects: 79% (152/192) [K
remote: Compressing objects: 80% (154/192) [K
remote: Compressing objects: 81% (156/192) [K
remote: Compressing objects: 82% (158/192) [K
remote: Compressing objects: 83% (160/192) [K
remote: Compressing objects: 84% (162/192) [K
remote: Compressing objects: 85% (164/192) [K
remote: Compressing objects: 86% (166/192) [K
remote: Compressing objects: 87% (168/192) [K
remote: Compressing objects: 88% (169/192) [K
remote: Compressing objects: 89% (171/192) [K
remote: Compressing objects: 90% (173/192) [K
remote: Compressing objects: 91% (175/192) [K
remote: Compressing objects: 92% (177/192) [K
remote: Compressing objects: 93% (179/192) [K
remote: Compressing objects: 94% (181/192) [K
remote: Compressing objects: 95% (183/192) [K
remote: Compressing objects: 96% (185/192) [K
remote: Compressing objects: 97% (187/192) [K
remote: Compressing objects: 98% (189/192) [K
remote: Compressing objects: 99% (191/192) [K
remote: Compressing objects: 100% (192/192) [K
remote: Compressing objects: 100% (192/192), done.[K
Receiving objects: 0% (1/333)
Receiving objects: 1% (4/333)
Receiving objects: 2% (7/333)
Receiving objects: 3% (10/333)
Receiving objects: 4% (14/333)
Receiving objects: 5% (17/333)
Receiving objects: 6% (20/333)
Receiving objects: 7% (24/333)
Receiving objects: 8% (27/333)
Receiving objects: 9% (30/333)
Receiving objects: 10% (34/333)
Receiving objects: 11% (37/333)
Receiving objects: 12% (40/333)
Receiving objects: 13% (44/333)
Receiving objects: 14% (47/333)
Receiving objects: 15% (50/333)
Receiving objects: 16% (54/333)
Receiving objects: 17% (57/333)
Receiving objects: 18% (60/333)
Receiving objects: 19% (64/333)
Receiving objects: 20% (67/333)
Receiving objects: 21% (70/333)
Receiving objects: 22% (74/333)
Receiving objects: 23% (77/333)
Receiving objects: 24% (80/333)
Receiving objects: 25% (84/333)
Receiving objects: 26% (87/333)
Receiving objects: 27% (90/333)
Receiving objects: 28% (94/333)
Receiving objects: 29% (97/333)
Receiving objects: 30% (100/333)
Receiving objects: 31% (104/333)
Receiving objects: 32% (107/333)
Receiving objects: 33% (110/333)
Receiving objects: 34% (114/333)
Receiving objects: 35% (117/333)
Receiving objects: 36% (120/333)
Receiving objects: 37% (124/333)
Receiving objects: 38% (127/333)
Receiving objects: 39% (130/333)
Receiving objects: 40% (134/333)
Receiving objects: 41% (137/333)
Receiving objects: 42% (140/333)
Receiving objects: 43% (144/333)
Receiving objects: 44% (147/333)
Receiving objects: 45% (150/333)
Receiving objects: 46% (154/333)
Receiving objects: 47% (157/333)
Receiving objects: 48% (160/333)
Receiving objects: 49% (164/333)
Receiving objects: 50% (167/333)
Receiving objects: 51% (170/333)
Receiving objects: 52% (174/333)
Receiving objects: 53% (177/333)
Receiving objects: 54% (180/333)
Receiving objects: 55% (184/333)
Receiving objects: 56% (187/333)
Receiving objects: 57% (190/333)
Receiving objects: 58% (194/333)
Receiving objects: 59% (197/333)
Receiving objects: 60% (200/333)
Receiving objects: 61% (204/333)
Receiving objects: 62% (207/333)
Receiving objects: 63% (210/333)
Receiving objects: 64% (214/333)
Receiving objects: 65% (217/333)
Receiving objects: 66% (220/333)
Receiving objects: 67% (224/333)
Receiving objects: 68% (227/333)
Receiving objects: 69% (230/333)
Receiving objects: 70% (234/333)
Receiving objects: 71% (237/333)
Receiving objects: 72% (240/333)
Receiving objects: 73% (244/333)
Receiving objects: 74% (247/333)
Receiving objects: 75% (250/333)
Receiving objects: 76% (254/333)
Receiving objects: 77% (257/333)
Receiving objects: 78% (260/333)
Receiving objects: 79% (264/333)
Receiving objects: 80% (267/333)
Receiving objects: 81% (270/333)
Receiving objects: 82% (274/333)
Receiving objects: 83% (277/333)
Receiving objects: 84% (280/333)
Receiving objects: 85% (284/333)
Receiving objects: 86% (287/333)
Receiving objects: 87% (290/333)
Receiving objects: 88% (294/333)
Receiving objects: 89% (297/333)
Receiving objects: 90% (300/333)
Receiving objects: 91% (304/333)
remote: Total 333 (delta 173), reused 258 (delta 117), pack-reused 0[K
Receiving objects: 92% (307/333)
Receiving objects: 93% (310/333)
Receiving objects: 94% (314/333)
Receiving objects: 95% (317/333)
Receiving objects: 96% (320/333)
Receiving objects: 97% (324/333)
Receiving objects: 98% (327/333)
Receiving objects: 99% (330/333)
Receiving objects: 100% (333/333)
Receiving objects: 100% (333/333), 4.39 MiB | 0 bytes/s, done.
Resolving deltas: 0% (0/173)
Resolving deltas: 1% (3/173)
Resolving deltas: 2% (4/173)
Resolving deltas: 4% (7/173)
Resolving deltas: 6% (11/173)
Resolving deltas: 8% (15/173)
Resolving deltas: 9% (16/173)
Resolving deltas: 12% (21/173)
Resolving deltas: 13% (23/173)
Resolving deltas: 16% (29/173)
Resolving deltas: 19% (33/173)
Resolving deltas: 26% (46/173)
Resolving deltas: 27% (47/173)
Resolving deltas: 28% (50/173)
Resolving deltas: 31% (54/173)
Resolving deltas: 32% (56/173)
Resolving deltas: 36% (63/173)
Resolving deltas: 40% (70/173)
Resolving deltas: 43% (75/173)
Resolving deltas: 44% (77/173)
Resolving deltas: 46% (81/173)
Resolving deltas: 47% (83/173)
Resolving deltas: 50% (88/173)
Resolving deltas: 52% (90/173)
Resolving deltas: 53% (93/173)
Resolving deltas: 56% (97/173)
Resolving deltas: 58% (102/173)
Resolving deltas: 60% (104/173)
Resolving deltas: 68% (118/173)
Resolving deltas: 73% (127/173)
Resolving deltas: 75% (130/173)
Resolving deltas: 85% (148/173)
Resolving deltas: 100% (173/173)
Resolving deltas: 100% (173/173), done.
Checking connectivity... done.
travis_time:end:02f94aa3:start=1473968696990723187,finish=1473968697618606616,duration=627883429 [0K$ cd POETGroup/moodle-mod_simplecertificate $ git checkout -qf 39ff5219e238eb7d29e543c1fd754e020bf60c08 travis_fold:end:git.checkout [0K [33;1mThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.[0m [33;1mIf you require sudo, add 'sudo: required' to your .travis.yml[0m [33;1mSee https://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.[0m
[33;1mSetting environment variables from .travis.yml[0m $ export MOODLE_BRANCH=MOODLE_30_STABLE $ export DB=mysqli
travis_time:start:057c41a6 [0K$ phpenv global 5.6 2>/dev/null
travis_time:end:057c41a6:start=1473968699707004055,finish=1473968699724205839,duration=17201784 [0Ktravis_time:start:0da31660 [0K$ phpenv global 5.6
travis_time:end:0da31660:start=1473968699727825818,finish=1473968699743972924,duration=16147106 [0Ktravis_time:start:00c36960 [0K$ composer self-update Updating to version [32m20ee689bb464edfe7e57af6be8f03fb664f5db1d[39m. Downloading: [33mconnection...[39m Downloading: [33m100%[39m Use [32mcomposer self-update --rollback[39m to return to version 1d8f05f1dd0e390f253f79ea86cd505178360019
travis_time:end:00c36960:start=1473968699776864950,finish=1473968702361706955,duration=2584842005 [0Ktravis_fold:start:cache.1 [0KSetting up build cache $ export CASHER_DIR=$HOME/.casher travis_time:start:11660e3b [0K$ Installing caching utilities
travis_time:end:11660e3b:start=1473968703140245970,finish=1473968703461882858,duration=321636888 [0Ktravis_time:start:034b4b2a [0K travis_time:end:034b4b2a:start=1473968703466641518,finish=1473968703469976999,duration=3335481 [0Ktravis_time:start:07343120 [0K[32;1mattempting to download cache archive[0m [32;1mfetching POET_2.2.4/cache-linux-precise-c83b850aa480d22dbceb9c8ee9e38b18b7808cfc640ec4c63c2276626e5f428b--php-5.6.tgz[0m [32;1mfound cache[0m
travis_time:end:07343120:start=1473968703473941993,finish=1473968704156730421,duration=682788428 [0Ktravis_time:start:08f48d32 [0K travis_time:end:08f48d32:start=1473968704160641858,finish=1473968704164033118,duration=3391260 [0Ktravis_time:start:098d0ad2 [0K[32;1madding /home/travis/.composer/cache to cache[0m
travis_time:end:098d0ad2:start=1473968704167875972,finish=1473968705486288097,duration=1318412125 [0Ktravis_fold:end:cache.1 [0K$ php --version PHP 5.6.5 (cli) (built: Feb 12 2015 01:41:10) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies with Xdebug v2.2.7, Copyright (c) 2002-2015, by Derick Rethans $ composer --version [32mComposer[39m version [33m1.2-dev (20ee689bb464edfe7e57af6be8f03fb664f5db1d)[39m 2016-09-14 16:06:37 [0m travis_fold:start:before_install.1 [0Ktravis_time:start:16a852ac [0K$ cd ../..
travis_time:end:16a852ac:start=1473968705693051251,finish=1473968705696280667,duration=3229416 [0Ktravis_fold:end:before_install.1 [0Ktravis_fold:start:before_install.2 [0Ktravis_time:start:0e401860 [0K$ composer selfupdate Updating to version [32m1.2.1[39m (stable channel). Downloading: [33mConnecting...[39m Downloading: [33m100%[39m Use [32mcomposer self-update --rollback[39m to return to version 20ee689bb464edfe7e57af6be8f03fb664f5db1d
travis_time:end:0e401860:start=1473968705700274229,finish=1473968707796543075,duration=2096268846 [0Ktravis_fold:end:before_install.2 [0Ktravis_fold:start:before_install.3 [0Ktravis_time:start:075a66e0 [0K$ composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci dev-poet [30;43mYou are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug[39;49m [32mInstalling moodlerooms/moodle-plugin-ci (dev-poet cef345ba1424f702400c48dce19309635d4f706b)[39m
[32mCreated project in ci[39m [32mLoading composer repositories with package information[39m [32mInstalling dependencies from lock file[39m
[32mGenerating autoload files[39m
travis_time:end:075a66e0:start=1473968707800599235,finish=1473968714183149984,duration=6382550749 [0Ktravis_fold:end:before_install.3 [0Ktravis_fold:start:before_install.4 [0Ktravis_time:start:005b1859 [0K$ export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
travis_time:end:005b1859:start=1473968714187212337,finish=1473968714191533875,duration=4321538 [0Ktravis_fold:end:before_install.4 [0Ktravis_fold:start:install [0Ktravis_time:start:002659e9 [0K$ moodle-plugin-ci install
[2K 0/7 [>---------------------------] 0% < 1 sec [Starting install] [2K 1/7 [====>-----------------------] 14% < 1 sec [Cloning Moodle] [2K 2/7 [========>-------------------] 28% 10 secs [Moodle assets] [2K 3/7 [============>---------------] 42% 10 secs [Install plugins] [2K 4/7 [================>-----------] 57% 10 secs [Install dependencies] [2K 5/7 [====================>-------] 71% 33 secs [Initialize test suite] [37;41m [39;49m [37;41m [Moodlerooms\MoodlePluginCI\Process\MoodlePhpException] [39;49m [37;41m PHP error message was detected when running this command: [39;49m [37;41m php -d log_errors=1 -d error_log=NULL /home/travis/build/moodle/admin/too [39;49m [37;41m l/phpunit/cli/util.php --install [39;49m [37;41m Moodle scripts should run without any PHP errors. [39;49m [37;41m Error Output [39;49m [37;41m ============ [39;49m [37;41m PHP Notice: Undefined property: stdClass::$gradepointdefault in /home/trav [39;49m [37;41m is/build/moodle/lib/grade/grade_item.php on line 270 [39;49m [37;41m PHP Stack trace: [39;49m [37;41m PHP 1. {main}() /home/travis/build/moodle/admin/tool/phpunit/cli/util.php [39;49m [37;41m :0 [39;49m [37;41m PHP 2. phpunit_util::install_site() /home/travis/build/moodle/admin/tool/ [39;49m [37;41m phpunit/cli/util.php:150 [39;49m [37;41m PHP 3. install_cli_database() /home/travis/build/moodle/lib/phpunit/class [39;49m [37;41m es/util.php:446 [39;49m [37;41m PHP 4. admin_apply_default_settings() /home/travis/build/moodle/lib/insta [39;49m [37;41m lllib.php:514 [39;49m [37;41m PHP 5. admin_get_root() /home/travis/build/moodle/lib/adminlib.php:6954 [39;49m [37;41m PHP 6. require() /home/travis/build/moodle/lib/adminlib.php:6933 [39;49m [37;41m PHP 7. core\plugininfo\mod->load_settings() /home/travis/build/moodle/adm [39;49m [37;41m in/settings/plugins.php:45 [39;49m [37;41m PHP 8. include() /home/travis/build/moodle/lib/classes/plugininfo/mod.php [39;49m [37;41m :89 [39;49m [37;41m PHP 9. simplecertificate_get_date_options() /home/travis/build/moodle/mod [39;49m [37;41m /simplecertificate/settings.php:30 [39;49m [37;41m PHP 10. simplecertificate_get_mods() /home/travis/build/moodle/mod/simplec [39;49m [37;41m ertificate/lib.php:436 [39;49m [37;41m PHP 11. grade_item::fetch_all() /home/travis/build/moodle/mod/simplecertif [39;49m [37;41m icate/lib.php:411 [39;49m [37;41m PHP 12. grade_object::fetch_all_helper() /home/travis/build/moodle/lib/gra [39;49m [37;41m de/grade_item.php:365 [39;49m [37;41m PHP 13. grade_item->__construct() /home/travis/build/moodle/lib/grade/grad [39;49m [37;41m e_object.php:182 [39;49m [37;41m [39;49m
[32minstall [--moodle MOODLE] [--data DATA] [--branch BRANCH] [--plugin PLUGIN] [--db-type DB-TYPE] [--db-user DB-USER] [--db-pass DB-PASS] [--db-name DB-NAME] [--db-host DB-HOST] [--not-paths NOT-PATHS] [--not-names NOT-NAMES] [--extra-plugins EXTRA-PLUGINS][39m
travis_time:end:002659e9:start=1473968714195472880,finish=1473968815926035223,duration=101730562343 [0K [31;1mThe command "moodle-plugin-ci install" failed and exited with 1 during .[0m
Your build has been stopped.
Now i understand th bug, it's happens when i in settings pages, and the code try do get grade items from the course ... only need to put a check id courseid=siteid
@bozoh The commit you suggested also fixes an issue with behat failing to initialize with a similar error as travis. My only recommendation is to use the Moodle coding style guidelines. Inline Comments should be in the format
// This is a comment.
See https://docs.moodle.org/dev/Coding_style#Inline_comments
@rlcharles you are right, i know this cody style, but is a bit confusing when you are programing in other languages at same time (R), why PHP accpets # as comment too :D , sorry, it's fixed now
From: derek.henderson@remote-learner.net Date: Thu, 15 Sep 2016 17:19:06 -0400 Subject: Simple Certificate Module To: bozohhot@hotmail.com
Hi - my name is Derek Henderson and I am developer with Remote Learner.
One of my jobs is to evaluate plugins like yours for security and performance issues.
I have been looking at your plugin for Moodle 3.0 and Moodle 3.1. I have been using travis.ci as an evaluation tool.
When I run it with Moodle 2.9, its fine.
However, when I run it with Moodle 3.0 or Moodle 3.1 (see: https://travis-ci.org/POETGroup/moodle-mod_simplecertificate),
I get an error as shown below (see: https://travis-ci.org/POETGroup/moodle-mod_simplecertificate/jobs/160267996)
It does not seem to affect the performance of the plugin.
Just wondering if you have seen anything like it, or have a newer version available.
Thanks for your time..
PHP Notice: Undefined property: stdClass::$gradepointdefault in /home/trav is/build/moodle/lib/grade/grade_item.php on line 270
PHP Stack trace:
PHP 1. {main}() /home/travis/build/moodle/admin/tool/phpunit/cli/util.php :0
PHP 2. phpunit_util::install_site() /home/travis/build/moodle/admin/tool/ phpunit/cli/util.php:150
PHP 3. install_cli_database() /home/travis/build/moodle/lib/phpunit/class es/util.php:446
PHP 4. admin_apply_default_settings() /home/travis/build/moodle/lib/insta lllib.php:514
PHP 5. admin_get_root() /home/travis/build/moodle/lib/adminlib.php:6954
PHP 6. require() /home/travis/build/moodle/lib/adminlib.php:6933
PHP 7. core\plugininfo\mod->load_settings() /home/travis/build/moodle/adm in/settings/plugins.php:45
PHP 8. include() /home/travis/build/moodle/lib/classes/plugininfo/mod.php :89
PHP 9. simplecertificate_get_date_options() /home/travis/build/moodle/mod /simplecertificate/settings.php:30
PHP 10. simplecertificate_get_mods() /home/travis/build/moodle/mod/simplec ertificate/lib.php:436
PHP 11. grade_item::fetch_all() /home/travis/build/moodle/mod/simplecertif icate/lib.php:411
PHP 12. grade_object::fetch_all_helper() /home/travis/build/moodle/lib/gra de/grade_item.php:365
PHP 13. grade_item->__construct() /home/travis/build/moodle/lib/grade/grad e_object.php:182