Page MenuHomeIn-Portal Phabricator
Feed All Stories

Today

alex updated the diff for D502: INP-1891 - Display PHP errors in the Phing build log.

Corrected phrasing.

Sat, Dec 21, 8:56 AM

Yesterday

alex updated the diff for D502: INP-1891 - Display PHP errors in the Phing build log.

Removed debug code from test plan execution attempt.

Fri, Dec 20, 2:59 PM
alex requested review of D502: INP-1891 - Display PHP errors in the Phing build log.
Fri, Dec 20, 2:56 PM

Thu, Dec 19

erik added a comment to D500: INP-1889 - Don't use DB Load Balancer during PHPUnit Testing.

Error fixed after svn update and clear memory cache.

Thu, Dec 19, 12:48 PM
erik accepted D500: INP-1889 - Don't use DB Load Balancer during PHPUnit Testing.
Thu, Dec 19, 12:42 PM
erik added a comment to D501: INP-1890 - Force "\kApplication::NextResourceId" method to use master database connection.

Yes, when restarting before open index.php, then all is ok

Thu, Dec 19, 12:01 PM
erik accepted D491: INP-1880 - Fix notice on missing event permission mapping.
Thu, Dec 19, 11:51 AM · Restricted Project
alex added a comment to D501: INP-1890 - Force "\kApplication::NextResourceId" method to use master database connection.
In D501#10225, @erik wrote:

Tests passed, but first time after patch applied need wait long time (2-3 minutes) to get ID shown. Next page refreshes becomes fast (~1 sec).

Thu, Dec 19, 11:44 AM
erik accepted D498: INP-1887 - Don't define the "EDITING_MODE" constant in the Installation Wizard.
Thu, Dec 19, 11:34 AM
erik accepted D499: INP-1888 - Detect Memcache availability during installation using Memcache/Memcached PHP modules.
Thu, Dec 19, 11:24 AM
erik requested changes to D500: INP-1889 - Don't use DB Load Balancer during PHPUnit Testing.

There happens error, due to this line in the AbstractBrowserTestCase.php

Thu, Dec 19, 10:52 AM
erik accepted D501: INP-1890 - Force "\kApplication::NextResourceId" method to use master database connection.

Tests passed, but first time after patch applied need wait long time (2-3 minutes) to get ID shown. Next page refreshes becomes fast (~1 sec).

Thu, Dec 19, 10:25 AM

Wed, Dec 11

alex added a comment to D497: INP-1886 - Add value-clearing support for "kDateFormatter::UpdateSubFields" method.
In D497#10220, @erik wrote:

maybe, test plan should include requirement to have checked "Use Cron to run Scheduled Tasks" - otherwise visible email queue is usually empty.

Wed, Dec 11, 6:01 AM · Restricted Project
alex updated the test plan for D497: INP-1886 - Add value-clearing support for "kDateFormatter::UpdateSubFields" method.
Wed, Dec 11, 5:31 AM · Restricted Project

Tue, Dec 10

erik accepted D497: INP-1886 - Add value-clearing support for "kDateFormatter::UpdateSubFields" method.

All tests passed.

Tue, Dec 10, 10:55 AM · Restricted Project
alex updated the test plan for D501: INP-1890 - Force "\kApplication::NextResourceId" method to use master database connection.
Tue, Dec 10, 7:56 AM
alex requested review of D501: INP-1890 - Force "\kApplication::NextResourceId" method to use master database connection.
Tue, Dec 10, 7:56 AM

Sat, Nov 30

alex added "INP-1863" JIRA issue(s) to rMCUS16823: Bug INP-1863 - Correct PHPUnit integration.
Sat, Nov 30, 12:56 PM
alex committed rMCUS16823: Bug INP-1863 - Correct PHPUnit integration.
Bug INP-1863 - Correct PHPUnit integration
Sat, Nov 30, 12:56 PM
alex committed rINP16822: Fixes INP-1863 - Correct PHPUnit integration.
Fixes INP-1863 - Correct PHPUnit integration
Sat, Nov 30, 12:56 PM
alex added "INP-1863" JIRA issue(s) to rINP16822: Fixes INP-1863 - Correct PHPUnit integration.
Sat, Nov 30, 12:56 PM
alex closed D494: INP-1863 - Correct PHPUnit integration.
Sat, Nov 30, 12:56 PM

Fri, Nov 29

alex added a comment to D494: INP-1863 - Correct PHPUnit integration.
In D494#10203, @erik wrote:

All tested, All formal checks passed. But all builds, that has call to selenium - failed with message like.

BUILD FAILED
/home/sites/dev/web/SVN/5.2.x/tools/build/targets/common.xml:216:6: /home/sites/dev/web/SVN/5.2.x/tools/build/targets/common.xml:235:46: Task exited with code 2

Total time: 31.6997 seconds

At selenium window also some errors displayed -

Fri, Nov 29, 5:42 AM
erik accepted D494: INP-1863 - Correct PHPUnit integration.

All tested, All formal checks passed. But all builds, that has call to selenium - failed with message like.

Fri, Nov 29, 4:36 AM

Wed, Nov 27

alex updated the test plan for D494: INP-1863 - Correct PHPUnit integration.
Wed, Nov 27, 7:52 AM
alex requested review of D494: INP-1863 - Correct PHPUnit integration.
Wed, Nov 27, 7:40 AM
alex added a comment to D494: INP-1863 - Correct PHPUnit integration.
In D494#10195, @erik wrote:

Failed build at part 4 after command

phing -f tools/build/build_all.xml phpunit

BUILD FAILED
/home/sites/dev/web/SVN/5.2.x/tools/build/targets/common.xml:192:6: /home/sites/ dev/web/SVN/5.2.x/tools/build/targets/common.xml:205:46: Task exited with code 2

Total time: 6 minutes 42.55 seconds

Wed, Nov 27, 7:40 AM
erik requested changes to D494: INP-1863 - Correct PHPUnit integration.

Same way failed all builds until part 5.7 tests continued, because all formal requirements passed.

Wed, Nov 27, 5:45 AM
erik added a comment to D494: INP-1863 - Correct PHPUnit integration.

Failed build at part 4 after command

phing -f tools/build/build_all.xml phpunit
Wed, Nov 27, 5:11 AM

Tue, Nov 26

alex updated the diff for D494: INP-1863 - Correct PHPUnit integration.

Removed debug code, that added from test plan.

Tue, Nov 26, 12:01 PM
alex updated the diff for D494: INP-1863 - Correct PHPUnit integration.

Speed up code coverage collection 4.25x times by not building coverage report for files, that weren't executed in tests.

Tue, Nov 26, 2:54 AM

Mon, Nov 25

alex requested review of D500: INP-1889 - Don't use DB Load Balancer during PHPUnit Testing.
Mon, Nov 25, 10:19 AM
alex updated the diff for D494: INP-1863 - Correct PHPUnit integration.
  1. fixed sh: ${phpunit.testsuite}: bad substitution
  2. use proper php binary for executing PHPUnit
Mon, Nov 25, 6:36 AM
alex updated the test plan for D494: INP-1863 - Correct PHPUnit integration.
Mon, Nov 25, 6:00 AM
erik added a comment to D494: INP-1863 - Correct PHPUnit integration.

Partialy tested, build failed after "run the phing -f tools/build/build_all.xml phpunit command" in the part 4 of test plan

Mon, Nov 25, 5:34 AM

Fri, Nov 22

alex updated the diff for D494: INP-1863 - Correct PHPUnit integration.

Rebasing.

Fri, Nov 22, 5:03 AM
alex added "INP-1885" JIRA issue(s) to rINP16821: Fixes INP-1885 - Consistently use PHP binary during the Build.
Fri, Nov 22, 4:58 AM
alex committed rINP16821: Fixes INP-1885 - Consistently use PHP binary during the Build.
Fixes INP-1885 - Consistently use PHP binary during the Build
Fri, Nov 22, 4:58 AM
alex closed D496: INP-1885 - Consistently use PHP binary during the Build.
Fri, Nov 22, 4:58 AM
alex added "INP-1884" JIRA issue(s) to rINP16820: Fixes INP-1884 - Actualize "/system/config.php" created during the build.
Fri, Nov 22, 4:56 AM
alex committed rINP16820: Fixes INP-1884 - Actualize "/system/config.php" created during the build.
Fixes INP-1884 - Actualize "/system/config.php" created during the build
Fri, Nov 22, 4:56 AM
alex closed D495: INP-1884 - Actualize "/system/config.php" created during the build.
Fri, Nov 22, 4:56 AM
erik accepted D495: INP-1884 - Actualize "/system/config.php" created during the build.

accepted, detected difference fixed in new patch version

Fri, Nov 22, 4:51 AM
alex updated the diff for D495: INP-1884 - Actualize "/system/config.php" created during the build.

Disabled the EnableSystemLog setting in the Phing-generated /system/config.php.

Fri, Nov 22, 4:48 AM
erik requested changes to D495: INP-1884 - Actualize "/system/config.php" created during the build.

All passed, excepting last part - config.php comparision.

Fri, Nov 22, 4:40 AM

Nov 21 2024

alex updated the diff for D497: INP-1886 - Add value-clearing support for "kDateFormatter::UpdateSubFields" method.

Reduce scope (set of fields) for which \kDBBase::UpdateFormattersSubFields method is used to prevent accidental data loss.

Nov 21 2024, 8:08 AM · Restricted Project
alex updated the test plan for D497: INP-1886 - Add value-clearing support for "kDateFormatter::UpdateSubFields" method.
Nov 21 2024, 8:05 AM · Restricted Project
erik accepted D496: INP-1885 - Consistently use PHP binary during the Build.
Nov 21 2024, 5:20 AM
alex requested review of D496: INP-1885 - Consistently use PHP binary during the Build.
Nov 21 2024, 4:27 AM
alex added a comment to D496: INP-1885 - Consistently use PHP binary during the Build.
In D496#10147, @erik wrote:

2 B part ir the test plan is failed. Build was not successful -

BuildException: /home/sites/dev/web/SVN/5.2.x/tools/build/targets/common.xml:84:48: /home/sites/dev/web/SVN/5.2.x/tools/build/targets/common.xml:84:48: PHPLocTask depends on PHPLoc being installed and on include_path. in /home/sites/dev/.config/composer/vendor/phing/phing/classes/phing/tasks/ext/phploc/PHPLocTask.php:189

Nov 21 2024, 4:27 AM
erik requested changes to D496: INP-1885 - Consistently use PHP binary during the Build.

2 B part ir the test plan is failed. Build was not successful -

Nov 21 2024, 4:16 AM
alex planned changes to D497: INP-1886 - Add value-clearing support for "kDateFormatter::UpdateSubFields" method.

New data came in during LIVE testing: the kDBItem::UpdateFormattersSubFields is used too aggressively, which results in clearing already populated date/time virtual fields. Need to adjust code/test plan for that.

Nov 21 2024, 12:56 AM · Restricted Project

Nov 20 2024

alex updated the test plan for D499: INP-1888 - Detect Memcache availability during installation using Memcache/Memcached PHP modules.
Nov 20 2024, 11:48 AM
alex requested review of D499: INP-1888 - Detect Memcache availability during installation using Memcache/Memcached PHP modules.
Nov 20 2024, 11:26 AM
alex requested review of D498: INP-1887 - Don't define the "EDITING_MODE" constant in the Installation Wizard.
Nov 20 2024, 11:03 AM
alex requested review of D495: INP-1884 - Actualize "/system/config.php" created during the build.
In D495#10109, @erik wrote:

Error on Clean install without applying patch

On "Step 8 - Basic Configuration" first page load after previous step.

Notice (#1): Constant EDITING_MODE already defined in \home\sites\dev\web\SVN\5.2.x\core\install\step_templates\post_config.tpl on line 85

Nov 20 2024, 5:57 AM
alex updated the test plan for D494: INP-1863 - Correct PHPUnit integration.
Nov 20 2024, 5:50 AM
alex updated the test plan for D495: INP-1884 - Actualize "/system/config.php" created during the build.
Nov 20 2024, 5:44 AM
alex added a child revision for D496: INP-1885 - Consistently use PHP binary during the Build: D495: INP-1884 - Actualize "/system/config.php" created during the build.
Nov 20 2024, 5:43 AM
alex added a parent revision for D495: INP-1884 - Actualize "/system/config.php" created during the build: D496: INP-1885 - Consistently use PHP binary during the Build.
Nov 20 2024, 5:43 AM
alex removed a child revision for D495: INP-1884 - Actualize "/system/config.php" created during the build: D496: INP-1885 - Consistently use PHP binary during the Build.
Nov 20 2024, 5:42 AM
alex removed a parent revision for D496: INP-1885 - Consistently use PHP binary during the Build: D495: INP-1884 - Actualize "/system/config.php" created during the build.
Nov 20 2024, 5:42 AM
erik requested changes to D495: INP-1884 - Actualize "/system/config.php" created during the build.

Not passed 3 E a part of the plan. Made run of php74 which phing` -f tools/build/build_all.xml build` command.
Command finished with fatal error.

Nov 20 2024, 5:36 AM
erik added a comment to D495: INP-1884 - Actualize "/system/config.php" created during the build.

Error on Clean install without applying patch

Nov 20 2024, 4:51 AM

Nov 19 2024

alex updated the test plan for D495: INP-1884 - Actualize "/system/config.php" created during the build.
Nov 19 2024, 12:59 PM
alex added a project to D497: INP-1886 - Add value-clearing support for "kDateFormatter::UpdateSubFields" method: Restricted Project.
Nov 19 2024, 11:24 AM · Restricted Project
alex updated the test plan for D497: INP-1886 - Add value-clearing support for "kDateFormatter::UpdateSubFields" method.
Nov 19 2024, 11:24 AM · Restricted Project
alex requested review of D497: INP-1886 - Add value-clearing support for "kDateFormatter::UpdateSubFields" method.
Nov 19 2024, 11:24 AM · Restricted Project

Nov 17 2024

alex added a parent revision for D494: INP-1863 - Correct PHPUnit integration: D496: INP-1885 - Consistently use PHP binary during the Build.
Nov 17 2024, 1:05 PM
alex added a child revision for D496: INP-1885 - Consistently use PHP binary during the Build: D494: INP-1863 - Correct PHPUnit integration.
Nov 17 2024, 1:05 PM
alex added a parent revision for D496: INP-1885 - Consistently use PHP binary during the Build: D495: INP-1884 - Actualize "/system/config.php" created during the build.
Nov 17 2024, 1:04 PM
alex added a child revision for D495: INP-1884 - Actualize "/system/config.php" created during the build: D496: INP-1885 - Consistently use PHP binary during the Build.
Nov 17 2024, 1:04 PM
alex updated the test plan for D496: INP-1885 - Consistently use PHP binary during the Build.
Nov 17 2024, 1:04 PM
alex updated the test plan for D495: INP-1884 - Actualize "/system/config.php" created during the build.
Nov 17 2024, 12:53 PM
alex requested review of D496: INP-1885 - Consistently use PHP binary during the Build.
Nov 17 2024, 12:52 PM
alex added a child revision for D495: INP-1884 - Actualize "/system/config.php" created during the build: D494: INP-1863 - Correct PHPUnit integration.
Nov 17 2024, 10:56 AM
alex added a parent revision for D494: INP-1863 - Correct PHPUnit integration: D495: INP-1884 - Actualize "/system/config.php" created during the build.
Nov 17 2024, 10:56 AM
alex added a comment to D494: INP-1863 - Correct PHPUnit integration.
In D494#10047, @erik wrote:

tested, each test command, containing build_all.xml or build_custom.xml leads to config.php change where HMAC key containing variable ($_CONFIG['Misc']['SecurityHmacKey']) disappears, and then build failed due [InvalidArgumentException] "The HMAC key is empty."

Image with typical console output is attached.

Nov 17 2024, 10:56 AM
alex requested review of D495: INP-1884 - Actualize "/system/config.php" created during the build.
Nov 17 2024, 10:52 AM
alex added "INP-1873" JIRA issue(s) to rINP16819: Fixes INP-1873 - Support MySQL 8 database collations.
Nov 17 2024, 10:41 AM
alex committed rINP16819: Fixes INP-1873 - Support MySQL 8 database collations.
Fixes INP-1873 - Support MySQL 8 database collations
Nov 17 2024, 10:41 AM
alex closed D481: INP-1873 - Support MySQL 8 database collations.
Nov 17 2024, 10:41 AM · Restricted Project
alex updated the diff for D481: INP-1873 - Support MySQL 8 database collations.

Fixed a typo (used collation instead of collection word).

Nov 17 2024, 10:36 AM · Restricted Project
alex updated the diff for D481: INP-1873 - Support MySQL 8 database collations.
  1. removed support for the utf8mb4_general_ci collection, because you can't even install In-Portal with it due to the ERROR 1071 (42000): Specified key was too long; max key length is 1000 bytes error
  2. rephrase invalid collation message to clearly say "what's wrong" instead of saying "what to do next"
  3. added explanatory message, that tells to use utfmb3_general_ci for MySQL Server 8.x+ versions
Nov 17 2024, 10:33 AM · Restricted Project

Nov 16 2024

alex planned changes to D439: INP-1835 - Auto-retry database queries, that stumbled upon a lock/deadlock.
Nov 16 2024, 2:09 PM · Restricted Project
alex updated the diff for D439: INP-1835 - Auto-retry database queries, that stumbled upon a lock/deadlock.

Actualized "/system/config.php", that is created upon build.

Nov 16 2024, 2:08 PM · Restricted Project
alex updated the diff for D466: INP-1854 - Create global switch for Web Request/Session Data logging into the System Log.

Actualized "/system/config.php", that is created upon build.

Nov 16 2024, 12:43 PM

Nov 13 2024

alex updated the test plan for D494: INP-1863 - Correct PHPUnit integration.
Nov 13 2024, 10:16 AM
alex updated the test plan for D494: INP-1863 - Correct PHPUnit integration.
Nov 13 2024, 10:15 AM
alex updated the test plan for D494: INP-1863 - Correct PHPUnit integration.
Nov 13 2024, 10:15 AM

Nov 12 2024

erik added a comment to D494: INP-1863 - Correct PHPUnit integration.

tested, each test command, containing build_all.xml or build_custom.xml leads to config.php change where HMAC key containing variable ($_CONFIG['Misc']['SecurityHmacKey']) disappears, and then build failed due [InvalidArgumentException] "The HMAC key is empty."

Nov 12 2024, 10:21 AM
erik added a comment to D494: INP-1863 - Correct PHPUnit integration.

Can't test because of different php version on VM.

Nov 12 2024, 4:36 AM

Nov 11 2024

alex added a comment to D494: INP-1863 - Correct PHPUnit integration.
In D494#10043, @erik wrote:

No, build was not successful.

[phingcall] /home/sites/dev/web/SVN/5.2.x/tools/build/targets/deploy.xml:37:41: Task exited with code 1

BUILD FAILED
/home/sites/dev/web/SVN/5.2.x/tools/build/targets/deploy.xml:25:6: /home/sites/dev/web/SVN/5.2.x/tools/build/targets/deploy.xml:29:22: Execution of the target buildfile failed. Aborting.

Total time: 29.8418 seconds

Nov 11 2024, 11:22 AM
alex updated the test plan for D494: INP-1863 - Correct PHPUnit integration.
Nov 11 2024, 11:20 AM
erik added a comment to D494: INP-1863 - Correct PHPUnit integration.

No, build was not successful.

Nov 11 2024, 8:50 AM
alex added a comment to D494: INP-1863 - Correct PHPUnit integration.
In D494#10041, @erik wrote:

Partially tested, tests from part 4 like "confirm, by looking at the colorized output of the above command, that phpunit target was called" - failed. No PHPunit output generated.

Nov 11 2024, 8:47 AM
erik added a comment to D494: INP-1863 - Correct PHPUnit integration.

Partially tested, tests from part 4 like "confirm, by looking at the colorized output of the above command, that phpunit target was called" - failed. No PHPunit output generated.

Nov 11 2024, 8:42 AM

Nov 9 2024

alex added a comment to D494: INP-1863 - Correct PHPUnit integration.

Non-obvious Phabricator Differential logic:

  • the arc patch command svn mv SVN command (file move) as svn cp (file copy) + svn rm (file removal) commands;
  • directory removal, where file move occurred, isn't marked as removed.
Nov 9 2024, 9:17 AM
alex updated the summary of D494: INP-1863 - Correct PHPUnit integration.
Nov 9 2024, 9:16 AM
alex updated the summary of D494: INP-1863 - Correct PHPUnit integration.
Nov 9 2024, 9:16 AM