Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dockerfile for ubuntu 22 #1073

Open
wants to merge 5 commits into
base: adb-7.2.0
Choose a base branch
from
Open

Add dockerfile for ubuntu 22 #1073

wants to merge 5 commits into from

Conversation

dkovalev1
Copy link

@dkovalev1 dkovalev1 commented Oct 9, 2024

Add Dockerfile for Ubuntu 22

This patch adds a Dockerfile for Ubuntu 22 and includes some valuable
dependencies in the README.Ubuntu.bash that are beneficial for all users who
build gpdb7 from the source code.

Note that README.Ubuntu.bash will no longer
include sudo commands, as it is now expected to run under sudo, similar to
README.linux.md. This change also allows users to avoid installing sudo before
running README.Ubuntu.bash during the image build.

@RekGRpth

This comment was marked as resolved.

@dkovalev1
Copy link
Author

@dkovalev1, have you considered the option of cherry-picking the commit and making the necessary changes?

I used that commit as a reference

apt install -y rsync iproute2 krb5-kdc krb5-admin-server fakeroot lsof sudo python3.11 python3.11-dev python3-pip openjdk-11-jdk libipc-run-perl;\
pip install --upgrade pip; \
# Install allure-behave for behave tests
pip3 install pytest gsutil behave~=1.2.6 coverage~=4.5 'mock<=5.0.0' allure-behave==2.4.0 psutil; \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

psutil is already installed by the above README.Ubuntu.bash script

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.Ubuntu.bash installs python3-psutil which is for default python 3.10. Here we need 3.11 for tests, so install another one via pip

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need TWO pythons in the image?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idea was to not remove default one from README.Ubuntu.bash. Do you suggest to replace it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will gpdb work only with those packages that are installed by the README.Ubuntu.bash script?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Here are the packages required for the full testing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.Ubuntu.bash installs python3-psutil which is for default python 3.10. Here we need 3.11 for tests, so install another one via pip

pip3 --version
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

@RekGRpth

This comment was marked as resolved.

Copy link

@red1452 red1452 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, you should add info to arenadata/readme.md

arenadata/Dockerfile.ubuntu Outdated Show resolved Hide resolved
@dkovalev1
Copy link
Author

@dkovalev1, have you considered the option of cherry-picking the commit and making the necessary changes?

I used that commit as a reference

I still think that it would have been possible to simply cherry-pick the specified commit and make the changes. That way the changes would have been clear and easier to check.

Perhaps yes, but it's already done in this way.

@dkovalev1
Copy link
Author

I think, you should add info to arenadata/readme.md

Okay, done

arenadata/readme.md Outdated Show resolved Hide resolved
arenadata/readme.md Outdated Show resolved Hide resolved
arenadata/readme.md Outdated Show resolved Hide resolved
red1452
red1452 previously approved these changes Oct 21, 2024
Comment on lines +28 to +31
docker run --name gpdb7_opt_on --rm -it -e TEST_OS=ubuntu \
-e MAKE_TEST_COMMAND="-k PGOPTIONS='-c optimizer=on' installcheck-world" \
--sysctl "kernel.sem=500 1024000 200 4096" gpdb7_u22:latest \
/home/gpadmin/gpdb_src/concourse/scripts/ic_gpdb.bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran this command (on image without segwalrep/max_slot_wal_keep_size test) and got this error:

...
======================================================================
DIFF FILE: ../gpdb_src/src/bin/gpfdist/regress/regression.diffs
----------------------------------------------------------------------

diff -I HINT: -I CONTEXT: -I GP_IGNORE: -U3 /home/gpadmin/gpdb_src/src/bin/gpfdist/regress/expected/gpfdist_ssl.out /home/gpadmin/gpdb_src/src/bin/gpfdist/regress/results/gpfdist_ssl.out
--- /home/gpadmin/gpdb_src/src/bin/gpfdist/regress/expected/gpfdist_ssl.out	2024-10-22 09:23:08.832621335 +0000
+++ /home/gpadmin/gpdb_src/src/bin/gpfdist/regress/results/gpfdist_ssl.out	2024-10-22 09:23:08.834621342 +0000
@@ -70,6 +88,7 @@
 LOCATION ('gpfdists://127.0.0.1:7070/gpfdist_ssl/tbl2.tbl')
 FORMAT 'TEXT' (DELIMITER '|' );
 INSERT INTO tbl SELECT * FROM tbl_on_heap;
+ERROR:  error when connecting to gpfdist https://127.0.0.1:7070/gpfdist_ssl/tbl2.tbl, quit after 11 tries
 SELECT * FROM tbl_on_heap ORDER BY s1;
  s1  |  s2  |   s3   |            dt            | n1 | n2  |   n3   |  n4   |   n5    |   n6    |     n7     
 -----+------+--------+--------------------------+----+-----+--------+-------+---------+---------+------------
@@ -110,13 +129,11 @@
 LOCATION ('gpfdists://127.0.0.1:7070/gpfdist_ssl/tbl2.tbl')
 FORMAT 'TEXT' (DELIMITER '|' );
 INSERT INTO tbl_on_heap2 SELECT * FROM tbl2;
+ERROR:  connection failed dummy_protocol://DUMMY_LOCATION
 SELECT * FROM tbl_on_heap2 ORDER BY s1;
- s1  |  s2  |   s3   |            dt            | n1 | n2  |   n3   |  n4   |   n5    |   n6    |     n7     
------+------+--------+--------------------------+----+-----+--------+-------+---------+---------+------------
- aaa | twoa | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- bbb | twob | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ccc | twoc | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
-(3 rows)
+ s1 | s2 | s3 | dt | n1 | n2 | n3 | n4 | n5 | n6 | n7 
+----+----+----+----+----+----+----+----+----+----+----
+(0 rows)
 
 -- gpfdist_ssl case 3
 -- on same ETL server
@@ -130,23 +147,11 @@
 LOCATION ('gpfdists://127.0.0.1:7070/gpfdist_ssl/tbl1.tbl','gpfdists://127.0.0.1:7070/gpfdist_ssl/tbl2.tbl')
 FORMAT 'TEXT' (DELIMITER '|' );
 INSERT INTO tbl_on_heap SELECT * FROM tbl;
+ERROR:  connection failed dummy_protocol://DUMMY_LOCATION
 SELECT * FROM tbl_on_heap ORDER BY s1;
- s1  |  s2  |   s3   |            dt            | n1 | n2  |   n3   |  n4   |   n5    |   n6    |     n7     
------+------+--------+--------------------------+----+-----+--------+-------+---------+---------+------------
- aaa | twoa | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- aaa | twoa | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- bbb | twob | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- bbb | twob | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ccc | twoc | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ccc | twoc | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ddd | twod | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- eee | twoe | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- fff | twof | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ggg | twog | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- hhh | twoh | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- iii | twoi | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- jjj | twoj | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
-(13 rows)
+ s1 | s2 | s3 | dt | n1 | n2 | n3 | n4 | n5 | n6 | n7 
+----+----+----+----+----+----+----+----+----+----+----
+(0 rows)
 
 -- gpfdist_ssl case 4
 DROP TABLE IF EXISTS tbl_on_heap;
@@ -259,23 +285,18 @@
 
 GP_IGNORE:-- start_ignore
 GP_IGNORE:\! bash change_cert.bash recover_gpdb_root
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
 GP_IGNORE:SET verify_gpfdists_cert=on;
 GP_IGNORE:-- end_ignore
 SELECT * FROM tbl;
- s1  |  s2  |   s3   |            dt            | n1 | n2  |   n3   |  n4   |   n5    |   n6    |     n7     
------+------+--------+--------------------------+----+-----+--------+-------+---------+---------+------------
- aaa | twoa | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- bbb | twob | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ccc | twoc | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ddd | twod | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- eee | twoe | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- fff | twof | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ggg | twog | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- hhh | twoh | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- iii | twoi | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- jjj | twoj | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
-(10 rows)
-
+ERROR:  connection failed dummy_protocol://DUMMY_LOCATION
 GP_IGNORE:-- start_ignore
 GP_IGNORE:SET verify_gpfdists_cert=off;
 GP_IGNORE:WARNING:  verify_gpfdists_cert=off. Greenplum Database will stop validating the gpfdists SSL certificate for connections between segments and gpfdists
@@ -297,23 +318,18 @@
 
 GP_IGNORE:-- start_ignore
 GP_IGNORE:\! bash change_cert.bash recover_gpdb_client
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
 GP_IGNORE:SET verify_gpfdists_cert=on;
 GP_IGNORE:-- end_ignore
 SELECT * FROM tbl;
- s1  |  s2  |   s3   |            dt            | n1 | n2  |   n3   |  n4   |   n5    |   n6    |     n7     
------+------+--------+--------------------------+----+-----+--------+-------+---------+---------+------------
- aaa | twoa | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- bbb | twob | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ccc | twoc | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ddd | twod | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- eee | twoe | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- fff | twof | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ggg | twog | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- hhh | twoh | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- iii | twoi | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- jjj | twoj | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
-(10 rows)
-
+ERROR:  connection failed dummy_protocol://DUMMY_LOCATION
 GP_IGNORE:-- start_ignore
 GP_IGNORE:SET verify_gpfdists_cert=off;
 GP_IGNORE:WARNING:  verify_gpfdists_cert=off. Greenplum Database will stop validating the gpfdists SSL certificate for connections between segments and gpfdists
@@ -373,23 +410,18 @@
 
 GP_IGNORE:-- start_ignore
 GP_IGNORE:\! bash change_cert.bash recover_gpdb_root
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
+GP_IGNORE:client.crt.bak client.key.bak root.crt server.crt server.key
 GP_IGNORE:SET verify_gpfdists_cert=on;
 GP_IGNORE:-- end_ignore
 SELECT * FROM tbl;
- s1  |  s2  |   s3   |            dt            | n1 | n2  |   n3   |  n4   |   n5    |   n6    |     n7     
------+------+--------+--------------------------+----+-----+--------+-------+---------+---------+------------
- aaa | twoa | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- bbb | twob | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ccc | twoc | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ddd | twod | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- eee | twoe | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- fff | twof | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ggg | twog | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- hhh | twoh | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- iii | twoi | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- jjj | twoj | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
-(10 rows)
-
+ERROR:  connection failed dummy_protocol://DUMMY_LOCATION
 GP_IGNORE:-- start_ignore
 GP_IGNORE:SET verify_gpfdists_cert=off;
 GP_IGNORE:WARNING:  verify_gpfdists_cert=off. Greenplum Database will stop validating the gpfdists SSL certificate for connections between segments and gpfdists
@@ -411,23 +443,18 @@
 
 GP_IGNORE:-- start_ignore
 GP_IGNORE:\! bash change_cert.bash recover_gpdb_client
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
+GP_IGNORE:client.crt client.key root.crt server.crt server.key
 GP_IGNORE:SET verify_gpfdists_cert=on;
 GP_IGNORE:-- end_ignore
 SELECT * FROM tbl;
- s1  |  s2  |   s3   |            dt            | n1 | n2  |   n3   |  n4   |   n5    |   n6    |     n7     
------+------+--------+--------------------------+----+-----+--------+-------+---------+---------+------------
- aaa | twoa | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- bbb | twob | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ccc | twoc | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ddd | twod | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- eee | twoe | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- fff | twof | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ggg | twog | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- hhh | twoh | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- iii | twoi | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- jjj | twoj | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
-(10 rows)
-
+ERROR:  connection failed dummy_protocol://DUMMY_LOCATION
 GP_IGNORE:-- start_ignore
 GP_IGNORE:SET verify_gpfdists_cert=off;
 GP_IGNORE:WARNING:  verify_gpfdists_cert=off. Greenplum Database will stop validating the gpfdists SSL certificate for connections between segments and gpfdists
@@ -458,28 +485,15 @@
 GP_IGNORE:(1 row)
 GP_IGNORE:
 GP_IGNORE:select * from gpfdist_ssl_start_ca_verify;
-GP_IGNORE:       x       
-GP_IGNORE:---------------
-GP_IGNORE:  1777 gpfdist
+GP_IGNORE:        x        
+GP_IGNORE:-----------------
+GP_IGNORE:  237779 gpfdist
 GP_IGNORE:(1 row)
 GP_IGNORE:
 GP_IGNORE:SET verify_gpfdists_cert=on; 
 GP_IGNORE:-- end_ignore
 SELECT * FROM tbl;
- s1  |  s2  |   s3   |            dt            | n1 | n2  |   n3   |  n4   |   n5    |   n6    |     n7     
------+------+--------+--------------------------+----+-----+--------+-------+---------+---------+------------
- aaa | twoa | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- bbb | twob | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ccc | twoc | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ddd | twod | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- eee | twoe | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- fff | twof | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- ggg | twog | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- hhh | twoh | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- iii | twoi | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
- jjj | twoj | shpits | Wed Jun 01 12:30:30 2011 | 23 | 732 | 834567 | 45.67 | 789.123 | 7.12345 | 123.456789
-(10 rows)
-
+ERROR:  connection failed dummy_protocol://DUMMY_LOCATION
 GP_IGNORE:-- start_ignore
 GP_IGNORE:SET verify_gpfdists_cert=off;
 GP_IGNORE:WARNING:  verify_gpfdists_cert=off. Greenplum Database will stop validating the gpfdists SSL certificate for connections between segments and gpfdists


======================================================================
DIFF FILE: ../gpdb_src/src/test/isolation2/regression.diffs
----------------------------------------------------------------------

diff -I HINT: -I CONTEXT: -I GP_IGNORE: -U3 /home/gpadmin/gpdb_src/src/test/isolation2/expected/workfile_mgr_test.out /home/gpadmin/gpdb_src/src/test/isolation2/results/workfile_mgr_test.out
--- /home/gpadmin/gpdb_src/src/test/isolation2/expected/workfile_mgr_test.out	2024-10-22 08:45:05.577110393 +0000
+++ /home/gpadmin/gpdb_src/src/test/isolation2/results/workfile_mgr_test.out	2024-10-22 08:45:05.584110343 +0000
@@ -70,7 +69,7 @@
 1: DROP TABLESPACE IF EXISTS work_file_test_ts;
 DROP TABLESPACE
 1: CREATE TABLESPACE work_file_test_ts LOCATION '/home/gpadmin/gpdb_src/src/test/isolation2/testtablespace/workfile_mgr';
-CREATE TABLESPACE
+ERROR:  directory "/home/gpadmin/gpdb_src/src/test/isolation2/testtablespace/workfile_mgr/1/GPDB_7_302307241" already in use as a tablespace
 
 1: select gp_workfile_mgr_test('atomic_test', 0);
  gp_workfile_mgr_test 
@@ -147,13 +146,8 @@
  t                    
 (4 rows)
 1: select gp_workfile_mgr_test('workfile_made_in_temp_tablespace', 2000);
- gp_workfile_mgr_test 
-------------
- t                    
- t                    
- t                    
- t                    
-(4 rows)
+ERROR:  tablespace "work_file_test_ts" does not exist
+CONTEXT:  SQL function "gp_workfile_mgr_test" statement 1
 1: select gp_workfile_mgr_test('workfile_create_and_individual_cleanup_with_pinned_workfile_set', 2000);
  gp_workfile_mgr_test 
 ------------
@@ -164,7 +158,7 @@
 (4 rows)
 
 1: DROP TABLESPACE work_file_test_ts;
-DROP TABLESPACE
+ERROR:  tablespace "work_file_test_ts" does not exist
 
 GP_IGNORE:-- start_ignore
 GP_IGNORE:!\retcode gpconfig -r gp_workfile_max_entries --skipvalidation;
diff -I HINT: -I CONTEXT: -I GP_IGNORE: -U3 /home/gpadmin/gpdb_src/src/test/isolation2/expected/fts_doublefault.out /home/gpadmin/gpdb_src/src/test/isolation2/results/fts_doublefault.out
--- /home/gpadmin/gpdb_src/src/test/isolation2/expected/fts_doublefault.out	2024-10-22 09:00:48.775176720 +0000
+++ /home/gpadmin/gpdb_src/src/test/isolation2/results/fts_doublefault.out	2024-10-22 09:00:48.784176683 +0000
@@ -296,8 +924,9 @@
 -- kill the ftsprobe process.
 !\retcode pkill -f ftsprobe;
 GP_IGNORE:-- start_ignore
+GP_IGNORE:
 GP_IGNORE:-- end_ignore
-(exited with code 0)
+(exited with code -15)
 
 -- restarts ftsprobe, we should see another entry for content 0 doublefault into gp_configuration_history
 select gp_request_fts_probe_scan();


real	93m19.471s
user	71m13.424s
sys	31m5.954s

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible that test is flaky?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I run

docker run --rm -it -e TEST_OS=ubuntu -e MAKE_TEST_COMMAND="-k PGOPTIONS='-c optimizer=off' installcheck-world" --sysctl "kernel.sem=500 1024000 200 4096" gpdb7_u22:latest /home/gpadmin/gpdb_src/concourse/scripts/ic_gpdb.bash .

I got same errors

@RekGRpth

This comment was marked as resolved.

andr-sokolov and others added 2 commits October 23, 2024 16:17
There is no sudo in the ubuntu:22.04 image, so sudo is moved from
README.ubuntu.bash to README.linux.md. Add packages, which are required to build
and run GPDB, to README.ubuntu.bash. The new Dockerfile.ubuntu file is similar
to arenadata/Dockerfile. The first RUN setups the environment to run
compile_gpdb.bash and contains all changes to the ubuntu:22.04 image, which can
be made without the source code. So this layer will not be rebuilt for every
commit.
@RomaZe
Copy link
Member

RomaZe commented Oct 28, 2024

Hello!
Is it possible to add Java 17 instead of Java 11? We moved all our java applications to Java 17 version and seams that we don't use java 11 anymore.

@RomaZe
Copy link
Member

RomaZe commented Oct 28, 2024

Would it be also possible to add gppkg utility for this image?
We use this utility in one of our projects. According to the documentation, to add gppkgutility we need to add special flag like this: make GPROOT=pwd BLD_TARGETS="clients loaders connectivity gppkg" dist

@dkovalev1
Copy link
Author

Hello! Is it possible to add Java 17 instead of Java 11? We moved all our java applications to Java 17 version and seams that we don't use java 11 anymore.

Ok, no problem with it

@dkovalev1
Copy link
Author

Would it be also possible to add gppkg utility for this image? We use this utility in one of our projects. According to the documentation, to add gppkgutility we need to add special flag like this: make GPROOT=pwd BLD_TARGETS="clients loaders connectivity gppkg" dist

It seems instruction in that doc is a bit outdated, perhaps it requires more investigation on how to add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants