Hi,
I am Joe from Beihang University, Beijing, China. I am major in Computer Sciences.
Durning my university, PMA is very popular and a lot of my classmates are using PMA for database management.
I am quite interested in the project Automated testing for PMA. I have some php unit test project experience and selenium project experience.
when I try to add some unit test case, I found that the Jenkins build is failed, not very stable and without code coverage report.
so I can't take a look at the code coverage report.
http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/http://ci.phpmyadmin.net/job/phpMyAdmin/cloverphp/
Is there other place that I can see the code coverage report?
thanks,
Joe Yin
neues-Logo-2-Freunde.2014-07-13.312.png
ZweiSteinSoft
ZweiSteinSoft(a)ZweiSteinSoft.de
********************************************
Hello team,
we just found something strange:
When exporting a database with many (104) tables,
in PMA 4.3.0-dev, a JS notice appers,
that warns about "more than 1000 form fields",
related to max_input_fields setting.
The SQL dump export then fails with red warnings
about missing parameters.
We assume this is due to "rename tables on export" hidden inputs.
Do you know this already?
****************
Please because we get otherwise in trouble..!
****************
Until soon!
Ann + J.M.
************************************************************
---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com
Hi,
Will it be possible to install phpunit under "/vendor/bin/" i.e.
"/var/lib/jenkins/jobs/phpMyAdmin-continuous/workspace/vendor/bin/"
directory in Jenkins server?
--
Regards,
Chirayu Chiripal
https://chirayuchiripal.wordpress.com/
See <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/7605/changes>
Changes:
[Chirayu Chiripal] use phpunit 4.1.x for testing
[Chirayu Chiripal] install composer packages for hhvm also
------------------------------------------
Started by GitHub push by lem9
[EnvInject] - Loading node environment variables.
Building in workspace <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
> git rev-parse --is-inside-work-tree
Fetching changes from the remote Git repository
> git config remote.origin.url git://github.com/phpmyadmin/phpmyadmin.git
Fetching upstream changes from git://github.com/phpmyadmin/phpmyadmin.git
> git --version
> git fetch --tags --progress git://github.com/phpmyadmin/phpmyadmin.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit}
Checking out Revision 104756e0a586f75d6ac0308805b64a35fd62c66b (origin/master)
> git config core.sparsecheckout
> git checkout -f 104756e0a586f75d6ac0308805b64a35fd62c66b
> git rev-list 91a66bf5ef10eada07c7056b05d3aa8646ece6dc
> git tag -a -f -m Jenkins Build #7605 jenkins-phpMyAdmin-continuous-7605
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content
TESTSUITE_SERVER=localhost
TESTSUITE_USER=pmatest
TESTSUITE_DATABASE=pmatest
TESTSUITE_URL=http://ci-live.phpmyadmin.net/phpMyAdmin-continuous/workspace/
XTESTSUITE_BROWSERSTACK_USER=michaliha
[EnvInject] - Variables injected successfully.
[workspace] $ /bin/sh -xe /tmp/hudson4249021871017369136.sh
[workspace] $ ant -DTESTSUITE_BROWSERSTACK_KEY=**** -DTESTSUITE_PASSWORD=**** clean locales phpunit-nocoverage phpcpd phpcs phploc jshint
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
Buildfile: <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>
clean:
[delete] Deleting directory <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/api>
[delete] Deleting directory <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/code-browser>
[delete] Deleting directory <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/coverage>
[delete] Deleting directory <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs>
[delete] Deleting directory <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/pdepend>
[mkdir] Created dir: <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/api>
[mkdir] Created dir: <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/code-browser>
[mkdir] Created dir: <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/coverage>
[mkdir] Created dir: <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs>
[mkdir] Created dir: <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/pdepend>
locales:
[exec] po/tr.po:3: nplurals = 2...
[exec] po/tr.po:312: ...but some messages have only one plural form
[exec] msgfmt: found 1 fatal error
phpunit-nocoverage:
BUILD FAILED
<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>:33: Execute failed: java.io.IOException: Cannot run program "<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/vendor/bin/phpunit">: java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:494)
at java.lang.Runtime.exec(Runtime.java:612)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:476)
... 23 more
Total time: 7 seconds
Build step 'Invoke Ant' marked build as failure
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[JSLINT] Skipping publisher since build result is FAILURE
[PMD] Skipping publisher since build result is FAILURE
[DRY] Collecting duplicate code analysis files...
[DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
[DRY] Computing warning deltas based on reference build #7604
[TASKS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #7604
Recording plot data
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - No test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/'> for the testing framework 'PHPUnit-3.x (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'PHPUnit-3.x (default)'?
[xUnit] [ERROR] - No test reports found for the metric 'PHPUnit' with the resolved pattern 'build/logs/junit.xml'. Configuration error?.
[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
Hi,
I know its a very question to ask anyway Is there an elegant way in client
side(functions.js) I can check if any user is currently loggedin or not ?
Or if we can check the current page is login page or some other page ?
Basically I want to add a script that should be executed only after user is
loggedin and should be accessible to all other pages except login page so
any hint on where can I add that script ?
I am trying my hands on the feature request #1529[0].
[0] https://sourceforge.net/p/phpmyadmin/feature-requests/1529/
Thanks and Regards
- Smita
Hi,
I may have missed something, but it seems that Travis doesn't like anymore
our unit tests…
Since this job https://travis-ci.org/phpmyadmin/phpmyadmin/builds/33717508,
a lot of jobs are failing. Does anyone know why please? (But not all jobs,
again: why?)
It seems that phpunit had been updated and that the new version (4.2.x)
deprecated "assertTag".
I tried something here:
https://github.com/Tithugues/phpmyadmin/commit/dc652ea42e47e17ab05d835e9438…
but I've an issue because the new class is not found. As I don't really
know how Travis is configured the PHP paths, some ideas could be useful.
I tried to update the phpunit path here:
https://github.com/Tithugues/phpmyadmin/commit/87136184f22abd9c5ad8975d8d12…
But the result was the same than the original phpunit, as
phpunit-DOM-assertions still don't implement assertTag…
Could we simply force the phpunit version to 4.1.4 instead of >=3.7?
Thanks,
Hugues.
Hi devs,
Can someone reproduce my problem?
With this pull request [0], I get errors when running phpunit (see
errors in my comments there).
Normally, phpunit behaves correctly on my server.
[0] https://github.com/phpmyadmin/phpmyadmin/pull/1338
--
Marc Delisle (phpMyAdmin)
Hi,
I was looking into bug #4527
<https://sourceforge.net/p/phpmyadmin/bugs/4527/>. While searching in MySQL
documentation, I found [0] which clearly states that
"Database, table, and column names cannot end with space characters".
So what should be done in this case:
Should PMA automatically trim the trailing space characters and resume the
import process?
Or
We should leave the scenario as it is i.e. let MySQL throw an error because
there are many other constraints on the identifiers which also need to be
checked?
[0] - http://dev.mysql.com/doc/refman/5.1/en/identifiers.html
--
Ashutosh Dhundhara