Jenkins Daemon | 25 May 11:24 2015
Picon

Build failed in Jenkins: phpMyAdmin-continuous #9627

See <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/9627/changes>

Changes:

[Madhura Jayaratne] Do not use configurations TextareaCols and TextareaRows of their

------------------------------------------
Started by GitHub push by madhuracj
[EnvInject] - Loading node environment variables.
Building in workspace <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://github.com/phpmyadmin/phpmyadmin.git # timeout=10
Fetching upstream changes from git://github.com/phpmyadmin/phpmyadmin.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress git://github.com/phpmyadmin/phpmyadmin.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 72b1826c25e0ed033d835d10f1aaf1ef55ec7df7 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 72b1826c25e0ed033d835d10f1aaf1ef55ec7df7
 > git rev-list 5b47c080e2457e2f2cea664c8509c563ad4edcb0 # timeout=10
 > git tag -a -f -m Jenkins Build #9627 jenkins-phpMyAdmin-continuous-9627 # timeout=10
[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

(Continue reading)

Atul Pratap Singh | 24 May 23:18 2015
Picon

Re: A problem on template tests

On Sun, May 24, 2015 at 10:08 PM, 章浩 <jason.daurus <at> gmail.com> wrote:

Hi Singh,

Recently I am working on templates of `tbl_column_definitions.lib.php`, and I need some help from you.

I met a problem on the unit test:

And here is the test code raise the problem:

The failure is caused by the format of HTML, which will not cause any side effects for user interface. So what should I do to handle this kind of error? Merging spaces in a HTML tag may help, but it seems difficult to distinguish a special case:

Before trimming:

<script>someScript(); //

anotherScript();</script>

After trimming:

<script>someScript(); // anotherScript();</script>

It's obvious that it will cause some Javascripts being commented. Then I figured out a second solution: modify the test scripts and let it pass. This is a "palliative" solution, we have to spend plenty of time to fix this kind of problems.

Maybe we could use a more effective way to test front-end components (templates, pages, etc) in the future, though I haven’t figure out how to achieve this goal yet.

Could you give me some suggestions about this?


Hi devs,

I share Jason's confusion above and doubt the usefulness of unit tests that are just asserting for static HTML strings in a dynamic HTML output and one that will keep evolving with course of development.

Also I wonder about its importance as we move to template system[0], opinions are welcome for possible better ways of doing it. Maybe we can just test for valid input data getting used by the template and some important key words but not HTML tags[1]



Best regards,

Jason




--
Atul Pratap Singh
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Marc Delisle | 23 May 12:45 2015

Sorting click modifiers under Windows 7

Hi,
can someone reproduce this under Windows 7?

With Chrome, Firefox and IE, I try to use the ctrl/click, shift/click
and alt/click actions on a column header to modify the sort, to no
avail. Instead, for example a new tab is opened when using ctrl/click.

All is fine with Chrome on Linux.

--

-- 
Marc Delisle | phpMyAdmin

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Deven Bansod | 23 May 12:29 2015
Picon

Regarding RFE #701

Hi,

RFE #701 proposes that we should replace the 'Print View' and 'Print View (with Full Texts)' with a 'Print View' Option which should print out the CSS of the page only (i.e. whatever exactly is currently displayed on the page itself).

I had something in mind about the implementation, but am not able to figure some details. Any help in this regard would be appreciated. 

Details of implementation:
On clicking the 'Print View' link, it will call a click-handler JQuery function which will get the HTML for the table from the current page, traverse through the HTML.

Then, make a JSON of relevant information such as SQL Query, No. of  Rows, Column Heads and then arrays of values in each row for SQL results and information such as Table Name, Rows, Type, Collation, Size, Overhead, Comment for db_structure.php and tbl_structure.php.

Now, send a POST Request to a PHP file and get the $response (PMA_Response) after making a output with good-looking table and other details and the 'Print' Button.

The main problem I am facing here is that, how should I output the $response ?

I thought of a very-unlike-PMA way:
Open a new tab with JS and add HTML to it as 
var w = window.open();
$(w.document.body).html($html);

​But here I guess there will be difficulty to use PMA_Response with its headers(and do I actually need to use PMA_Response or can I just print the $html_output recieved from PHP file).

or Can I somehow use 'target="print_view" ' and get the $response to be shown onto it ?

Also, please suggest any flaws/ possible problems that I may have missed or if you would suggest a different way.

Thanks.

-- 
Regards,
Deven G. Bansod
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Marc Delisle | 22 May 16:57 2015

other page-related settings

Hi Nisarg,

In Settings > Features > Text fields, there are some settings that 
should IMO be also available as a page-related setting.

As an example, "CHAR columns editing" controls how to edit (via the edit 
link) a CHAR or VARCHAR (input field or textarea). So it should be 
available on the Insert/Edit page.

--

-- 
Marc Delisle (phpMyAdmin)

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Michal Čihař | 22 May 10:07 2015

Rollbar and error reporting server

Hi all

I've recently Rollbar <https://rollbar.com/> and started to use it for
Weblate <http://weblate.org/>. It does basically what our error
reporting server does, but it provides generic solution for any
platform.

They even have public demo, so you can try it:

https://rollbar.com/demo/demo/

I think it can be great source of inspiration how error reporting
server could work.

--

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Jenkins Daemon | 21 May 15:36 2015
Picon

Build failed in Jenkins: phpMyAdmin-4.4 #217

See <https://ci.phpmyadmin.net/job/phpMyAdmin-4.4/217/changes>

Changes:

[Madhura Jayaratne] #4912 "Highlight pointer" and "Row marker" doesn't work properly

[Madhura Jayaratne] ChangeLog entry for bug #4912

------------------------------------------
Started by GitHub push by madhuracj
[EnvInject] - Loading node environment variables.
Building in workspace <https://ci.phpmyadmin.net/job/phpMyAdmin-4.4/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://github.com/phpmyadmin/phpmyadmin.git # timeout=10
Fetching upstream changes from git://github.com/phpmyadmin/phpmyadmin.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress git://github.com/phpmyadmin/phpmyadmin.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/QA_4_4^{commit} # timeout=10
Checking out Revision 0ac438a081de1edd9a6255a0d2148cde07e3770b (origin/QA_4_4)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0ac438a081de1edd9a6255a0d2148cde07e3770b
 > git rev-list ac2f9acaa351cb2776e2fb7f70e45ac8d52418db # timeout=10
[workspace] $ /bin/sh -xe /tmp/hudson3470184405124895290.sh
+ composer install --dev --no-interaction
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) from lock file
Nothing to install or update
Generating autoload files
+ ./scripts/generate-mo --quiet
po/pt.po:697: a format specification for argument 1 doesn't exist in 'msgstr'
msgfmt: found 1 fatal error
tput: No value for $TERM and no -T specified
Error when compiling po/pt.po
tput: No value for $TERM and no -T specified
Build step 'Execute shell' 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] Parsing 1 file in <https://ci.phpmyadmin.net/job/phpMyAdmin-4.4/ws/>
[DRY] Successfully parsed file
<https://ci.phpmyadmin.net/job/phpMyAdmin-4.4/ws/build/logs/pmd-cpd.xml> with 14 unique
warnings and 0 duplicates.
[DRY] Computing warning deltas based on reference build #214
[TASKS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #214
Recording plot data
Publishing Clover coverage report...
Clover xml file does not exist in: <https://ci.phpmyadmin.net/job/phpMyAdmin-4.4/ws/> called:
build/logs/clover.xml and will not be copied to: /var/lib/jenkins/jobs/phpMyAdmin-4.4/builds/217/cloverphp/clover.xml
Could not find 'build/coverage/build/logs/clover.xml'.  Did you generate the XML report for Clover?
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern
'build/logs/junit.xml' relative to '<https://ci.phpmyadmin.net/job/phpMyAdmin-4.4/ws/'> for
the testing framework 'PHPUnit-3.x (default)'.
[xUnit] [ERROR] - Test reports were found but not all of them are new. Did all the tests run?
  * <https://ci.phpmyadmin.net/job/phpMyAdmin-4.4/ws/build/logs/junit.xml> is 1 day 9 hr old

[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
[JDepend] JDepend plugin is ready
[JDepend] Found 2402 classes in 318 packages

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Jenkins Daemon | 21 May 15:35 2015
Picon

Jenkins build is back to normal : phpMyAdmin-continuous #9589

See <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/9589/changes>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Jenkins Daemon | 21 May 14:56 2015
Picon

Build failed in Jenkins: phpMyAdmin-continuous #9587

See <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/9587/changes>

Changes:

[Madhura Jayaratne] Simplify

------------------------------------------
Started by GitHub push by madhuracj
[EnvInject] - Loading node environment variables.
Building in workspace <https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://github.com/phpmyadmin/phpmyadmin.git # timeout=10
Fetching upstream changes from git://github.com/phpmyadmin/phpmyadmin.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress git://github.com/phpmyadmin/phpmyadmin.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 76f1f58102b2414c4684c3954a7f129b4cd1f24e (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 76f1f58102b2414c4684c3954a7f129b4cd1f24e
 > git rev-list 71b3a7270a55f22fea7ecc6ed9c078a423da2453 # timeout=10
 > git tag -a -f -m Jenkins Build #9587 jenkins-phpMyAdmin-continuous-9587 # timeout=10
[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/hudson6569974653612964854.sh
+ composer install --dev --no-interaction
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) from lock file
Nothing to install or update
Generating autoload files
[workspace] $ ant ******** ******** clean locales phpunit-nocoverage phpcpd phpcs phploc jshint jshint-checkstyle
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7-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/pt.po:704: a format specification for argument 1 doesn't exist in 'msgstr'
     [exec] msgfmt: found 1 fatal error
     [exec] tput: No value for $TERM and no -T specified
     [exec] Error when compiling po/pt.po
     [exec] tput: No value for $TERM and no -T specified

BUILD FAILED
<https://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>:148: exec returned: 1

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
[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 #9585
[TASKS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #9585
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.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Madhura Jayaratne | 18 May 14:40 2015
Picon

Profiling for performance analysis

Hi devs,

As discussed during the last team meeting, I did some profiling to evaluate the performance of 4.4 series against 3.5 series. I used xdebug for profiling and for each of the pages evaluated, I averaged among three reading to overcome any errors.

The values are in milliseconds and contains profiling overhead as well. However, this should not be a problem to compare between two versions.

Page     3.5 branch       4.4 branch              4.4 / 3.5
Table browse 5230.67 24548.67 4.69
Table structure 2974.67 8060.67 2.71
Table SQL 760.33 1770.33 2.33
Table operations 2564.33 7626.33 2.97
Row edit 2012 10980.67 5.46
Row insert 2387.67 11553 4.84
Database structure 6280.33 5076.33 0.81
Database SQL 1511.67 1570 1.04
Database operations 3115.33 2750.67 0.88
Server databases 2108 3068.67 1.46
Navigation refresh 626 4092.33 6.54

While I got mixed results where for certain pages 3.5 was faster and for others 4.4 was faster, for most of the pages 3.5 was much faster.

I am attaching the results in csv format as well as output files from profiling. With KCacheGrind or WinCacheGrind you should be able to further analyze the profiling results.

--
Thanks and Regards,

Madhura Jayaratne

Attachment (results.csv): text/csv, 583 bytes
Attachment (Profile.7z): application/octet-stream, 7069 KiB
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Nisarg Jhaveri | 17 May 15:34 2015
Picon

Non-configuration local settings in Page-related settings

Hello, 
 
One part of RFE for Page-related settings says the following. 
"There are also other ways to set options. In Browse, we have Options, and other remembered settings like column visibility, column sorting and order of display. I am not sure if these mechanisms should be integrated or not to the new way." 
 
I've been thinking about this and now I am confused about its usefulness and implementation. Here is what I think. 
 
These kind of options are accessible directly from where they are used. For example, column sorting is just clicking on the column header. Which is intuitive enough and easily accessible. I don't think we need another place to manage those. IMHO, it would be just useless. 
 
Since, these settings are integrated in UI, to have their other not-integrated form seems a little difficult. For example, multiple column sorting is easily shown in the header of table with priority numbers, but to have it somewhere else, we'll have to think of some other form to show and edit this settings. 
 
The type and UI will be quite different for each such option. We can't unify them that easily.
 
Also, sometimes, they are location specific even in one page, so having them in a global page settings doesn't make much sense. To overcome this, we can multiple instances of settings in the page, but that would be just as same as existing techniques. 
 
Any thoughts about this are much appreciated. Should we do this? How should we do this? What settings can possibly be added?

Sorry for a long mail, but I'm a little confused and would like some help.

Thanks,
Nisarg

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel

Gmane