Pharo test defects

Package: Stargate (ba-st/Stargate, row 81)

State
Fixed (package repair)
Defect in
see the record
Tests
0
Fix
ba-st-stargate.st, ba-st-dependencies-teapot.patch
Upstream repository
ba-st/Stargate

The record is the text of the repair. The Results table is the last run of the row.

Record

Test

Load the package into a Pharo 14 image (build 791) with the load expression of the test run, file in the fixes file of the row if there is one, and run the test classes of the package.

"row 81"
Metacello new baseline: 'Stargate'; repository: 'github://ba-st/Stargate:release-candidate/source'; onConflict: [:e | e useIncoming]; load: #('CI').

Results

Last result of the package run (stock Cog and iospharo on the same image).

RowLabelLoadStock Cogiospharo VM
81ba-st-stargateoktests=520 P=520 F=0 E=0 S=0 T=0 X=0tests=520 P=520 F=0 E=0 S=0 T=0 X=0

Fix

Fixes file (filed in after the load): ba-st-stargate.st (download)
"Stargate (ba-st/Stargate, release-candidate), Pharo 14: PharoOperatingSystemInformationProvider
(package Stargate-Application-Info-Pharo) sends Smalltalk os three times and Smalltalk os
environment once.  Pharo 14 has both in the package Deprecated14: SmalltalkImage>>os
('Use OSPlatform current instead') and OSPlatform>>environment ('Use OSEnvironment current
instead').  Each call signals a Deprecation in the tests of Stargate-Application-Info-Tests
(ApplicationInfoRESTfulControllerTest, ApplicationInfoPluginAPITest and the tests that read the
info of the 'os' provider).  The Launchpad row (fixes/ba-st-launchpad.st) had the same kind of
deprecated call of OSPlatform>>environment reach a test.  The four methods answer through
OSPlatform current and OSEnvironment current, which is what the deprecated messages answer.
The same change belongs in Stargate."

fix value: #PharoOperatingSystemInformationProvider value: #environmentInfo
	value: [ :source | source includesSubstring: 'Smalltalk os' ]
	value:
'environmentInfo

	^ OSEnvironment current asDictionary'.

fix value: #PharoOperatingSystemInformationProvider value: #operatingSystemDetails
	value: [ :source | source includesSubstring: 'Smalltalk os' ]
	value:
'operatingSystemDetails

	| details |

	details := OrderedDictionary new.
	OSPlatform current isUnix then: [ self includeLinuxDetailsOn: details ].
	^ details'.

fix value: #PharoOperatingSystemInformationProvider value: #operatingSystemGeneralInfo
	value: [ :source | source includesSubstring: 'Smalltalk os' ]
	value:
'operatingSystemGeneralInfo

	^ OrderedDictionary new
		at: ''platform'' put: OSPlatform current platformName;
		at: ''version'' put: OSPlatform current version;
		at: ''subtype'' put: OSPlatform current subtype;
		yourself'.
Version locks: ba-st-stargate.txt (download)
# Buoy replaces Symbol>>argumentCount of Pharo 14, and the load stops (docs/upstream/package-repairs.md).
Buoy ba-st-buoy
# The baseline of Teapot v4 has no pharo14.x branch (patches/ba-st-dependencies-teapot.patch).
Teapot ba-st-dependencies-teapot ba-st-dependencies Teapot v4 /source Deployment
# Launchpad needs its Pharo 14 patch (patches/ba-st-launchpad.patch).
Launchpad ba-st-launchpad
Patch of the package source: ba-st-dependencies-teapot.patch (download)
diff --git a/source/BaselineOfTeapot/BaselineOfTeapot.class.st b/source/BaselineOfTeapot/BaselineOfTeapot.class.st
index 51c9925..21e0d17 100644
--- a/source/BaselineOfTeapot/BaselineOfTeapot.class.st
+++ b/source/BaselineOfTeapot/BaselineOfTeapot.class.st
@@ -24,7 +24,7 @@ BaselineOfTeapot >> baseline: spec [
         for: #( #'pharo7.x' #'pharo8.x' #'pharo9.x' )
         do: [ spec package: 'Teapot-Tests' with: [ spec requires: 'Teapot-Core' ] ].
       spec
-        for: #( #'pharo10.x' #'pharo11.x' #'pharo12.x' #'pharo13.x' )
+        for: #( #'pharo10.x' #'pharo11.x' #'pharo12.x' #'pharo13.x' #'pharo14.x' )
         do: [
           spec package: 'Teapot-Tests' with: [ spec requires: #( 'Teapot-Core' 'Zinc-Zodiac' ) ] ].
 

State of 2026-11-20. Made from the test records of the iospharo project (a second Pharo VM). The fixes are proposals for review.