>>> yaml-language-server: Building testing/yaml-language-server 1.19.0-r1 (using abuild 3.15.0-r2) started Tue, 15 Jul 2025 05:50:21 +0000 >>> yaml-language-server: Validating /home/buildozer/aports/testing/yaml-language-server/APKBUILD... >>> yaml-language-server: Analyzing dependencies... >>> yaml-language-server: Installing for build: build-base nodejs yarn esbuild jq ( 1/13) Installing ca-certificates (20241121-r2) ( 2/13) Installing ada-libs (2.9.2-r4) ( 3/13) Installing icu-data-en (76.1-r1) icu-data-en-76.1-r1.post-install: Executing script... icu-data-en-76.1-r1.post-install: * icu-data-en-76.1-r1.post-install: * If you need ICU with non-English locales and legacy charset support, install icu-data-en-76.1-r1.post-install: * package icu-data-full. icu-data-en-76.1-r1.post-install: * ( 4/13) Installing icu-libs (76.1-r1) ( 5/13) Installing simdjson (3.12.0-r0) ( 6/13) Installing simdutf (7.2.1-r0) ( 7/13) Installing sqlite-libs (3.50.2-r0) ( 8/13) Installing nodejs (22.16.0-r2) ( 9/13) Installing yarn (1.22.22-r1) (10/13) Installing esbuild (0.25.5-r1) (11/13) Installing oniguruma (6.9.10-r0) (12/13) Installing jq (1.8.0-r0) (13/13) Installing .makedepends-yaml-language-server (20250715.055024) busybox-1.37.0-r19.trigger: Executing script... ca-certificates-20241121-r2.trigger: Executing script... OK: 478 MiB in 123 packages >>> yaml-language-server: Cleaning up srcdir >>> yaml-language-server: Cleaning up pkgdir >>> yaml-language-server: Cleaning up tmpdir >>> yaml-language-server: Fetching https://distfiles.alpinelinux.org/distfiles/edge/yaml-language-server-1.19.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 263k 100 263k 0 0 2212k 0 --:--:-- --:--:-- --:--:-- 2233k >>> yaml-language-server: Fetching https://distfiles.alpinelinux.org/distfiles/edge/yaml-language-server-1.19.0.tar.gz >>> yaml-language-server: Checking sha512sums... yaml-language-server-1.19.0.tar.gz: OK yaml-language-server: OK b707580afd61837d19fb8f896a9ea4a3c596ad34.patch: OK >>> yaml-language-server: Unpacking /var/cache/distfiles/edge/yaml-language-server-1.19.0.tar.gz... >>> yaml-language-server: b707580afd61837d19fb8f896a9ea4a3c596ad34.patch patching file package.json yarn install v1.22.22 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 7.66s. yarn run v1.22.22 $ tsc -p . Done in 11.99s. dist/server.js 2.3mb ⚠️ ⚡ Done in 227ms yarn run v1.22.22 $ mocha --require ts-node/register --timeout 5000 --ui bdd ./test/*.test.ts Array Utils Tests Server - Array Utils getLineOffsets ✔ No offset ✔ One offset ✔ One offset with \r\n ✔ Multiple offsets removeDuplicatesObj ✔ Remove one duplicate with property ✔ Does not remove anything unneccessary AST Utils Tests Get Parent Node ✔ get key parent ✔ get value parent ✔ get root map parent ✔ get array parent ✔ get pair parent Is Offset in comment ✔ should detect that offset in comment ✔ should detect that comment inside object Auto Completion Tests YAML Completion Tests ✔ Object in array with 4 space indentation check JSON Schema Tests ✔ Autocomplete on root without word ✔ Autocomplete on root with partial word ✔ Autocomplete on default value (without :) ✔ Autocomplete on default value (without value content) ✔ Autocomplete on default value with \" ✔ Autocomplete name and value with \" ✔ Autocomplete on default value (with value content) ✔ Autocomplete on default value (with value content contains dash) ✔ Autocomplete on boolean value (without value content) ✔ Autocomplete on boolean value with key of `null` ✔ Autocomplete on boolean value (with value content) ✔ Autocomplete on number value (without value content) ✔ Autocomplete on number value (with value content) ✔ Autocomplete key in middle of file ✔ Autocomplete key with default value in middle of file ✔ Autocomplete without default value - not required ✔ Autocomplete without default value - required ✔ Autocomplete second key in middle of file ✔ Autocomplete does not happen right after key object ✔ Autocomplete does not happen right after : under an object ✔ Autocomplete with defaultSnippet markdown ✔ Autocomplete on multi yaml documents in a single file on root ✔ Autocomplete on multi yaml documents in a single file on scalar ✔ Autocompletion has no results on value when they are not available ✔ Test that properties that have multiple types get auto completed properly ✔ Test that properties that have multiple enums get auto completed properly ✔ Insert required attributes at correct level ✔ Insert required attributes at correct level even on first element ✔ Provide the 3 types when none provided ✔ Provide the 2 types when one is provided ✔ Provide the 2 types when one is provided and the second is typed ✔ Provide no completion when maxProperties reached ✔ Autocompletion should escape @ ✔ Autocompletion should escape colon when indicating map ✔ Autocompletion should not escape colon when no white-space following ✔ Autocompletion should not escape colon when no key part present Conditional Schema ✔ should suggest "then" block if "if" match filePatternAssociation Array Specific Tests ✔ Should insert empty array item ✔ Array autocomplete without word and extra space ✔ Array autocomplete without word and autocompletion beside - ✔ Array autocomplete without word on space before array symbol ✔ Array autocomplete on empty node with array from schema ✔ Array autocomplete with letter ✔ Array autocomplete without word (second item) ✔ Array autocomplete with letter (second item) ✔ Autocompletion after array ✔ Autocompletion after array with depth - no indent ✔ Autocompletion after array with depth - indent ✔ Array of enum autocomplete without word on array symbol ✔ Array of enum autocomplete without word ✔ Array of enum autocomplete with letter ✔ Array of objects autocomplete with 4 space indentation check ✔ Array of const autocomplete ✔ Array of objects autocomplete with 2 space indentation check ✔ Array of objects autocomplete with 3 space indentation check Map const in the next line ✔ Next line const with : - Next line const no : ✔ Next line const with |- ✔ Next line const with : but array level completion ✔ Next line const with : & |- but array level completion JSON Schema 7 Specific Tests ✔ Autocomplete works with examples ✔ Autocomplete works with const ✔ Autocomplete should suggest prop with const value ✔ Should insert quotation value if there is special char Indentation Specific Tests ✔ Indent should be considered with position relative to slash ✔ Large indent should be considered with position relative to slash ✔ Tab indent should be considered with position relative to slash Yaml schema defined in file ✔ Provide completion from schema declared in file ✔ Provide completion from schema declared in file with several attributes ✔ Provide completion from schema declared in file with several documents ✔ should handle absolute path ✔ should handle relative path ✔ should provide modeline completion on first character with no schema associated and no modeline yet ✔ should not provide modeline completion on first character when schema is associated ✔ should not provide modeline completion on first character when modeline already present ✔ should provide schema id completion in modeline ✔ should provide schema id completion in modeline for any line Configuration based indentation ✔ 4 space indentation Bug fixes ✔ Object in array completion indetetion ✔ Object completion ✔ Complex default object completion ✔ should handle array schema without items ✔ auto completion based on the list indentation ✔ should complete string which contains number in default value ✔ should complete string which contains number in examples values ✔ should provide label as string for examples completion item ✔ should provide completion for flow map ✔ should provide completion for "null" enum value ✔ should provide completion for empty file ✔ should not provide additional ":" on existing property completion ✔ should not provide additional ":" on existing property completion when try to complete partial property ✔ should use markdownDescription for property completion ✔ should follow $ref in additionalItems ✔ should follow $ref in additionalItems: extra space after cursor ✔ should follow $ref in additionalItems for flow style array ✔ completion should handle bad schema (215ms) ✔ should convert to string non string completion label Array completion ✔ Simple array object completion with "-" without any item ✔ Simple array object completion without "-" after array item ✔ Simple array object completion with "-" after array item ✔ Array anyOf two objects completion with "- " without any item ✔ Array anyOf two objects completion with "-" without any item ✔ Simple array object completion without "-" befor array empty item ✔ Array anyOf two objects completion without "-" after array item ✔ Array nested anyOf without "-" should return all array items ✔ Array anyOf two objects completion with "-" after array item ✔ Array anyOf two objects completion indentation ✔ Autocomplete key in nested object while typing Parent Completion ✔ Should suggest all possible option in oneOf when content empty ✔ Should suggest complete object skeleton ✔ Should suggest complete object skeleton - array ✔ Should not agregate suggested text from different schemas ✔ Should suggest rest of the parent object ✔ Should reindex $x ✔ Should function when settings are undefined Select parent skeleton first ✔ Should suggest complete object skeleton ✔ Should suggest complete object skeleton - nested ✔ Should suggest complete object skeleton - array ✔ Should suggest rest of the parent object ✔ Should suggest all feature when user is typing ✔ Should suggest all properties in empty yaml with now required props Auto Completion Fix Tests ✔ should show completion on map under array ✔ completion with array objects ✔ should show completion on array empty array item ✔ should show completion items in the middle of map in array (862ms) ✔ should show completion on array item on first line (297ms) ✔ should complete without error on map inside array (234ms) ✔ should complete array ✔ should complete array item for "oneOf" schema ✔ Autocomplete with short nextLine - nested object ✔ Should suggest valid matches from oneOf ✔ Should suggest all the matches from allOf ✔ Autocomplete with a new line inside the object ✔ Autocomplete on the first array item ✔ Array of enum autocomplete of irregular order ✔ Test that properties have enum of string type with number ✔ Autocomplete indent on array when parent is array ✔ Autocomplete indent on array object when parent is array ✔ Autocomplete indent on array object when parent is array of an array ✔ should suggest from additionalProperties ✔ should suggest defaultSnippets from additionalProperties ✔ should suggest property of unknown object ✔ should not suggest propertyNames with doNotSuggest ✔ should suggest enum based on type ✔ should suggest quotes with escapeChars array indent on different index position ✔ array indent on the first item ✔ array indent on the second item merge properties from anyOf objects ✔ should merge different simple values ✔ should autocomplete as single item with same value ✔ should not merge objects ✔ Autocomplete should not suggest items for parent object ✔ autoCompletion when value is null inside anyOf object ✔ should take all sub-schemas when value has not been set (cursor in the middle of the empty space) ✔ should take only null sub-schema when value is "null" ✔ should take only one sub-schema because first sub-schema does not match ✔ should match only second sub-schema because the first one does not match ✔ should suggest from all sub-schemas even if nodes properties match better other schema ✔ should suggest both sub-schemas for anyof array extra space after cursor ✔ simple const ✔ partial key with trailing spaces ✔ partial key with trailing spaces with new line ✔ partial key with leading and trailing spaces ✔ partial key with trailing spaces with special chars inside the array ✔ object - 2nd nested property ✔ array - 2nd nested property ✔ array completion - should suggest correct indent when extra spaces after cursor ✔ array of arrays completion - should suggest correct indent when extra spaces after cursor ✔ object of array of arrays completion - should suggest correct indent when extra spaces after cursor partial value with trailing spaces ✔ partial value with trailing spaces ✔ partial value with trailing spaces with new line ✔ partial value with leading and trailing spaces ✔ partial value with trailing spaces with special chars inside the array array object item ✔ 1st item ✔ next item should suggest prop of the object (based on not completed prop name) ✔ nested object ✔ root object should suggest property before indented comment ✔ completion should handle indented comment on new line ✔ completion should handle comment at same indent level on new line ✔ completion should handle suggestion without comment on next line Bundle l10n Test l10n bundle test ✔ check french locale ✔ un configured locale should return in english Schema Errors Code Action Tests Convert value code action tests ✔ Should provide convert to boolean action for false ✔ Should provide convert to boolean action for true Custom Tag tests Tests Test that validation does not throw errors ✔ Custom Tags without type not specified ✔ Custom Tags with one type ✔ Custom Tags with multiple types ✔ Allow multiple different custom tag types with different use ✔ Allow multiple different custom tag types with multiple different uses Test that validation does throw errors ✔ Error when custom tag is not available Default Snippet Tests Snippet Tests (node:13857) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) (node:13857) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit ✔ Snippet in array schema should autocomplete with - ✔ Snippet in array schema should autocomplete with - if none is present ✔ Snippet in array schema should autocomplete on same line as array ✔ Snippet in array schema should autocomplete correctly on array level ✔ Snippet in array schema should suggest nothing inside array item if YAML already contains all props ✔ Snippet in array schema should suggest only some of the props inside an array item if YAML already contains some of the props ✔ Snippet in anyOf array schema should autocomplete correctly with "-" symbol ✔ Snippet custom suggestionKind ✔ Snippet custom sort ✔ Snippet in object schema should autocomplete on next line ✔ Snippet in object schema should autocomplete on next line with depth ✔ Snippet in object schema should suggest some of the snippet props because some of them are already in the YAML ✔ Snippet in object schema should not suggest snippet props because all of them are already in the YAML ✔ Snippet in object schema should autocomplete on same line ✔ Snippet in object schema should not autocomplete on children ✔ Snippet in string schema should autocomplete on same line ✔ Snippet in boolean schema should autocomplete on same line ✔ Snippet in longSnipet schema should autocomplete on same line ✔ Snippet in short snippet schema should autocomplete on same line ✔ Test array of arrays on properties completion ✔ Test array of arrays on value completion ✔ Test array of arrays on indented completion ✔ Test array of strings ✔ Test array nested object indented completion ✔ Test snippet in array indented completion ✔ Test array of objects extra new line ✔ Test string with boolean in string should insert string ✔ Test string with boolean NOT in string should insert boolean ✔ should preserve space after ":" with prefix ✔ should preserve space after ":" ✔ should add space before value on root node DocumentPositionCalculator Tests binarySearch ✔ Binary Search where we are looking for element to the left of center ✔ Binary Search where we are looking for element to the right of center ✔ Binary Search found at first check ✔ Binary Search item not found getLineStartPositions ✔ getLineStartPositions with windows newline ✔ getLineStartPositions with normal newline getPosition ✔ getPosition ✔ getPosition when not found Document Symbols Tests Document Symbols Tests (Non Hierarchical) ✔ Document is empty ✔ Simple document symbols ✔ Document Symbols with number ✔ Document Symbols with boolean ✔ Document Symbols with object ✔ Document Symbols with null ✔ Document Symbols with array of strings ✔ Document Symbols with array ✔ Document Symbols with object and array ✔ Document Symbols with multi documents ✔ Document symbols with a limit Document Symbols Tests (Hierarchical) ✔ Document is empty ✔ Simple document symbols ✔ Document Symbols with number ✔ Document Symbols with boolean ✔ Document Symbols with object ✔ Document Symbols with null ✔ Document Symbols with array of strings ✔ Document Symbols with array ✔ Document Symbols with object and array ✔ Document Symbols with multi documents ✔ Document Symbols with complex mapping and aliases ✔ Document symbols with a limit ✔ Document Symbols with numbers as keys ✔ Document Symbols with mapping as keys Find Links Tests Jump to definition ✔ Find source definition Bug fixes ✔ should work with flow map Flow style rewriter ✔ should return null if node is not flow style ✔ should rewrite flow style map to block ✔ should rewrite flow style map and preserve space ✔ should rewrite flow style map with null ✔ should rewrite flow style map with explicit entry ✔ should rewrite flow style sequence ✔ should rewrite flow style for mixed sequence and map ✔ should rewrite flow style when parent is sequence Formatter Tests Formatter Test that formatter works with custom tags { edits: [ { range: [Object], newText: 'cwd: test\n' } ] } ✔ Formatting works without custom tags (41ms) ✔ Formatting works with custom tags ✔ Formatting wraps text ✔ Formatting handles trailing commas (enabled) ✔ Formatting handles trailing commas (disabled) ✔ Formatting uses tabSize ✔ Formatting uses tabWidth ✔ Formatting uses tabWidth over tabSize Hover Tests Hover ✔ Hover on key on root ✔ Hover on value on root ✔ Hover on key with depth ✔ Hover on value with depth ✔ Hover works on both root node and child nodes works ✔ Hover does not show results when there isnt description field ✔ Hover on first document in multi document ✔ Hover on second document in multi document ✔ Hover should not return anything on key ✔ Hover should not return anything on value ✔ Hover works on array nodes ✔ Hover works on additional array nodes ✔ Hover works on oneOf reference array nodes ✔ Hover on refs node ✔ Hover on null property ✔ hover on value and its description has multiline, indentation and special string ✔ Hover displays enum descriptions if present ✔ Hover displays unique enum values ✔ Hover displays unique enum values with prroper description (1st case) ✔ Hover displays unique enum values with prroper description (2nd case) ✔ Hover displays unique enum values with prroper description (3rd case) ✔ Hover works on examples ✔ Hover on property next value on null ✔ should work with bad schema (154ms) Hover on anyOf ✔ should show all matched schemas in anyOf ✔ should show the parent description in anyOf (no child descriptions) ✔ should concat parent and child descriptions in anyOf Bug fixes ✔ should convert binary data correctly Kubernetes Integration Tests Yaml Validation with kubernetes Test that validation does not throw errors ✔ Basic test (286ms) ✔ Basic test on nodes with children (50ms) ✔ Advanced test on nodes with children (42ms) ✔ Type string validates under children (70ms) Type tests ✔ Type String does not error on valid node ✔ Type Boolean does not error on valid node ✔ Type Number does not error on valid node ✔ Type Object does not error on valid node ✔ Type Array does not error on valid node (43ms) yamlCompletion with kubernetes doComplete ✔ Autocomplete on default value (with value content) (50ms) ✔ Autocomplete on boolean value (without value content) (50ms) ✔ Autocomplete on boolean value (with value content) (55ms) ✔ Autocomplete key in middle of file (55ms) ✔ Autocomplete key in middle of file 2 (61ms) yamlHover with kubernetes ✔ Hover on incomplete kubernetes document (57ms) JSON Parser ✔ Invalid body ✔ Trailing Whitespace ✔ No content ✔ Objects ✔ Arrays ✔ Strings ✔ Numbers ✔ Comments ✔ Simple AST ✔ Nested AST ✔ Nested AST in Array ✔ Multiline ✔ Expand errors to entire tokens ✔ Errors at the end of the file ✔ Getting keys out of an object ✔ Missing colon ✔ Missing comma ✔ Validate types ✔ Required properties ✔ Arrays ✔ Strings ✔ Numbers ✔ getNodeFromOffset ✔ Duplicate keys ✔ allOf ✔ anyOf ✔ oneOf ✔ not ✔ if/then/else ✔ nested if/then/else ✔ minProperties ✔ maxProperties ✔ patternProperties ✔ additionalProperties ✔ enum ✔ const ✔ oneOf const ✔ propertyNames ✔ uniqueItems ✔ containsItem ✔ items as array ✔ additionalItems ✔ multipleOf ✔ multipleOfFloat ✔ dependencies with array ✔ dependencies with schema ✔ type as array ✔ deprecated ✔ Strings with spaces ✔ Schema information on node ✔ parse with comments ✔ parse with comments collected ✔ validate alternatives ✔ validate alternatives 2 ✔ enum value merge ✔ value matches more than one schema in oneOf ✔ validate API Multiple Documents Validation Tests Multiple Documents Validation ✔ Should validate multiple documents (847ms) ✔ Should find errors in both documents (689ms) ✔ Should find errors in first document (697ms) ✔ Should find errors in second document (684ms) ✔ Should hover in first document (698ms) Object Equals Tests Equals ✔ Both are null ✔ One is null the other is true ✔ One is string the other is boolean ✔ One is not object ✔ One is array the other is not ✔ Both are arrays of different length ✔ Both are arrays of same elements but in different order ✔ Arrays that are equal ✔ Objects that are equal ✔ Objects that have same keys but different values ✔ Objects that have different keys Telemetry message conversion test ✔ null values should not cause problems ✔ should convert errors with stack correctly ✔ should convert errors with no stack correctly File path tests Recognises not relative paths ✔ Rejects "/file.json" ✔ Rejects "/absolutepath/file.json." ✔ Rejects "/notrelativepath/file.json" ✔ Rejects "C:/notrelativepath/file.json" ✔ Rejects "directory.json/" ✔ Rejects "dir/subdir/" Recognises and correctly resolves relative paths Relative path = "file.json" ✔ Recognises relative path ✔ Resolves relative path in single-root workspace ✔ Resolves relative path in multi-root workspace ✔ Resolves relative path in multi-root nested workspace Relative path = "file.long.extension.json" ✔ Recognises relative path ✔ Resolves relative path in single-root workspace ✔ Resolves relative path in multi-root workspace ✔ Resolves relative path in multi-root nested workspace Relative path = "file.json" ✔ Recognises relative path ✔ Resolves relative path in single-root workspace ✔ Resolves relative path in multi-root workspace ✔ Resolves relative path in multi-root nested workspace Relative path = "folder/file.json" ✔ Recognises relative path ✔ Resolves relative path in single-root workspace ✔ Resolves relative path in multi-root workspace ✔ Resolves relative path in multi-root nested workspace Relative path = "long/path/to/file.json" ✔ Recognises relative path ✔ Resolves relative path in single-root workspace ✔ Resolves relative path in multi-root workspace ✔ Resolves relative path in multi-root nested workspace Relative path = "../file.json" ✔ Recognises relative path ✔ Resolves relative path in single-root workspace ✔ Resolves relative path in multi-root workspace ✔ Resolves relative path in multi-root nested workspace Relative path = "file.json" ✔ Recognises relative path ✔ Resolves relative path in single-root workspace ✔ Resolves relative path in multi-root workspace ✔ Resolves relative path in multi-root nested workspace Relative path = "../../relative/path/file.json" ✔ Recognises relative path ✔ Resolves relative path in single-root workspace ✔ Resolves relative path in multi-root workspace ✔ Resolves relative path in multi-root nested workspace Relative path = "../../relative/@path/file.json" ✔ Recognises relative path ✔ Resolves relative path in single-root workspace ✔ Resolves relative path in multi-root workspace ✔ Resolves relative path in multi-root nested workspace Relative path = a workspace folder ✔ Recognises relative path "aFolder/file.json" ✔ Resolves "aFolder/file.json" in single-root workspace ✔ Resolves "folder-2/file.json" in multi-root workspace ✔ Resolves "carrots/file.json" in multi-root nested workspace ✔ Resolves "test/test.json" in multi-root nested workspace Path with mixed delimiters (Windows only) - Recognises relative path "some/strange\but/functional\path\file.json" - Resolves "some/strange\but/functional\path\file.json" in single-root workspace - Resolves "some/strange\but/functional\path\file.json" in multi-root workspace - Resolves "some/strange\but/functional\path\file.json" in multi-root nested workspace Tests for workspaceFoldersChanged ✔ workspaceFolders are added correctly ✔ workspaceFolders are not added if duplicate uri ✔ workspaceFolders are removed correctly ✔ workspaceFolders empty event does nothing JSON Schema ✔ Resolving $refs ✔ Resolving $refs 2 ✔ Resolving $refs 3 ✔ FileSchema ✔ Array FileSchema ✔ Missing subschema ✔ Preloaded Schema ✔ Schema has url ✔ Null Schema ✔ Schema not found ✔ Schema with non uri registers correctly ✔ Modifying schema ✔ Deleting schema ✔ Deleting schemas ✔ Modifying schema works with kubernetes resolution (262ms) ✔ Deleting schema works with Kubernetes resolution (209ms) ✔ Adding a brand new schema ✔ Deleting an existing schema Test schema priority ✔ Modeline Schema takes precendence over all other schema APIs ✔ Manually setting schema takes precendence over all other lower priority schemas ✔ SchemaAssociation takes precendence over SchemaStore ✔ SchemaStore is highest priority if nothing else is available ✔ Default snippet with description Test getSchemaFromModeline ✔ simple case ✔ with several spaces between # and yaml-language-server ✔ with several spaces between yaml-language-server and : ✔ with several spaces between : and $schema ✔ with several spaces at the end ✔ with several spaces at several places ✔ with several attributes ✔ with tabs Several $schema attributes have been found on the yaml-language-server modeline. The first one will be picked. ✔ with several $schema - pick the first ✔ no schema returned if not yaml-language-server ✔ no schema returned if not $schema Schema Request Handler Tests schemaRequestHandler ✔ Should care Win URI ✔ UNIX URI should works ✔ should handle not valid Windows path Schema Selection Handlers ✔ add handler for "getSchema" and "getAllSchemas" requests ✔ getAllSchemas should return all schemas ✔ getAllSchemas should return all schemas and mark used for current file ✔ getSchemas should return all schemas ✔ getSchemas should handle empty schemas Validation Tests ✔ Nested AnyOf const should correctly evaluate and merge problems ✔ URL-encoded characters in $ref ✔ value should match as per schema const on boolean ✔ draft-04 schema ✔ draft-04 schema with https in metaschema URI Boolean tests ✔ Boolean true test ✔ Basic false test ✔ Test that boolean value without quotations is valid ✔ Test that boolean value in quotations is interpreted as string not boolean ✔ Error on incorrect value type (boolean) ✔ Test that boolean value can be used in enum ✔ Test that boolean value can be used in const String tests ✔ Test that boolean inside of quotations is of type string ✔ Type string validates under children ✔ Type String does not error on valid node ✔ Error on incorrect value type (string) ✔ Test that boolean is invalid when no strings present and schema wants string Pattern tests ✔ Test a valid Unicode pattern ✔ Test an invalid Unicode pattern ✔ Test a valid Unicode patternProperty ✔ Test an invalid Unicode patternProperty Number tests ✔ Type Number does not error on valid node ✔ Error on incorrect value type (number) Null tests ✔ Basic test on nodes with null Object tests ✔ Basic test on nodes with children ✔ Test with multiple nodes with children ✔ Type Object does not error on valid node ✔ Error on incorrect value type (object) Array tests ✔ Type Array does not error on valid node ✔ Error on incorrect value type (array) Anchor tests ✔ Anchor should not error ✔ Anchor with multiple references should not error ✔ Multiple Anchor in array of references should not error ✔ Multiple Anchors being referenced in same level at same time for yaml 1.1 ✔ Multiple Anchors being referenced in same level at same time for yaml generate error for 1.2 ✔ Nested object anchors should expand properly ✔ Anchor reference with a validation error in a sub-object emits the error in the right location ✔ Array Anchor merge Custom tag tests ✔ Custom Tags without type ✔ Custom Tags with type ✔ Include with value should not error ✔ Include without value should error Multiple type tests ✔ Do not error when there are multiple types in schema and theyre valid Invalid YAML errors ✔ Error when theres a finished untyped item ✔ Error when theres no value for a node Test with no schemas ✔ Duplicate properties are reported Test anchors ✔ Test that anchors with a schema do not report Property << is not allowed Test with custom kubernetes schemas ✔ Test that properties that match multiple enums get validated properly Null literals ✔ Test type null is parsed from [NULL] ✔ Test type null is parsed from [Null] ✔ Test type null is parsed from [null] ✔ Test type null is parsed from [~] ✔ Test type null is parsed from [] ✔ Test type null is working correctly in array Multi Document schema validation tests ✔ Document does not error when --- is present with schema ✔ Multi Document does not error when --- is present with schema Schema with title ✔ validator uses schema title instead of url Multiple schema for single file ✔ should add proper source to diagnostic (277ms) ✔ should add proper source to diagnostic in case of drone (1901ms) Conditional Schema ✔ validator use "then" block if "if" valid filePatternAssociation ✔ validator use "then" block if "if" match filePatternAssociation ✔ validator use "then" block if "if" match filePatternAssociation - regexp ✔ validator use "else" block if "if" not match filePatternAssociation Schema with uri-reference ✔ should validate multiple uri-references ✔ should not validate empty uri-reference Multiple similar schemas validation ✔ should distinguish types in error "Incorrect type (Expected "type1 | type2 | type3")" ✔ should combine types in "Incorrect type error" ✔ should combine const value ✔ should distinguish types in error: "Missing property from multiple schemas" Empty document validation ✔ should provide validation for empty document ✔ should provide validation for document which contains only whitespaces Additional properties validation ✔ should allow additional props on object by default Additional properties validation with enabled disableAdditionalProperties ✔ should return additional prop error when there is extra prop ✔ should return additional prop error when there is unknown prop - suggest missing props) ✔ should return error with possible props ✔ should allow additional props on object when additionalProp is true on object Bug fixes ✔ schema should validate additionalProp oneOf (799ms) ✔ schema should validate ipv4 format - Negative Case ✔ schema should validate ipv4 format - Positive Case ✔ schema should validate ipv6 format - Negative Case ✔ schema should validate ipv6 format - Positive Case ✔ should handle not valid schema object ✔ should handle bad schema refs ✔ should not use same AST for completion and validation Enum tests ✔ Enum Validation with invalid enum value ✔ Enum Validation with invalid type ✔ Enum Validation with invalid data ✔ value matches more than one schema in oneOf - but among one is format matches ✔ value matches more than one schema in oneOf Settings Handlers Tests ✔ should not register configuration notification handler if client not supports dynamic handlers ✔ should register configuration notification handler only if client supports dynamic handlers ✔ SettingsHandler should not modify file match patterns Settings for YAML style should ✔ reflect to the settings ✔ reflect default values if no settings given Settings for key ordering should ✔ reflect to the settings ✔ reflect default values if no settings given Settings for file associations should ✔ reflect to settings state ✔ SettingsHandler should match patterns from file associations ✔ SettingsHandler should not match non-yaml files if there is no file assosication Test that schema priorities are available ✔ Schema Settings should have a priority ✔ Schema Associations should have a priority when schema association is an array ✔ Schema Associations should have a priority when schema association is a record Settings fetch ✔ should fetch preferences ✔ should set schemaStoreSettings to empty when schemaStore is disabled ✔ detect indentation settings change String Tests startsWith ✔ String with different lengths ✔ String with same length different first letter ✔ Same string endsWith ✔ String with different lengths ✔ Strings that are the same ✔ Other is smaller then one convertSimple2RegExp ✔ Test of convertRegexString2RegExp ✔ Test of convertGlobalPattern2RegExp safeCreateUnicodeRegExp ✔ should create unicode RegExp for non unicode patterns ✔ should create unicode RegExp for non unicode patterns2 ✔ should create unicode RegExp for non unicode patterns3 ✔ should create unicode RegExp for non unicode patterns4 ✔ should create unicode RegExp for non unicode patterns5 Telemetry Tests Kubernetos schema mapping ✔ should not report if schema is not k8s ✔ should report if schema is k8s TextBuffer ✔ getLineLength should return actual line length ✔ getLineLength should return actual line length, win style ✔ getLineContent should return actual line content ✔ getLineContent should return last line ✔ getLineCharCode should return charCode YAML Documents YAML Documents Cache Tests ✔ should cache parsed document ✔ should re parse document if document changed ✔ should invalidate cache if custom tags provided ✔ should use cache if custom tags are same Single YAML Document Tests ✔ Get node from position: key ✔ Get node from position: value ✔ Get node from position: map ✔ Get node from position: scalar in array ✔ Get node from position: array ✔ Get node from position: map with array ✔ Get node from position: flow map key ✔ Get node from position: flow map value ✔ get pair parent in array ✔ Find closes node: map ✔ Find closes node: array ✔ Find closes node: root map ✔ should parse document when no yamlVersion is provided CodeActions Tests JumpToSchema tests ✔ should not provide any actions if there are no diagnostics ✔ should provide action if diagnostic has uri for schema ✔ should provide multiple action if diagnostic has uri for multiple schemas Convert TAB to Spaces ✔ should add "Convert TAB to Spaces" CodeAction ✔ should support current indentation chars settings ✔ should provide "Convert all Tabs to Spaces" Remove Unused Anchor ✔ should generate proper action ✔ should delete all whitespace after unused anchor Convert to Block Style ✔ should generate action to convert flow map to block map Map Key Order ✔ should generate action to order a map with incorrect key order ✔ should generate action to order nested and block maps ✔ should generate action to order maps with multi-line strings ✔ should generate actions when values are missing ✔ should preserve comments Enum value or property mismatch quick fix ✔ should generate proper action for enum mismatch ✔ should generate proper action for wrong property YAML CodeLens ✔ should provides CodeLens with jumpToSchema command ✔ should place CodeLens at beginning of the file and it has command ✔ should place one CodeLens at beginning of the file for multiple documents ✔ command name should contains schema title ✔ command name should contains schema title and description ✔ should provide lens for oneOf schemas ✔ should provide lens for allOf schemas ✔ should provide lens for anyOf schemas Yaml Commands ✔ should register handler for "JumpToSchema" command ✔ JumpToSchema handler should call "showDocument" ✔ JumpToSchema handler should call "showDocument" with plain win path YAML Definition ✔ should not provide definition for non anchor node ✔ should provide definition for anchor YAML Folding ✔ should return undefined if no document provided ✔ should return empty array for empty document ✔ should provide folding ranges for object ✔ should provide folding ranges for array ✔ should provide folding ranges for multiple documents ✔ should not include comments on folding ranges ✔ should provide folding ranges for multiline string ✔ should provide folding ranges for mapping in array ✔ should provide folding ranges for mapping in mapping ✔ should provide proper folding for map in map with array ✔ should provide proper folding for map in map with array2 ✔ should respect range limits getLanguageService() ✔ successfully creates an instance without optional arguments minimal language service hover happy path ✔ successfully creates an instance without optional arguments YAML On Type Formatter ✔ should react on " " only ✔ should add indentation for mapping ✔ should add indentation for scalar array items ✔ should add indentation for mapping in array ✔ should replace all spaces in newline ✔ should keep all non white spaces characters in newline ✔ should add indentation for multiline string YAML parser YAML parser ✔ parse emtpy text ✔ parse only comment ✔ parse single document with --- at the start of the file ✔ parse multi document with --- at the start of the file ✔ parse single document with directives and line comments ✔ parse 2 documents with directives and line comments ✔ parse single document ✔ parse single document with directives ✔ parse 2 documents ✔ parse 3 documents ✔ parse single document with comment ✔ parse 2 documents with comment ✔ parse 2 documents with comment and a directive ✔ parse document with comment first ✔ parse document with comment first and directive ✔ parse document with comment first, directive, and seperator ✔ parse document with "str" tag from recommended schema ✔ parse document with "int" tag from recommended schema ✔ parse aliases up to a depth ✔ parse aliases up to a depth for multiple objects YAML parser bugs ✔ should work with "Billion Laughs" attack ✔ should work with circular aliases ✔ should not add "undefined" as array item YAML version ✔ should use yaml 1.2 by default ✔ should respect yaml 1.1 YAML Schema ✔ Loading yaml scheme ✔ Error while loading yaml ✔ Error while parsing yaml scheme (node:13857) [BAD_DIRECTIVE] YAMLWarning: Unknown directive %464*&^^&*%@$&^##$ at line 1, column 1: %464*&^^&*%@$&^##$ ^^^^^^^^^^^^^^^^^^ YAML Schema Service Schema for resource ✔ should handle inline schema http url ✔ should handle inline schema https url ✔ should handle url with fragments ✔ should handle url with fragments when root object is schema ✔ should handle file path with fragments ✔ should handle modeline schema comment in the middle of file ✔ should handle modeline schema comment in multiline comments YAML Selection Ranges Tests ✔ selection ranges for mapping ✔ selection ranges for sequence ✔ selection ranges for array of objects ✔ selection ranges for trailing spaces ✔ selection ranges jump for "" '' ✔ selection ranges jump for [] {} ✔ selection ranges for multiple positions ✔ selection ranges for multiple documents YAML Validation Tests TAB Character diagnostics ✔ Should report if TAB character present ✔ Should report one error for TAB character present in a row ✔ Should report one error for TAB`s characters present in the middle of indentation ✔ Should allow proper space indentation followed by tab Unused anchors diagnostics ✔ should report unused anchor ✔ should not report used anchor ✔ should report unused anchors in array Unresolved alias diagnostics ✔ should report unresolved alias YAML styles test ✔ should not report flow style ✔ should report flow style ✔ should report only sequence when flow mapping is allow ✔ should report flow error for empty map & sequence Map keys order Tests ✔ should report key order error ✔ should report key order error for flow style maps ✔ should NOT report any errors 746 passing (11s) 5 pending Done in 32.34s. >>> yaml-language-server: Entering fakeroot... >>> yaml-language-server-doc*: Running split function doc... 'usr/share/licenses' -> '/home/buildozer/aports/testing/yaml-language-server/pkg/yaml-language-server-doc/usr/share/licenses' >>> yaml-language-server-doc*: Preparing subpackage yaml-language-server-doc... >>> yaml-language-server-doc*: Running postcheck for yaml-language-server-doc >>> yaml-language-server*: Running postcheck for yaml-language-server >>> yaml-language-server*: Preparing package yaml-language-server... >>> yaml-language-server-doc*: Tracing dependencies... >>> yaml-language-server-doc*: Package size: 1.1 KB >>> yaml-language-server-doc*: Compressing data... >>> yaml-language-server-doc*: Create checksum... >>> yaml-language-server-doc*: Create yaml-language-server-doc-1.19.0-r1.apk >>> yaml-language-server*: Tracing dependencies... nodejs >>> yaml-language-server*: Package size: 3.6 MB >>> yaml-language-server*: Compressing data... >>> yaml-language-server*: Create checksum... >>> yaml-language-server*: Create yaml-language-server-1.19.0-r1.apk >>> yaml-language-server: Build complete at Tue, 15 Jul 2025 05:51:24 +0000 elapsed time 0h 1m 3s >>> yaml-language-server: Cleaning up srcdir >>> yaml-language-server: Cleaning up pkgdir >>> yaml-language-server: Uninstalling dependencies... ( 1/13) Purging .makedepends-yaml-language-server (20250715.055024) ( 2/13) Purging yarn (1.22.22-r1) ( 3/13) Purging nodejs (22.16.0-r2) ( 4/13) Purging ca-certificates (20241121-r2) ca-certificates-20241121-r2.post-deinstall: Executing script... ( 5/13) Purging esbuild (0.25.5-r1) ( 6/13) Purging jq (1.8.0-r0) ( 7/13) Purging ada-libs (2.9.2-r4) ( 8/13) Purging icu-libs (76.1-r1) ( 9/13) Purging oniguruma (6.9.10-r0) (10/13) Purging simdjson (3.12.0-r0) (11/13) Purging simdutf (7.2.1-r0) (12/13) Purging sqlite-libs (3.50.2-r0) (13/13) Purging icu-data-en (76.1-r1) busybox-1.37.0-r19.trigger: Executing script... OK: 401 MiB in 110 packages >>> yaml-language-server: Updating the testing/x86 repository index... >>> yaml-language-server: Signing the index...