Skip to content

Instantly share code, notes, and snippets.

@mosbth
Created November 30, 2020 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mosbth/1c5afb8b69d9c0638e2433ef0f9e6426 to your computer and use it in GitHub Desktop.
Save mosbth/1c5afb8b69d9c0638e2433ef0f9e6426 to your computer and use it in GitHub Desktop.
>>> ======= GUI Inspect =======
Mon Nov 30 17:47:20 CET 2020
ramverk1 kmom03 gufo19
download, docker
Inspect GUI v2.5.0 (2020-11-30)
>>> ======= Download (and potato) =======
Doing a silent download, potatoe if needed.
>>> ======= Pre kmom03 =======
http://www.student.bth.se/~gufo19/dbwebb-kurser/ramverk1/me/redovisa/htdocs
file:///home/mos/git/dbwebbse/kurser/ramverk1/me/redovisa/build/coverage/index.html
https://github.com/gustavfors/ramverk1.git
>>> ======= dbwebb inspect =======
Do dbwebb inspect in the background and write output to logfile.
>>> ======= Docker run scripts =======
docker-compose -f docker-compose.yaml run --service-ports server bash .dbwebb/inspect-src/kmom.d/run.bash kmom03 gufo19 .log/inspect/docker.txt
>>> -------------- Start -------------------------
Running scripts in '/home/dbwebb/repo/.dbwebb/inspect-src/kmom.d/kmom03'.
>>> -------------- 030_make-phpunit.bash -------------------------
[Git] checked out tags/v3.0
[gufo19] using tag = v3.0
---> Prepare for tests and build
[ -d .bin ] || mkdir .bin
[ -d build ] || mkdir build
rm -rf build/*
---> Run unit tests for PHP.
[ ! -d "test" ] || vendor/bin/phpunit --configuration .phpunit.xml
PHPUnit 7.5.20 by Sebastian Bergmann and contributors.
...E.............E...E.......EEEE 33 / 33 (100%)
Time: 8.86 seconds, Memory: 10.00 MB
There were 7 errors:
1) Gufo\Controller\ApiControllerTest::testWeatherActionGetValidAddress
Error: Call to undefined function curl_multi_init()
/home/dbwebb/repo/me/redovisa/src/Model/Curl.php:10
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:30
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:23
/home/dbwebb/repo/me/redovisa/src/Controller/ApiController.php:58
/home/dbwebb/repo/me/redovisa/test/Controller/ApiControllerTest.php:69
2) Gufo\Controller\WeatherControllerTest::testWeatherActionGetWithValidAddress
Error: Call to undefined function curl_multi_init()
/home/dbwebb/repo/me/redovisa/src/Model/Curl.php:10
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:30
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:23
/home/dbwebb/repo/me/redovisa/src/Controller/WeatherController.php:53
/home/dbwebb/repo/me/redovisa/test/Controller/WeatherControllerTest.php:53
3) Gufo\Model\CurlTest::testMCurl
Error: Call to undefined function curl_multi_init()
/home/dbwebb/repo/me/redovisa/src/Model/Curl.php:10
/home/dbwebb/repo/me/redovisa/test/Model/CurlTest.php:17
4) Gufo\Model\WeatherTest::testConstructor
Error: Call to undefined function curl_multi_init()
/home/dbwebb/repo/me/redovisa/src/Model/Curl.php:10
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:30
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:23
/home/dbwebb/repo/me/redovisa/test/Model/WeatherTest.php:17
5) Gufo\Model\WeatherTest::testGetHistory
Error: Call to undefined function curl_multi_init()
/home/dbwebb/repo/me/redovisa/src/Model/Curl.php:10
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:30
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:23
/home/dbwebb/repo/me/redovisa/test/Model/WeatherTest.php:26
6) Gufo\Model\WeatherTest::testGetForecast
Error: Call to undefined function curl_multi_init()
/home/dbwebb/repo/me/redovisa/src/Model/Curl.php:10
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:30
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:23
/home/dbwebb/repo/me/redovisa/test/Model/WeatherTest.php:37
7) Gufo\Model\WeatherTest::testGetAll
Error: Call to undefined function curl_multi_init()
/home/dbwebb/repo/me/redovisa/src/Model/Curl.php:10
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:30
/home/dbwebb/repo/me/redovisa/src/Model/Weather.php:23
/home/dbwebb/repo/me/redovisa/test/Model/WeatherTest.php:48
ERRORS!
Tests: 33, Assertions: 37, Errors: 7.
Generating code coverage report in Clover XML format ... done
Generating code coverage report in HTML format ... done
make: *** [Makefile:300: phpunit] Error 2
[Git] checked out Makefile build cache composer.json composer.lock config content docker-compose.yml htdocs src test theme vendor view master
FAILED 030_make-phpunit.bash
>>> -------------- 040_git-tags-redovisa.bash -------------------------
[gufo19] tags=4
v1.0.0
v2.0.0
v2.0.1
v3.0
OK 040_git-tags-redovisa.bash
>>> -------------- 050_git-tag-redovisa.bash -------------------------
[gufo19] tag >= 3.0.0 and < 4.0.0 (v3.0)
OK 050_git-tag-redovisa.bash
>>> -------------- 060_git-commit-redovisa.bash -------------------------
[gufo19] commits=17
addNewLine 48770b2 - Gustav, 7 days ago : updated the navbar and added redovisningstext
c1965a2 - Gustav, 7 days ago : moved api keys into config folder
b182a1e - Gustav, 7 days ago : added api documentation, added error page
81fd310 - Gustav, 7 days ago : added failchecks for valid ip addresses that don't provide any locational data, updated tests
aa0d5c9 - Gustav, 7 days ago : added tests for the WeatherController class
FAILED 060_git-commit-redovisa.bash
>>> -------------- 100_end-phase-1.bash -------------------------
[gufo19]
[-] make phpunit (v3.0)
[+] Number of tags = 4 (>3)
[+] Has tag between 3.0.0 and 4.0.0 (v3.0)
[-] Number of commits = 17 (>30)
OK 100_end-phase-1.bash
>>> -------------- 190_redovisa-bash.bash -------------------------
[gufo19] Do manual stuff, if needed (e/exit to exit)?
Makefile* composer.json* content/ src/ vendor/
build/ composer.lock* docker-compose.yml* test/ view/
cache/ config/ htdocs/ theme/
]0;dbwebb@48c31531a589: ~/repo/me/redovisadbwebb@48c31531a589:~/repo/me/redovisa$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment