Project

General

Profile

Actions

action #102008

closed

[sle][migration][SLE15SP4][feature] trace the feature of Update nodejs-common for SLE15 SP4

Added by zoecao over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
New test
Target version:
-
Start date:
2021-11-08
Due date:
% Done:

100%

Estimated time:
16.00 h
Difficulty:

Description

This ticket is to trace and automate the feature of Update nodejs-common for SLE15 SP4:
https://jira.suse.com/browse/SLE-21783

Actions #1

Updated by okurz over 2 years ago

  • Category set to New test
Actions #2

Updated by leli over 2 years ago

  • Priority changed from Normal to High
Actions #3

Updated by leli over 2 years ago

  • Estimated time set to 12.00 h
Actions #4

Updated by zoecao over 2 years ago

  • Status changed from New to Blocked
  • % Done changed from 0 to 20

I tested this feature today, the feature is not ready right now.
From the description: "Nodejs16 will be released at end of October and will be included in SP3 and also ship in SP4". So when the feature is ready, on both of SP3 and SP4, the the latest version of nodejs should be nodejs16. But on both of SLES15SP3 and SLES15SP4, the nodejs16 is not released:
SLES15SP3:

localhost:~ # zypper se nodejs
Refreshing service 'Basesystem_Module_15_SP3_x86_64'.
Refreshing service 'Desktop_Applications_Module_15_SP3_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP3_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP3_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP3_x86_64'.
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
----------------------------------------------------------+----------
nodejs-common Common files for the NodeJS ecosystem package
nodejs-default Default version of nodejs package
nodejs-devel-default Headers for default version of nodejs package
nodejs12 Evented I/O for V8 JavaScript package
nodejs12 Evented I/O for V8 JavaScript srcpackage
nodejs12-devel Development headers for NodeJS 12.x package
nodejs12-docs Node.js API documentation package
nodejs14 Evented I/O for V8 JavaScript package
nodejs14 Evented I/O for V8 JavaScript srcpackage
nodejs14-devel Development headers for NodeJS 14.x package
nodejs14-docs Node.js API documentation package

SLES15SP4 build63.1:

zypper se nodejs
Refreshing service 'Basesystem_Module_15_SP4_x86_64'.
Refreshing service 'Desktop_Applications_Module_15_SP4_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP4_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP4_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP4_x86_64'.
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
----------------------------------------------------------+-------
nodejs-common Common files for the NodeJS ecosystem package
nodejs-default Default version of nodejs package
nodejs-devel-default Headers for default version of nodejs package
nodejs12 Evented I/O for V8 JavaScript package
nodejs12-devel Development headers for NodeJS 12.x package
nodejs12-docs Node.js API documentation package
nodejs14 Evented I/O for V8 JavaScript package
nodejs14-devel Development headers for NodeJS 14.x package
nodejs14-docs Node.js API documentation package
I have update the test result to the jira feature:
https://jira.suse.com/browse/SLE-21783

Actions #5

Updated by okurz over 2 years ago

This ticket was set to "High" priority but was not updated within the SLO period for "High" tickets (30 days) as described on https://progress.opensuse.org/projects/openqatests/wiki/Wiki#SLOs-service-level-objectives. Please consider picking up this ticket within the next 30 days or just set the ticket to the next lower priority of "Normal" (SLO: updated within 365 days).

Actions #6

Updated by zoecao over 2 years ago

The feature is still not ready.

Actions #7

Updated by zoecao over 2 years ago

On SLES15SP4 Build81.1, the checking result:

zypper se nodejs

Refreshing service 'Basesystem_Module_15_SP4_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP4_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP4_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP4_x86_64'.
Loading repository data...
Reading installed packages...

S Name Summary Type
nodejs-common Common files for the NodeJS ecosystem package
nodejs-default Default version of nodejs package
nodejs-devel-default Headers for default version of nodejs package
nodejs14 Evented I/O for V8 JavaScript package
nodejs14-devel Development headers for NodeJS 14.x package
nodejs14-docs Node.js API documentation package
Actions #8

Updated by zoecao over 2 years ago

  • Status changed from Blocked to In Progress
Actions #9

Updated by zoecao about 2 years ago

Test this feature again because I saw the package nodejs-common was listed in the checking list when maintenance team made presentation.

  1. setup a test environment, fresh install SLES15SP3 + base system module + server application module + web scripting module
  2. fullly patched the OS
  3. check the package of nodejs-common by: localhost:~ # zypper se nodejs Refreshing service 'Basesystem_Module_15_SP3_x86_64'. Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP3_x86_64'. Refreshing service 'Server_Applications_Module_15_SP3_x86_64'. Refreshing service 'Web_and_Scripting_Module_15_SP3_x86_64'. Loading repository data... Reading installed packages...
S Name Summary Type
nodejs-common Common files for the NodeJS ecosystem package
nodejs-default Default version of nodejs package
nodejs-devel-default Headers for default version of nodejs package
nodejs12 Evented I/O for V8 JavaScript package
nodejs12 Evented I/O for V8 JavaScript srcpackage
nodejs12-devel Development headers for NodeJS 12.x package
nodejs12-docs Node.js API documentation package
nodejs14 Evented I/O for V8 JavaScript package
nodejs14 Evented I/O for V8 JavaScript srcpackage
nodejs14-devel Development headers for NodeJS 14.x package
nodejs14-docs Node.js API documentation package
nodejs16 Evented I/O for V8 JavaScript srcpackage
nodejs16 Evented I/O for V8 JavaScript package
nodejs16-devel Development headers for NodeJS 16.x package
nodejs16-docs Node.js API documentation package

For an extended search including not yet activated remote resources you may run 'zypper
search-packages' at any time.
Do you want to run 'zypper search-packages' now? yes/no/always/never: never

Option '[search] runSearchPackages = never' saved in '/root/.zypper.conf'.

localhost:~ # zypper in nodejs16
Refreshing service 'Basesystem_Module_15_SP3_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP3_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP3_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP3_x86_64'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following recommended package was automatically selected:
npm16

The following 5 NEW packages are going to be installed:
libicu69 libicu69-ledata nodejs16 nodejs-common npm16

5 new packages to install.
Overall download size: 18.5 MiB. Already cached: 0 B. After the operation, additional 72.0 MiB will be used.
Continue? y/n/v/...? shows all options: n
localhost:~ # zypper in nodejs-common
Refreshing service 'Basesystem_Module_15_SP3_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP3_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP3_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP3_x86_64'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following recommended package was automatically selected:
npm16

The following 5 NEW packages are going to be installed:
libicu69 libicu69-ledata nodejs16 nodejs-common npm16

5 new packages to install.
Overall download size: 18.5 MiB. Already cached: 0 B. After the operation, additional 72.0 MiB will be used.
Continue? y/n/v/...? shows all options:

No problem with the package version.

  1. Perform migration to SLES15SP4, and check the package version: localhost:~ # zypper se nodejs Refreshing service 'Basesystem_Module_15_SP4_x86_64'. Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP4_x86_64'. Refreshing service 'Server_Applications_Module_15_SP4_x86_64'. Refreshing service 'Web_and_Scripting_Module_15_SP4_x86_64'. Loading repository data... Reading installed packages...
S Name Summary Type
i+ nodejs-common Common files for the NodeJS ecosystem package
nodejs-default Default version of nodejs package
nodejs-devel-default Headers for default version of nodejs package
i nodejs14 Evented I/O for V8 JavaScript package
nodejs14-devel Development headers for NodeJS 14.x package
nodejs14-docs Node.js API documentation package

The feature is not ready on SLES15SP4.

Actions #10

Updated by zoecao about 2 years ago

  • Status changed from In Progress to Blocked
  • % Done changed from 20 to 40

Updated the test result to the feature:
https://jira.suse.com/browse/SLE-21783

Actions #11

Updated by zoecao about 2 years ago

  • Status changed from Blocked to In Progress
  • % Done changed from 40 to 60

Manually tested the feature, the feature is done, and I updated the status and test results to the jira, will automate it in our openqa cases.
https://jira.suse.com/browse/SLE-21783

On SLES15SP3:

localhost:~ # zypper se nodejs
Refreshing service 'Basesystem_Module_15_SP3_x86_64'.
Refreshing service 'Desktop_Applications_Module_15_SP3_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP3_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP3_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP3_x86_64'.
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
----------------------------------------------------------+----------
| nodejs-common | Common files for the NodeJS ecosystem | package
| nodejs-default | Default version of nodejs | package
| nodejs-devel-default | Headers for default version of nodejs | package
| nodejs12 | Evented I/O for V8 JavaScript | package
| nodejs12 | Evented I/O for V8 JavaScript | srcpackage
| nodejs12-devel | Development headers for NodeJS 12.x | package
| nodejs12-docs | Node.js API documentation | package
| nodejs14 | Evented I/O for V8 JavaScript | package
| nodejs14 | Evented I/O for V8 JavaScript | srcpackage
| nodejs14-devel | Development headers for NodeJS 14.x | package
| nodejs14-docs | Node.js API documentation | package
| nodejs16 | Evented I/O for V8 JavaScript | srcpackage
| nodejs16 | Evented I/O for V8 JavaScript | package
| nodejs16-devel | Development headers for NodeJS 16.x | package
| nodejs16-docs | Node.js API documentation | package

localhost:~ # zypper in nodejs-common
Refreshing service 'Basesystem_Module_15_SP3_x86_64'.
Refreshing service 'Desktop_Applications_Module_15_SP3_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP3_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP3_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP3_x86_64'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following recommended package was automatically selected:
npm16

The following 5 NEW packages are going to be installed:
libicu69 libicu69-ledata nodejs16 nodejs-common npm16

5 new packages to install.
Overall download size: 18.5 MiB. Already cached: 0 B. After the operation, additional 72.0 MiB will be used.
Continue? [y/n/v/...? shows all options] : y
Retrieving package libicu69-ledata-69.1-7.3.2.noarch (1/5), 6.7 MiB ( 27.3 MiB unpacked)
Retrieving: libicu69-ledata-69.1-7.3.2.noarch.rpm ........................................................[done (796.0 KiB/s)]
Retrieving package libicu69-69.1-7.3.2.x86_64 (2/5), 1.7 MiB ( 5.3 MiB unpacked)
Retrieving: libicu69-69.1-7.3.2.x86_64.rpm ...............................................................[done (512.0 KiB/s)]
Retrieving package nodejs-common-4.0-1.9.x86_64 (3/5), 12.6 KiB ( 21.7 KiB unpacked)
Retrieving: nodejs-common-4.0-1.9.x86_64.rpm ...........................................................................[done]
Retrieving package nodejs16-16.13.2-150300.7.3.1.x86_64 (4/5), 8.5 MiB ( 31.7 MiB unpacked)
Retrieving: nodejs16-16.13.2-150300.7.3.1.x86_64.rpm .....................................................[done (780.8 KiB/s)]
Retrieving package npm16-16.13.2-150300.7.3.1.x86_64 (5/5), 1.6 MiB ( 7.7 MiB unpacked)
Retrieving: npm16-16.13.2-150300.7.3.1.x86_64.rpm ........................................................[done (576.0 KiB/s)]

Checking for file conflicts: ...........................................................................................done Installing: libicu69-ledata-69.1-7.3.2.noarch ....................................................................done Installing: libicu69-69.1-7.3.2.x86_64 ...........................................................................done Installing: nodejs-common-4.0-1.9.x86_64 .........................................................................[done]
update-alternatives: using /usr/bin/node16 to provide /usr/bin/node-default (node-default) in auto mode
(4/5) Installing: nodejs16-16.13.2-150300.7.3.1.x86_64 .................................................................[done]
update-alternatives: using /usr/bin/npm16 to provide /usr/bin/npm-default (npm-default) in auto mode
update-alternatives: using /usr/bin/npx16 to provide /usr/bin/npx-default (npx-default) in auto mode
(5/5) Installing: npm16-16.13.2-150300.7.3.1.x86_64 ....................................................................[done]

Then I migrate the OS to SLES15SP4 Beta3, and checked the version of nodejs as below:

localhost:~ # zypper se -s nodejs
Refreshing service 'Basesystem_Module_15_SP4_x86_64'.
Refreshing service 'Desktop_Applications_Module_15_SP4_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP4_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP4_x86_64'.
Refreshing service 'Web_and_Scripting_Module_15_SP4_x86_64'.
Loading repository data...
Reading installed packages...

S | Name | Type | Version | Arch | Repository
------------------------------------------------------+-----------------------------------
i+ | nodejs-common | package | 5.0-150400.1.1 | x86_64 | SLE-Module-Web-Scripting15-SP4-Pool
| nodejs-default | package | 5.0-150400.1.1 | x86_64 | SLE-Module-Web-Scripting15-SP4-Pool
| nodejs-devel-default | package | 5.0-150400.1.1 | x86_64 | SLE-Module-Web-Scripting15-SP4-Pool
i | nodejs16 | package | 16.13.2-150400.11.2 | x86_64 | SLE-Module-Web-Scripting15-SP4-Pool
| nodejs16-devel | package | 16.13.2-150400.11.2 | x86_64 | SLE-Module-Web-Scripting15-SP4-Pool
| nodejs16-docs | package | 16.13.2-150400.11.2 | noarch | SLE-Module-Web-Scripting15-SP4-Pool

Note: For an extended search including not yet activated remote resources please use 'zypper
search-packages'.
Actions #12

Updated by zoecao about 2 years ago

For the feature automation:
Created a branch:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/compare/master...chcao:check_nodejs?expand=1
VR:
Created job #8351028: sle-15-SP4-Migration-from-SLE15-SPx-x86_64-Build108.1-online_sles15sp3_pscc_basesys-srv_def_full_y@64bit -> http://openqa.nue.suse.com/t8351028
Created job #8351071: sle-15-SP4-Migration-from-SLE15-SPx-x86_64-Build113.1-offline_sles15sp2_ltss_media_basesys-srv-desk_all_full@64bit -> http://openqa.nue.suse.com/t8351071
Created job #8351074: sle-15-SP4-Migration-from-SLE12-SPx-x86_64-Build113.1-offline_sles12sp5_pscc_pcm-contm_def_full_GM@64bit -> http://openqa.nue.suse.com/t8351074

Actions #18

Updated by leli about 2 years ago

  • Estimated time changed from 12.00 h to 16.00 h

The automation of this feature need more time.

Actions #19

Updated by zoecao about 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 60 to 100

PR is merged, close here.

Actions

Also available in: Atom PDF