0s autopkgtest [00:05:49]: starting date: 2024-03-08 0s autopkgtest [00:05:49]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [00:05:49]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.cdzdqwww/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:ruby3.2,src:openssl --apt-upgrade ruby-mail --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=ruby3.2/3.2.3-1build2 openssl/3.0.10-1ubuntu5' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-9.secgroup --name adt-noble-arm64-ruby-mail-20240308-000549-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 81s autopkgtest [00:07:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 82s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 82s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [23.8 kB] 82s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [1838 kB] 82s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 82s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [321 kB] 83s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [443 kB] 83s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 83s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 83s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 83s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2181 kB] 83s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 83s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [21.5 kB] 83s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 84s Fetched 4981 kB in 1s (4117 kB/s) 84s Reading package lists... 86s Reading package lists... 87s Building dependency tree... 87s Reading state information... 87s Calculating upgrade... 87s The following packages will be REMOVED: 87s libssl3 87s The following NEW packages will be installed: 87s libssl3t64 87s The following packages will be upgraded: 87s initramfs-tools initramfs-tools-bin initramfs-tools-core libproc2-0 openssl 87s pci.ids procps 87s 7 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 87s Need to get 3864 kB of archives. 87s After this operation, 92.2 kB of additional disk space will be used. 87s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.10-1ubuntu5 [982 kB] 88s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.10-1ubuntu5 [1763 kB] 88s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 libproc2-0 arm64 2:4.0.4-4ubuntu1 [58.4 kB] 88s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 procps arm64 2:4.0.4-4ubuntu1 [708 kB] 88s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 pci.ids all 0.0~2024.02.02-1 [273 kB] 88s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools all 0.142ubuntu20 [9054 B] 88s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools-core all 0.142ubuntu20 [49.7 kB] 88s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools-bin arm64 0.142ubuntu20 [20.2 kB] 89s Fetched 3864 kB in 1s (5445 kB/s) 89s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74662 files and directories currently installed.) 89s Preparing to unpack .../openssl_3.0.10-1ubuntu5_arm64.deb ... 89s Unpacking openssl (3.0.10-1ubuntu5) over (3.0.10-1ubuntu4) ... 89s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 89s wget depends on libssl3 (>= 3.0.0). 89s u-boot-tools depends on libssl3 (>= 3.0.0). 89s tnftp depends on libssl3 (>= 3.0.0). 89s tcpdump depends on libssl3 (>= 3.0.0). 89s systemd-resolved depends on libssl3 (>= 3.0.0). 89s systemd depends on libssl3 (>= 3.0.0). 89s sudo depends on libssl3 (>= 3.0.0). 89s sbsigntool depends on libssl3 (>= 3.0.0). 89s rsync depends on libssl3 (>= 3.0.0). 89s python3-cryptography depends on libssl3 (>= 3.0.0). 89s openssh-server depends on libssl3 (>= 3.0.10). 89s openssh-client depends on libssl3 (>= 3.0.10). 89s mtd-utils depends on libssl3 (>= 3.0.0). 89s mokutil depends on libssl3 (>= 3.0.0). 89s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 89s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 89s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 89s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 89s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 89s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 89s libnvme1 depends on libssl3 (>= 3.0.0). 89s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 89s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 89s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 89s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 89s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 89s kmod depends on libssl3 (>= 3.0.0). 89s dhcpcd-base depends on libssl3 (>= 3.0.0). 89s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 89s 89s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74662 files and directories currently installed.) 89s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 89s Selecting previously unselected package libssl3t64:arm64. 89s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74651 files and directories currently installed.) 89s Preparing to unpack .../0-libssl3t64_3.0.10-1ubuntu5_arm64.deb ... 89s Unpacking libssl3t64:arm64 (3.0.10-1ubuntu5) ... 89s Preparing to unpack .../1-libproc2-0_2%3a4.0.4-4ubuntu1_arm64.deb ... 89s Unpacking libproc2-0:arm64 (2:4.0.4-4ubuntu1) over (2:4.0.4-2ubuntu1) ... 89s Preparing to unpack .../2-procps_2%3a4.0.4-4ubuntu1_arm64.deb ... 89s Unpacking procps (2:4.0.4-4ubuntu1) over (2:4.0.4-2ubuntu1) ... 89s Preparing to unpack .../3-pci.ids_0.0~2024.02.02-1_all.deb ... 89s Unpacking pci.ids (0.0~2024.02.02-1) over (0.0~2023.11.11-1) ... 89s Preparing to unpack .../4-initramfs-tools_0.142ubuntu20_all.deb ... 89s Unpacking initramfs-tools (0.142ubuntu20) over (0.142ubuntu19) ... 89s Preparing to unpack .../5-initramfs-tools-core_0.142ubuntu20_all.deb ... 89s Unpacking initramfs-tools-core (0.142ubuntu20) over (0.142ubuntu19) ... 90s Preparing to unpack .../6-initramfs-tools-bin_0.142ubuntu20_arm64.deb ... 90s Unpacking initramfs-tools-bin (0.142ubuntu20) over (0.142ubuntu19) ... 90s Setting up pci.ids (0.0~2024.02.02-1) ... 90s Setting up libssl3t64:arm64 (3.0.10-1ubuntu5) ... 90s Setting up libproc2-0:arm64 (2:4.0.4-4ubuntu1) ... 90s Setting up procps (2:4.0.4-4ubuntu1) ... 90s Setting up openssl (3.0.10-1ubuntu5) ... 90s Setting up initramfs-tools-bin (0.142ubuntu20) ... 90s Setting up initramfs-tools-core (0.142ubuntu20) ... 90s Setting up initramfs-tools (0.142ubuntu20) ... 90s update-initramfs: deferring update (trigger activated) 90s Processing triggers for man-db (2.12.0-3) ... 91s Processing triggers for libc-bin (2.39-0ubuntu2) ... 91s Processing triggers for initramfs-tools (0.142ubuntu20) ... 91s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 91s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 104s System running in EFI mode, skipping. 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 105s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s sh: Attempting to set up Debian/Ubuntu apt sources automatically 106s sh: Distribution appears to be Ubuntu 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 108s eatmydata is already the newest version (131-1). 108s dbus is already the newest version (1.14.10-4ubuntu1). 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s Reading package lists... 108s Building dependency tree... 108s Reading state information... 109s rng-tools-debian is already the newest version (2.4). 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 109s haveged is already the newest version (1.9.14-1ubuntu1). 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s The following packages will be REMOVED: 110s cloud-init* python3-configobj* python3-debconf* 110s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 110s After this operation, 3248 kB disk space will be freed. 110s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74664 files and directories currently installed.) 110s Removing cloud-init (24.1-0ubuntu1) ... 111s Removing python3-configobj (5.0.8-3) ... 111s Removing python3-debconf (1.5.86) ... 111s Processing triggers for man-db (2.12.0-3) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74275 files and directories currently installed.) 111s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 112s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 112s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 113s Reading package lists... 114s Building dependency tree... 114s Reading state information... 114s linux-generic is already the newest version (6.8.0-11.11+1). 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 115s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 115s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 115s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 116s Reading package lists... 116s Reading package lists... 116s Building dependency tree... 116s Reading state information... 117s Calculating upgrade... 117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s autopkgtest [00:07:47]: rebooting testbed after setup commands that affected boot 145s autopkgtest [00:08:14]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 145s autopkgtest [00:08:14]: testbed dpkg architecture: arm64 147s autopkgtest [00:08:16]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-mail 149s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-mail 2.8.1+dfsg1-2 (dsc) [2079 B] 149s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-mail 2.8.1+dfsg1-2 (tar) [621 kB] 149s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-mail 2.8.1+dfsg1-2 (diff) [4956 B] 150s gpgv: Signature made Wed Jun 14 15:25:16 2023 UTC 150s gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 150s gpgv: Can't check signature: No public key 150s dpkg-source: warning: cannot verify inline signature for ./ruby-mail_2.8.1+dfsg1-2.dsc: no acceptable signature found 150s autopkgtest [00:08:19]: testing package ruby-mail version 2.8.1+dfsg1-2 150s autopkgtest [00:08:19]: build not needed 208s autopkgtest [00:09:17]: test gem2deb-test-runner: preparing testbed 210s Reading package lists... 210s Building dependency tree... 210s Reading state information... 211s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 211s Starting 2 pkgProblemResolver with broken count: 0 211s Done 211s Done 211s Starting pkgProblemResolver with broken count: 0 212s Starting 2 pkgProblemResolver with broken count: 0 212s Done 212s The following additional packages will be installed: 212s gem2deb-test-runner libruby libruby3.1 rake ruby ruby-diff-lcs ruby-mail 212s ruby-mini-mime ruby-net-telnet ruby-rspec ruby-rspec-core 212s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support ruby-rubygems 212s ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 rubygems-integration 212s Suggested packages: 212s ri ruby-dev bundler 212s Recommended packages: 212s zip fonts-lato libjs-jquery 212s The following NEW packages will be installed: 212s gem2deb-test-runner libruby libruby3.1 rake ruby ruby-diff-lcs ruby-mail 212s ruby-mini-mime ruby-net-telnet ruby-rspec ruby-rspec-core 212s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support ruby-rubygems 212s ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 rubygems-integration 213s 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. 213s 1 not fully installed or removed. 213s Need to get 6301 kB of archives. 213s After this operation, 37.5 MB of additional disk space will be used. 213s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 rubygems-integration all 1.18 [5336 B] 213s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 rake all 13.0.6-3 [61.6 kB] 213s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 213s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-webrick all 1.8.1-1 [52.3 kB] 213s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-xmlrpc all 0.3.2-2 [24.8 kB] 213s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libruby arm64 1:3.1+1 [4640 B] 213s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-sdbm arm64 1.0.0-5build3 [17.9 kB] 213s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libruby3.1 arm64 3.1.2-7ubuntu4 [5115 kB] 213s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 ruby3.1 arm64 3.1.2-7ubuntu4 [49.0 kB] 213s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-rubygems all 3.4.20-1 [238 kB] 213s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 ruby arm64 1:3.1+1 [3464 B] 213s Get:12 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mini-mime all 1.1.5-1 [19.9 kB] 213s Get:13 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mail all 2.8.1+dfsg1-2 [290 kB] 214s Get:14 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.8 kB] 214s Get:15 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] 214s Get:16 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-diff-lcs all 1.5.0-1 [23.9 kB] 214s Get:17 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.2 kB] 214s Get:18 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.4 kB] 214s Get:19 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [3506 B] 214s Get:20 http://ftpmaster.internal/ubuntu noble/universe arm64 gem2deb-test-runner arm64 2.2.2 [18.2 kB] 214s Fetched 6301 kB in 1s (5547 kB/s) 214s Selecting previously unselected package rubygems-integration. 214s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74220 files and directories currently installed.) 214s Preparing to unpack .../00-rubygems-integration_1.18_all.deb ... 214s Unpacking rubygems-integration (1.18) ... 215s Selecting previously unselected package rake. 215s Preparing to unpack .../01-rake_13.0.6-3_all.deb ... 215s Unpacking rake (13.0.6-3) ... 215s Selecting previously unselected package ruby-net-telnet. 215s Preparing to unpack .../02-ruby-net-telnet_0.2.0-1_all.deb ... 215s Unpacking ruby-net-telnet (0.2.0-1) ... 215s Selecting previously unselected package ruby-webrick. 215s Preparing to unpack .../03-ruby-webrick_1.8.1-1_all.deb ... 215s Unpacking ruby-webrick (1.8.1-1) ... 215s Selecting previously unselected package ruby-xmlrpc. 215s Preparing to unpack .../04-ruby-xmlrpc_0.3.2-2_all.deb ... 215s Unpacking ruby-xmlrpc (0.3.2-2) ... 215s Selecting previously unselected package libruby:arm64. 215s Preparing to unpack .../05-libruby_1%3a3.1+1_arm64.deb ... 215s Unpacking libruby:arm64 (1:3.1+1) ... 215s Selecting previously unselected package ruby-sdbm:arm64. 215s Preparing to unpack .../06-ruby-sdbm_1.0.0-5build3_arm64.deb ... 215s Unpacking ruby-sdbm:arm64 (1.0.0-5build3) ... 215s Selecting previously unselected package libruby3.1:arm64. 215s Preparing to unpack .../07-libruby3.1_3.1.2-7ubuntu4_arm64.deb ... 215s Unpacking libruby3.1:arm64 (3.1.2-7ubuntu4) ... 215s Selecting previously unselected package ruby3.1. 215s Preparing to unpack .../08-ruby3.1_3.1.2-7ubuntu4_arm64.deb ... 215s Unpacking ruby3.1 (3.1.2-7ubuntu4) ... 215s Selecting previously unselected package ruby-rubygems. 215s Preparing to unpack .../09-ruby-rubygems_3.4.20-1_all.deb ... 215s Unpacking ruby-rubygems (3.4.20-1) ... 215s Selecting previously unselected package ruby. 215s Preparing to unpack .../10-ruby_1%3a3.1+1_arm64.deb ... 215s Unpacking ruby (1:3.1+1) ... 215s Selecting previously unselected package ruby-mini-mime. 215s Preparing to unpack .../11-ruby-mini-mime_1.1.5-1_all.deb ... 215s Unpacking ruby-mini-mime (1.1.5-1) ... 215s Selecting previously unselected package ruby-mail. 215s Preparing to unpack .../12-ruby-mail_2.8.1+dfsg1-2_all.deb ... 215s Unpacking ruby-mail (2.8.1+dfsg1-2) ... 215s Selecting previously unselected package ruby-rspec-support. 215s Preparing to unpack .../13-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... 215s Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... 215s Selecting previously unselected package ruby-rspec-core. 215s Preparing to unpack .../14-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... 215s Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... 215s Selecting previously unselected package ruby-diff-lcs. 215s Preparing to unpack .../15-ruby-diff-lcs_1.5.0-1_all.deb ... 215s Unpacking ruby-diff-lcs (1.5.0-1) ... 216s Selecting previously unselected package ruby-rspec-expectations. 216s Preparing to unpack .../16-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... 216s Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 216s Selecting previously unselected package ruby-rspec-mocks. 216s Preparing to unpack .../17-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... 216s Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 216s Selecting previously unselected package ruby-rspec. 216s Preparing to unpack .../18-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... 216s Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... 216s Selecting previously unselected package gem2deb-test-runner. 216s Preparing to unpack .../19-gem2deb-test-runner_2.2.2_arm64.deb ... 216s Unpacking gem2deb-test-runner (2.2.2) ... 216s Setting up rubygems-integration (1.18) ... 216s Setting up ruby-net-telnet (0.2.0-1) ... 216s Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... 216s Setting up ruby-webrick (1.8.1-1) ... 216s Setting up ruby-xmlrpc (0.3.2-2) ... 216s Setting up ruby-rubygems (3.4.20-1) ... 216s Setting up rake (13.0.6-3) ... 216s Setting up libruby:arm64 (1:3.1+1) ... 216s Setting up ruby-sdbm:arm64 (1.0.0-5build3) ... 216s Setting up libruby3.1:arm64 (3.1.2-7ubuntu4) ... 216s Setting up ruby3.1 (3.1.2-7ubuntu4) ... 216s Setting up ruby (1:3.1+1) ... 216s Setting up ruby-mini-mime (1.1.5-1) ... 216s Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... 216s Setting up ruby-diff-lcs (1.5.0-1) ... 216s Setting up gem2deb-test-runner (2.2.2) ... 216s Setting up ruby-mail (2.8.1+dfsg1-2) ... 216s Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 216s Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 216s Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... 216s Setting up autopkgtest-satdep (0) ... 216s Processing triggers for libc-bin (2.39-0ubuntu2) ... 216s Processing triggers for man-db (2.12.0-3) ... 220s (Reading database ... 77796 files and directories currently installed.) 220s Removing autopkgtest-satdep (0) ... 221s autopkgtest [00:09:30]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 221s autopkgtest [00:09:30]: test gem2deb-test-runner: [----------------------- 222s 222s ┌──────────────────────────────────────────────────────────────────────────────┐ 222s │ Checking Rubygems dependency resolution on ruby3.1 │ 222s └──────────────────────────────────────────────────────────────────────────────┘ 222s 222s RUBYLIB=. GEM_PATH= ruby3.1 -e gem\ \"mail\" 222s mv lib ./.gem2deb.lib 222s mv ./.gem2deb.lib lib 222s 222s ┌──────────────────────────────────────────────────────────────────────────────┐ 222s │ Run tests for ruby3.1 from debian/ruby-tests.rake │ 222s └──────────────────────────────────────────────────────────────────────────────┘ 222s 222s RUBYLIB=. GEM_PATH= ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 222s mv lib ./.gem2deb.lib 222s /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation 222s Running Specs under Ruby Version 3.1.2 222s Running Specs for Mail Version 2.8.1 223s 223s Attachments 223s from direct content 223s should work 223s should work out magically the mime_type 223s should assign the filename 223s should assign mime-encoded multibyte filename 223s from a supplied Hash 223s should work 223s should allow you to override the content_type 223s should allow you to override the mime_type 223s should allow you to override the mime_type 223s decoding and encoding 223s should set its content_transfer_encoding 223s should encode its body to base64 223s should allow you to pass in an encoded attachment with an encoding 223s should allow you set a mime type and encoding without overriding the encoding 223s should not allow you to pass in an encoded attachment with an unknown encoding 223s should be able to call read on the attachment to return the decoded data 223s should only add one newline between attachment body and boundary 223s multiple attachments 223s should allow you to pass in more than one attachment 223s inline attachments 223s should set the content_disposition to inline or attachment as appropriate 223s should return a cid 223s should respond true to inline? 223s getting the content ID from an attachment 223s should return a valid content-id on inline attachments 223s should provide a URL escaped content_id (without brackets) for use inside an email 223s setting the content type correctly 223s should set the content type to multipart/mixed if none given and you add an attachment 223s allows you to set the attachment before the content type 223s should handle filenames with non-7bit characters correctly 223s should not raise an exception with a filename that contains a non-7bit-character 223s 223s reading emails with attachments 223s test emails 223s should find the attachment using content location 223s should find an attachment defined with 'name' and Content-Disposition: attachment 223s should use the content-disposition filename over the content-type filename or name 223s should decode an attachment 223s should decode an attachment with linefeeds 223s should find an attachment that has an encoded name value 223s should find an attachment that has an base64 encoded name value 223s should find an attachment that has a name not surrounded by quotes 223s should decode an attachment without ascii compatible filename 223s should find attachments inside parts with content-type message/rfc822 223s attach filename decoding (issue 83) 223s 223s attachment order 223s should be preserved instead when content type exists 223s 223s Mail::Body 223s initialization 223s should be instantiated 223s should initialize on a nil value 223s should accept text as raw source data 223s should accept nil as a value and return an empty body 223s should accept an array as the body and join it 223s should accept an array as the body and join it 223s encoding 223s should accept text as raw source data 223s should set its own encoding to us_ascii if it is ascii only body 223s should allow you to set its encoding 223s should allow you to specify an encoding 223s should convert all new lines to crlf 223s decoding 223s should convert all new lines to crlf 223s should not change a body on decode if not given an encoding type to decode 223s should change return the raw text if it does not recognise the encoding 223s should change a body on decode if given an encoding type to decode 223s should change a body on decode if given an encoding type to decode 223s splitting up a multipart document 223s should store the boundary passed in 223s should split at the boundry string given returning two message bodies 223s should split with missing closing boundary 223s should not split with empty space after missing closing boundary 223s should split with multiple parts and missing closing boundary 223s should ignore blank parts 223s should keep the preamble text as its own preamble 223s should return the parts as their own messages 223s should return the first part as its own message 223s should return the first part as its own message 223s should separate out its parts 223s should keep track of its parts 223s should round trip its parts 223s should allow you to change the boundary 223s should split if boundary is not set 223s detecting non ascii 223s should say an empty string is all ascii 223s should say if a body is ascii 223s should say if a body is not ascii 223s adding parts 223s should allow you to add a part 223s should allow you to sort the parts 223s should allow you to sort the parts with an arbitrary sort order 223s should allow you to sort the parts with an arbitrary sort order 223s should sort the parts on encode 223s should put the part types it doesn't know about at the end 223s should allow you to sort the parts recursively 223s should allow you to sort the parts recursively 223s should maintain the relative order of the parts with the same content-type as they are added 223s matching 223s should still equal itself 223s should match on the body part decoded if given a string to == 223s should match on the body part decoded if given a string to == 223s should match on the body part decoded if given a string to =~ 223s should match on the body part decoded if given a string to == 223s should match on the body part decoded if given a string to match 223s should match on the body part decoded if given a string to match 223s should match on the body part decoded if given a string to include? 223s should match on the body part decoded if given a string to include? 223s non US-ASCII charset 223s should encoded 223s invalid encoding 223s should round trip 223s Partslist empty 223s should not break on empty PartsList on body 223s 223s Mail::CheckDeliveryParams 223s .check 223s NOTE: Mail::CheckDeliveryParams.check is deprecated; use Mail::SmtpEnvelope.new created in commit c106bebea066782a72e4f24dd37b532d95773df7 instead. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:19. 223s returns the from, to array and encoded message in an array 223s NOTE: Mail::CheckDeliveryParams.check is deprecated; use Mail::SmtpEnvelope.new created in commit c106bebea066782a72e4f24dd37b532d95773df7 instead. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:25. 223s raises error if From is blank 223s NOTE: Mail::CheckDeliveryParams.check is deprecated; use Mail::SmtpEnvelope.new created in commit c106bebea066782a72e4f24dd37b532d95773df7 instead. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:32. 223s raises error if To is blank 223s .check_from 223s NOTE: Mail::CheckDeliveryParams.check_from is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check_from called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:39. 223s returns the from address 223s NOTE: Mail::CheckDeliveryParams.check_from is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check_from called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:45. 223s raises error if From is too long 223s .check_to 223s NOTE: Mail::CheckDeliveryParams.check_to is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check_to called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:52. 223s returns the to address array 223s NOTE: Mail::CheckDeliveryParams.check_to is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check_to called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:58. 223s raises error if To is too long 223s .check_addr 223s NOTE: Mail::CheckDeliveryParams.check_addr is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check_addr called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:65. 223s returns the address if it is not too long 223s NOTE: Mail::CheckDeliveryParams.check_addr is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check_addr called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:71. 223s raises error if address is too long 223s .validate_smtp_addr 223s NOTE: Mail::CheckDeliveryParams.validate_smtp_addr is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.validate_smtp_addr called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:78. 223s returns the address is not too long 223s NOTE: Mail::CheckDeliveryParams.validate_smtp_addr is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.validate_smtp_addr called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:84. 223s returns error message if address contains LF 223s NOTE: Mail::CheckDeliveryParams.validate_smtp_addr is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.validate_smtp_addr called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:92. 223s returns error message if address contains CR 223s NOTE: Mail::CheckDeliveryParams.validate_smtp_addr is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.validate_smtp_addr called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:100. 223s returns error message if address is too long 223s .check_message 223s NOTE: Mail::CheckDeliveryParams.check_message is deprecated with no replacement. It will be removed on or after 2023-06. 223s Mail::CheckDeliveryParams.check_message called from /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/mail/check_delivery_params_spec.rb:108. 223s ensures the message is not blank 223s 223s Mail::Configuration 223s network configurations 223s defaults delivery_method to smtp 223s should be available from the Mail.defaults method 223s should configure sendmail 223s should configure sendmail using a string 223s should configure exim 223s should configure an open SMTP connection 223s should accept a plug-in delivery method 223s 223s Mail::AddressList 223s parsing 223s should parse an address list 223s should raise an error if the input is useless 223s should not raise an error if the input is just blank 223s should raise an error if the input is useless 223s should give the address passed in 223s should give the addresses passed in 223s should preserve the display name 223s should handle and ignore nil addresses 223s should handle truly horrific combinations of commas, spaces, and addresses 223s should handle folding whitespace 223s should handle malformed folding whitespace (PENDING: No reason given) 223s should extract comments in addreses which are part of a group 223s functionality 223s should give all the groups when asked 223s should ask the group for all its addresses 223s should give all the addresses when asked 223s should handle a really nasty obsolete address list 223s should create an address instance for each address returned 223s should provide a list of group names 223s 223s Mail::Address 223s functionality 223s should allow us to instantiate an empty address object and call inspect 223s should allow us to instantiate an empty address object and call to_s 223s should allow us to instantiate an empty address object and call format 223s should allow us to instantiate an empty address object and call address 223s should allow us to instantiate an empty address object and call local 223s should allow us to instantiate an empty address object and call domain 223s should allow us to instantiate an empty address object and call name 223s should ignore funky local-only spammy addresses in angle brackets "-Earnings...Notification-" 223s should ignore funky local-only spammy addresses in angle brackets <56253817> 223s should give its address back on :to_s if there is no display name 223s should give its format back on :to_s if there is a display name 223s should give back the display name 223s should preserve the display name passed in 223s should preserve the display name passed in with token unsafe chars 223s should decode the display name without calling #decoded first 223s doesn't get stuck on decode or encode output mode 223s should allow nil display name 223s should give back the local part 223s should give back the domain 223s should give back the formated address 223s should handle an address without a domain 223s should handle comments 223s should handle multiple comments 223s should handle nested comments 223s should give back the raw value 223s should format junk addresses as raw text 223s assigning values directly 223s should allow you to assign an address 223s should allow you to assign a display name 223s should return an empty format a display name and no address defined 223s should allow you to assign an address and a display name 223s parsing 223s basic email addresses 223s should handle all OK local parts 223s should handle all OK domains 223s RFC 6532 UTF-8 chars 223s local 223s domain 223s display name 223s email addresses from the wild 223s should handle |aamine@loveruby.net| 223s should handle |Minero Aoki | 223s should handle |Minero Aoki| 223s should handle |"Minero Aoki" | 223s should handle |Minero Aoki| 223s should handle lots of dots 223s should handle trailing dots 223s should handle |"Joe & J. Harvey" | 223s should handle |"spickett@tiac.net" | 223s should handle |rls@intgp8.ih.att.com (-Schieve,R.L.)| 223s should handle |jrh%cup.portal.com@portal.unix.portal.com| 223s should handle |astrachan@austlcm.sps.mot.com ('paul astrachan/xvt3')| 223s should handle 'TWINE57%SDELVB.decnet@SNYBUF.CS.SNYBUF.EDU (JAMES R. TWINE - THE NERD)' 223s should be able to handle 'David Apfelbaum ' 223s should handle |"JAMES R. TWINE - THE NERD" | 223s should handle '/G=Owen/S=Smith/O=SJ-Research/ADMD=INTERSPAN/C=GB/@mhs-relay.ac.uk' 223s should handle |"Stephen Burke, Liverpool" | 223s should handle 'The Newcastle Info-Server ' 223s should handle 'Suba.Peddada@eng.sun.com (Suba Peddada [CONTRACTOR])' 223s should handle 'Paul Manser (0032 memo) ' 223s should handle |"gregg (g.) woodcock" | 223s should handle |Graham.Barr@tiuk.ti.com| 223s should handle |a909937 (Graham Barr (0004 bodg))| 223s should handle |david d `zoo' zuhn | 223s should handle |(foo@bar.com (foobar), ned@foo.com (nedfoo) ) | 223s should handle |Pete(A wonderful ) chap) | 223s should handle |Joe Q. Public | 223s should handle |Mary Smith <@machine.tld:mary@example.net>| 223s should handle |jdoe@test . example| 223s should handle |groupname+domain.com@example.com| 223s should handle |=?UTF-8?B?8J+RjQ==?= <=?UTF-8?B?8J+RjQ==?=@=?UTF-8?B?8J+RjQ==?=.emoji>| 223s should handle |"Mikel \"quotes\" Lindsaar" | 223s should handle |"Mikel \" Lindsaar" | 223s should handle |"Mikel \"quotes\" (and comments) Lindsaar" (comment1)| 223s should expose group 223s should have no group by default 223s creating 223s parts of an address 223s should add an address 223s should add a display name 223s modifying an address 223s should add an address 223s should add a display name 223s should take an address and a display name and join them 223s should take a display name and an address and join them 223s providing encoded and decoded outputs 223s should provide an encoded output 223s should provide an encoded output for non us-ascii 223s should provide an encoded output for non us-ascii 223s 223s Mail::DateTimeElement 223s should parse a date 223s should raise an error if the input is nil 223s should raise an error if the input is useless 223s 223s Mail::EnvelopeFromElement 223s parsing a from envelope string 223s should parse a full field 223s should parse a full field with a double digit day 223s should parse a full field with a single space day 223s should parse a null sender, when specified as <> 223s should parse a null sender, with a single space day 223s accessor methods 223s should return the address 223s should return the date_time 223s formatting 223s should format delivery date using UNIX ctime style 223s 223s Mail::MessageIdsElement 223s should parse a message_id 223s should parse multiple message_ids 223s treats nil as an empty list 223s should raise an error if the input is useless 223s should respond to message_ids 223s should respond to message_id 223s should not fail to parse a message id with dots in it 223s 223s Mail::PhraseList 223s parsing 223s should parse a phrase list 223s treats nil as an empty list 223s should not raise an error if the input is useless 223s 223s Mail::ReceivedElement 223s should raise an error if the input is nil 223s should raise an error if the input is useless 223s should give back the date time 223s should give back the info 223s 223s mail encoding 223s should allow you to assign an email-wide charset 223s should let you define a charset per part 223s should replace invalid characters 223s should replace characters of unknown and invalid encoding 223s using default encoding 223s should allow you to send in unencoded strings to fields and encode them 223s should allow you to send in unencoded strings to address fields and encode them 223s should allow you to send in unencoded strings to address fields and encode them 223s should allow you to send in multiple unencoded strings to address fields and encode them 223s should allow you to send unquoted non us-ascii strings, with spaces in them 223s should allow you to send in multiple unencoded strings to any address field 223s should handle groups 223s should handle groups with funky characters 223s quoting token safe chars 223s should not quote the display name if unquoted 223s should not quote the display name if already quoted 223s quoting token unsafe chars 223s should quote the display name 223s should preserve quotes needed from the user and not double quote 223s specifying an email-wide encoding 223s should allow you to send in unencoded strings to fields and encode them 223s should allow you to send in unencoded strings to address fields and encode them 223s should allow you to send in multiple unencoded strings to address fields and encode them 223s allows multiple unencoded strings in To 223s allows multiple unencoded strings in From 223s allows multiple unencoded strings in Cc 223s allows multiple unencoded strings in Reply-To 223s #pick_encoding 223s picks binary for nil 223s should support latin2 223s should support ISO_8859-1 223s should support cp-850 223s should support 223s 223s base64 223s should encode base 64 from text 223s should decode base 64 text 223s should encode base 64 from binary 223s should decode base 64 text 223s 223s quoted-printable 223s should encode quoted printable from text 223s should encode quoted printable from crlf text 223s should encode quoted printable from cr text 223s should bypass line ending conversion for binary encoding 223s should decode quoted printable 223s should encode quoted printable from binary 223s should decode quoted printable text 223s should bypass line ending conversion for binary decoding 223s should cope with inappropriate =0D line break encoding 223s should allow encoded =0D line breaks with soft line feeds 223s should cope with inappropriate =0A line break encoding 223s should allow encoded =0A line breaks with soft line feeds 223s should cope with inappropriate =0D=0A line break encoding 223s should allow encoded =0D=0A line breaks with soft line feeds 223s 223s 223s accepts blank message_encoding 223s 223s x-uuencode 223s is registered as uuencode 223s is registered as x-uuencode 223s is registered as x-uue 223s can transport itself 223s decodes 223s encodes 223s encodes / decodes non-ascii 223s can read itself 223s 223s Mail::Encodings 223s base64 Encoding 223s should return true for base64 223s should return true for Base64 223s should return true for :base64 223s should return the Base64 Encoding class 223s should return the base64 Encoding class 223s should return the base64 Encoding class 223s quoted-printable Encoding 223s should return true for quoted-printable 223s should return true for Quoted-Printable 223s should return true for :quoted_printable 223s should return the QuotedPrintable Encoding class 223s should return the QuotedPrintable Encoding class 223s should return the QuotedPrintable Encoding class 223s B encodings 223s should just return the string if us-ascii and asked to B encoded string 223s should accept other encodings 223s should correctly encode long string mixing with single/multi-byte characters 223s should complain if there is no encoding passed for Ruby < 1.9 223s should split the string up into bite sized chunks that can be wrapped easily 223s should decode an encoded string 223s should decode a long encoded string 223s should decode UTF-16 encoded string 223s should decode UTF-32 encoded string 223s should decode a string that looks similar to an encoded string (contains '=?') 223s should parse adjacent encoded-words separated by linear white-space 223s should parse adjacent words with no space 223s should collapse adjacent words with multiple encodings on one line seperated by non-spaces 223s should decode a blank string 223s should decode a string, even with an invalid encoding name 223s should decode 8bit encoded string 223s should decode ks_c_5601-1987 encoded string 223s should decode shift-jis encoded string 223s should decode GB18030 encoded string misidentified as GB2312 223s Encoding conversion failed "\xDE\xBA" on UTF-16BE 223s should decode an invalid utf-7 byte sequence 223s Q encodings 223s should just return the string if us-ascii and asked to Q encoded string 223s should complain if there is no encoding passed for Ruby < 1.9 223s should accept other character sets 223s should decode an encoded string 223s should decode q encoded =5F as underscore 223s should not fold a long string that has no spaces 223s should round trip a complex string properly 223s should round trip another complex string (koi-8) 223s should decode a blank string 223s should decode a string with spaces 223s should decode a string ending with an unencoded question mark 223s should treat unrecognized charsets as binary 223s mixed Q and B encodings 223s should decode an encoded string 223s parameter MIME encodings 223s should leave an unencoded string alone 223s should unencode an encoded string 223s should unencoded an encoded string and return the right charset on 1.9 223s should unencode a complete string that included unencoded parts 223s should encode a string 223s should just quote US-ASCII with spaces 223s should leave US-ASCII without spaces alone 223s decoding a string and detecting the encoding type 223s should detect an encoded Base64 string to the decoded string 223s should detect a multiple encoded Base64 string to the decoded string 223s should detect a multiple encoded Base64 string with a space to the decoded string 223s should detect a multiple encoded Base64 string with a whitespace to the decoded string 223s should decode B and Q encodings together if needed 223s should detect a encoded and unencoded Base64 string to the decoded string 223s should detect an encoded QP string to the decoded string 223s should decode UTF-16 encoded string 223s should decode UTF-32 encoded string 223s should detect multiple encoded QP string to the decoded string 223s should detect multiple encoded QP string with a space to the decoded string 223s should detect multiple encoded QP string with a space to the decoded string 223s should detect a encoded and unencoded QP string to the decoded string 223s should detect a plain string and return it 223s should handle a very long string efficiently (PENDING: fails randomly) 223s should handle Base64 encoded ISO-2022-JP string 223s altering an encoded text to decoded and visa versa 223s decoding 223s should detect an encoded Base64 string and return the decoded string 223s should detect an encoded QP string and return the decoded string 223s should detect an a string is already decoded and leave it alone 223s encoding 223s should encode a string into Base64 223s should leave a string that doesn't need encoding alone 223s unquote and convert to 223s should unquote quoted printable and convert to utf-8 223s should unquote base64 and convert to utf-8 223s should handle no charset 223s should unquote multiple lines 223s should unquote a string in the middle of the text 223s should unquote and change to an ISO encoding if we really want 223s should unquote Shift_JIS QP with trailing = 223s handles Windows 1252 QP encoding 223s should recognize iso646-us 223s should unquote multiple strings in the middle of the text 223s should handle multiline quoted headers with mixed content 223s should handle quoted string with mixed content that have a plain string at the end 223s should handle utf_8 223s quoted printable encoding and decoding 223s should handle underscores in the text 223s should handle underscores in the text 223s should keep the underscores in the text 223s should handle a new line in the text 223s should handle a question mark in the text 223s pre encoding non usascii text 223s should not change an ascii string 223s should encode a display that contains non usascii 223s should encode a single token that contains non usascii 223s should encode a display that contains non usascii with quotes as no quotes 223s should encode a display name with us-ascii and non-usascii parts 223s should encode a display name with us-ascii and non-usascii parts ignoring quotes 223s should encode a quoted display name with us-ascii and non-usascii that ends with a non-usascii part 223s should encode multiple addresses correctly 223s should encode multiple addresses correctly when noninitial address contains non-usascii chars 223s should encode multiple unquoted addresses correctly 223s should encode multiple unquoted addresses correctly when noninitial address contains non-usascii chars 223s should encode multiple un bracketed addresses and groups correctly 223s should correctly match and encode non-usascii letters at the end of a quoted string 223s address encoding 223s should not do anything to a plain address 223s should encode an address correctly 223s should encode multiple addresses correctly 223s should encode unicode local part 223s should encode emoji local part 223s should handle a single ascii address correctly from a string 223s should handle multiple ascii addresses correctly from a string 223s should handle ascii addresses correctly as an array 223s should ignore single nil 223s should ignore nil in arrays 223s .charset_encoder 223s can use a custom encoder 223s uses converter for params 223s can convert ansi with best effort 223s .collapse_adjacent_encodings 223s leaves blank intact 223s leaves pure unencoded intact 223s does not modify 1 encoded 223s splits unencoded and encoded into separate parts 223s splits adjacent encodings into separate parts 223s splits adjacent encodings without unencoded into separate parts 223s does not join encodings when separated by unencoded 223s does not join different encodings 223s does not keep the separator character between two different encodings 223s .pick_encoding 223s finds encoding 223s uses binary for unfound 223s 223s Test emails 223s from RFC2822 223s should handle the basic test email 223s should handle the sender test email 223s should handle multiple recipients test email 223s should handle group address email test 223s should handle reply messages 223s should handle reply message 2 223s should handle the final reply message 223s should handle the rfc resent example email 223s should handle the RFC trace example email 223s should handle the rfc whitespace test email 223s should handle the rfc obsolete addressing 223s should handle the rfc obsolete dates 223s should handle the rfc obsolete whitespace email (PENDING: No reason given) 223s should handle folding subject 223s from the wild 223s raw_email_encoded_stack_level_too_deep.eml 223s should return an 'encoded' version without raising a SystemStackError 223s should have two parts 223s sig_only_email.eml 223s should not error on multiart/signed emails 223s should have one attachment called signature.asc 223s handling invalid group lists 223s should parse the email and encode without crashing 223s should return an empty groups list 223s handling multiple references with one of them invalid 223s should parse the email and encode without crashing 223s should return the valid References value 223s handling multiple content-disposition with all of them invalid 223s should parse the email and encode without crashing 223s should recognise the email as not attachment 223s should return one invalid Content-Disposition value 223s empty address lists 223s should parse the email and encode without crashing 223s should return an empty groups list 223s RFC6532 UTF8 headers 223s subject 223s from 223s to 223s invalid charsets in headers 223s falls back to ASCII-8BIT for unrecognized charsets 223s 223s Mail::FieldList 223s should be able to add new fields 223s should be able to add new fields in the right order 223s should add new Received items after the existing ones 223s 223s Mail::Field 223s parsing 223s parses full header fields 223s parses missing whitespace 223s parses added inapplicable whitespace 223s initialization 223s raises if instantiating by parsing a full header field 223s instantiates with name and value 223s accepts arrays of values 223s accepts omitted values 223s should match up fields to class names 223s matches dATE to Mail::DateField 223s matches fROM to Mail::FromField 223s matches sENDER to Mail::SenderField 223s matches REPLY-TO to Mail::ReplyToField 223s matches TO to Mail::ToField 223s matches CC to Mail::CcField 223s matches BCC to Mail::BccField 223s matches MESSAGE-ID to Mail::MessageIdField 223s matches IN-REPLY-TO to Mail::InReplyToField 223s matches REFERENCES to Mail::ReferencesField 223s matches KEYWORDS to Mail::KeywordsField 223s matches resent-date to Mail::ResentDateField 223s matches resent-from to Mail::ResentFromField 223s matches rESENT-sENDER to Mail::ResentSenderField 223s matches rESENT-tO to Mail::ResentToField 223s matches rESent-cc to Mail::ResentCcField 223s matches resent-bcc to Mail::ResentBccField 223s matches reSent-MESSAGE-iD to Mail::ResentMessageIdField 223s matches rEtURN-pAtH to Mail::ReturnPathField 223s matches rEcEiVeD to Mail::ReceivedField 223s matches Subject to Mail::SubjectField 223s matches Comments to Mail::CommentsField 223s matches Mime-VeRSIOn to Mail::MimeVersionField 223s matches cOntenT-transfer-EnCoDiNg to Mail::ContentTransferEncodingField 223s matches Content-Description to Mail::ContentDescriptionField 223s matches Content-Disposition to Mail::ContentDispositionField 223s matches cOnTENt-TyPe to Mail::ContentTypeField 223s should say anything that is not a known field is an optional field 223s should return an unstuctured field if the structured field parsing raises an error 223s delegates to_s to its field 224s delegates missing methods to its field 224s should respond_to? its own methods and the same methods as its instantiated field class 224s should change its type if you change the name 224s should create a field without trying to parse if given a symbol 224s should inherit charset 224s error handling 224s should populate the errors array if it finds a field it can't deal with 224s helper methods 224s should reply if it is responsible for a field name as a capitalized string - structured field 224s should reply if it is responsible for a field as a lower case string - structured field 224s should reply if it is responsible for a field as a symbol - structured field 224s should say it is the "same" as another if their field types match 224s should say it is not the "same" as another if their field types don't match 224s should say it is not the "same" as nil 224s should say it is == to another if their field and names match 224s should say it is not == to another if their field names do not match 224s should say it is not == to another if their field names match, but not their values 224s should say it is not == to nil 224s should sort according to the field order 224s user defined fields 224s should say it is the "same" as another if their field names match 224s should say it is not == to another if their field names do not match 224s passing an encoding 224s should allow you to send in unencoded strings to fields and encode them 224s should allow you to send in unencoded strings to address fields and encode them 224s should allow you to send in unencoded strings without quotes to address fields and encode them 224s should allow you to send in unencoded strings to address fields and encode them 224s should allow you to send in multiple unencoded strings to address fields and encode them 224s should allow you to send in multiple unencoded strings to any address field 224s should allow an encoded value in the Subject field and decode it automatically (issue 44) 224s should allow you to encoded text in the middle (issue 44) 224s more tolerable to encoding definitions, ISO (issue 120) 224s more tolerable to encoding definitions, ISO-long (issue 120) 224s more tolerable to encoding definitions, UTF (issue 120) 224s more tolerable to encoding definitions, ISO (issue 120) 224s more tolerable to encoding definitions, Windows (issue 120) 224s should support ascii encoded utf-8 subjects 224s should support ascii encoded windows subjects 224s value 224s parsed 224s returns parsed value 224s unparsed 224s returns origin unparsed value 224s Mail::Field::ParseError 224s should be structured 224s 224s AddressContainer 224s should allow you to append an address to an address field result 224s should handle complex addresses correctly 224s 224s Mail::BccField 224s initialization 224s should initialize 224s should accept a string without the field name 224s instance methods 224s should return an address 224s should return two addresses 224s should return one address and a group 224s should return the formatted line on to_s 224s should return nothing by default on encoded as Bcc should not be in the mail 224s should return the encoded line for one address when requested to include in headers 224s should return the encoded line when requested to include in headers 224s should return the decoded line 224s 224s Mail::CcField 224s initialization 224s should initialize 224s should accept a string without the field name 224s instance methods 224s should return an address 224s should return two addresses 224s should return one address and a group 224s should return the formatted line on to_s 224s should return the encoded line for one address 224s should return the encoded line 224s should return the decoded line 224s 224s Mail::CommentsField 224s should initialize 224s should accept a string with the field name 224s 224s Mail::CommonAddressField 224s should yield each address object in turn 224s address handling 224s should give the addresses it is going to 224s should split up the address list into individual addresses 224s should give the formatted addresses 224s should give the display names 224s should give the actual address objects 224s should handle groups as well 224s should provide a list of groups 224s should provide a list of addresses per group 224s should provide a list of addresses that are just in the groups 224s should preserve the display name 224s should handle multiple addresses 224s should handle missing display names with an angle address 224s should handle empty display names with an angle address 224s .value= 224s should handle initializing as an empty string 224s should encode to an empty string if it has no addresses or groups 224s a unquoted multi-byte address is given 224s should allow you to set an unquoted, multi-byte address value after initialization 224s should keep the given value 224s a quoted multi-byte address is given 224s should allow you to set an quoted, multi-byte address value after initialization 224s should keep the given value 224s .<< 224s should allow you to append an address 224s a unquoted multi-byte address is given 224s initialized with an empty string 224s should allow you to append an unquoted, multi-byte address value 224s should keep the given value 224s initialized with an us-ascii address 224s should allow you to append a quoted, multi-byte address value 224s initialized with an multi-byte address 224s should allow you to append a quoted, multi-byte address value 224s should keep the given value 224s a quoted multi-byte address is given 224s initialized with an empty string 224s should allow you to append a quoted, multi-byte address value 224s should keep the given value 224s initialized with an us-ascii address 224s should allow you to append a quoted, multi-byte address value 224s initialized with an multi-byte address 224s should allow you to append a quoted, multi-byte address value 224s should keep the given value 224s encoding and decoding fields 224s should allow us to encode an address field 224s should allow us to encode a simple address field 224s should allow us to encode an address field 224s should allow us to decode an address field 224s should allow us to decode a non ascii address field 224s should allow us to decode a non ascii address field 224s 224s Mail::CommonDateField 224s encoding and decoding fields 224s should allow us to encode an date field 224s should allow us to encode an resent date field 224s should allow us to decode an address field 224s 224s Mail::CommonField 224s multi-charset support 224s should return '' on to_s if there is no value 224s should leave ascii alone 224s should encode a utf-8 string as utf-8 quoted printable 224s should wrap an encoded at 60 characters 224s should handle charsets in assigned addresses 224s with content that looks like the field name 224s does not strip from start 224s does not strip from middle 224s 224s Mail::CommonMessageIdField 224s encoding and decoding fields 224s should allow us to encode a message id field 224s should allow us to encode a message id field 224s should allow us to encode an in reply to field 224s should allow us to decode a message id field 224s 224s Mail::ContentDescriptionField 224s initialization 224s should initialize 224s should accept a string without the field name 224s 224s Mail::ContentDispositionField 224s initialization 224s should initialize 224s should accept a string without the field name 224s should accept a nil value and generate a disposition type 224s should render encoded 224s should render encoded for inline 224s should wrap a filename in double quotation marks only if the filename contains spaces and does not already have double quotation marks 224s should render decoded 224s should render decoded inline 224s should handle upper and mixed case INLINE and AttachMent 224s instance methods 224s should give its disposition type 224s should accept a blank disposition type 224s handles nil value 224s finding a filename 224s should locate a filename if there is a filename 224s should locate a name if there is no filename 224s should return an empty string when filename or name is empty 224s should locate an encoded name as a filename 224s 224s Mail::ContentIdField 224s initialization 224s should initialize 224s should accept a string without the field name 224s should accept a nil value and generate a content_id 224s should allow it to be encoded 224s should allow it to be decoded 224s ensuring only one message ID 224s should not accept a string with multiple message IDs but only return the first 224s should change the message id if given a new message id 224s instance methods 224s should provide to_s 224s should provide encoded 224s should respond to :responsible_for? 224s generating a message id 224s should generate a message ID if it has no value 224s should generate a random message ID 224s 224s Mail::ContentLocationField 224s initialization 224s should initialize 224s should accept a string without the field name 224s should render an encoded field 224s should render a decoded field 224s parsing the value 224s should return an encoding string unquoted 224s 224s Mail::ContentTransferEncodingField 224s initialization 224s should initialize 224s should accept a string without the field name 224s should render an encoded field 224s should render a decoded field 224s parsing the value 224s should return an encoding string 224s should treat 7bits/7-bit and 8bits/8-bit as 7bit and 8bit 224s should handle any valid 'x-token' value 224s should handle an x-encoding 224s should handle an ietf encoding (practically, any token) 224s should raise an error on bogus values 224s should handle an empty content transfer encoding 224s should handle a hyphen 224s 224s Mail::ContentTypeField 224s initialization 224s should initialize 224s should accept a string without the field name 224s should accept a nil value and generate a content_type 224s should render encoded 224s should render encoded with parameters 224s should render quoted values encoded 224s should render decoded 224s should render quoted values decoded 224s should render 224s should wrap a filename in double quotation marks only if the filename contains spaces and does not already have double quotation marks 224s should only wrap filenames in double quotation marks 224s instance methods 224s should return a content_type 224s should return a content_type for the :string method 224s should return a main_type 224s should return a sub_type 224s should return a parameter as a hash 224s should return multiple parameters as a hash 224s should return boundry parameters 224s should be indifferent with the access 224s class methods 224s should give back an initialized instance with a unique boundary 224s should give back an initialized instance with different type with a unique boundary 224s should give unique boundaries 224s Testing a bunch of email Content-Type fields 224s should handle 'application/octet-stream; name*=iso-2022-jp'ja'01%20Quien%20Te%20Dij%8aat.%20Pitbull.mp3' 224s should handle 'application/pdf;' 224s should handle 'application/pdf; name="broken.pdf"' 224s should handle 'application/pkcs7-signature;' 224s should handle 'application/pkcs7-signature; name=smime.p7s' 224s should handle 'application/x-gzip; NAME=blah.gz' 224s should handle 'image/jpeg' 224s should handle 'image/jpeg' 224s should handle 'image/jpeg;' 224s should handle 'image/png;' 224s should handle 'message/delivery-status' 224s should handle 'message/rfc822' 224s should handle 'multipart/alternative;' 224s should handle 'multipart/alternative; boundary="----=_NextPart_000_0093_01C81419.EB75E850"' 224s should handle 'multipart/alternative; boundary=----=_NextPart_000_0093_01C81419.EB75E850' 224s should handle 'Multipart/Alternative;boundary=MuLtIpArT_BoUnDaRy' 224s should handle 'Multipart/Alternative;boundary=MuLtIpArT_BoUnDaRy' 224s should handle 'multipart/alternative; boundary="----jkhkjgyurlkmn789809";; charset="us-ascii"' 224s should handle 'multipart/mixed' 224s should handle 'multipart/mixed;' 224s should handle 'multipart/mixed; boundary=Apple-Mail-13-196941151' 224s should handle 'multipart/mixed; boundary=mimepart_427e4cb4ca329_133ae40413c81ef' 224s should handle 'multipart/report; report-type=delivery-status;' 224s should handle 'multipart/signed;' 224s should handle 'text/enriched;' 224s should handle 'text/html;' 224s should handle 'text/html; charset=iso-8859-1;' 224s should handle 'TEXT/PLAIN; charset=ISO-8859-1;' 224s should handle 'text/plain' 224s should handle 'text/plain;' 224s should handle 'text/plain; charset=ISO-8859-1' 224s should handle 'text/plain; charset=ISO-8859-1;' 224s should handle 'text/plain; charset=us-ascii;' 224s should handle 'text/plain; charset=US-ASCII; format=flowed' 224s should handle 'text/plain; charset=US-ASCII; format=flowed' 224s should handle 'text/plain; charset=utf-8' 224s should handle 'text/plain; charset=utf-8' 224s should handle 'text/x-ruby-script;' 224s should handle 'text/x-ruby-script; name="hello.rb"' 224s should handle 'multipart/mixed; boundary="=_NextPart_Lycos_15031600484464_ID" 224s should handle 'multipart/mixed; boundary="=_NextPart_2rfkindysadvnqw3nerasdf";windows-852 224s should handle 'multipart/alternative; boundary=----=_=NextPart_000_0093_01C81419.EB75E850 224s should handle 'multipart/alternative; boundary="----=_=NextPart_000_0093_01C81419.EB75E850" 224s should handle 'multipart/related;boundary=1_4626B816_9F1690;Type="application/smil";Start=""' 224s should handle 'IMAGE/JPEG; name="IM 006.jpg"' 224s should handle 'unknown/unknown' 224s finding a filename 224s should locate a filename if there is a filename 224s should locate a name if there is no filename 224s should return an empty string when filename or name is empty 224s should locate an encoded name as a filename 224s should encode a non us-ascii filename 224s handling badly formated content-type fields 224s should handle missing sub-type on a text content type 224s should handle missing ; after content-type 224s initializing with an array 224s should initialize with an array 224s should allow many parameters to be passed in 224s special case values needing sanity 224s should handle 'text/plain;ISO-8559-1' 224s should handle 'text/plain; charset = "iso-8859-1"' 224s should handle text; params 224s should handle text/html; charset="charset="GB2312"" 224s should handle application/octet-stream; name=archiveshelp1[1].htm 224s should handle text/plain;; format="flowed" 224s set an empty content type to text/plain 224s should just ignore illegal params like audio/x-midi; 224s name=Part .exe 224s should handle: rfc822; format=flowed; charset=iso-8859-15 224s should just get the mime type if all else fails with some real garbage 224s shouldn't include separating semicolon in parameter value when sanitizing 224s 224s Mail::DateField 224s initialization 224s should initialize 224s should be able to tell the time 224s should accept a string without the field name 224s should accept nil as a value 224s should allow us to encode an date field 224s should allow us to decode an address field 224s should be able to parse a really bad spacing example 224s should give today's date if no date is specified 224s should handle invalid date 224s 224s Mail::Envelope 224s should initialize 224s accessor methods 224s should return the address 224s should return the date_time 224s 224s Mail::FromField 224s should handle non ascii 224s should work without quotes 224s should work with combinations of quotes and non ascii 224s initialization 224s should initialize 224s should accept a string without the field name 224s instance methods 224s should return an address 224s should return two addresses 224s should return one address and a group 224s should return the formatted line on to_s 224s should return the encoded line 224s should return the encoded line 224s should return the decoded line 224s 224s Mail::InReplyToField 224s should output lines shorter than 998 chars 224s initialization 224s should initialize 224s should accept a string without the field name 224s should provide encoded 224s should handle many encoded message IDs 224s should handle an array of message IDs 224s should provide decoded 224s should handle many decoded message IDs 224s should handle an empty value 224s handlign multiple message ids 224s should handle many message IDs 224s 224s Mail::KeywordsField 224s should output lines shorter than 998 chars 224s initializing 224s should initialize 224s should accept a string without the field name 224s giving a list of keywords 224s should return a list of keywords 224s should handle phrases 224s should handle comments 224s should handle comments 224s should handle comments in quotes 224s encoding and decoding 224s should encode 224s should decode 224s 224s Mail::MessageIdField 224s initialization 224s should initialize 224s should accept a string without the field name 224s should accept a nil value and generate a message_id 224s ensuring only one message ID 224s should not accept a string with multiple message IDs but only return the first 224s should change the message id if given a new message id 224s instance methods 224s should provide to_s 224s should provide encoded 224s should provide decoded 224s should respond to :responsible_for? 224s generating a message id 224s should generate a message ID if it has no value 224s should generate a random message ID 224s weird message IDs 224s should be able to parse <000701c874a6$3df7eaf0$b9e7c0d0$@geille@fiscon.com> 224s should be able to parse <.AAA-default-12226,16.1089643496@us-bdb-1201.vdc.amazon.com> 224s should be able to parse <091720041340.19561.414AE9430005E91000004C6922007589429B0702040790040A0E08 0C0703@comcast.net> 224s should be able to parse <3851.1096568577MSOSI1188307:1OSIMS@gamefly.com> 224s should be able to parse <3851.1096568577MSOSI1188307:1OSIMS@gamefly.com > 224s should be able to parse <000301caf03a$77d922ae$82dba8c0@.pool.ukrtel.net> 224s should be able to parse <"urn:correios:msg:2011071303483114f523ef89e040878bca2e451a999448"@1310528911569.rte-svc-na-5006.iad5.amazon.com> 224s should be able to parse <7467BC5DC7CCEB429E2D3F05E49B3067375E6DC038@EXVMBX020-10.exch020.server... 224s should be able to parse |2a26f8f146e27159| 224s 224s Mail::MimeVersionField 224s initialization 224s should initialize 224s should accept a string without the field name 224s parsing a version string 224s should get a major value 224s should get a minor value 224s should get a version string 224s should handle comments before the major version 224s should handle comments before the major version without space 224s should handle comments after the major version without space 224s should handle comments before the minor version without space 224s should handle comments after the minor version without space 224s should handle comments after the minor version 224s should accept nil as a value 224s should provide an encoded value 224s should provide an decoded value 224s 224s Mail::ParameterHash 224s should return the values in the hash 224s should return the values in the hash regardless of symbol or string 224s should return the values in the hash using case-insensitive key matching 224s should return the correct value if they are not encoded 224s should return a name list concatenated 224s should return a name list concatenated and unencoded 224s allows for blank language 224s allows for blank charset 224s allows for blank charset and language 224s converts from specified encoding to utf-8 224s should allow us to add a value 224s should return an encoded value 224s 224s Mail::ReceivedField 224s should initialize 224s should be able to tell the time 224s should accept a string without the field name 224s should provide an encoded value 224s should provide an encoded value with correct timezone 224s should provide an decoded value 224s should handle empty name-value lists with a comment only (qmail style) 224s should handle a blank value 224s WARNING: Invalid date field for received element (29 Jul 2013 25:12:46 +0900): Date::Error: invalid date 224s should handle invalid date 224s 224s Mail::ReferencesField 224s should initialize 224s should accept a string without the field name 224s should accept multiple message ids 224s should accept an array of message ids 224s should accept no message ids 224s should output lines shorter than 998 chars 224s should handle comma-separated values 224s should be able to parse |2a26f8f146e27159@domain.com@domain.com, 2a26f8f146e27159@domain.com@domain.com| 224s should be able to parse |2a26f8f146e27159@domain.com@domain.com 2a26f8f146e27159@domain.com@domain.com| 224s 224s Mail::ReplyToField 224s initialization 224s should initialize 224s should accept a string without the field name 224s instance methods 224s should return an address 224s should return two addresses 224s should return one address and a group 224s should return the formatted line on to_s 224s should return the encoded line 224s 224s Mail::ResentBccField 224s initialization 224s should initialize 224s should accept a string without the field name 224s instance methods 224s should return an address 224s should return two addresses 224s should return one address and a group 224s should return the formatted line on to_s 224s should return the encoded line 224s 224s Mail::ResentCcField 224s initialization 224s should initialize 224s should accept a string without the field name 224s instance methods 224s should return an address 224s should return two addresses 224s should return one address and a group 224s should return the formatted line on to_s 224s should return the encoded line 224s 224s Mail::ResentDateField 224s should initialize 224s should be able to tell the time 224s should accept a string without the field name 224s should give today's date if no date is specified 224s 224s Mail::ResentFromField 224s initialization 224s should initialize 224s should accept a string without the field name 224s instance methods 224s should return an address 224s should return two addresses 224s should return one address and a group 224s should return the formatted line on to_s 224s should return the encoded line 224s 224s Mail::ResentMessageIdField 224s should initialize 224s should accept a string without the field name 224s should output lines shorter than 998 chars 224s 224s Mail::ResentSenderField 224s formats the sender 224s parses a single sender address 224s returns the field value 224s encodes a header line 224s initialization 224s should initialize 224s should accept a string without the field name 224s 224s Mail::ResentToField 224s initialization 224s should initialize 224s should accept a string without the field name 224s instance methods 224s should return an address 224s should return two addresses 224s should return one address and a group 224s should return the formatted line on to_s 224s should return the encoded line 224s 224s Mail::ReturnPathField 224s should allow you to specify a field 224s should encode the addr_spec in <> 224s should accept <> 224s should set the return path 224s should set the return path 224s should wrap the return path addr_spec in <> 224s 224s Mail::SenderField 224s formats the sender 224s parses a single sender address 224s returns the field value 224s encodes a header line 224s initialization 224s should initialize 224s should accept a string without the field name 224s should reject headers with multiple mailboxes (PENDING: Sender accepts an address list now, but should only accept a single address) 224s 224s Mail::StructuredField 224s initialization 224s should be instantiated 224s manipulation 224s should allow us to set a text value at initialization 224s should provide access to the text of the field once set 224s should provide a means to change the value 224s displaying encoded field and decoded value 224s should provide a to_s function that returns the decoded string 224s should return '' on to_s if there is no value 224s should give an encoded value ready to insert into an email 224s should return an empty string on encoded if it has no value 224s should return the field name and value in proper format when called to_s 224s 224s Mail::ToField 224s should not crash if it can't understand a name 224s initialization 224s should initialize 224s should accept a string without the field name 224s instance methods 224s should return an address 224s should return two addresses 224s should return one address and a group 224s should return the formatted line on to_s 224s should return the encoded line 224s should return the decoded line 224s should get multiple address out from a group list 224s should handle commas in the address 224s should handle commas in the address for multiple fields 224s unicode address 224s should allow unicode local part jp 224s should allow unicode local 224s should allow unicode local (simple) 224s should allow unicode local (complex) 224s should allow emoji local 224s 224s Mail::UnstructuredField 224s initialization 224s should be instantiated 224s manipulation 224s should allow us to set a text value at initialization 224s should provide access to the text of the field once set 224s should provide a means to change the value 224s displaying encoded field and decoded value 224s should provide a to_s function that returns the field name and value 224s should return '' on to_s if there is no value 224s should give an encoded value ready to insert into an email 224s should return nil on encoded if it has no value 224s should handle array 224s should handle string 224s should give an decoded value ready to insert into an email 224s should return a nil on decoded if it has no value 224s should just add the CRLF at the end of the line 224s should do encoded-words encoding correctly without extra equal sign 224s should encode the space between two adjacent encoded-words 224s should encode additional special characters inside encoded-word-encoded strings 224s should decode a utf-7(B) encoded unstructured field 224s folding 224s should not fold itself if it is 78 chracters long 224s should fold itself if it is 79 chracters long 224s should fold itself if it is 997 chracters long 224s should fold itself if it is 998 characters long 224s should fold itself if it is 999 characters long 224s should fold itself if it is non us-ascii 224s should fold properly with my actual complicated header 224s should fold properly with continuous spaces around the linebreak 224s encoding non QP safe chars 224s should encode an ascii string that has carriage returns if asked to 224s iso-2022-jp Subject 224s should encoded with ISO-2022-JP encoding 224s 224s Mail::Header 224s initialization 224s should instantiate empty 224s should instantiate with a string passed in 224s copying 224s should instantiate with a string passed in 224s instance methods 224s should save away the raw source of the header that it is passed 224s should say if it has a message_id field defined 224s should say if it has a message_id field defined 224s should say if it has a content_id field defined 224s should say if it has a content_id field defined 224s should know its own charset 224s should know its own charset if set 224s should not unset previously set charset if content-type is set without charset 224s shouldn't die when queried for a charset and the content-type header is invalid 224s should be Enumerable 224s creating fields 224s should recognise a bcc field 224s should recognise a cc field 224s should recognise a content-description field 224s should recognise a content-disposition field 224s should recognise an inline content-disposition field 224s should recognise a content-id field 224s should recognise a content-transfer-encoding field 224s should recognise a content-type field 224s should recognise a date field 224s should recognise a from field 224s should recognise a in-reply-to field 224s should recognise a keywords field 224s should recognise a message-id field 224s should recognise a mime-version field 224s should recognise a received field 224s should recognise a references field 224s should recognise a reply-to field 224s should recognise a resent-bcc field 224s should recognise a resent-cc field 224s should recognise a resent-date field 224s should recognise a resent-from field 224s should recognise a resent-message-id field 224s should recognise a resent-sender field 224s should recognise a resent-to field 224s should recognise a return-path field 224s should recognise a sender field 224s should recognise a to field 224s should maintain header case 224s should not accept field names containing colons 224s parsing 224s should split the header into separate fields 224s should not split a wrapped header in two 224s should accept any valid header field name 224s should not try to accept colons in header field names 224s should accept any valid header field value 224s should split each field into an name and value 224s should split each field into an name and value - even if whitespace is missing 224s should preserve the order of the fields it is given 224s should allow you to reference each field and value by literal string name 224s should return an array of fields if there is more than one match 224s should return nil if no value in the header 224s should add a new field if the field does not exist 224s should allow you to pass in an array of raw fields 224s should reset the value of a single-only field if it already exists 224s should allow you to delete a field by setting it to nil 224s should delete all matching fields found if there are multiple options 224s should delete only matching fields found 224s should handle an empty X-* header value 224s should accept X- option fields from MS-Exchange 224s should return nil if asked for the value of a non existent field 224s should allow you to replace a from field 224s should maintain the class of the field 224s folding and unfolding 224s should unfold a header 224s should preserve whitespace when unfolding a header 224s should handle a crazy long folded header 224s should convert all lonesome LFs to CRLF 224s should convert all lonesome LFs to CRLF in UTF-8 too 224s should convert all lonesome CRs to CRLF 224s error handling 224s should collect up any of its fields' errors 224s handling date fields with multiple values 224s should know which fields can only appear once 224s should know which fields can only appear once 224s should enforce appear-once rule even with mass assigned header 224s should add additional fields that can appear more than once 224s should delete all references to a field 224s handling trace fields 224s should instantiate one trace field object per header 224s should add a new received header after the other received headers if they exist 224s encoding 224s should output a parsed version of itself to US-ASCII on encoded and tidy up and sort correctly 224s should not blow up on encoding mismatches 224s detecting required fields 224s should not say it has a message id if it doesn't 224s should say it has a message id if it does 224s should not say it has a date if it doesn't 224s should say it has a date id if it does 224s should not say it has a mime-version if it doesn't 224s should say it has a date id if it does 224s mime version handling 224s should return the mime version of the email 224s should return nil if no mime-version header field 224s should return the transfer-encoding of the email 224s should return nil if no transfer-encoding header field 224s should return the content-description of the email 224s should return nil if no content-description header field 224s configuration option .maximum_amount 224s should be 1000 by default 224s should limit amount of parsed headers 224s 224s mail 224s should be able to be instantiated 224s should be able to make a new email 224s should accept headers and body 224s should read a file 224s 224s Mail::Message 224s initialization 224s should instantiate empty 224s should return a basic email 224s should instantiate with a string 224s should allow us to pass it a block 224s should yield self if the given block takes any args 224s should initialize a body and header class even if called with nothing to begin with 224s should not report basic emails as bounced 224s should be able to parse a basic email 224s should be able to parse a basic email with linefeeds 224s should be able to parse an email with @ in display name 224s should be able to parse an email with only blank lines as body 224s should be able to parse an email with a funky date header 224s should be able to invoke subject on a funky subject header 224s should use default charset 224s should be able to parse an email missing an encoding 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_content_disposition.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_content_location.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_message_rfc822.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_nonascii_filename.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_only_email.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_pdf.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_pdf_lf.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_with_base64_encoded_name.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_with_encoded_name.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_with_quoted_filename.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/attachment_emails/attachment_with_unquoted_name.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/bad_date_header.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/bad_date_header2.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/bad_encoded_subject.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/bad_subject.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/cant_parse_from.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/content_transfer_encoding_7-bit.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/content_transfer_encoding_empty.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/content_transfer_encoding_plain.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/content_transfer_encoding_qp_with_space.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/content_transfer_encoding_spam.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/content_transfer_encoding_text-html.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/content_transfer_encoding_with_8bits.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/content_transfer_encoding_with_semi_colon.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/content_transfer_encoding_x_uuencode.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/empty_group_lists.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/empty_in_reply_to.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/encoding_madness.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/header_fields_with_empty_values.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/invalid_subject_characters.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/missing_body.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/missing_content_disposition.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/multiple_content_types.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/multiple_invalid_content_dispositions.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/multiple_references_with_one_invalid.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/must_supply_encoding.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/new_line_in_to_header.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/trademark_character_in_subject.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/error_emails/weird_to_header.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/email_with_similar_boundaries.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email11.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email12.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email2.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email4.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email7.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email_encoded_stack_level_too_deep.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email_with_binary_encoded.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email_with_illegal_boundary.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email_with_mimepart_without_content_type.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email_with_multipart_mixed_quoted_boundary.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email_with_nested_attachment.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/raw_email_with_quoted_illegal_boundary.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/sig_only_email.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/mime_emails/two_from_in_message.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multi_charset/japanese.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multi_charset/japanese_attachment.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multi_charset/japanese_attachment_long_name.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multi_charset/japanese_iso_2022.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multi_charset/japanese_shift_jis.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multi_charset/ks_c_5601-1987.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multipart_report_emails/multi_address_bounce1.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multipart_report_emails/multi_address_bounce2.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multipart_report_emails/multipart_report_multiple_status.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multipart_report_emails/report_422.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/multipart_report_emails/report_530.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/basic_email.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/basic_email_lf.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/mix_caps_content_type.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email10.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email5.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email6.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email8.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_bad_time.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_double_at_in_header.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_incorrect_header.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_multiple_from.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_quoted_with_0d0a.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_reply.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_simple.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_string_in_date_field.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_trailing_dot.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_with_at_display_name.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_with_bad_date.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/plain_emails/raw_email_with_partially_quoted_subject.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example01.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example02.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example03.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example04.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example05.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example06.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example07.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example08.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example09.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example10.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example11.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example12.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example13.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc2822/example14.eml fixture 224s parses /tmp/autopkgtest.Jg8Hhv/build.qwh/src/spec/fixtures/emails/rfc6532/utf8_headers.eml fixture 224s should be able to parse a large email without raising an exception 224s should not raise a warning on having non US-ASCII characters in the header (should just handle it) 224s should raise a warning (and keep parsing) on having an incorrectly formatted header 224s should read in an email message and basically parse it 224s should not fail parsing message with caps in content_type 224s should be able to pass an empty reply-to header 224s should be able to pass two In-Reply-To headers 224s should be able to pass two References headers 224s YAML serialization 224s should serialize the basic information to YAML 224s should deserialize after serializing 224s should serialize a Message with a custom delivery_handler 224s should load a serialized delivery handler 224s should not deserialize a delivery_handler that does not exist 224s should deserialize parts as an instance of Mail::PartsList 224s should handle multipart mail 224s splitting 224s should split the body from the header 224s should split when the body starts with a space 224s should split if the body starts with an empty line 224s should split if the body starts with a blank line 224s should split after headers that contain "\r\n " 224s should split only once if there are "\r\n\r\n"s in the body 224s should allow headers that end in trailing whitespace 224s envelope line handling 224s should respond to 'envelope from' 224s should strip off the envelope from field if present 224s should strip off the envelope from field if present 224s should not cause any problems if there is no envelope from present 224s should ignore a plain text body that starts with ^From 224s should handle a multipart message that has ^From in it 224s accepting a plain text string email 224s should accept some email text to parse and return an email 224s should set a raw source instance variable to equal the passed in message 224s should set the raw source instance variable to '' if no message is passed in 224s should give the header class the header to parse 224s should give the header class the header to parse even if there is no body 224s should give the body class the body to parse 224s should still ask the body for a new instance even though these is nothing to parse, yet 224s should give the header the part before the line without spaces and the body the part without 224s should allow for whitespace at the start of the email 224s should read in an email message with the word 'From' in it multiple times and parse it 224s should parse non-UTF8 sources 224s should parse sources with charsets that we know but Ruby doesn't 224s should be able to normalize CRLFs on non-UTF8 encodings 224s should be able to normalize CRLFs on non-UTF8 encodings 224s directly setting values of a message 224s accessing fields directly 224s should allow you to grab field objects if you really want to 224s should give you back the fields in the header 224s should delete a field if it is set to nil 224s with :method= 224s should return the to field 224s should return the from field 224s should return the subject 224s should return the body decoded with to_s 224s should return the body encoded if asked for 224s should return the body decoded if asked for 224s with :method(value) 224s should return the to field 224s should return the from field 224s should return the subject 224s should return the body decoded with to_s 224s should return the body encoded if asked for 224s should return the body decoded if asked for 224s setting arbitrary headers 224s should allow you to set them 224s should allow you to read arbitrary headers 224s should instantiate a new Header 224s replacing header values 224s should allow you to replace a from field 224s should maintain the class of the field 224s setting headers 224s should accept them in block form 224s should accept them in assignment form 224s should accept them in key, value form as symbols 224s should accept them in key, value form as strings 224s should accept them as a hash with symbols 224s should accept them as a hash with strings 224s should let you set custom headers with a :headers => {hash} 224s should assign the body to a part on creation 224s should not overwrite bodies on creation 224s should allow you to init on an array of addresses from a hash 224s should allow you to init on an array of addresses directly 224s should allow you to init on an array of addresses directly 224s making a copy of a message with dup 224s its headers should not be changed when you change the headers of the original 224s its headers should be copies of the headers of the original 224s handling missing required fields: 224s every email 224s Message-ID 224s should say if it has a message id 224s should preserve any message id that you pass it if add_message_id is called explicitly 224s should generate a random message ID if nothing is passed to add_message_id 224s should make an email and inject a message ID if none was set if told to_s 224s should add the message id to the message permanently once sent to_s 224s should add a body part if it is missing 224s Date 224s should say if it has a date 224s should preserve any date that you pass it if add_date is called explicitly 224s should generate a current date if nothing is passed to add_date 224s should make an email and inject a date if none was set if told to_s 224s should add the date to the message permanently once sent to_s 224s mime emails 224s rfc2046 can be decoded 224s rfc2046 224s mime-version 224s should say if it has a mime-version 224s should preserve any mime version that you pass it if add_mime_version is called explicitly 224s should generate a mime version if nothing is passed to add_date 224s should make an email and inject a mime_version if none was set if told to_s 224s should add the mime version to the message permanently once sent to_s 224s content type 224s should say if it has a content type 224s should say if it does not have a content type 224s should say if it has a charset 224s should say if it has a charset 224s should not raise a warning if there is no charset defined and only US-ASCII chars 224s should set the content type to text/plain; charset=us-ascii 224s should not set the charset if the file is an attachment 224s should not set the charset if the content_type is not text 224s should raise a warning if there is no content type and there is non ascii chars and default to text/plain, UTF-8 224s should raise a warning if there is no charset parameter and there is non ascii chars and default to text/plain, UTF-8 224s should not raise a warning if there is no charset parameter and the content-type is not text 224s should not raise a warning if there is a charset defined and there is non ascii chars 224s should be able to set a content type with an array and hash 224s should be able to set a content type with an array and hash with a non-usascii field 224s should allow us to specify a content type in a block 224s charset 225s should return a default value for multipart mails 225s charset= 225s should not add an empty charset header 225s should remove the charset header 225s convert_to_multipart 225s original content headers move to the new part 225s content-transfer-encoding 225s should use 7bit for only US-ASCII chars 225s should use QP transfer encoding for 7bit text with lines longer than 998 octets 225s should use QP transfer encoding for 8bit text with only a few 8bit characters 225s should use QP transfer encoding for 8bit text attachment with only a few 8bit characters 225s should use base64 transfer encoding for 8-bit text with lots of 8bit characters 225s should use 8bit transfer encoding when 8bit is forced 225s output 225s should make an email and allow you to call :to_s on it to get a string 225s should raise an error and message if you try and call decoded on a multipart email 225s should return the decoded body if you call decode and the message is not multipart 225s decoding bodies 225s should not change a body on decode if not given an encoding type to decode 225s should change a body on decode if given an encoding type to decode 225s should change a body on decode if given an encoding type to decode 225s should not strip the raw mail source in case the trailing \r\n is meaningful 225s text messages 225s should be decoded using content type charset 225s should respond true to text? 225s inspect_structure should return the same as inspect (no attachments) 225s uses the Utilities charset encoder 225s helper methods 225s should implement the spaceship operator on the date field 225s should have a destinations method 225s should have a from_addrs method 225s should have a from_addrs method that is empty if nil 225s should have a to_addrs method 225s should have a to_addrs method that is empty if nil 225s should have a cc_addrs method 225s should have a cc_addrs method that is empty if nil 225s should have a bcc_addrs method 225s should have a bcc_addrs method that is empty if nil 225s should give destinations even if some of the fields are blank 225s should be able to encode with only one destination 225s == 225s should be implemented 225s should ignore the message id value if both have a nil message id 225s should ignore the message id value if self has a nil message id 225s should ignore the message id value if other has a nil message id 225s should not be == if both emails have different Message IDs 225s nested parts 225s adds a new text part when assigning the body on an already-multipart message 225s should provide a way to instantiate a new part as you go down 225s deliver 225s should return self after delivery 225s should pass self to a delivery agent 225s should inform observers that the mail was sent 225s should allow observers to be unregistered 225s should inform observers that the mail was sent, even if a delivery agent is used 225s should pass to the interceptor the email just before it gets sent 225s should let the interceptor that the mail was sent 225s should allow interceptors to be unregistered 225s error handling 225s should collect up any of its fields' errors 225s header case should be preserved 225s should handle mail[] and keep the header case 225s parsing emails with non usascii in the header 225s should work 225s adding parts should preserve the charset of the mail 225s when UTF-8 vs UTF-8 225s when UTF-8 vs ISO-8859-1 225s when UTF-8 vs nil 225s when ISO-8859-1 vs UTF-8 225s when ISO-8859-1 vs ISO-8859-1 225s when ISO-8859-1 vs nil 225s when nil vs UTF-8 225s when nil vs ISO-8859-1 225s when nil vs nil 225s ordering messages 225s should put all attachments as the last item 225s should allow overwriting sort order 225s attachment query methods 225s shouldn't die with an invalid Content-Disposition header 225s shouldn't die with an invalid Content-Type header 225s without_attachments! 225s should delete all attachments 225s replying 225s to a basic message 225s should create a new message 225s should be in-reply-to the original message 225s should reference the original message 225s should Re: the original subject 225s should be sent to the original sender 225s should be sent from the original recipient 225s should accept args 225s should accept a block 225s to a message with an explicit reply-to address 225s should be sent to the reply-to address 225s to a message with more than one recipient 225s should be sent from the first to address 225s to a reply 225s should be in-reply-to the original message 225s should append to the original's references list 225s should not append another Re: 225s to a reply with an in-reply-to with a single message id but no references header 225s should have a references consisting of the in-reply-to and message_id fields 225s to a reply with an in-reply-to with multiple message ids but no references header 225s should have no references header 225s SMTP envelope From 225s should respond 225s should default to return_path, sender, or first from address 225s can be overridden 225s SMTP envelope To 225s should respond 225s should default to destinations 225s can be overridden 225s 225s MIME Emails 225s general helper methods 225s should read a mime version from an email 225s should return nil if the email has no mime version 225s should read the content-transfer-encoding 225s should read the content-description 225s should return the content-type 225s should return the charset 225s should allow you to set the charset 225s should return the main content-type 225s should return the sub content-type 225s should return the content-type parameters 225s should recognize a non multipart email 225s should not report the email as :attachment? 225s should recognize an attachment part 225s should give how may (top level) parts there are 225s should report the mail :has_attachments? 225s should only split on exact boundary matches 225s a multipart email (raw_email7.eml) 225s should recognize a multipart email 225s inspect_structure should return what is expected 225s attachment_only_email.eml 225s should report the email as :attachment? 225s inspect_structure should return what is expected 225s a multipart/alternative mail (raw_email11.eml) 225s should give the content_type of each part 225s inspect_structure should return what is expected 225s multipart emails 225s should add a boundary if there is none defined and a part is added 225s should not add a boundary for a message that is only an attachment 225s multipart/alternative emails 225s should know what its boundary is if it is a multipart document 225s should return nil if there is no content-type defined 225s should assign the text part and allow you to reference 225s should convert strings assigned to the text part into Mail::Part objects with sensible defaults 225s should not assign a nil text part 225s should assign the html part and allow you to reference 225s should convert strings assigned to the html part into Mail::Part objects with sensible defaults 225s should not assign a nil html part 225s should set default content type on assigned text and html parts 225s should set default content type on declared text and html parts 225s should not override content type 225s should add the html part and text part 225s should remove the html part and back out of multipart/alternative if set to nil 225s should remove the text part and back out of multipart/alternative if set to nil 225s should set the content type to multipart/alternative if you assign html and text parts 225s should set the content type to multipart/alternative if you declare html and text parts 225s should not set the content type to multipart/alternative if you declare an html part but not a text part 225s should not set the content type to multipart/alternative if you declare a text part but not an html part 225s should add the end boundary tag 225s should not put message-ids into parts 225s should create a multipart/alternative email through a block 225s should detect an html_part in an existing email 225s should detect a text_part in an existing email with plain text attachment 225s should detect an html_part in a multi level mime email 225s should only the first part on a stupidly overly complex email 225s finding attachments 225s should return an array of attachments 225s should return an array of attachments 225s should find binary encoded attachments of type .gif 225s should find binary encoded attachments of type .jpg 225s should find binary encoded attachments of type .pdf 225s should find binary encoded attachments of type .png 225s should find binary encoded attachments of type .tiff 225s should find binary encoded attachments of type .zip 225s adding a file attachment 225s should set to multipart/mixed if a text part and you add an attachment 225s should set to multipart/mixed if you add an attachment and then a text part 225s should add a part given a filename 225s should give the part the right content type 225s should return attachment objects 225s should be return an aray of attachments 225s should return the filename of each attachment 225s should return the type/subtype of each attachment 225s should return the content of each attachment 225s should allow you to send in file data instead of having to read it 225s should support :mime_type option 225s should be able to add a body before adding a file 225s should allow you to add a body as text part if you have added a file 225s should allow you to add a body as text part if you have added a file and not truncate after newlines - issue 208 225s should not raise a warning if there is a charset defined and there are non ascii chars in the body 225s 225s Mail::Multibyte::Chars 225s should upcase 225s should downcase 225s doesn't mutate input string encoding 225s 225s multipart/report emails 225s should know if it is a multipart report type 225s delivery-status reports 225s should know if it is a deliver-status report 225s should find its message/delivery-status part 225s should handle a report that has a human readable message/delivery-status 225s delivery-status part in a non report email 225s does not return a delivery_status_part 225s multipart reports with more than one address 225s should not crash 225s should not know that a multi address email was bounced 225s temporary failure 225s should be bounced 225s should say action 'delayed' 225s should give a final recipient 225s should give an error code 225s should give a diagostic code 225s should give a remote-mta 225s should be retryable 225s permanent failure 225s should be bounced 225s should say action 'failed' 225s should give a final recipient 225s should give an error code 225s should give a diagostic code 225s should give a remote-mta 225s should be retryable 225s 225s exim delivery agent 225s should send an email using exim 225s should still send an email if the settings have been set to nil 225s should escape evil haxxor attemptes 225s should raise an error if no sender is defined 225s should raise an error if no recipient if defined 225s return path 225s should send an email with a return-path using exim 225s should use the sender address is no return path is specified 225s should use the from address is no return path or sender are specified 225s should escape the return path address 225s should not escape ~ in return path address 225s 225s SMTP Delivery Method 225s general usage 225s should send an email to a file 225s should send multiple emails to multiple files 225s should only create files based on the addr_spec of the destination 225s should use the base name of the file name to prevent file system traversal 225s should not raise errors if no sender is defined 225s should raise an error if no recipient if defined 225s 225s Logger Delivery Method 225s sends an email to $stdout with 'info' severity by default 225s can be configured with a custom logger and severity 225s sender and recipient validation 225s should not raise errors if no sender is defined 225s should raise an error if no recipient if defined 225s 225s Mail::Sendmail 225s sends an email using sendmail 225s spawns a sendmail process 225s still sends an email if the arguments setting have been set to nil 225s escapes evil haxxor attempts 225s raises on nonzero exitstatus 225s raises an error if no sender is defined 225s raises an error if no recipient is defined 225s allows for legacy callers with :arguments strings 225s SMTP From 225s explicitly passes an envelope From address to sendmail 225s escapes the From address 225s does not escape ~ in From address 225s SMTP To 225s explicitly passes envelope To addresses to sendmail 225s escapes the To address 225s does not escape ~ in To address 225s quotes the destinations to ensure leading -hyphen doesn't confuse sendmail 225s 225s SMTP Delivery Method 225s should not dot-stuff unterminated last line with no leading dot 225s should not dot-stuff newline-terminated last line 225s should send an email using open SMTP connection 225s should be able to return actual SMTP protocol response 225s should not raise errors if no sender is defined 225s should raise an error if no recipient if defined 225s 225s SMTP Delivery Method 225s general usage 225s should send emails from given settings 225s should be able to send itself 225s should be able to return actual SMTP protocol response 225s enabling tls 225s should use OpenSSL::SSL::VERIFY_NONE if a context 225s should ignore OpenSSL::SSL::VERIFY_NONE if it is 0 225s enabling ssl 225s should use OpenSSL::SSL::VERIFY_NONE if a context 225s should ignore OpenSSL::SSL::VERIFY_NONE if it is 0 225s should not set verify mode when none is given 225s should set verify mode if one is given 225s enabling STARTTLS 225s should default to automatically detecting STARTTLS 225s should allow forcing STARTTLS 225s should allow disabling automatic STARTTLS 225s should allow forcing STARTTLS auto 225s should allow disabling automatic STARTTLS auto 225s SMTP Envelope 225s uses the envelope From and To addresses 225s supports the null sender in the envelope from address 225s should raise an error if there is no envelope From address 225s should raise an error if no recipient if defined 225s should raise on SMTP injection via MAIL FROM newlines 225s should raise on SMTP injection via RCPT TO newlines 225s should raise on SMTP injection via MAIL FROM overflow 225s should raise on SMTP injection via RCPT TO overflow 225s 225s Mail::TestMailer 225s should have no deliveries when first initiated 225s should deliver an email to the Mail::TestMailer.deliveries array 225s should clear the deliveries when told to 225s should not raise errors if no sender is defined 225s should raise an error if no recipient if defined 225s should save settings passed to initialize 225s 225s IMAP Retriever 225s find with and without block 225s should find all emails with a given block 225s should get all emails without a given block 225s should get all emails and yield the imap, uid, and email when given a block of arity 3 225s should get all emails and yield the imap, uid, flag, and email when given a block of arity 4 225s find and options 225s should work with a frozen hash argument 225s should handle the :count option 225s should handle the :what option 225s should handle the :order option 225s should handle the :mailbox option 225s should handle the :uid option 225s should find the last 10 messages by default 225s should search the mailbox 'INBOX' by default 225s should handle the delete_after_find_option 225s should handle the find_and_delete method 225s should pass :search_charset to IMAP uid_search 225s last 225s should find the last received messages 225s should find the last received message 225s first 225s should find the first received messages 225s should find the first received message 225s all 225s should find all messages 225s delete_all 225s should delete all messages 225s connection 225s should raise an Error if no block is given 225s should yield the connection object to the given block 225s handling of options 225s should set default options 225s should not replace given configuration 225s should ensure utf7 conversion for mailbox names 225s error handling 225s should finish the IMAP connection if an exception is raised 225s STARTTLS 225s calls starttls to upgrade 225s conflicts with enable_ssl 225s authentication mechanism 225s should be login by default 225s should be changeable 225s 225s POP3 Retriever 225s find with and without block 225s should find all emails with a given block 225s should get all emails without a given block 225s find and options 225s should work with a frozen hash argument 225s should handle the :count option 225s should handle the :what option 225s should handle the :order option 225s should find the last 10 messages by default 225s should handle the delete_after_find option 225s should handle the find_and_delete method 225s last 225s should find the last received messages 225s should find the last received message 225s first 225s should find the first received messages 225s should find the first received message 225s all 225s should find all messages 225s delete_all 225s should delete all mesages 225s connection 225s should raise an Error if no block is given 225s should yield the connection object to the given block 225s handling of options 225s should set default options 225s should not replace given configuration 225s error handling 225s should finish the POP3 connection is an exception is raised 225s read_timeout option 225s should override the POP3 default read_timeout 225s 225s Test Retriever 225s should have no emails initially 225s all 225s should return all emails without a block 225s should return all emails with a block 225s find 225s should work with frozen hash arguments 225s should handle the :count option 225s should handle the :order option 225s should handle the :what option 225s should handle the both of :what and :order option with :count => 1 225s should handle the :delete_after_find option 225s should handle the both of :delete_after_find and :count option 225s should handle the :delete_after_find option with messages marked not for delete 225s 225s Mail 225s default delivery and retriever methods 225s should set the delivery method 225s should default to settings for smtp 225s should set the retriever method 225s should default to settings for pop3 225s should allow us to overwrite anything we need on SMTP 225s should allow us to overwrite anything we need on POP3 225s should allow you to pass in your own delivery method 225s should ask the custom delivery agent for its settings 225s should allow you to pass in your own retriever method 225s should ask the custom retriever agent for its settings 225s instance delivery methods 225s should copy the defaults defined by Mail.defaults 225s should be able to change the delivery_method 225s should be able to change the delivery_method and pass in settings 225s should not change the default when it changes the delivery_method 225s should not change the default settings when it changes the delivery_method settings 225s retrieving emails via POP3 225s should retrieve all emails via POP3 225s sending emails via SMTP 225s should deliver a mail message 225s should deliver itself 225s deliveries 225s adding to Mail.deliveries 225s should add itself to the deliveries collection on mail on delivery 225s perform_deliveries 225s should call deliver! on the delivery method by default 225s should not call deliver if perform deliveries is set to false 225s should add to the deliveries array if perform_deliveries is true 225s should not add to the deliveries array if perform_deliveries is false 225s observers 225s should tell its observers that it was told to deliver an email 225s should tell its observers that it was told to deliver an email even if perform_deliveries is false 225s should tell its observers that it was told to deliver an email even if it is using a delivery_handler 225s raise_delivery_errors 225s should pass on delivery errors if raised 225s should not pass on delivery errors if raised raise_delivery_errors is set to false 225s should pass through Exceptions even when raise_delivery_errors is set to false 225s delivery_handler 225s should allow you to hand off performing the actual delivery to another object 225s mail should be told to :deliver once and then :deliver! once by the delivery handler 225s mail only call its delivery_method once 225s mail should not catch any exceptions when using a delivery_handler 225s mail should not modify the Mail.deliveries object if using a delivery_handler that does not append to deliveries 225s should be able to just yield and let mail do its thing 225s 225s AddressListsParser 225s should parse an address 225s should parse an address list separated by semicolons 225s parsing an address with a space at the end 225s only finds a single address 225s parsing an address which begins with a comment 225s extracts local string correctly 225s RFC6532 UTF-8 headers 225s extracts UTF-8 local string 225s should parse an address 225s 225s ContentTransferEncodingParser 225s should work 225s trailing semi colons 225s should parse 225s should parse with pre white space 225s should parse with trailing white space 225s should parse with pre and trailing white space 225s x-token values 225s should work 225s wild content-transfer-encoding 225s should parse 7bits variant 225s should parse 8bits variant 225s should parse 7-bit variant 225s should parse 8-bit variant 225s 225s Mail::Part 225s should not add a default Content-ID 225s should not add a default Content-ID to non-inline attachments 225s should add a default Content-ID to inline attachments 225s should not add a Date, MIME-Version, or Message-ID 225s should preserve any content id that you put into it 225s should return an inline content_id 225s should URL escape its inline content_id 225s should add a content_id if there is none and is asked for an inline_content_id 225s should respond correctly to inline? 225s handles un-parsable content_disposition headers 225s should correctly parse plain text raw source and not truncate after newlines - issue 208 225s parts that have a missing header 225s should not try to init a header if there is none 225s delivery status reports 225s should know if it is a delivery-status report 225s should create a delivery_status_data header object 225s should be bounced 225s should say action 'delayed' 225s should give a final recipient 225s should give an error code 225s should give a diagostic code 225s should give a remote-mta 225s should be retryable 225s on a part without a certain field 225s returns nil 225s negotiating transfer encoding 225s doesn't override part encoding when it's compatible with message 225s retains specified encoding even though it isn't lowest cost 225s 225s PartsList 225s should return itself on sort 225s should not fail if we do not have a content_type 225s should not fail if we do not have a content_type 225s should not fail on empty PartsList 225s should sort attachments to end 225s should have a parts reader 225s should behave like an array 225s is equal to itself 225s is equal to its parts array 225s can be mixed with an array 225s should respond to Array methods 225s should have a round-tripping YAML serialization 225s 225s Round Tripping 225s should round trip a basic email 225s should round trip a html multipart email 225s should round trip an email 225s preserves text attachment newlines 225s 225s Utilities Module 225s token safe 225s checking 225s should return true if a string is token safe 225s should return false if a string is token safe 225s should work with mb_chars 225s quoting 225s should return true if a string is token safe 225s should return false if a string is token safe 225s should work with mb_chars 225s atom safe 225s checking 225s should return true if a string is token safe 225s should return false if a string is token safe 225s should work with mb_chars 225s quoting 225s should return true if a string is token safe 225s should return false if a string is token safe 225s should work with mb_chars 225s should quote mb_chars white space 225s quoting phrases 225s doesn't mutate original string 225s given a non-unsafe string 225s should not change the encoding 225s given an unsafe string 225s should not change the encoding 225s escaping parenthesies 225s should escape parens 225s should not double escape parens 225s should escape all parens 225s unescaping parenthesis 225s should work 225s should work without parens 225s should work using Multibyte.mb_chars 225s should work without parens using Multibyte.mb_chars 225s unescaping brackets 225s should work 225s should work without brackets 225s should work using Multibyte.mb_chars 225s should work without parens using Multibyte.mb_chars 225s quoting phrases 225s should quote a phrase if it is unsafe 225s should properly quote a string, even if quoted but not escaped properly 225s should quote correctly a phrase with an escaped quote in it 225s should quote correctly a phrase with an escaped backslash followed by an escaped quote in it 225s unquoting phrases 225s should remove quotes from the edge 225s should remove backslash escaping from quotes 225s should remove backslash escaping from any char 225s should be able to handle unquoted strings 225s should preserve backslashes in unquoted strings 225s should be able to handle unquoted quotes 225s unescaping phrases 225s should not modify a string with no backslashes 225s should not modify a quoted string with no backslashes 225s should remove backslash escaping from a string 225s should remove backslash escaping from a quoted string 225s parenthesizing phrases 225s should parenthesize a phrase 225s should properly parenthesize a string, and escape properly 225s should properly parenthesize a string, and escape properly (other way) 225s should properly parenthesize a string, even if parenthesized but not escaped properly 225s should properly parenthesize a string, even if parenthesized but not escaped properly (other way) 225s should parenthesize correctly a phrase with an escaped parentheses in it 225s should parenthesize correctly a phrase with an escaped parentheses in it (other way) 225s should parenthesize correctly a phrase with an escaped backslash followed by an escaped parentheses in it 225s should parenthesize correctly a phrase with an escaped backslash followed by an escaped parentheses in it (other way) 225s should parenthesize correctly a phrase with a set of parentheses 225s bracketizing phrases 225s should bracketize a phrase 225s should properly bracketize a string, and escape properly 225s should properly bracketize a string, and escape properly (other way) 225s should properly bracketize a string, even if bracketized but not escaped properly 225s should properly bracketize a string, even if bracketized but not escaped properly (other way) 225s should bracketize correctly a phrase with an escaped brackets in it 225s should bracketize correctly a phrase with an escaped brackets in it (other way) 225s should bracketize correctly a phrase with an escaped backslash followed by an escaped brackets in it 225s should bracketize correctly a phrase with an escaped backslash followed by an escaped brackets in it (other way) 225s should bracketize correctly a phrase with a set of brackets 225s url escaping 225s should have a wrapper on URI.escape 225s should have a wrapper on URI.unescape 225s blank method 225s should say nil is blank 225s should say false is blank 225s should say true is not blank 225s should say an empty array is blank 225s should say an empty hash is blank 225s should say an empty string is blank 225s not blank method 225s should say a number is not blank 225s should say a valueless hash is not blank 225s should say a hash containing an empty hash is not blank 225s to_lf 225s converts single CR 225s converts multiple CR 225s converts single CRLF 225s converts multiple CRLF 225s leaves LF intact 225s converts mixed line endings 225s should handle japanese characters 225s on NilClass 225s returns an empty string 225s on String subclasses 225s returns Strings 225s to_crlf 225s converts single LF 225s converts multiple LF 225s converts single CR 225s preserves single CRLF 225s preserves multiple CRLF 225s converts mixed line endings 225s should handle japanese characters 225s on NilClass 225s returns an empty string 225s on String subclasses 225s returns Strings 225s .decode_base64 225s handles unpadded base64 correctly 225s 225s Mail::YAML 225s #load 225s loads YAML 225s 225s have_sent_email 225s without any modifiers 225s when no e-mail has been sent 225s is expected not to send a matching email 225s when e-mail has been sent 225s is expected to send a matching email 225s with #from 225s and a matching sender 225s is expected to send a matching email 225s and a non-matching sender 225s is expected not to send a matching email 225s with #to 225s and a matching recipient 225s is expected to send a matching email 225s is expected to send a matching email 225s is expected to send a matching email 225s is expected to send a matching email 225s and a non-matching recipient 225s is expected not to send a matching email 225s with #cc 225s and a matching recipient 225s is expected to send a matching email 225s is expected to send a matching email 225s is expected to send a matching email 225s is expected to send a matching email 225s and a non-matching recipient 225s is expected not to send a matching email 225s with #bcc 225s and a matching recipient 225s is expected to send a matching email 225s is expected to send a matching email 225s is expected to send a matching email 225s is expected to send a matching email 225s and a non-matching recipient 225s is expected not to send a matching email 225s with #subject 225s and a matching subject 225s is expected to send a matching email 225s and a non-matching subject 225s is expected not to send a matching email 225s is expected not to send a matching email 225s is expected not to send a matching email 225s with #subject_matching 225s and a matching subject 225s is expected to send a matching email 225s and a non-matching subject 225s is expected not to send a matching email 225s with #with_body 225s and a matching body 225s is expected to send a matching email 225s and a non-matching body 225s is expected not to send a matching email 225s is expected not to send a matching email 225s is expected not to send a matching email 225s with #with_attachments 225s and matching attachments 225s matching by filename 225s is expected to send a matching email 225s matching by mimetype 225s is expected to send a matching email 225s single attachment passed 225s is expected to send a matching email 225s array of attachments passed 225s is expected to send a matching email 225s any_attachment passed 225s is expected to send a matching email 225s chaining attachment matching 225s is expected to send a matching email 225s ce matching 225s is expected to send a matching email 225s attachment order is important 225s is expected to send a matching email 225s is expected not to send a matching email 225s and non-matching attachments 225s is expected not to send a matching email 225s is expected not to send a matching email 225s and any attachments 225s is expected to send a matching email 225s and no attachments 225s is expected to send a matching email 225s with #matching_body 225s and a matching body 225s is expected to send a matching email 225s and a non-matching body 225s is expected not to send a matching email 225s with a huge chain of modifiers 225s is expected to send a matching email 225s with html-mail 225s when html-mail has been sent 225s with #html_part 225s and a matching html_part.body 225s is expected to send a matching email 225s and a non-matching html_part.body 225s is expected not to send a matching email 225s with #text_part 225s and a matching text_part.body 225s is expected to send a matching email 225s and a non-matching text_part.body 225s is expected not to send a matching email 225s 225s Pending: (Failures listed here are expected and do not affect your suite's status) 225s 225s 1) Mail::AddressList parsing should handle malformed folding whitespace 225s # No reason given 225s Failure/Error: a = Mail::AddressList.new(parse_text) 225s 225s Mail::Field::IncompleteParseError: 225s Mail::AddressList can not parse |leads@sg.dc.com, 225s sag@leads.gs.ry.com, 225s sn@example-hotmail.com, 225s e-s-a-g-8718@app.ar.com, 225s jp@t-exmaple.com, 225s 225s cc@c-l-example.com|: Only able to parse up to "leads@sg.dc.com," 225s # ./spec/mail/elements/address_list_spec.rb:75:in `new' 225s # ./spec/mail/elements/address_list_spec.rb:75:in `block (3 levels) in ' 225s 225s 2) Mail::Encodings decoding a string and detecting the encoding type should handle a very long string efficiently 225s # fails randomly 225s # ./spec/mail/encodings_spec.rb:530 225s 225s 3) Test emails from RFC2822 should handle the rfc obsolete whitespace email 225s # No reason given 225s Failure/Error: expect(mail.from).to eq 'John Doe ' 225s 225s expected: "John Doe " 225s got: ["jdoe@machine. example"] 225s 225s (compared using ==) 225s # ./spec/mail/example_emails_spec.rb:241:in `block (3 levels) in ' 225s 225s 4) Mail::SenderField initialization should reject headers with multiple mailboxes 225s # Sender accepts an address list now, but should only accept a single address 225s Failure/Error: 225s expect { 225s Mail::SenderField.new('Mikel Lindsaar , "Bob Smith" ') 225s }.to raise_error(Mail::Field::ParseError) 225s 225s expected Mail::Field::ParseError but nothing was raised 225s # ./spec/mail/fields/sender_field_spec.rb:24:in `block (3 levels) in ' 225s 225s Finished in 2.17 seconds (files took 0.84713 seconds to load) 225s 1826 examples, 0 failures, 4 pending 225s 225s mv ./.gem2deb.lib lib 226s autopkgtest [00:09:35]: test gem2deb-test-runner: -----------------------] 227s gem2deb-test-runner PASS 227s autopkgtest [00:09:36]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 228s autopkgtest [00:09:37]: @@@@@@@@@@@@@@@@@@@@ summary 228s gem2deb-test-runner PASS 240s Creating nova instance adt-noble-arm64-ruby-mail-20240308-000549-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240307.img (UUID 00fdfee3-5cf8-4806-8086-451645753def)...