Skip to content

Instantly share code, notes, and snippets.

root@ip-172-31-25-132:~# sysdig -r pgsql.scap -c fdbytes_by fd.filename "fd.directory=/var/lib/postgresql/9.1/main/base/16386"
Bytes fd.filename
--------------------------------------------------------------------------------
88.54G 11685
82.67G 11662
849.55M 11666
269.80M 11665
215.53M pg_internal.init
213.22M 11688
199.01M 11689
Ran run-tests.sh with the Database testgroup and repeat of 10.
Pgsql: Test run duration: 4 min 3 sec
Mysql: Test run duration: 2 min 2 sec
The run was captured to an scap file using sysdig:
root@ip-172-31-25-132:~# sysdig -r pgsql.scap -c fdbytes_by fd.type
Bytes fd.type
avg-cpu: %user %nice %system %iowait %steal %idle
21.90 0.00 6.88 0.53 1.56 69.14
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
xvda 0.00 0.00 0.00 1030.00 0.00 40012.00 77.69 39.10 36.14 0.00 36.14 0.26 27.20
avg-cpu: %user %nice %system %iowait %steal %idle
27.65 0.00 8.84 1.29 1.53 60.69
root@22f3b4dc367f:/var/www/html# composer -vvv install
Reading ./composer.json
Loading config file ./composer.json
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/var/www/html): git branch --no-color --no-abbrev -v
Executing command (/var/www/html): git describe --exact-match --tags
Executing command (/var/www/html): git log --pretty="%H" -n1 HEAD
Reading /composer/composer.json
Loading config file /composer/composer.json
Reading /var/www/html/vendor/composer/installed.json
{
"name": "drupal/drupal",
"type": "drupal-core",
"require": {
"composer/installers": "^1.2",
"drupal/examples": "dev-1.x",
"drupal/devel": "*",
"drupal/token": "*",
"drupal/coder": "^8.2@stable"
},
Failed asserting that Binary String: 0x457865637574696e67206275696c642077697468206275696c642049443a206c6f63616c5f61366531323565336364363966623230323162393062363164303439643965310a4469726563746f72792063726561746564206174202f7661722f6c69622f64727570616c63692f776f726b73706163652f6c6f63616c5f61366531323565336364363966623230323162393062363164303439643965310a4469726563746f72792063726561746564206174202f7661722f6c69622f64727570616c63692f776f726b73706163652f6c6f63616c5f61366531323565336364363966623230323162393062363164303439643965312f6172746966616374730a4469726563746f72792063726561746564206174202f7661722f6c69622f64727570616c63692f776f726b73706163652f6c6f63616c5f61366531323565336364363966623230323162393062363164303439643965312f64617461626173650a4469726563746f72792063726561746564206174202f7661722f6c69622f64727570616c63692f776f726b73706163652f6c6f63616c5f61366531323565336364363966623230323162393062363164303439643965312f6172746966616374732f786d6c0a5573696e67206275696c6420646566696e6974696f6e2074656d706c6174653a20746573747
if (isset($_ENV['DCI_PHPVersion'])) {
if (0 !== strpos($ENV['DCI_PHPVersion'], 'php')) {
// Old Containers didnt have the 'web' name configured on d.o.
$this->configuration['phpversion'] = 'web-' . $_ENV['DCI_PHPVersion'];
} else {
$this->configuration['phpversion'] = $_ENV['DCI_PHPVersion'];
}
}
build:
environment: { startcontainers: { runcontainers: { phpversion: '7' } }, create_db: { dbcreate: { } }, db_type: sqlite, db_version: '3.8', dbuser: drupaltestbot, dbpassword: drupaltestbotpw }
codebase: { assemble_codebase: { replicate: { exclude: { }, local_dir: /var/lib/drupalci/drupal-checkout, git_branch: 8.3.x, git_commit_hash: 469d128 }, checkout: { repositories: [{ protocol: git, repo: 'git://git.drupal.org/project/examples.git', branch: 8.x-1.x, checkout_dir: modules/examples, depth: '1', type: standard }] }, composer: { options: 'install --prefer-dist --working-dir' }, fetch: { files: { }, type: standard }, patch: { patches: { }, type: standard } }, filesystem: { prepare_filesystem: { } }, validate_codebase: { phplint: { concurrency: '4' } } }
assessment: { testing: { simpletest.standard: { concurrency: 31, testgroups: '--directory modules/examples', types: 'Simpletest,PHPUnit-Unit,PHPUnit-Kernel,PHPUnit-Functional', url: 'http://localhost/checkout', php: /opt/phpenv/shims/php,
sudo -u www-data php /var/www/html/core/scripts/run-tests.sh --list --php /opt/phpenv/shims/php > /var/lib/drupalci/artifacts/testgroups.txt
cd /var/www/html && sudo -u www-data php /var/www/html/core/scripts/run-tests.sh --color --keep-results --concurrency "31" --types "Simpletest,PHPUnit-Unit,PHPUnit-Kernel,PHPUnit-Functional" --url "http://localhost/checkout" --php "/opt/phpenv/shims/php" --sqlite "/var/lib/drupalci/artifacts/simpleteststandard.sqlite" --dburl "sqlite://localhost/sites/default/files/db.sqlite" --directory modules/examples
ERROR: No valid tests were specified.
➜ /tmp otool -L /usr/lib/libcurl.4.dylib
/usr/lib/libcurl.4.dylib:
/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 8.0.0)
/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 57332.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1231.0.0)
/System/Library/Frameworks/LDAP.framework/Versions/A/LDAP (compatibility version 1.0.0, current version 2.4.0)
/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos (compatibility version 5.0.0, current version 6.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1225.0.0)
➜ /tmp otool -L /usr/lib/libcurl.4.dylib